Document read Not working in IIS

Bharath Peggem

Bharath Peggem

Oct 17 2015 3:03 AM
   Am woring mail merge concept in .Net C#. i got in error when i move and run the application in iis. the error is did not read Docment dll ithink. see this error 

Creating an instance of the COM component with CLSID {00020906-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 8001010a The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER)).


Line 76:  
Line 77: Microsoft.Office.Interop.Word.Application wordApp = new Microsoft.Off         ice.Interop.Word.Application(); 
Line 78:             Document wordDoc = new Document(); 
Line 79:             wordDoc = wordApp.Documents.Add(ref oTemplatePath, ref oM                     issing, ref oMissing, ref oMissing); 
Line 80:count = count + 1;
 in that Document wordDoc is not working in IIS. so give me solution 
Bharath Peggem 

Answers (5)