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 / May 2006

Tip: Looking for answers? Try searching our database.

The format of the dll is invalid

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dinos - 22 May 2006 01:09 GMT
I recently upgraded from Visual Studio 2003 to Visual Studio 2005 and i'm
having trouble running my InfoPath forms. My solution compiles with no errors
or warnings but when i open my form i get the following error

InfoPath cannot open the selected form because of an error in the form's code.
The format of the file 'EngineeringChange.dll' is invalid.

I have seen 2-3 posts out there but i cant seem to find a solution to this
problem.

Any help will be very appreciated.

Thank
Signature

Dino

Greg Collins [InfoPath MVP] - 22 May 2006 20:24 GMT
Did you create an "InfoPath.exe.config" file? If so, rename it to "InfoPath.exe.!config" and try again.

Signature

Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPath Dev ( http://www.InfoPathDev.com )

Dinos - 24 May 2006 01:08 GMT
Greg,
 There was an "InfoPath.exe.config" file at the same location as the
InfoPath.exe file. Once i renamed it everything worked just fine. I did not
create the config file so i'm guessing VS 2003 or VS 2005 created it.

Thanks for your help.
Signature

Dino

> Did you create an "InfoPath.exe.config" file? If so, rename it to "InfoPath.exe.!config" and try again.
Greg Collins [InfoPath MVP] - 24 May 2006 18:59 GMT
Glad to help. Just note that if you ever have to go back to VS2003 for your work, you might need to rename the file back to InfoPath.exe.config.

Signature

Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPath Dev ( http://www.InfoPathDev.com )

 
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.