« Previous Next »

Thread: comObject32 problem

Last post 11-20-2009 8:14 AM by swjensen. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 04-24-2009, 9:50 AM

    • swjensen
    • Not Ranked
    • Joined on 11-16-2002, 2:08 AM
    • Posts 4

    comObject32 problem

    I'm having problems installing a comObject32 from a package on a x64 machine.

    For testing purposes I set up the following commands in batfile, creating the package and installing the component locally but through the agent service:

    del c:\temp\package_local_comObject32_MSDeployTest.zip 

    regsvr32  D:\resources\com\Writer.dll

    msdeploy -verb:sync
    -source:comObject32="Project1.WriteComponent"
    -dest:package=c:\temp\package_local_comObject32_MSDeployTest.zip

    regsvr32  D:\resources\com\Writer.dll /u

    msdeploy -verb:sync
    -source:package=c:\temp\package_local_comObject32_MSDeployTest.zip
    -dest:auto,computerName=myLocalMachine

     

    I get 31 actions adding the reg keys after the first msdeploy command, but after the last command I get an error:

    Error:  Registry key 'Project1.WriteComponent' is invalid

    regards

     swjensen

  • 07-13-2009, 1:54 PM In reply to

    • davcox
    • Top 50 Contributor
    • Joined on 07-21-2006, 6:28 PM
    • Redmond
    • Posts 216

    Re: comObject32 problem

    There are some known issues with the comObject32 provider in the RC release.  These are fixed in the RTW release (coming soon).  Sorry about that.  Did you figure out a workaround?  (If not, I'll find one for you)

  • 11-20-2009, 8:14 AM In reply to

    • swjensen
    • Not Ranked
    • Joined on 11-16-2002, 2:08 AM
    • Posts 4

    Re: comObject32 problem

    Hi Dave

    As you might have guessed, we decided to wait for the next release. With the new version, I am still getting errors, though.

    I can now sync a server from my package, and I see settings being written to both HKEY_CLASSES_ROOT\CLSID and (HKEY_CLASSES_ROOT\Wow6432Node\CLSID.

    But calling the comComponent from a website, generates an error:

    This operation failed because the QueryInterface call on the COM component for the interface with IID '{018BA1BE-F318-4F49-BD61-D73F278D4F04}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).  

    Examining the differences in HKEY_CLASSES_ROOT when using regsrv32 shows that entries under HKEY_CLASSES_ROOT\Interface and HKEY_CLASSES_ROOT\Wow6432Node\Interface are missing.

    Hope you can help on this one

    Regards
    Søren

Page 1 of 1 (3 items)
Microsoft Communities