.NETGURU
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




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification