Error: System.Runtime.InteropServices.COMException
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.interop.

Post a new message to this list...

Keem
Hi,

I have and COM object is running fine on C# Windows Application.

However, it doesn't work on ASP.NET. Below is an error occurs when I call a
method of COM object exactly the same in ASP.NET C#.

"System.Runtime.InteropServices.COMException: Application configuration does
not specify any online connection."

Thank you.

regards,

Keem

Reply to this message...
 
    
Naveen K Kohli
Very likely you have run into permission issues. If you are doing any of the
following, then you will to fix your authentication and autorization for web
app.

Does your application accesses any file resources in folder other than your
web application?
Does your application accesses any resource over the network?
Is the call related to some network operation?

Your windows app is running under the currently logged in user, this user
probably is you and have admin previleges.

Whereas asp.net running under ASPNET user account which is very limited
previleges account.

Naveen Kohli
http://www.netomatix.com

"Keem" <Click here to reveal e-mail address> wrote in message
news:%Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Keem
1. ASP.Net at my development pc (Called Development PC) is setting to
Administrator right for the
machine.

2. Webservices provided by software vendor is running on another server
(Webservices Server).

3. This ASP.Net call webservices over network.

Question:

1. Should I change my ASP.Net rights?
How do I make my ASP.Net [Development PC] have right on [Webservices
Server]?

2. Any suggestions?

Thank you

Keem

"Naveen K Kohli" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.Runtime.InteropServices.COMException




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com