Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2006

Tip: Looking for answers? Try searching our database.

Error "InfoPath cannot save the form."

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Niels - 28 Jul 2006 21:40 GMT
Hello all:

Had an issue that I've resolved and wanted to share with you.

We rolled out an InfoPath form across the company and had a few users
unable to save changes, with InfoPath reporting this error (including
data from the "more details" button):

InfoPath cannot save the form.
The OnSaveRequest function returned a value indicating that the save
failed.
Details for the error are:
The following error occurred:
Error in loading DLL
File:script.js
Line:234

The line in question was simply the first encountered reference to
XDocument in the script we run to validate the form before saving. The
exact line was:
    for (var i=0; i<XDocument.Errors.Count; i++)

In the end the problem was that MSADO15.DLL was no longer registered.
Running
    regsvr32.exe "c:\program files\common
files\system\ado\msado15.dll"
at the command prompt resolved the issue.

Hope this is helpful to anyone else running across a similar error.

Niels
Greg Collins [InfoPath MVP] - 31 Jul 2006 22:24 GMT
Thanks for sharing this with us.

Signature

Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.