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

  • Thread starter Thread starter Badrinath Mohan
  • Start date Start date
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
 
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
 
Back
Top