473,385 Members | 1,341 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

E_ACCESSDENIED (HRESULT = 0x80070005) calling an Interoperability Managed code to a COM (vb6)

Hi,

On my development machine I have installed Visual Studio 2005 and I
have developed a Web Services that exposes a COM (created in VB6)
method. On this machine it is installed only the TLB and the VBR files
that point to the TEST machine where the server MTS exposes the real
COM.

If I run my Web Services form the developer Web Server of VS2005, all
it's ok. I have copied the ASP.NET project files in the virtual
directory of IIS 5.0. For 2 days this WS in IIS environment has worked,
but now when I invoke the WS, the WS return me an error in the
invocation of the Interoperation Class with this error:

E_ACCESSDENIED (HRESULT = 0x80070005)

Very strange problem! in the Visul Studio 2005 all works, why this
problem in IIS? I have checked the DCOM configuration and It seems not
be the problem!

In the directory I have put the Everyone,IUSR_..., ASP user.....but
nothing!

Help!

Ken

Jul 4 '06 #1
1 2285
Ok I have resolved with the

<identity impersonate="true"/>

in the web.config.
Thanks
Ken
kenshiro2000 ha scritto:
Hi,

On my development machine I have installed Visual Studio 2005 and I
have developed a Web Services that exposes a COM (created in VB6)
method. On this machine it is installed only the TLB and the VBR files
that point to the TEST machine where the server MTS exposes the real
COM.

If I run my Web Services form the developer Web Server of VS2005, all
it's ok. I have copied the ASP.NET project files in the virtual
directory of IIS 5.0. For 2 days this WS in IIS environment has worked,
but now when I invoke the WS, the WS return me an error in the
invocation of the Interoperation Class with this error:

E_ACCESSDENIED (HRESULT = 0x80070005)

Very strange problem! in the Visul Studio 2005 all works, why this
problem in IIS? I have checked the DCOM configuration and It seems not
be the problem!

In the directory I have put the Everyone,IUSR_..., ASP user.....but
nothing!

Help!

Ken
Jul 5 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bart Simpson | last post by:
Hi, I'm testing to control Windows disk quota by PythonWin on win2003 and winXP. But ther is some problem.. This is the test code: import win32com.client
0
by: Natalia DeBow | last post by:
Hi there, I am trying to create shortcuts to a desktop and to a Start->Programs menu from a C# client talking to a server (using .NET Remoting) that in turn talks to a COM object. I am running...
4
by: Frederik Kesting | last post by:
Hi! I heard about the possibilty of using different languages for one project whith the .Net Framework. Is it f.e. possible to include Managed C++ code into a VB.Net project without changing...
3
by: Sai Kit Tong | last post by:
I posted for help on legacy code interface 2 days ago. Probably I didn't make it clear in my original mail. I got a couple of answers but none of them address my issues directly (See attached...
0
by: Mitja Semolic | last post by:
Deploying ASP.NET web sites to Windows 2003 Server a Nightmare! You finished implementing a ASP.NET web site and then comes the really painful part, you have to deploy it. And to make things...
0
by: upendra.desai | last post by:
Hi, I have written an application in Microsoft Visual C++ (Visual Studio 6.0) that uses MSXML 4.0 SP2. When I try to load an XML from a file, it throws an E_ACCESSDENIED (HRESULT = 0x80070005)...
1
by: moi | last post by:
Hello, I have make a Active Directory Membership to change the user password in the active directory with ASP.NET2 after a logo page, and it works fine. BUT i add this code when the password is...
2
by: Spottswoode | last post by:
Hi I have developed a client/server application in C# that worked perfectly in my office but not so perfectly after deploying it to our client. A little information about the architecture first:...
7
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I have a C# logging assembly with a static constructor and methods that is called from another C# Assembly that is used as a COM interface for a VB6 Application. Ideally I need to build a file...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.