Sign in
SharePoint Rita
All about SharePoint architecture, development, infrastructure, security; .NET development; and more...
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Common Tasks
Blog Home
Email Blog Author
Share this
RSS for comments
RSS for posts
Atom
Search Form
Tag Cloud
.NET
AAM
AJAX
ASP.NET
bcs
book
branding
Geolocation
InfoPath
Infrastructure
JavaScript
Loopback
managed navigation
Map
Napa
New Releases
Office 365
Office web app
Powershell
publication
secure store
SharePoint 2010
SharePoint 2010 upgrade
SharePoint 2013
SSRS
Monthly Archives
Archives
June 2013
(1)
April 2013
(1)
October 2012
(3)
September 2012
(5)
August 2012
(4)
April 2012
(1)
March 2012
(3)
January 2012
(5)
April 2011
(2)
February 2011
(1)
June 2009
(1)
May 2009
(1)
October 2008
(2)
August 2008
(1)
March 2008
(1)
December 2007
(1)
InfoPath 2010 browser-enabled forms cannot be opened - "The following document is not a valid InfoPath form"
MSDN Blogs
>
SharePoint Rita
>
InfoPath 2010 browser-enabled forms cannot be opened - "The following document is not a valid InfoPath form"
InfoPath 2010 browser-enabled forms cannot be opened - "The following document is not a valid InfoPath form"
Rita Zhang
9 Sep 2012 11:26 AM
Comments
1
Environment:
SharePoint 2010, InfoPath 2010 browser-enabled forms
Issue description:
We have alot of InfoPath forms in SharePoint 2010. These forms were migrated from InfoPath 2003 client to InfoPath 2010 browser-enabled. Occasionally a few InfoPath forms cannot be opened in browser with the following error:
There has been an error while loading the form.
The following document is not a valid InfoPath form: {path of form}
Cause:
After doing some research and comparision, I noticed that we have a rich text field in the form that users use to copy and past html content from the internet. The pasted content includes the following string that caused this issue:
<?XML:NAMESPACE PREFIX = "[default]" http:="http:" xmlns:http="urn:http" ?>
Resolution:
Download the form to local machine. Open the form in notepad. Find the above string and delete.
From SharePoint library, find the affected item.
Checkout the item (if checkout is required)
Upload a file to the library, point the path to the local path of the newly saved xml file.
Save
Open the form from SharePoint, it should open in browser without any issue.
1 Comments
SharePoint 2010
,
InfoPath
Leave a Comment
Name
Comment
Please add 4 and 2 and type the answer here:
Post
Comments
Wayne
10 Sep 2012 6:26 AM
Infopath is very hard to work with!
Page 1 of 1 (1 items)