Hi All,
We have got a nasty (we think) authority problem.
We are doing some mailmerge in a webservice. At the end of the process we need to convert the document to a pdf, encode it, and sent it back. To do so, we use the Word automation object. I know, it is advised not to use Office server side, but it all worked fine on a Windows 2003 32 bit server.
We cannot get it working on a Windows 2008 64 bit server. The webservice is running under Network Service account, we ajusted the DCOM security, we even tryed some Registry patches, we added "Desktop" folders, found out we needed dcomcnfg /32, etc, etc.
On the statement
IF CREATE(wdApp,FALSE,FALSE) THEN
we get:
Type: System.Runtime.InteropServices.COMException
ErrorCode: -2146959355
Message: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005.
The CLSID belongs to a InprocServer32 running Interop.Word 2010
Off course al works fine when running the same code from a clasic client, as it did on our old server. ](*,)
Any suggestions?
Benno
0
Answers
In this case the problem is the combination of x64 Server 2008, x32 Office 2010. By editing the Registry, and enlarging some heap, you can get it working.
We decided on using microsoft.office.word instead.
Hope you can give more details? Do you mean you use the 32bit version on a Server 2008 R2?