473,657 Members | 2,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS2005 Enable ASP.NET Debugging in Class Library App

In VS2003 I had a class library project that I started via a URL and I had
ASP.NET debugging enabled to allow me to debug the web pages code behind in
my project. I have moved the app to VS2005 and I no longer have that option
(Enable ASP.NET debugging checkbox on the project properties Debug Tab). I
can still debug the app by attaching to the aspnet_wp.exe process. However,
is there another way to do it - has this option been moved elsewhere?
Sep 8 '06 #1
4 1781
For an ASP.NET 2.0 website you will find that setting in the web.config.

http://msdn2.microsoft.com/en-us/library/s10awwz0.aspx

Brennan Stehling
http://brennan.offwhite.net/blog/

"Peter Sutcliffe" <Pe************ @discussions.mi crosoft.comwrot e in
message news:63******** *************** ***********@mic rosoft.com...
In VS2003 I had a class library project that I started via a URL and I had
ASP.NET debugging enabled to allow me to debug the web pages code behind
in
my project. I have moved the app to VS2005 and I no longer have that
option
(Enable ASP.NET debugging checkbox on the project properties Debug Tab).
I
can still debug the app by attaching to the aspnet_wp.exe process.
However,
is there another way to do it - has this option been moved elsewhere?

Sep 11 '06 #2
The compilation debug setting in the app's Web.Config is already set to
"true". This project is a class library started from a URL, not a web
project. The reason that it is a class library, rather than a web project is
rather involved and not particularly relevant, but basically comes down to
the way VS interacts with VSS for web projects, especially when you have
different, branched versions. Anyway back to the problem. In VS2003, one
used to have to check 'Enable ASP.NET debugging' on the Project properties,
before debugqing was effective, even when the code was compiled with debug
set to true. This setting ('Enable ASP.NET debugging' ) does not exist in
VS2005. I was hoping there was a subsitute. So it looks as though I will
have to attach to the aspnet_wp.exe process if I want to debug.

"msnews" wrote:
For an ASP.NET 2.0 website you will find that setting in the web.config.

http://msdn2.microsoft.com/en-us/library/s10awwz0.aspx

Brennan Stehling
http://brennan.offwhite.net/blog/

"Peter Sutcliffe" <Pe************ @discussions.mi crosoft.comwrot e in
message news:63******** *************** ***********@mic rosoft.com...
In VS2003 I had a class library project that I started via a URL and I had
ASP.NET debugging enabled to allow me to debug the web pages code behind
in
my project. I have moved the app to VS2005 and I no longer have that
option
(Enable ASP.NET debugging checkbox on the project properties Debug Tab).
I
can still debug the app by attaching to the aspnet_wp.exe process.
However,
is there another way to do it - has this option been moved elsewhere?


Sep 11 '06 #3
Hi, Peter.

Have you read this MSDN Library page ?

"How to: Debug from a DLL Project"
http://msdn2.microsoft.com/en-us/library/605a12zt.aspx

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Peter Sutcliffe" <Pe************ @discussions.mi crosoft.comwrot e in message
news:BB******** *************** ***********@mic rosoft.com...
The compilation debug setting in the app's Web.Config is already set to
"true". This project is a class library started from a URL, not a web
project. The reason that it is a class library, rather than a web project is
rather involved and not particularly relevant, but basically comes down to
the way VS interacts with VSS for web projects, especially when you have
different, branched versions. Anyway back to the problem. In VS2003, one
used to have to check 'Enable ASP.NET debugging' on the Project properties,
before debugqing was effective, even when the code was compiled with debug
set to true. This setting ('Enable ASP.NET debugging' ) does not exist in
VS2005. I was hoping there was a subsitute. So it looks as though I will
have to attach to the aspnet_wp.exe process if I want to debug.

"msnews" wrote:
>For an ASP.NET 2.0 website you will find that setting in the web.config.

http://msdn2.microsoft.com/en-us/library/s10awwz0.aspx

Brennan Stehling
http://brennan.offwhite.net/blog/

"Peter Sutcliffe" <Pe************ @discussions.mi crosoft.comwrot e in
message news:63******** *************** ***********@mic rosoft.com...
In VS2003 I had a class library project that I started via a URL and I had
ASP.NET debugging enabled to allow me to debug the web pages code behind
in
my project. I have moved the app to VS2005 and I no longer have that
option
(Enable ASP.NET debugging checkbox on the project properties Debug Tab).
I
can still debug the app by attaching to the aspnet_wp.exe process.
However,
is there another way to do it - has this option been moved elsewhere?



Sep 11 '06 #4
Thank you, but I already know how to debug a DLL Project, by starting from a
URL.
The method for VS2003 works but the same is not true for VS2005.
You can start the application, but it will not break at any breakpoints you
set in your code until you attach the debugger to the aspnet_wp process.
This was not required in VS2003.

"Juan T. Llibre" wrote:
Hi, Peter.

Have you read this MSDN Library page ?

