.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

InfoPath cannot open the selected form

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :SharePoint

I have been working on an InfoPath 2007 form for a week. It is actually a form I started from scratch to replace an existing form that had some weird stability issues for which there was no hope of a fix. The new form was working and previewing great until this morning when, for no apparant reason, it decided to start giving me the infamous "InfoPath cannot open the selected form" error when run from Visual Studio.

I clicked the "Was this information helpful?" link and responded "No", so I am sure that Microsoft has its best people scrambling for a fix; however, in the meantime, has anyone ever actually successfully fixed this error without starting over when clearing the cache (http://msdn.itags.org/microsoft-office/78856/) doesn't help?

View Complete Post

More Related Resource Links

Expense Reimbursement Approval template cant open infopath form

hi, i just created a site using the template Expense Reimbursement Approval. but when i click on the Expense link and click new it try to open infopath form but it gives me this error: The form template was created with a newer version of InfoPath. This form template was created by InfoPath version 12.0.0. do i have to use infopath 2007 to open this form? thnx

Can i Start Workflow on Infopath form open?

HI, I Have a Scenario where when i open a Infopath 2010 form in Sharepoint 2010 as XML Form View Webpart, Custom workflow must be enabled, can i do this? If Yes, Please tell me steps to configure or code for starting a workflow. Thanks you all in Advance

Problem to open infopath form : The file cannot be opened because it is not a valid InfoPath form

Hi i have a winform app which host of infopath forms. form templates and data stores in database and when user want to open/edit an existing infopath form data, it must be extract from database, save on disk and then open it to display it in formControl. my problem is that when i open form data, after it has been extracted on disk, i got this error : InfoPath cannot open the following file: C:\Users\Hamed\Documents\Visual Studio 2008\Projects\InfopathFormTest2\InfopathFormTest2\bin\Debug\d00d73e8-cf5c-4b12-b9a6-591c4ade83aa.xml. The file cannot be opened because it is not a valid InfoPath form.  The processing instruction in the file is missing or invalid. here is my code : this._fullPath = System.IO.Path.Combine(Application.StartupPath, this._dataRow.FormID.ToString() + ".xml"); this._templatePath = System.IO.Path.Combine(Application.StartupPath, this._templateRow.TemplateID.ToString() + ".xsn");if (HelperClass.ExtractToDisc(_fullPath, ASCIIEncoding.Unicode.GetBytes(this._dataRow.FormContent))) { this.formControl1.Open(_fullPath); this.txtFormName.Text = this._dataRow.FormName; } where is my problem and how to solve this ? thanks in advancehttp://www.codeproject.com/KB/codegen/DatabaseHelper.aspx

How to add Quick AccesToolbar or Ribbon or TaskPane in browser when open InfoPath web browser form?



I would like to add my own ToolBar or Ribbon in browser when user open web browser form which was designed in InfoPath2010. My be a smth look like TaskPane will the best way?(I know how to add it in InfoPath, but how to show it in browser?) I want to show a list of views, so users will have an opportunity to navigate between form views.

How is it possible to do ?

Infopath 2007 form error - Selected file is too large


We are using Inforpath form to capture some metadata along with couple of file attachments. We implemented that and its working fine

When we tested by trying to upload file more than 5 MB we got the following error

"The selected file is too large and is causing the form to exceed the amount of allowable resources. Select Another File"

During its analysis we found that this can be resolved by changing one of the "Infopath forms service " configuration named "Maximum size of form session state".

Is there any issue (like performance issues) in increasing this limit to allow us to upload the large attachment


In other words

In the Maximum size of form session state text box, type the maximum session state size in kilobytes. Form-filling sessions that exceed this value will terminate, an error message will be generated, and all form data entered during the session will be lost. The default value is 4096 kilobytes.

If I make this value to 10240 kilobytes (10 MB) ; will this cause any performance issues ??

How can I open an InfoPath Form in a modal Windows or Popup from inside another InfoPath Form


Hey guys, I need some help, please. How can I open, in a modal windows or pop up, an InfoPath form from inside another InfoPath form using a button or maybe a link. I need to be able to have both forms on the screen.

How can I do that? Can I use jQuery?

Help, please.

Thanks in advanced!

Published InfoPath Form will not open from AAM URL


We have a couple InfoPath Forms that work great when accessed from the Local Intranet.  However, after configuring the site for Internet access as well, using Alternate Access Mappings, the InfoPath Form will not load.

For example, when attempting to create a new instance of one of the Forms from a Library where the Form is setup as a Content Type, it forwards to an address using the Local Intranet URL - obviously not accessible from outside the network.

ie. Secure "https://site.domain.com/" site is connected to from the internet, but when trying to create a new Form, it forwards to a "http://server/" address and results in a Page Cannot be Displayed error.

Am I missing something in the AAM, or what could be causing this behavior?

Cant open an infopath form


at our test serevr we are  usng sharepoint server 2007 standard,tried to update it to enterprise

Created new form library,but when I click new,message displayed 'This feature requires Microsoft Internet Explorer 6.0 or later and a Windows Sharepoint Services-compatible XML editor such as Microsoft Office InfoPath."

Also I have another question,If I updated our productions erver from standard to enterprise,must I purchase license for every user who will use sharepoint,When we installed sharepoint we installed stand alone?

Cannot Open InfoPath 2007 form on Windows "XP


Hello There,

I am assisting a new referral i just got and he has an issue opening a specific created InfoPath 2007 form on his Windows "XP machine.  

This is the Error Message that comes up when you try to open the form:

InfoPath cannot open the following file c:\documents and settings\username\desktop\load form.xml

The following form template for the form cannot be found

Please any work around or assistance on resolving this issue will be greatly appreciated. Thank you.




Nana Richardson

Open existing form with the InfoPath Form Web Part


Hello.  I have a custom .aspx page with a single InfoPath Form Web Part that is connected to a form library.  I can open up that form just fine and submit a new form to the library.  I can also open that existing form from the library.  However,  I want to provide the users a way to open existing forms using another custom page with the InfoPath Form Web Part.  

A little background... I build a custom web part that populates a sharepoint gridview (SPGridView) with the existing forms from the forms library.  I can pass in the name of the file which allows the form to be open using the InfoPath Web Form in a browser.  That works nicely, but the users would like to open up the form using the InfoPath Form Web Part also.  Is there a way to pass a parameter (e.g. file name) to a page that contains the IPFWP that will open the form in the web part?

<SharePoint:SPGridView ID="spGridView" runat="server" 

InfoPath 2007: Designing Form Templates With The New Features Of InfoPath


InfoPath 2007 is an XML forms designer and editor, and a fully featured and integrated member of the Office family. This article takes a sneak peek at some of its new features.

Scott Roberts and Hagen Green

MSDN Magazine August 2006

Using Infopath form fieldnames in a workflow fails



I designed a form in Infopath and I published it on a SP2007 server to use in a workflow in a library. That goes fine. In the workflow I send an email message. I can use the fields from my Infopath form in the message that I create. 
If the workfow is starts, Shrepoints sends me the message. But it does not use the fields from my InfoPtah form in the message in stead I see questionmarks.

Why doesn't it show the fields?

I alse saw (maybe this makes it clear) that when I let it dipslay the URL in the message, it show: http://1.portal.lucasonderwijs, but the actual site is whithout the "1" and it should also start with https://

Has anyone seen this before?

Thank you,


InfoPath Workflow Task Form "Loading" event handler only being called after App Pool recycled.


I have a Workflow that is using an InfoPath task form.  In the "FormEvents_Loading" method event handler I have some code that needs to run each time the form is opened.   I recycle the App Pool and open the form the code runs perfectly, but if I close and try to re-open the form the code is not run at all.  I can then recycle the App Pool again and on the next load the code executes just fine.   The code that is supposed to be run is a very simple statement to set a field value, so I don't think it is interfering.

Does anyone know what this might be?


Problems moving an InfoPath form from a DEV system to QA environment


We developed an InfoPath form using a local DEV environment.  The site collection under which the form was developed was http://server1/.

We are now attempting to deploy this form to a TEST environment that uses a slightly different structure for the collection, namely http://server2/sites/sitecol1.

In both cases the site that contains the form is /fin (so we were using http://server1/fin in DEV and want to use http://server2/sites/sitecol1/fin in TEST). 

The form contains VBA code and so requires admin-based deployment via Central Administration, so to deploy to TEST we:

1. Publish the form against the TEST server using InfoPath Designer

2. Upload the form using Central Administration > Application Managment > Manage Form Templates

3. After upload, we activate the form for the site collection http://server2/sites/sitecol1/

4. The form is then associated with a Form Library

When we try to create an instance of the form within this library we get the following error when we click on New to create the form instance:

The following location is not accessible, because it is in a differ

Infopath cannot load this form. Either the signature is corrupted, or the certificatie used to sign



I have a whole bunch of forms contains errors like whenever you try to open it up.

Infopath cannot load this form.  Either the signature is corrupted, or the certificatie used to sign this form is expired or revoked.

The forms were orginally created with digital signature with it.  But we were in the middle of transition from one company to another company.  The digital signature was no longer valid.  Actually, the certificate should have been expired by now.  I removed all the signatures for all of the forms.  So they can continue using the forms to fill in the information.  The problem right now, is trying to open the old forms with digital signature on it.   Not only the company has changed.  We also moved sharepoint from the old server to the new server.

Any idea to resolve th

Insert image into Infopath form and save to SharePoint as PDF file


I have an InfoPath web-enabled form in MOSS 2007, that is integrated with a K2 blackpoint process for an approval workflow.

Once the form (a Purchase Order request form) has been approved in the K2 workflow process, I switch the form view to a "print-friendly" view for the requestor to view from the browser.  However, now I need to go one step further with this scenario:

1) I need to somehow insert/embed an image with the scanned-in signature of the approver (likely stored in a SP doc library) at the signature line section of my form.  Also, what are the security requirements for storing such images, but not granting all users access to these (e.g. only services accounts that need to access this for embedding into the form, etc.)?

2) Then I need to convert this final "print-friendly" view of the form (with the signature image) to a PDF document so that I can store it in SharePoint (and email it to the requestor using K2's email event capabilities).

Can anyone help me with a solution to both of these requirement, or point me to some resources for this (even 3rd party components are open-game).



InfoPath form checked out so 'on create' workflow not being started


Hi all,


I have found a couple of threads asking for advice on how to check in an InfoPath form when it’s saved or submitted to a forms library. The reason for doing this is so a workflow can start based on a new item being created in that library, and so it doesn’t just sit there with a “Starting” status.


The answers I have found contradict each other:

·         You have to do it with a workflow.  This can be done easily with SharePoint Designer if that's an option for you. Source:

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend