Debug IIS7 VB6

I recently upgraded from XP to Win 7. I used to be able to debug an ASP classic application in VB6. However, now I get:

"When calling Server.CreateObject, permission checking failed. Access denied to this object"

This only happens when starting the dll in VB6 and accessing the ASP application. Prior to IIS7, this would allow you to enter the VB6 dll. Any ideas?

+5
source share
4 answers

I recently had the same experience as from WinXP to Win7 in our development environment, and I had the same grief with some of our legacy applications. This is how I fixed it.

, - ASP VB6.dll, DLL .

32-

" " - " ".

  • " 32- " "True".

  • " " "".

ASP

@GregWoods, - IIS, :

  • -
  • ASP.Net -
  • - ENABLED
  • -
  • Windows - ENABLED

VB6 Visual Basic IDE -; -, VB6.dll, Visual Basic 6 , . Ta da.

ASP VS2010 VS2012... , , , IIS:

IIS -, , "" "ASP.

  • " ".

  • " " "".

  • " " "".

  • " ". ( "" ).

, Visual Studio , :

  • "TOOLS" "Attach to Process..."

  • " " ": "

  • "w3wp.exe" "".

, - , IIS VS2010/VS2012 , Visual Studio .

, .

+3

VB6 ASP DCOM. VB IDE (VB6.exe) DCOM, ISS .

, . http://support.microsoft.com/kb/q259725/

+2

I just ran into the same problem, and after applying the above “fixes” there was still a problem. I found that make sure the web application turned off anonymous authentication (I used Windows authentication instead), finally letting me debug vb6 from classic ASP.

From this, I can’t change the registry entry or change the DCOM (both from q259725), and do it.

Hope this helps someone!

+1
source

All Articles