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 / August 2005

Tip: Looking for answers? Try searching our database.

Export to Web Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard - 27 May 2005 18:22 GMT
Hi
Every time I try to export an Infopath form as a .mhtml by clicking on
file -> export to -> web...? I recieve an "Infopath cannot save the
form." error.  Does anyone know how I can fix this?  I have given full
trust permissions to the form and I have digitally signed it in
creation.

Thanks
Richard - 31 May 2005 19:35 GMT
Hi
I have tried using a button to do this using the jscript code:
XDocument.View.Export("C:\test", "MHT");
And it causes this error:
The following error occurred:

The following URL, path, or file name is invalid: C:    est
The file path referred to by an object model call must be absolute.

Can anyone help please?

Thanks
Ben walters - 25 Aug 2005 05:21 GMT
Hey Richard
When doing your export to need to refer to the file name fully e.g.
Export("C:\Test.mht","MHT")

Cheers
Ben

> Hi
> I have tried using a button to do this using the jscript code:
[quoted text clipped - 8 lines]
>
> Thanks
Richard - 26 Aug 2005 23:16 GMT
Hi Ben,

Yes I tried that when I was testing this.  I forgot to reply to this
post a while ago as this problem was resolved a while ago already.  It
ended up being that Infopath uses Outlook Express to export the .mhtm
file and my company has implemented some security patches that lock up
Outlook Express so the file could never be created.  Hope that helps
anyone that ever runs into this issue.
 
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.