.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

Users can not open a form

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#

    MOSS 2007
    InfoPath 2007

    Site Collection Administrator

I have created an InfoPath form that retrieves two lists from SharePoint (list of users, and list of training sessions); these are two Data Connections set to "Retrieve".

I have a third Data Connection that is set to "Submit".  This submits several of the InfoPath fields to the SharePoint Document Library, as well as the completed form.  The InfoPath form is published to this document library, so when users choose "New" in the document library, the InfoPath template (form) will appear, to allow the user to complete the form.

I can open the form, complete it, and submit it.  No problem.

Other users cannot open the form.  They are getting prompted for User Name and Password.  If they cancel out of that, and the next popup (about working offline), the InfoPath form will appear without any data connections.  The User Name/Password error refers to the _vti_bin\lists.asmx.

Users have Contribute rights to the document library.

Anyone have any ideas to get this form to open for the users?  If more details are needed, please just ask for what you would like to know.


Thank you,

    Chris K

View Complete Post

More Related Resource Links

Users with permissions cant open or edit form - "The form has been closed"


Dear All,

I am facing this unique problem. Some users in my company's SharePoint portal network despite user permissions, cant open their previous forms or add a new form. Just for testing I also tried giving one of the users full rights, but the problem persists. I am using infopath web based forms.

Following is the error when the user opens up a form:

" Form has been closed"

Upon checking the SharePoint error logs. I found following error message

The form template failed to load. (User: Litware\max.steve, Form Name: Expense, IP": , Request: http://portal/_layouts/FormServer.aspx?XsnLocation=http://portal/hr/Expense/Forms/template.xsn&SaveLocation=http://portal/hr/Expense&Source=http://port

Open a windows application form names in another

Hi, Now i am in a horrible situation. I want to create an application for open another application(exe) and display all the form names in newly opened application in a compobox.If we selected a compobox item,ie;a form name in new application opened,i want to display all the control names in that form... is it possible? we can do it in same application.but how can i do it in another application? thanks in advance   Anoop

make anonymous users submit data to a form library

isn't there a way for anonymous users to submit form data to a form library without custom code?

Anonymous users submitting Infopath forms via InfoPath Form Web Part

Is there a way for anonymous users in a public facing site to submit InfoPath List Forms via an InfoPath Form Web Part? Currently when I go to a page with the InfoPath Form web part configured as an anonymous users I get the following error message: Error loading the form A form template (.xsn) file cannot be accessed. You may not have the required permissions to open the file The list allows anonymous users permissions to add and view items When logged in the form works fine

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

How can I use vb codebehind to open an aspx form in "full screen" mode as if I had pushed the F11 ke

I can create an ActiveX control to active F11 to enable full screen mode, but would rather not.  Is there an easier way?   Thanks 

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

How to open the stored document in form library as readonly

Hi,    I have a library, am storing the form in this library, when ever the new form is created, the mail will send to the administrator for getting approval. Now i want to open the stored library form in read only for the administrator. How can i achive this?

Not able to open workflow task form

I have a workflow created using SharePoint Designer 2010. This workflow has 'Collect Data' task. When the workflow is run, a task is created in the task list, however users can not open the task from the list and get the following error. There has been an error while loading the form. A form template (.xsn) file can not be accessed. You may not have the required permissions to open the file. The users who are trying to open the task have full control on the task list as well as the list from where the workflow is started. Site Collection Administrators are able to open the task. I am not sure at which place the users dont have permissions that they are not able to open the task.Tarun

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 open a subform model Form,Sub Window form using jquery that save the data ajex

how to open a subform model Form,Sub Window  form using jquery that save the data ajex

Need help on Main Form Open Child Form

Hi, I've 2 form which is frmA and frmB. frmA have a 1 button and 1 label named Button A and Label1. frmB have a 1 button named Button B. frmA is a Main Form. frmB is a Child Form for Form A. My objective is when frmB is closed, then Label1 in frmA showing the value. My code in frmA as follow public partial class frmA : Form { public frmA() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { frmB oFrm=new frmB(this); oFrm.ShowDialog(); } public void PerformRefresh() { label1.Text = DateTime.Now.ToLongDateString(); } } My code in frmB as follow, public partial class frmB : Form { frmA _owner; public frmB() { InitializeComponent(); } public frmB(frmA owner) { _owner = owner; this.FormClosed+=new FormClosedEventHandler(frmB_FormClosed); } private void frmB_FormClosed(object sender, FormClosedEventArgs e) { _owner.PerformRefresh(); } } At this level, i can call function in frmA from frmB after closed event. My problem is when Button A in frmA clicked, frmB not showing like frmB as per design. It's display a windows without Button B. I'm stuck. Really need help

Forcing web browser form version to open in emails


I have a simple question - when I open up links in Outlook they automatically try to open in InfoPath eventhough I have selected Web Browser Form in the compatibility section of Form Options. How do I force it to open in the browser on all the links in these workflow generated emails?


Form that is part of workflow wont open in form library


I am having an issue with my form. I have created a sharepoint sequential workflow using visual studio and as a task the user has to fill out an infopath form. When the form is submitted as part of the workflow is then saved to a form library. My issue is when I try to open the form in the form library I get the message "The form has been closed". 

I have check the Central Admin/Manage Form Templates and my form is here, status="Ready" and workflow enabled. But my form doesnt exist in the sitecollection/FormTemplate library. So I believe that when I try to open the form in the browser that template cant be found. Why I say that is when I open the form with the info path client, I get the message "The form was created with a new version of the form template. InfoPath cannot find the new version. Do you want to open with an older one" 
If a infopath form is part of a workflow and it be saved in a form library and then open, if so how?
Am I publishing the form incorrectly - I publish to network location. Then install my feature.
Do I need to associated the form template with the form library or should the feature installation take care of this?


- FormTemplate Library doesnt appear in site settings, I

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?

Open another Form from my Main form using a button click


Hi All


I have seen this question asked and answered several times but it doesn't seem to be the question. I have.


I have just created a new project I renamed form1 to FrmMain and then I created a new form by clicking add new form and I named it Report


I then went to my FrmMain and dropped a button on there from the toobox. I now need to open Report.cs when I click the button.


I have tried               Report Form2 = new Report();



But all that does it open a new FORM and its not my Report Form. It also just keeps opening new forms every time I click the button. My thought is that the user will enter a ID then click the button then the report form will open and I will then create a query to populate a data gride or view using the ID form the text box on FrmMain.


Please help.... I am new to this so shoot it straight as if this was your first forms application that you created.



Can a filtered web part open a broswer based IP form?

MOSS Enterprise 2007, IP designed to be broswer based.  Primary naviagtion to IP form is via a web part page (page viewer).  This works well for "new" forms, but any attempt to "edit" an existing XML from the library opens the form in a new window without any other web parts.  Is there a method of building a web part page that will "load" an existing XML file?
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