473,698 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Launching VS2005 debugger from vb.net cgi

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.Diagnos tics.Debugger.L aunch" 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.Environm ent namespace.

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

Joe

Mar 7 '06 #1
1 1299
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3277
by: m11533 | last post by:
I am writing a fairly complex application in c# and Visual Studio .Net 2003. Right now I am working on a simple console application (to be launched in the future from a service) that receives messages sent via IP from an external device. I am also writing a simulator of that external device. My question: How do I setup the Visual Studio so that when I start debugging my c# application, both my message sink AND simulator are launched? I...
0
986
by: PaulM | last post by:
While using the debugger in VS2005 it occasionally will cause an Application_Error. The reason I know this is the first line of the Application_Error method checks the request object: if (Request.Url.Segments == "get_aspx_ver.aspx") This code was for VS2003 to catch when it was checking for the hidden file 'get_aspx_ver.aspx" to check which version of Framework was loaded. It appears that VS2005 does something different. Anybody...
1
1665
by: abc my vclass | last post by:
Is VS2005 debugger let me to see dataset, datatable data as table form? I found if I watch some table or dataset variable is very very hard to see. Is there any good tools or add-ins for debugger to see table-form variable.
3
2289
by: Doug | last post by:
I'm having problems w/ the VS2005 debugger with C#. It blows past any breakpoints in even the simplest "Hello World" console application. I can't do any step-by-step debugging. I've provided the code and debugging output later in this post. I've seen a number of threads with similar problems that I'll address below. The one that's the largest concern is this one, which talks about the same problem trying to use the debugger with SQL...
16
1731
by: Edward Diener | last post by:
After spending more than a day reducing a complicated compiler bug to a simple case I reported it to the MSDN Product Feedback Center as a bug just now. However this bug is completely stymying my development of a VC++ component. Does Microsoft still offer any free bug reporting cases for VS2005, as they did two for VS2003 so that I can talk with a technical representative directly to try to find a workaround for the compiler bug ? While...
0
1472
by: GT | last post by:
This question has been posted before, but without any response so therefore I'm trying once more. I'm trying to embed .resource files into a Windows application in VS2005, and then compile and run the program from VS2005. This does not work because the debugger seems not find the resource files, and I keep getting the following error: "MissingManifestResourceException:
5
2049
by: Dave | last post by:
I have a TSP (Telephony Service Provider) that I've developed with VS6. It's a C/C++ DLL that gets loaded by a svchost and accessed by TAPI based applications. My problem is that on the Windows XP machine that I have the application on I can no longer break into the debugger using an "_asm { int 3 }". This code worked until I installed Visual Studio .Net. The system I'm running this on has both Visual Studio 6 and VS 2005 running on it. ...
5
3022
by: Gumby | last post by:
Hi there! A "special" project team in our department has decided to purchase XMLSpy. We standardize on VS2005 as our IDE and up to now everyone has used the XML parser in VS2005. Are there advantages to using XMLSpy over VS2005? Apparently there are "integration diagrams" that VS2005 does not have natively. Does someone have a link or a MVP have some comparison I could have? Warmly Adrian
0
1115
by: Jason Huang | last post by:
Hi, I have IIS6+.Net Framwork2.0 on my Windows 2003 Server, this is my web server. I can edit the web server files in my Windows XP SP2 running the VS2005, however, when I start debugging, the Microsoft Visual Studio gave me an error saying the MSVSMON.EXE is not turned on the remote computer. My question is where do I config the VS2005 Remote Debugger? In my Windows XP or my Windows Server 2003? Thanks for help.
0
8674
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3046
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2329
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.