Urgent Help: System.Runtime.interopservices.COMException 0x80010105

B

Badrinath Mohan

Hi Gurus,

I can instantiate a COM object in VC# without any problem.

But when i call one function exported by the COM object i
get this exception.


System.Runtime.interopservices.COMException 0x80010105

I call it from an ASP .net application

Could u please tell me how to avoid that problem.

Thanks and waiting for ur reply
Badrinath
 
N

Natty Gur

Hi,

If you call COM object from window application without any Errors and
ASP.NET throw exceptions it’s usually about security. Asp.net default
user doesn’t have rights to activate COM objects. You need to add user
with sufficient rights and use the identity tag in web.config to set
this user. If you use windows authentication (anonymous not set) and
your users got rights to activate COM objects you can use identity tag
with impersonate=true attribute.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
 

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