mschua44 Posted November 29, 2009 Posted November 29, 2009 Hi, I make an asp.net project dealing with Microsoft.Office.Interop.Word. It is working fine while running on VStudio 2005 Development Server. But when I switch it to Win Server 2003, I get the following error : Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Command failed Source Error: Line 24: objWordApp.Visible = True 'IIf(chkShowWord.Checked, True, False) Line 25: 'Open an existing document. Line 26: objWordApp.Documents.Open("C:\Sample.doc") Line 27: objDoc = objWordApp.ActiveDocument Can somone please help ??!!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.