.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

Form Services clarification

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

Hello -

I am a bit unclear about what's included in SharePoint 2010.  Is InfoPath Form services included in 2010 or is this an add-on product like Project Server 2010?  I can't seem to find a clear answer to this.  And, I don't see the service in Central Admin.

Any information or link related to this topic would be appreciated.

Thank you in advance,


Walid Gharwal

View Complete Post

More Related Resource Links

Infopath form services connectivity of printer



I am facing issue of printer connectivity from Infopath form services.

I have lines of code through which i can connect to printer using Infopath client mode.

I have shared the printer. Also the printer is set as default

The same lines of code is not working for browser enabled Infopath form.

Need help

Here is my lines of code. Is it there any credentials need to be passed ?



void btnSubmit_Clicked(object sender, ClickedEventArgs e)




Automatically populating Contact Selector not working in Form Services

Hi,I'm currently working on a form where i wan't to automatically populate a contact selector control with a users manager. I've got the managers userid, called the ResolvePrincipal webservice provided by sharpoint, and set all the values in the contact selector with the correct values. When previewing it works perfectly however when i move the form to Form Services it won't work.I've tried setting it via rules: i.e. on the change of a textbox write the manager values to the contact selector.I've tried setting the default values of the contact selector to fields where i write the manager values.I've tried setting it through code i.e. SelectSingleNode() and SetValue() for each of the fields in the contact selector.All of which work fine in preview mode but will not work in Form Services, UNLESS the contact selector already has a user in it. So if the contact selector is blank it won't work, however as soon as i manually select a user then try using any of the previously mentioned methods of setting the control it works. While using code i get a nullreferenceexception which leads me to think that possibly when theres no user in the control the xml nodes representing the AccountId, DisplayName, AccountType don't exit???? TO throw another spanner in the works, on the very odd occasion it will work in Form Services as expected, after celebrating and trying again it returns

Infopath Form services help

Hi, I have a Sharepoint List "List C" , which has two look up fields from two lists List A & List B. Currently when a user enters a new item in List C, he picks a value from the two lists (A&B) However, List A has  mutli-value Look up from List B. Now I would like to customize Sharepoint List form for List C (hopefully use Infopath form services), and achieve cascading. i.e When a user Picks a value from List A to enter a new item in List C, I would like to casacade the Multivalue Look up values from List B. Is this possible at all? If so, can anyone out line a procedure? Thanks so much.          

Configuring and Getting Started with InfoPath Form Services

