469,964 Members | 1,662 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 developers. It's quick & easy.

Launching VS2005 debugger from vb.net cgi


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.


Mar 7 '06 #1
1 1164
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.

Mar 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by PaulM | last post: by
16 posts views Thread by Edward Diener | last post: by
5 posts views Thread by Gumby | last post: by
reply views Thread by Jason Huang | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.