Launching VS2005 debugger from vb.net cgi

D

dethonlegs

Hi,

I have a small vb.net app that runs as a cgi under IIS6. When compiled
under VS.NET 2003 (framework 1.1) I can launch the dubugger from IIS by
adding the line "System.Diagnostics.Debugger.Launch" in my code.

However under VS.NET 2005 (framework 2.0) the same application ignores
any attempt to launch the debugger when run from IIS. In addition,
there are many security permission issues that are causing me greif
that were not an issue under VS.NET 2003.

My questions are:
1) How do I launch the VS2005 debugger from my vb.net cgi under IIS6?
2) How do I get resolve the security issues when trying to access the
System.Environment namespace.

NOTE: I have VS2003 and VS2005 installed on the same machine. The IIS6
server is also on the same PC.


Thanks

Joe
 
D

dethonlegs

I needed to add permissions at:

control panel - Administrative Tools - Microsoft .NET Framework 2.0
Configuration - Runtime Security Policy - Machine - Code Groups -
All_Code - Internet_Zone

What I don't understand is why I need to set it to full trust when the
default settings for Framework 1.1 work fine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top