Is the correct version of Word installed on your server? How have you handled concurrency? If 2 users access your page, the server will try and spawn 2 instances of Word.
On Tue, Oct 12, 2010 at 6:58 AM, nick <nickli...@yahoo.com> wrote: > Hello, > > I have developed a .net application in VS 2008 (.NET FRAME WORK 3.5) > with MS-SQL Server 2005 as database. > > Application works absolutely fine in my local machine (XP IIS) but > when I installed it in the server (Windwos server 2003) it shows me > the following error message. > > error > > Retrieving the COM class factory for component with CLSID > {000209FF-0000-0000-C000-000000000046} failed due to the following > error: 8000401a. > 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: > Retrieving the COM class factory for component with CLSID > {000209FF-0000-0000-C000-000000000046} failed due to the following > error: 8000401a. > > Source Error: > > Line 2869: > Line 2870: > Line 2871: Dim oWordApp As New Word.ApplicationClass() > Line 2872: > Line 2873: > > Source File: C:\Inetpub\wwwroot\Legal.Monthly.Reports.LG004\Legal > Monthly Reports (LG004)\PrintingToWord.aspx.vb Line: 2871 > > > > Nick >