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

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

Published InfoPath Form will not open from AAM URL

Posted By:      Posted Date: October 08, 2010    Points: 0   Category :SharePoint

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?

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

InfoPath cannot open the selected form


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?

Avoid Opening two instance of Infopath Form which is published to Sharepoint Library


Hi Everyone,

              It would be great if anyone of you answer my question.I have an info path form built in 2007 and published it to share point as a document library.My requirement is i should not allow two instance of the same Form to be opened at the same Time.I mean if you open a form from Share point and If you try to open the next one without closing the previous Form,it should give an alert to user saying that the "Form is already Opened".

I tried like having a Boolean variable which is by default false.If i try to open for the 1st time it should make it as true and for the next time if we refer to that variable and make an alert.But it dint work.Please let me know by anyway i can do this task.Your help will be greatly appreciated!!!!





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 ?

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!

How to make a published infopath form static when created from the doc library?


I have an infopath form that I published to a SharePoint Document Library. The fields in the infopath form pull from a Sharepoint list. When i create a new version of this form it pulls all the current data. And the columns in the document library reflect the correct information and I save to the Doc Library.

I then edit the information in the SharePoint List. When I look back at the Document Library the columns associated with my form i just created remain the same(referencing the information from when the form was created) But when I open the form it re querys the list and shows newly updated information. The columns seem to be static, but is there anyway to make the form static when it is saved? This way I can look at a form dated a week ago and see the info from last week, Open a new form and see the current info.



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" 

Published Infopath form reset views

When I republished an Infopath form with some minor updates, my standard view as well as all of my other views did not display all fields in the views. if i recreated the view or if I opened up the record in the view, the fields were popluated when I closed the open record. no data was lost but the views were hosed.

Getting all data from a repeater table in Infopath Form to the List Published.


I have a infopath form and inside it there is a Repeater Table.

When i publish then it asks for the First Row of the repeated table only. Is there a way we can have all the Row Datas availabe to the list.

I want my users to get that all data in the list not by opening the Form. But the List shows data from the First Row Only.

I am trying to send those data through a workflow in SPD.

Thanks in Advance for any kind of solution.


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

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