Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / September 2004

Tip: Looking for answers? Try searching our database.

Cannot install an Infopath template on another machine.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Yann Gibaja - 23 Sep 2004 20:43 GMT
Dear all,

I created an Infopath template (SP1 with Visual Studio, code written in C#).
The Infopath template is used as a data entry form. This template
communicates with Microsoft Excel 2003 to pass some data to it.
Therefore, the form needs to be fully trusted.

I create an installation package for the template with the following
command:

regform /U urn:mycompany.com:mytemplate /T Yes /MSI MyTemplate.xsn

When I install the template with the .msi file on the same machine, it works
great.
When I install the template on another machine, I get the following error:

"Infopath cannot create a new, blank form.
Infopath cannot open the form. To fix this problem, contact your system
administrator.

Form template:
file:///C:\Program%20Files\InfoPath%20Form%20Templates\MyTemplate.xsn
InfoPath cannot open the selected form because of an error in the form's
code.
Exception has been thrown by the target of an invocation."

I made sure that the latest version of the .NET Framework was installed on
both machines.

Any help would be greatly appreciated.

Yann
David Conorozzo - 23 Sep 2004 23:07 GMT
This probably will not help you but, I noticed a big security change after I
installed SP1.  You said, "This template communicates with Microsoft Excel
2003 to pass some data to it.  Therefore, the form needs to be fully trusted."

Did you try signing the template before distributing it.  I don't really
know much about InfoPath, but I wan into that security problem when I tried
to change the location of a template, after SP1.

> Dear all,
>
[quoted text clipped - 28 lines]
>
> Yann
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.