cannot debug VB6 DLL



I create a VB6 DLL object within an ASP.NET page. I've set a reference to it
in my project and call with (in C#)

this.vbObject = new VB6Proj.VB6Class();

Normally this works fine at runtime. And it usually works fine when I start
up VB6 first, run the project, set a breakpoint, and bring up the webpage.
But now, when debugging in VB6, I get Server Error

Access is denied.
......

Exception Details: System.UnauthorizedAccessException: Access is denied.

ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or
Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="true"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAME) or the authenticated request user.

right on the line where I create the object. Only change I know of is a
recent Win XP Pro security update. My machine.config trust level is Full.
Any ideas? Thanks


--
-cellbert
.



Relevant Pages

  • access denied -- cannot debug in VB6
    ... I create a VB6 DLL object within an ASP.NET page. ... IUSR_MACHINENAME) or the authenticated request user. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • access denied -- debugging in VB6
    ... I create a VB6 DLL object within an ASP.NET page. ... If the application is impersonating via <identity ... IUSR_MACHINENAME) or the authenticated request user. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Please do NOT sign the VB.COM petition
    ... >>> is one of the cheapest possible solutions which will please the VB6 ... not a request (see petition FAQ). ... > Microsoft money without bringing money back to Microsoft. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: HttpContext.Current returns null
    ... The .NET class is being accessed by the VB6 class, ... In classic ASP the solution I provided is how you would get the intrinsic objects. ... The Request, Response, etc, etc, objects in ASP are completely different than they are in ASP.NET. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to use regsvr32 in VB6
    ... I couldn't find any good approach to fulfill that request, but create VB 2005 class library with COM interop. ... when I register TLB manually by adding its reference to VB6 project everything works fine. ...
    (microsoft.public.vb.general.discussion)