RE: access denied -- cannot debug in VB6
From: Joe_Langley (_at_)
Date: 06/20/05
- Next message: Joe_Langley: "Re: HttpContext.Current.User is always null in Global_Authenticate"
- Previous message: Ray Lewis: "Re: Forms Authentication: AD and .NET"
- In reply to: cellbert: "access denied -- cannot debug in VB6"
- Next in thread: cellbert: "RE: access denied -- cannot debug in VB6"
- Reply: cellbert: "RE: access denied -- cannot debug in VB6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 20 Jun 2005 09:24:13 -0700
Does the ASPNET worker process have rights on this dll?
"cellbert" wrote:
> 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
- Next message: Joe_Langley: "Re: HttpContext.Current.User is always null in Global_Authenticate"
- Previous message: Ray Lewis: "Re: Forms Authentication: AD and .NET"
- In reply to: cellbert: "access denied -- cannot debug in VB6"
- Next in thread: cellbert: "RE: access denied -- cannot debug in VB6"
- Reply: cellbert: "RE: access denied -- cannot debug in VB6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|