[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4035
  • Last Modified:

InfoPath 2007: Error on file open, "InfoPath cannot create a new, blank form"

Using InfoPath 2007 on Windows XP Pro, I am getting the following error when attempting to open an .xsn file.

Error text: "InfoPath cannot create a new, blank form. InfoPath cannot open the form. To fix this problem, contact your system administrator."

Details text, with user ID deleted: "Form template: <A href="file:///C:\Documents%20and%20Settings\[USER]\Desktop\CampaignClientData.xsn">file:///C:\Documents%20and%20Settings\[USER]\Desktop\CampaignClientData.xsn
InfoPath cannot open the selected form because of an error in the form's code.
Could not load file or assembly 'C:\Documents and Settings\[USER]\Local Settings\Application Data\Microsoft\InfoPath\FormCache2\6A5461F1.95D\73dce841eaefb7c8$436aa79551041df\CampaignClientData.dll' or one of its dependencies. The module was expected to contain an assembly manifest."

I've developed in .NET using Visual Studio, but I'm not at all familiar with InfoPath. What do I need to do in order to successfully open the form for editing?
0
LCMSdev
Asked:
LCMSdev
  • 8
  • 6
1 Solution
 
bank_on_itCommented:
Control Pane>Add/Remove Programs>Microsoft Office 2007>Change

Once in Add or Remove Features
Expand Microsoft Office InfoPath
Expand .NET Programmability Support
Click on down arrow on .NET Programmability Support for .NET Framework version 2.0
Enable Run from my computer
0
 
bank_on_itCommented:
Also make sure your pc is up to date and it may need the latest .NET Framework download.

Check here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en
0
 
LCMSdevAuthor Commented:
Ok, .NET programmability is enabled to run from my computer, and I have installed the latest .NET framework. Still getting the same error, I'm afraid.
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
bank_on_itCommented:
If you're not hurtin on space.
Go back to Microsoft Office>Change>Add/Remove>Microsoft>Run all from My Computer.
0
 
LCMSdevAuthor Commented:
Done. Still no love. Is it possibly an issue with a security setting somewhere?
0
 
bank_on_itCommented:
Possibly...
Can you open up the program at all? Can you open other forms?

Check this out.
http://www.infopathdev.com/forums/p/7652/27977.aspx
0
 
LCMSdevAuthor Commented:
I can open InfoPath, create a form from an existing template, and then open that. I don't have any other published forms on hand to attempt to open them.
0
 
bank_on_itCommented:
Are ya runnin Service Pack 3?
You could also try deleting your profile and recreating, make sure ya back everything up. We had to do this for some users with InfoPath errors.
0
 
LCMSdevAuthor Commented:
Yes, I'm running SP3. When you say "delete your profile", what are you referring to? Active Directory? If so, that'll be a bit of a headache, but I'll do whatever I need to.
0
 
bank_on_itCommented:
No. :)
I'm not sure what OS you're running but if you go to -
C:\Documents and Settings\"USER"
Delete that folder. Again make sure you make a copy of it somewhere. Either on a server or just rename it. Then restart. Log back in. It should create a new profile for you. Try to open up the form then. Then pull docs, bookmarks, pics, etc from old profile into the new one.
0
 
LCMSdevAuthor Commented:
Hrrm. I'm reluctant to try that right now, but will give it a shot when I log off for the day. In the meantime, perhaps we can skin this cat another way...

I managed to open the form on a different machine. I assigned the form Full Trust and gave it a newly-created certificate with an expiration date in 2017, and republished it to a new folder. I then sent this new version to my work machine, and tried to open it. I got the following error: "This form was signed with an expired or revoked certificate. Since you are running under High Security Level, the form cannot be opened".

That sounds to me like a setting that might (hopefully) be easily tweakable. Any ideas? Thanks much for continuing to respond, by the way; I've been wrestling with this for a couple days now.
0
 
bank_on_itCommented:
Ya! No problem! Infopath is fun! :)
Lol...Though it looks to me that you may have another issue now. And if you were able to pull the form on another workstation then I'm pretty sure it was your profile now.

But no worries! Maybe this will help.
Try going into your Internet Options and Delete your Temp Internet Files.
Also go into the Security tab and change it to Medium if it is on High.
0
 
bank_on_itCommented:
Also, from Infopath, try going into Tools>Options
At the bottom it should show Security Options.
Make sure the "Allow fully trusted forms to have access to files and settings on my computer" is checked.
0
 
LCMSdevAuthor Commented:
This did the trick. Sorry for the delay in accepting the answer...three cheers for unplanned business trips. Many thanks for your help.
0
 
daniberesCommented:
I know this sounds simple but right click the form and instead of open select design.  
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

  • 8
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now