Hi guys, I have some general questions regarding InfoPath Form services that I've been trying to research but I can't seem to get a straight answer from my google searches, so I'm really hopinh you guys can help me. We recently upgraded to SharePoint Enterprise 2010 and I will be the main person in charge of the content and administration. We had a 3rd party do the installation for us, but they don't know much about the From capabilities. We have several forms that we need to build and put on SharePoint so that our field managers (all around the country in 8 different states) can fill out, and submit. All of the information that they submit, or that is presented on a dropdown menu on the forms will be coming from our Microsoft SQL database on  a new sql2008 server we just bought. I have already made a database on the new server with just two tables in it in order to test out the forms. I was looking around on SharePoint and from the error message I got, I was under the impression that I first needed to build the form on InfoPath2003 (that's the version of office we have) and then just publish the form to SharePoint. Is this true? It's this simple? The more I looke online it seemed that I first needed to upload a data connection to SharePoint Central Administration..? the problem with that I would have to convert our sql database to the data type that it needs with

InfoPath Form Forms Services and Identity?

We have an InfoPath form running under InfoPath forms services that opens a data connection to a SQL database to invoke a stored procedure using Integrated Security.  It connects as NT AUTHORITY\ANNONYMOUS  LOGIN and is denied access. The following query failed: CPI_RPI_Table (User: LITWARE\smith, Form Name: CPI-RPI-Index-Published, IP: , Request: https://www.litware.com/_layouts/Postback.FormServer.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:CPI-RPI-Index-Published:-myXSD-2010-09-14T19-44-07, Type: DataAdapterException, Exception Message: The form cannot connect to the data source. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.) When we run it in the InfoPath client, it connects with the users credentials. Can we have the form default to another identity, that of the SharePoint Service acount? Thanks, Nikos

publish infopath form to sharepoint services 3.0 as content type



can an infopath form be published as content type to a sharepoint services 3.0 form library?

i have created 2 form libraries. one to store the tamplate an the other to store the form itself and where you can open a new form.

but whenever i click new to open a new form i get this error message:

the element "comment" is used but not declared in the DTD/schema.

does any one know what this error could be?

URL of current form (InfoPath Forms Services)


I need to programmatically determine the URL of the current form, preferably without adding new dlls to the form template and increasing the trust level.

The XmlLocation query string parameter looks perfect for this, but when I try to retrieve it using 

String strSaveLocation = String.Empty;
e.InputParameters.TryGetValue("XmlLocation", out strSaveLocation)

it is empty.

In fact, outputting all the InputParameters shows that for my existing (i.e. already submitted and saved to a library) form, the XmlLocation parameter is not present (even though I see it in the querystring). Instead, there's SaveLocation (even though it's not in the querystring). The value of SaveLocation isn't dynamic - it points to the root folder even when my form is in a subfodler. I want a value that will work even if the form gets moved to a different subfolder.




Form Services 2010 - potential bug in plain text - multi-line boxes



Just wondering if anyone else has found the following and perhaps a resolution.  (Blog post with image examples here: Click)


An InfoPath Form created in Microsoft InfoPath Designer 2010 and is installed as an Administrator approved template.

  • Form Control: Text Box


  • Read-only – No
  • Enable spelling checker – Yes
  • Enable AutoComplete – Yes
  • Multi-line – Yes


  • Height: Auto

Compatibility Settings:

  • Form Type: Web Browser Form (2010)


  • Browser: Internet Explorer 7, 8, Google Chrome

When running the Form in the web and a user types into the multi-line text box; after 20 characters the text box gets bigger by 1 row.

On evaluation using the IE8 development toolbar.  It would appear that the control is rendered as a <textarea> HTML element and JavaScript runs on the 22<sup>nd</sup> character and adds 1 to the “rows” attribute of the <textarea> element.

For example:

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?

Convert Web Based InfoPath Form via Form Services to a PDF




Does anyone have a good idea on how to convert a web based InfoPath form into a PDF?


I've been looking into the MOSS Document Conversions, which could prove quite interesting. OOB, It allows to convert from InfoPath Form to Web Page (Web Publishing Page). Does a converter like "InfoPath Form to PDF" exist? Or perhaps just a "InfoPath to plain PDF" exist?


I've also been looking into the http://www.websupergoo.com/abcpdf-1.htm - ABCPDF component. It's quite clever, as it's able to take a URL as a parameter and return the web page as a searchable PDF (not just an bitmap image). However it fails converting any pages coming out of SharePoint / Form Services (even though it actually supports JavaScript).


Hit me back on any suggestions and ideas you have on this subject.


Kind regards.

Building InfoPath forms against Sharepoint 2010 Data Connection Library and Form Services...


Hi Sharepoint Experrts,

I'm trying to develop InfoPath 2010 forms that use External Lists that have been created in Sharepoint Server 2010.  I have problems when testing the forms because access is denied to the external lists.

When I try deploying the forms to the sharepoint site, I cannot upload the form template because it says I have to be a member of the local administrators group.  However, I'm running the administrator account used to install and setup sharepoint on the Windows 7 development machine I'm using.

I also tried loading the InfoPath Data Connections to a data connection library on my Sharepoint site... I can see the files when I login to the site but when I try creating a New form from a Data Connection File, I get an error message "This location does not contain any data connection files with the appropriate settings".  What ARE the appropriate settings?

I'm just really confused about this because I cannot seem to be able to build forms that use data connection files loaded onto a Sharepoint site or central server....

I appreciate any help I can get!




Thanks, KBW

MOSS 2007/InfoPath Form Services Error


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

Installing and Uninstalling Services

Installing and Uninstalling Services.Unlike most projects you create in Visual Studio .NET, Windows Service projects cannot be run directly from the development environment by pressing F5. This is because the service in the project must be installed before the project can run.

You can quickly install your service application by using a command line utility called InstallUtil.exe.

Getting Started with Windows SharePoint Services

Of all of the capabilities of SharePoint, I thought I would start with the most basic installation - as a corporate intranet. It is likely that we will need to discuss some of the elements of SharePoint as we go along, so this also gives us the opportunity to review these elements for future reference.

Before going into too much detail, I would like to point out that you can try the core SharePoint framework (known as Windows SharePoint Services or WSS) for free. On Microsoft's Web site you can download a trial version of Virtual PC 2004 (VPC). Using VPC, you can install the Windows 2003 Evaluation Kit and the WSS add-on. This combination will give you 45 days to evaluate the setup.

Building a Searchable Phone Directory with Windows SharePoint Services

I want to continue to build out the intranet site we've started in our previous articles. A standard item in every intranet is a staff/employee list. Most companies implementing Windows SharePoint Services (WSS) are large enough to have a database that contains all employees. We will use the aggregation features of SharePoint to include data from this database into our intranet.

Building a 3-Tier App with Silverlight 3, .NET RIA Services, and Azure Table Storage

Silverlight 3, .NET RIA Services, and Windows Azure Services Platform makes a 3-tier Cloud application easier to build: Silverlight 3 as presentation tier, .NET RIA services as the business logic and data access tier, and Windows Azure Table as the data storage tier. The sample application in this article demonstrates the architecture with a simple Survey application with all these technologies working together from Windows Azure.

New Features in Windows SharePoint Services 3.0

Windows SharePoint Services 3.0 (WSS 3.0) is the next version of WSS 2.0, released on 2007, and Microsoft Office SharePoint Server 2007 (MOSS 2007) is built on top of this. Windows SharePoint Services 3.0 takes full advantage of Microsoft ASP.NET 2.0 and the core Microsoft .NET 2.0 runtime. WSS 3.0 offers a lot of new features and programmability support. I have consolidated a list of new features and enhancements in the below section:
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