Adding COM Access denied

T

tshad

I have a COM object I built in VS 2008 and I can't seem to get it to
register.

It registered ok yesterday and I made some changes to it so I uninstalled it
and am reinstalling it with a new appname.

But I get an access denied error. I am the administrator of the this
machine so I am not sure why I am getting this.

The object is retistered as:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>regsvcs /appname:ClientCom
D:\PCVM
urcor\GeoProject\Geo.GeoClientCOM\bin\Debug\Geo.GeoClientCOM
..dll
Microsoft (R) .NET Framework Services Installation Utility Version
2.0.50727.305
3
Copyright (c) Microsoft Corporation. All rights reserved.


The following installation error occurred:
1: You must have administrative credentials to perform this task. Contact
your s
ystem administrator for assistance.
2: Failed to generate type library 'D:\PCVMurcor\GeoProject\Geo.GeoC
lientCOM\bin\Debug\Geo.GeoClientCOM.tlb' for 'Geo.GeoClientCOM,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=509b7ac6147d0657'.
3: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Is this a problem with the key or the fact I have 2 interfaces in the COM?

Thanks,

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top