.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 2010 cannot connect to SharePoint 2010

Posted By: Amit Mehra     Posted Date: March 21, 2010    Points: 2   Category :SharePoint
You have installed Office 2010 beta and you are trying to connect to SharePoint 2010 from InfoPath but you get an error

View Complete Post

More Related Resource Links

Quick Note: Connect Web Parts in SharePoint 2010

Learn to create and deploy two Web Parts and then connect them so that making in a selection in one displays that selection in the other.

Changing fields while updating an InfoPath Form to a SharePoint 2010 Document library

My document library has following EventReceiver: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Receivers ListTemplateId="101"> <Receiver> <Name>EventReceiverDocumentLibraryItemUpdating</Name> <Type>ItemUpdating</Type> <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly> <Class>EventHandling.EventReceiverDocumentLibrary</Class> <SequenceNumber>10000</SequenceNumber> </Receiver> </Receivers> </Elements> Updating a browser enabled InfoPath form in the document library fires following event: Public Overrides Sub ItemUpdated(ByVal properties As SPItemEventProperties) Try Me.EventFiringEnabled = False properties.ListItem("Lastname") = "Testperson" properties.ListItem.ParentList.ParentWeb.AllowUnsafeUpdates = True properties.ListItem.SystemUpdate(False) ' solution 1 properties.ListItem.Update() ' solution 2 properties.ListItem.UpdateOverwriteVersion() ' solution 3 properties.ListItem.ParentList.ParentWeb.AllowUnsafeUpdates = False Me.EventFiringEnabled = True MyBase.ItemUpdated(properties) Catch ex As Exception Me.EventFiringEnabled = True E

Unable to connect a web service from SharePoint 2010

Hi, I have a requirement to connect to a webservice from SharePoint 2010 without passing Network credentials explicitly. If i am already logged into the SharePoint 2010 portal , I should be able to click on Search (which is a web service which retrieves search results from Oracle UCM) and retrieve the result. I tried localhost.ServiceX myProxy = new localhost.ServiceX(); myProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; also myProxy.UseDefaultCredentials = True Still i am unable to authenticate. Default credentials returns null value.   Kindly help.

Cannot publish InfoPath 2010 form template to SharePoint Server 2010 RC

Hi all, I am MSFT in Vietnam. I created a SharePoint list using InfoPath 2010 RTM 64bit. After publishing it to SharePoint 2010 RC, I see an error message:  Click on button "Show Details" the message is The list schema does not match the schema of this form. Refresh the data source and publish the form again. When I create new item based on published SharePoint list, I can see plain form not browser enabled InfoPath form. I checked InfoPath Form Services, everything seems to be good. What should I do to publish SharePoint list from InfoPath 2010 to SharePoint 2010 as browser enabled form?

Infopath Form Data submitting to Sharepoint 2010 List

Making a Client intake form that once submitted will send data to  a sharepoint 2010 List called contacts. Short Summary the form will have repeating fields and alot of information to submit. I have looked and read all over but I cannot find an easy step by step guild on how to submit the form data like that. Long Summary on the sharepoint site a button will open a form for adding a new client.  once the form has been filled out and the user hits submit sharepoint will then create a User File, in clients file, and take the data and put it into contacts list. I am trying to make use of Sharepoint as I would with access, meaning the more information I have on a client the easier it will be to mail merge letters, motions, basicly any file prepaired stuff. So once I have css designed forsharepoint to make it look the way I want then the forms should intergrate perfect

SharePoint Designer 2010 errors out when trying to connect to SharePoint 2010

When trying to connect Designer 2010 to our SharePoint 2010 we have setup here, the web seems to open, but then it bombs out with an error "An error occurred while trying to fetch data from your SharePoint site. Unknown response from the server.". And we're stuck as of now. Noting this bombs out also from Designer 2010 on the server, as well as from my workstation, so it's some sort of service issue.We've done:1) Firewalls off, on both server and my desktop2) I've been made admin everywhere, including the farm admin. Doesn't just die on my user, but all users get same error.3) Clicking lots of checkboxes in hundreds of places :)Any thoughts as to why designer dies?NotingThat when I Open Site in Designer 2010, and put the Url in the Site Name, the folder structure does show the folders of the site, so I can see images, _catalogs, SitePages, etc. It's just when trying to connect is when it doesn't work.

Sharepoint 2010 workflow using asp.net forms and or infopath forms

Hi, Does anyone know of any good step by step articles on a state machine workflow with ASP.NET forms and or inforpath forms ? Ive created a blog on a generic workflows but want to learn more about the forms side of things - any pointers would be great. Paul.   PS here is my how to guide : http://sp2010site.blogspot.com/2010/09/how-to-create-and-debug-state-machine.html  

Infopath 2010 cannot connect to Rest web service

