.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

MOSS 2007/InfoPath Form Services Error

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :SharePoint

We are using MOSS 2007 with InfoPath Form Services and receive this error in our event log when trying to submit a form.  We increased the Maximum size of form session state to 16384 and continue to get this error message on large forms.  We are not allowing attachments.  We are running MOSS 2007 version

Form submission failed. (User: ****, Form Name: NonCredentialed Practitioner AddChange Form, IP: , Request: *****, Form ID: urn:schemas-microsoft-com:office:infopath:NonCredentialed-Practitioner-AddChange-Form:-myXSD-2010-03-15T19-02-04, Type: DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error.

The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation 'SendRequest'. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 134, position 17.

The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuo

View Complete Post

More Related Resource Links

The URL is not valid error while publishing InfoPath form to MOSS 2007 server

Hi All,   When I try to publish the form onto a SharePoint Team site it throws the error: The following URL is not valid : http://tcs037288:6543/sites/projectmanagement   I have checked the comaptibility, trust and everything looks fine. Also, I tried to upload this template from Central Admin but there it is failing with browser-compatibility errors.       Regards,

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 ??

Infopath Form Services 2007 pass URL from one XSN to another without code


Is it possible to pass the current URL value in an opened Infopath Form to another Infopath form withouth using code? Basically I am trying to pass variables from one XSN to another & the requirements are such that I cannot combine the forms & I am unable to use C#.

Just wish I could get a handle on the Site Referrer value out of the box in Infopath without code. Javascript might be ok if I can embed it in the XSN file and then somehow call it from the XSN file on submit. Is that even possible? Or can this be done without code at all?

There has been an error loading the form. MOSS 2007


Receiving this error when viewing a task with out of box approval workflow.

Here is what the Event log shows.


The form template failed to load. (User:domain\username, Form Name: Review, IP: , Request: http://siteList=d57c23fe-011b-4320-9f42-eb0ef0af92af&ID=3531&Source=http://site={9E2961B8-AAE4-4115-9A47-824DA8DCF1BF}&FilterField1=Status&FilterValue1=Not%2520Started&FilterField2=AssignedTo&FilterValue2=Kojetin%252C%2520Gayle, Form ID: urn:schemas-microsoft-com:office:infopath:workflow:ReviewRouting-Review:1033, Type: NullReferenceException, Exception Message: Object reference not set to an instance of an object.)


Any ideas?

Create an Infopath form to generate unique number MOSS 2007


I created an infopath form that would auto generate a number to each form from following instructions at the following site.




I am wondering if it is possible to change the starting point of the ID field within sharepoint.  It starts at 1.  I would like it to start at 1000. and add 1 number each time a new infopath form is added. Or would I add a different field to accomplish this.

Infopath 2007 form Submit error - Web client

I have set up a Infopath 2007 forms server
and published an Form that submits to a Web Service.
       On the same server, On a different port.

If I load the form in the InfoPath Desktop Client, the form submits just fine.

However, if i load via the web browser i get a "An error occurred while the form was being submitted."

Any Ideas?

how do i get more info on this error?
   There is nothing in the event viewer.


Q: How to print out background color in InfoPath 2007 browser form under MOSS form service?


Hi InfoPath experts,

I am trying to print out a custom InfoPath 2007 browser form using "Print View" function offered by MOSS Form Service. It seems like the all background color formats has been stripped out when printed out. Interestingly, only font colors are remain the same in printed-out.
Is there a way to fix this issue? I know you can change the settings: http://office.microsoft.com/en-gb/infopath-help/print-background-colors-and-pictures-HP001095710.aspx , but it only applies for InfoPath Client Form, not browser-based Form!

Any help are appreciated!

Cannot upload administrator approved template InfoPath 2007 form: error "The 'ResetWebServerModeOnU


I've tried uploading several administrator approved InfoPath 2007 forms (including a totally blank form) to MOSS 2007 server, and all of the forms return an error on upload:

"Solution manifest for solution 'e38fa6a4-56ad-4d92-b87d-0e73bb5162ff' failed validation, file manifest.xml, line 2, character 84: The 'ResetWebServerModeOnUpgrade' attribute is not declared."

I've looked at the source files of the form, and can't find the 'ResetWebServerModeOnUpgrade' property in any of those files. I've searched and haven't come across anything mentioning this issue. I found an MSDN article explaining what 'ResetWebServerModeOnUpgrade', but I have no idea how to get that entry into the form. This is the only way to publish this form because of a specific data connection, so just publishing into the site directly from InfoPath is not an option.

Further details:
MOSS 2007 32bit Farm (1 app/web, 1 SQL, both Server 2003), Oct 2010 CU's installed
InfoPath 2007 set to web compatible
Attempted upload via Central Administration > Application Management > Manage Form Templates > Upload Form Template
Tried both options in that menu & "Verify" passes
I have full admin rights to the farm.

Any help would

Can you embed an Infopath 2007 form with MOSS 2007 in an Outlook 2010 email?



MOSS 2007, Infopath 2007 and Outlook 2010

Is it possible to embed the Infopath Form in the email itself.

I read this link (point 1) http://office.microsoft.com/en-us/infopath/microsoft-office-infopath-2007-top-10-benefits-HA010165024.aspx, but I have been unable to do this?

Do you have to have Infopath 2007 on the client machine to be able to do this?




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

MOSS 2007 configuration error


Hi Experts,

I installed sharepoint 2007 successfully but while configure the sharepoint it gives following error:

The following services may have to be started or reset during configuration:

1. internet Information services

2.Sharepoint Adminstration services

3.Sharepoint Timer service

But already run ISS in my server. how can i solve this problem

MOSS 2007 : I am looking for tutorial about how tu use infopath 2007 forms and to associate to them



I am quite new on sharepoint 2007,

i am at the moment looking for tutorial to help to understand better the concept of workflow you can associate with infopath 2007.

I would like to create a  form that the visitor of the website can fill and then submit.

once the form submitted i would like tto be able to store all the date picked up to the database sqlserver 2005 and then to be able to send a email to the administator to be kept inform  of that.

the 2 tutorial i found that i found interested are http://weblog.vb-tech.com/nick/archive/2007/02/25/2207.aspx and the microsoft one o.n the virtual lab.

So what i am looking for is any tutorial which can help me to be understand very well how to use the worklow with infopath or if you have as well some book to advice me for that i would be happy.


Error when opening Infopath Form


Background: Created an Infopath 2003 form with 2 views (1 as Read-Only View and another 1 for Submitting content) and published to a Sharepoint 2007 Library.

Working: When a user opens a new form it opens in submit view; once the form has been submitted, when the user tries to open again, the form opens in read-only view.

Error: 99% of the users do not face any issues, however when the the rest 1% of the users try to open a new form; they receive the following error and are unable to open the form.

Form template: _http://server/sites/subsite/library/forms/template.xsn
InfoPath cannot open the following view: Edit_View
The following view file is not valid: view1.xsl
The file is not a valid XML document.

An invalid character was found in text content.

Line 673, Position 12

I am not sure what is wrong here (or) from where this error is being generated!

Balaji Baskar [Please mark the post as answer if it answers your question]

Attachment upload error on browser based InfoPath form



I am having an interesting problem with browser based InfoPath forms in SharePoint 2007.  For some reason the file attachment control is not working any more.  It was working fine in July, but now it will not allow file attachments over a few kb.  I tried a 34KB file and I get the error below, a 2KB file works fine.

Unable to connect to SQL Server session database. The connection string (server='SPDB', database='SharedServices1_DB') was returned by an instance of the IPartitionResolver type 'Microsoft.Office.Server.Administration.SqlSessionStateResolver, Microsoft.Office.Server, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.   at System.Web.SessionState.SqlSessionStateStore.ThrowSqlConnectionException(SqlConnection conn, Exception e)
   at System.Web.SessionState.SqlSessionStateStore.HandleInsertException(SqlConnection conn, Exception e, Boolean newItem, String id)
   at System.Web.SessionState.SqlSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem)
   at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
   at System.Web.HttpApplication.SyncEven

How to set rule only on form validation success InfoPath 2007



I'm a newbie to InfoPath 2007. I am creating a from without code. Is there a way to set a Rule to the Submit Button which will be triggered only in the case of Form validation success ? can we make use of the "Set condition" to setup a expression  in the Rule, for this purpose. Still i have no idea how to come up with an expression for such purpose. Can someone please explain.

Infopath 2007 print view in browser enabled form with Print button


Hi i create a  print view brower enabled form in Infopath 2007 with header and footer. In Infopath works fine. Margin was ok, header and footter to. But then i try to print this browser the margin, header and footer it changes to default setting of browser ? I try also create a print button in form with VS 2008 code, but method :

this.print(); not working.

It is possible to print the "print view" in browser as the same like in Infopath 2007? Does anyone have the code how to create a print button in C# on browser enabled form?

Submtting Calendar items with variable date information via InfoPath 2007 form



I've seen several posts regarding submitting to a list using and InfoPath form which I am successfully able to do in limited form. (only passing a basic date value) My environment: MOSS 2007 Enterprise w/SP2, InfoPath 2007, SPD 2007.

I'm basically trying to recreate a calendar form with the same data elements (and some additional ones for a specific business requirement) as the standard calendar newform.aspx form. (start time, end time broken down by date, hour, minute and All day event)

I need the form users to be able to select the date and if it is not an All day event...be able to select the hours and minutes just like on the newform.aspx. (date picker control for date and drop downs for hour and minute selection)

On submit I then need to create the list item with the appropriate data passed via a workflow.

My Start Time has a validation rule to not allow dates prior to the current date (and it can't blank) The End Time has a validation rule to not allow dates prior to what is specified as the Start Time value. (Also can't be blank) When I attempt to include conditonal formatting to hide the hour and minute drop downs if 'All Day Event' is selected I get errors stating the fields can't be blank.

I also can't figure out how to pass the entire date/time values or the All Day Event to the list withou

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