"How to: Debug from a DLL Project"
http://msdn2.microsoft.com/en-us/library/605a12zt.aspx

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Peter Sutcliffe" <Pe************ @discussions.mi crosoft.comwrot e in message
news:BB******** *************** ***********@mic rosoft.com...
The compilation debug setting in the app's Web.Config is already set to
"true". This project is a class library started from a URL, not a web
project. The reason that it is a class library, rather than a web project is
rather involved and not particularly relevant, but basically comes down to
the way VS interacts with VSS for web projects, especially when you have
different, branched versions. Anyway back to the problem. In VS2003, one
used to have to check 'Enable ASP.NET debugging' on the Project properties,
before debugqing was effective, even when the code was compiled with debug
set to true. This setting ('Enable ASP.NET debugging' ) does not exist in
VS2005. I was hoping there was a subsitute. So it looks as though I will
have to attach to the aspnet_wp.exe process if I want to debug.

"msnews" wrote:
For an ASP.NET 2.0 website you will find that setting in the web.config.

http://msdn2.microsoft.com/en-us/library/s10awwz0.aspx

Brennan Stehling
http://brennan.offwhite.net/blog/

"Peter Sutcliffe" <Pe************ @discussions.mi crosoft.comwrot e in
message news:63******** *************** ***********@mic rosoft.com...
In VS2003 I had a class library project that I started via a URL and I had
ASP.NET debugging enabled to allow me to debug the web pages code behind
in
my project. I have moved the app to VS2005 and I no longer have that
option
(Enable ASP.NET debugging checkbox on the project properties Debug Tab).
I
can still debug the app by attaching to the aspnet_wp.exe process.
However,
is there another way to do it - has this option been moved elsewhere?


Sep 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2081
by: simpsoro | last post by:
How do you enable debugging so that people see it from the client side? I have gone in to properties, clicked on edit www service, clicked on the home directory tab, clicked on the configuration button, clicked on the app debugging tab and then checked the box that says enable ASP client-side script debugging. But on the client side they still get the generic debug message: -----------------------------------------------------------...
2
1427
by: Tom_B | last post by:
Created an ASP.NET Http handler using VB.NET per the example (#307997) -- Works fine running on a server. Now trying to debug the class. Followed MSDN's Debugging Preparation: Class Library, Invoke the Calling Application at a URL, to debug the class in the project folder. When I hit F5 (Debug Start) the program runs but instead of stopping at a debugging point it prints a copy of the program into an Explorer window. What am I doing wrong? ...
1
1142
by: jlynds | last post by:
Hello All-- In VS2003 I used to be able to add class library projects to my web project solutions. This was helpful when creating reusable assemblies. I'd like to be able to do this same sort of thing in VS2005 but I am not seeing this as an option..."add item" does not show "class library" as an option. Am I overlooking something? Has this functionality been removed? What's the
1
5351
by: Zoe Hart | last post by:
Prior to VS2005 I configured my applications via the appSettings section of the app.config file. When I developed a class library, I used ConfigurationManager.AppSettings(settingName) syntax and the compiler didn't care that no such settings existed yet. The settings were ultimately managed in the app.config file of the host applicaton that used the classes in the library. I'm not sure how to handle configuration settings for a class...
2
1383
by: Maxwell2006 | last post by:
Hi, As far as I know, a class library project cannot have any app.config dedicated to itself and it always depends on the main application to provide the .config settings. Based on above, I am confused when I see that VS2005 adds an app.config file upon I add a web service to my dll class library and stores the URL address to the asmx file within that app.config file. Obviously that app.config file is useless. Do I miss any best...
4
2343
by: Greg | last post by:
I have a very simple Visual Basic .NET 2003 class library project ClassLibrary1 configured to run an external program (in this case C:\WINDOWS\system32\wscript.exe), in the Debugging Configuration Properties Dialog Box with command line arguments C:\test.vbs. When I run the project, I get an "unable to start debugging" error "unable to start program 'C:\WINDOWS\system32\wscript.exe'". Why do I get this error and how can I solve it? ...
1
3748
by: Ezmeralda | last post by:
Hello, I need to an TCP/IP Interface for communication with an embedded device. Since I have two different design ideas in mind, I am wondering whether you could give me some hints to decide: Requirements: - Interface should be used for company internal purposes/software but
5
1960
by: JBeerhalter | last post by:
I have a very simple application that consists of two projects in VS 2005. The first is a simple forms application with a button on it, and then second is a class library with one public ref object in it with a couple methods. I can reference the class library just fine, and I can call methods in it, but if I start debugging and step into any of the methods in the class library, I cannot see the values of any variable passed into any...
0
941
by: Tony Johansson | last post by:
Hello! I have VS2005. In the VS2005 I have a folder called v2.0. The .NET framework class library is version 2.0 for VS2005. So is .NET SDK the same as .NET framwork class library. If not what connection does it have to the .NET framework class library.
0
8316
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
8833
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
8610
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...
0
7345
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6174
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
4168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4327
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1730
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.