Hi all, I recently tried to access an Excel spreadsheet range as a Rest web service in Infopath 2010; no luck.  Here are the steps I followed: 1. [Successful] Upload Excel spreadsheet with the said ranges onto a Sharepoint document library 2. [Successful] Bind the Excel spreadsheet range (I have one called Regions) in the Sharepoint document library as a Rest web service in Infopath form's listbox control during design time as follows - http://mosscrm/sites/sandbox/_vti_bin/excelrest.aspx/eventbudgets/lookups.xlsx/model/ranges('Regions')?$format=atom 3. [Failed] Then I tried to preview the form, but the actual data in the Excel range failed to populate the Infopath listbox control.  The error I got was: "Could not open "http://<localhost>/sites/<site name>/_vti_bin/ExcelRest.aspx/EventBudgets/Lookups.xlsx/Model/Ranges('EventTypes')?$format=atom"   The error I then got from Infopath was a pop-up saying: The query cannot be run for the following DataObject: Event Types InfoPath cannot run the specified query. The file is not a valid XML file. Not enough storage is available to process this command . If anyone out there has experienced a similar issue and resolved it, please kindly share your solution approach. Thanks.

Sharepoint 2010 workflow using asp.net forms and or infopath forms

Hi, Does anyone know of any good step by step articles on a state machine workflow with ASP.NET forms and or inforpath forms ? Ive created a blog on a generic workflows but want to learn more about the forms side of things - any pointers would be great. Paul.   PS here is my how to guide : http://sp2010site.blogspot.com/2010/09/how-to-create-and-debug-state-machine.html  

How can i have form used by infopath with workflow sharepoint 2010 ?

Hi all, I have sharepoint 2010 and infopath 2010. I would like to create a workflow which sends a task to a user every week. The task should be done in infopath 2010. How can i do that ?   Thanks

SharePoint 2010 Connect to Office not creating shortcut in SharePoint Sites folder

When I click on the Connect to Office in a  SharePoint Library and select add to SharePoint Sites, the link is no longer creating.  This worked one time, but after I selected Remove from SharePoint Site I am no longer able to add any sites by this method.  Any thoughts? Thanks!

Sharepoint 2010 Foundation can use InfoPath 2010 ?

I can't seem to find this info anywhere.We are not using server 2010 at work so I don't want to go spend alot of time learning about infopath 2010 if we can't use it with SP foundation 2010. help .If you do SharePoint dev and have MSN add me!! punkouter@hotmail.com We can help each other out. My SharePoint Blog ---> http://punkouter.spaces.live.com/

Trying to repair SharePoint 2010, running into an error with Microsoft.Office.InfoPath in GAC...

We've got an environment which has been hit badly by something we're not yet sure of. SharePoint has ceased working completely, and when I try to run SharePoint Configuration Wizard, it stops with an error concerning an windows assembly. Could not load file or assembly 'Microsoft.Office.InfoPath.Server', VErsion=, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. Signature specified is zero-sized. (Exception from HRESULT:0x80131237) How can I fix that assembly?

Cannot connect SharePoint 2010 site with Office 2010 beta

I installed Office 2010 beta, then want to new a workspace of SharePoint 2010 beta. An error pop-up: SharePoint workspace cannot sync with the specified SharePoint site because its server version is not supported.My SharePoint 2010 beta is the only web front end server in a farm environment. I started all the SharePoint related services, but the error pop-up anyway...

Sharepoint 2010: Browser compatible infopath forms are not open in web browser for editing


I created a browser enabled form with InfoPath 2010. I then published the form by selecting the option "Publish form to a SharePoint library" and then selected "Form library" and finally selected "Create a new form library". As a result, a new form library was created.When I click on "add document", the browser opens a new form, which I can fill and save successfully. However, after the form is saved, whenever I click on the form name in the form library to edit it, the browser "opens with" dialog box opens, asking for an XML editor software. In other words, the form does not open in browser for editing even on systems that do not have InfoPath installed.

The form is browser compatible and the form library is configured to open browser-enabled forms in browser. The issue is that the form hyperlink is directly pointing to form XML file rather than pointing to InfoPath form services URL.

I would really appreciate, if someone tells me how I can edit the form in browser.




Sharepoint 2010 and Infopath


I need to hide a lookup column (that was recently added) for an existing list. I have tested this functionality using javascript on a

test list that I created.

The function is implemented in the displayform, newform and editform and makes use of the document.getElementsByTagName("!")

to retrieve all matching elements, which is then used to get the control of the column that needs to be hidden.

I then check for the currently logged in user and if the user is not part of the administrative group I hide the column by setting the

display property of the control to 'none'. This works a 100% in the test list.

When I tried implementing the javascript functions on the existing list, the control (lookup column) could not be found even though it exists. The difference is that the existing list has 3 additional forms being displayif, editif and newif (I have implemented the functions on these forms).

Since it does not seem possible to implement the logic using javascript in the forms, can this be done using infopath, and if so how would I

go about it.

Any help would be greatly appreciated.




Commit Variable from SharePoint Designer 2010 to an InfoPath Form 2010


I saved a string into a SP Workflow 2010 variable, and want to pass this variable to an InfoPath 2010 Form, so that I can display/use this string in the Form.
Please tell me how to commit that.

Thank you in adnavce!

Kind regards,
Milan Stojadinovic
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