2 Problems with Word 2007 Automation

M

Mario G.

I am experiencing two issues with MS Word 2007 and automation within a Web
Service. The first error I’m encountering is
System.UnauthorizedAccessException: Retrieving the COM class factory for
component with ….â€. I’ve followed the instructions in:

http://support.microsoft.com/kb/288366/

to configure the Interactive User account but for some reason I still
receive the error message. When I changed it to utilize the launching user
profile, I do not receive this error message but it appears Word Hangs when
opening up the document that needs to be printed (which is my second problem).

I have noticed we have the assembly reference to:

Microsoft.Office.Interop.Word, Version 12.0.0.0, etc….

However reviewing the Class ID, I’ve noticed its referencing:

000209FF-0000-0000-C000-000000000046

Instead of what’s outline in the above KB. The error I am receiving back is
as follows:

Connector:Connection time out. HRESULT=0x800A1527 - Client:An unanticipated
error occurred during the processing of this request. HRESULT=0x800A1527 -
Client:Sending the Soap message failed or no recognizable response was
received HRESULT=0x800A1527 - Client:Unspecified client error.
HRESULT=0x800A1527

Any ideas?

Thanks
 
M

Mario G.

I've given up on setting the identity tab to Interactive user but to
launching user, so that kind of solves my first problem.

Problem #2, i've narrowed down to a specific line (thank you Log4Net) to
when the call to ExportAsFixedFormat to save the document in PDF format.

Does anyone know what the requirements are when calling this plug in? Does
it need access to a temp directory, root directory, etc...? I think its
something here that is hanging the web service.

Any suggestions will help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top