Word COM Object Error
-
Hi I have developed Window service in .Net 2010 and in that windows service we are using Word COM object to covert DOC to PRN file. if i run the window service in my local its working fine, but if i deploy the window service in Server 2008 R2 server i am getting below mentioned error, (Server 2008 R2 server Word 2003 is installed) There is insufficient memory. Save the document now. (C:\...\ACL-PhillipSholar_1482.doc) source Microsoft Word [System.Runtime.InteropServices.COMException] at Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles, Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible, Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform) If any one know how to resolve the issue, Please let me share your fix. Regards, Ganesan. B