Skip to main content

Hi all


I am creating a new development environment. I have a production setup already working fine.


I copied the sources from production to DEV (I double checked the environmental variables through k2 workspace, it looks ok)


I am able to build the project and deploy it.  (It has sharepoint,webservices,exchange server related too) 


QUESTION:  Eventhough I gave the full trust to the infopath form  (tools- form options- Security and trust - here I am selecting the certificate which I am using for production one.), I am getting the following error.


---------------------------------------------------------------------


 Form template: http://xxxxxxxxxx/contracts/jsl/Request%20Form/Forms/template_-myXSD-2009-07-08T10-59-37.xsn
The form template is trying to access files and settings on your computer. InfoPath cannot grant access to these files and settings because the form template is not fully trusted.
For a form to run with full trust, it must be installed or digitally signed with a certificate.


-------------------------------------------------------------------------


WHEN I AM GETTING THIS. (I am trying to open the new document from sharepoint site and it should show the infopath form for data entry. Here it says the following error. 


 WHAT DO I HAVE TO DO HERE.? DO I NEED TO INSTALL THE .PFX FILE IN DEV BOX? OR IMPORT .PFX FILE? OR DO I NEED A SEPARATE .PFX FILE


NOTE : .PFX FILE (CERTIFICATE FROM VERISIGN)


PLEASE HELP ME.


Thanks


Ravi

 

  • When moving between environments (and opening in Visual Studio) you will need to Save As Source Files).  You have to update this information when moving from one environment into your Development environment. However, when you build via a deployment package, you should not have to do this change.

    • Copy the project files from the source environment to the Development environment
    • Browse to sProject_Name]InfoPath Form Templates and open XSN (right-click, Design)
    • Save InfoPath form as Source Files to an empty directory
    • Search all files for "BlackPearl"
    • Replace all files: "Host=BlackPearl" with "Host=K2_ServerName_in_NewEnvironment"
    • Search all files for "BlackPearl"
    • Replace all files: "http://BLACKPEARL:80/" with "http://K2workspaceServer/
    • To put it all back together:

      • Open manifest.xsf (right-click, Design)
      • Preview and test connectivity
      • "Save As" over the top  of the original form in oProject_Name]InfoPath Form Templates.

 


Reply