locked
crm Workflow paused due to error: Unhandled Exception: System.Runtime.InteropServices.COMException: RRS feed

  • Question

  • when I am creating a word object as below workflow throwing an error...

      Application actionWord = new Application();
                    Document actionWordDoc = new Document();

    Workflow paused due to error: Unhandled Exception:
    System.Runtime.InteropServices.COMException:
    Creating an instance of the COM component with CLSID {00020906-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 8001010a.

    Thanks, chandra

    Friday, September 21, 2012 10:34 AM

All replies

  • Might be worth looking to see if there is any Anti-Virus software installed on your server. I came across similar issues when trying to work with Excel. Article below has some additional details about MS Word. 

    http://support.microsoft.com/kb/246018


    John Grace (Founder, North52) Simplifying CRM & xRM development
    How? Check out the Free Community Edition of Formula Manager at, North52

    Friday, September 21, 2012 2:13 PM
  • I have created a workflow which will write some data into the ms word doc.Perhaps I am getting the following error at the object declaration

     Application actionWord = new Application(); ----->throwing error here...
     Document actionWordDoc =new Document ();
    Object oTemplatePath = "D:\\Templates\\Skills Action Plan.doc";                
    actionWordDoc = actionWord.Documents.Add(ref oTemplatePath, ref oMissing, ref oMissing, ref oMissing);
     actionWord.Visible = true;
    actionWordDoc.Activate();

    System.Runtime.InteropServices.COMException (0x8001010A):
    Creating an instance of the COM component with CLSID {00020906-0000-0000-C000-000000000046} f
    rom the IClassFactory failed due to the following error: 8001010a.

    I am using interop dlls to complete this requirement.


    Thanks, chandra

    Monday, September 24, 2012 2:06 PM
  • Dear Chandra,

    I have already written several times. No duplicates, please.


    Freelance Developer for Dynamics CRM 4.0/2011

    Monday, September 24, 2012 2:20 PM
    Moderator