I've got a page that calls MS Word and populates a document template. This has been working for two weeks and all of a sudden it quit working unless I'm sitting on the server. I get the following error: System.Runtime.InteropServices.COMException: The remote
procedure call failed. [COMException (0x800706be): The remote procedure call failed.] Microsoft.Office.Interop.Word.ApplicationClass.Quit(Object& SaveChanges, Object& OriginalFormat, Object& RouteDocument) +0 I'm pretty sure it's a permission issue, but don't
know that anything's changed or what permission to change. Any ideas? Thanks Kirk
Kirk, Perhaps this article (and the ones referenced in it) might give you a clue as to what the exact problem might be: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q257/7/57.asp&NoWebContent=1 That said,
do note that the article makes it very explicit that running Office applications in server scenarios like this is *not* supported at all and you're completely on your own if you do (and my experience tells me it's something to be avoided as much as possible,
because it's a source of constant problems)
You might want to try SoftArtisans OfficeWriter to avoid using Word on the server. They now have a new WordWriter component. I haven't tried it yet, but I've been using the template-based approach of their ExcelWriter component for some time now, and it solved
alot of problems for us. http://officewriter.softartisans.com/default.aspx?PageID=189 -Joy
kirk.bay
Member
500 Points
101 Posts
COMException (0x800706be)
Jun 23, 2003 04:36 PM|LINK
tomasr
Contributor
4290 Points
852 Posts
Re: COMException (0x800706be)
Sep 09, 2003 12:24 AM|LINK
tomasr@mvps.org
Joy26
Member
30 Points
6 Posts
Re: COMException (0x800706be)
Oct 08, 2003 08:11 PM|LINK