473,586 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remote Debugging

We have a web site that was built as an ASP.Net Web Site, I am unable to
remote debug, when build ing the web site there is not a dll or PDB file
generated. I can debug on my local machine but unable to attach to the
process when running from the web server.

Can someone tell me how to remote debug an ASP.Net Website that does not
genate a dll or PDB file?

Thanks in advance!
Rick
Jun 27 '08 #1
3 2744
Hi Rick,

Have you ever dialing with the Remote Debugging Tools located at C:\ProgramData\ Microsoft\Windo ws\Start
Menu\Programs\M icrosoft Visual Studio 2005\8\Visual Studio Tools? Briefly,
you can install them at remote host, configure and use just as local service.
These link helps you to config: http://msdn.microsoft.com/en-us/library/xf8k2h6a.aspx
and http://support.microsoft.com/kb/910448/en-us
By using the tools you can connect directly to the aspnet process on remote
host.

But, anyway, consider a production deployment. You cannot install this stuff
there. So, that's better to have a log fairly enough for understanding the
bug by text description (EventLog, log4net and so on).

Regards, Alex

RWe have a web site that was built as an ASP.Net Web Site, I am unable
Rto remote debug, when build ing the web site there is not a dll or
RPDB file generated. I can debug on my local machine but unable to
Rattach to the process when running from the web server.
R>
RCan someone tell me how to remote debug an ASP.Net Website that does
Rnot genate a dll or PDB file?
R>
RThanks in advance!
RRick
Jun 27 '08 #2
Thanks Alex! I'll look into it. I went back to the old days and used ASP
debugging by putting response.writes in the function that was failing to
narrow down the issue I was having, I was able to figure out the issue, it
turned out to be a machine.config problem.

Thanks,
Rick

"Alex Meleta" <am*****@gmail. comwrote in message
news:20******** *************** ***@msnews.micr osoft.com...
Hi Rick,

Have you ever dialing with the Remote Debugging Tools located at
C:\ProgramData\ Microsoft\Windo ws\Start Menu\Programs\M icrosoft Visual
Studio 2005\8\Visual Studio Tools? Briefly, you can install them at remote
host, configure and use just as local service. These link helps you to
config: http://msdn.microsoft.com/en-us/library/xf8k2h6a.aspx and
http://support.microsoft.com/kb/910448/en-us
By using the tools you can connect directly to the aspnet process on
remote host.
But, anyway, consider a production deployment. You cannot install this
stuff there. So, that's better to have a log fairly enough for
understanding the bug by text description (EventLog, log4net and so on).

Regards, Alex
RWe have a web site that was built as an ASP.Net Web Site, I am unable
Rto remote debug, when build ing the web site there is not a dll or
RPDB file generated. I can debug on my local machine but unable to
Rattach to the process when running from the web server.
RRCan someone tell me how to remote debug an ASP.Net Website that does
Rnot genate a dll or PDB file?
RRThanks in advance!
RRick


Jun 27 '08 #3
Hi Rick,

Yes, for remote debugging, you need to start the remote debugger monitor at
the target server (which running your ASP.NET application). You can install
only the remote debugging tools instead of the entire visual studio.

BTW, as for PDB of the asp.net application, I'm wondering have you
performed precompilation of your ASP.NET web site application?
Precompilation should be able to produce a central assembly and the PDB
file. If you use dynamic compilation(did not perform precompile), the pages
are dynamically compiled at runtime and the pdb files are also generated
with the dynamic page classes (in the Temporary ASP.NET folder).

here is a good article which mentioned details about the compilation model
and the debugging symbols of ASP.NET 2.0 application:

#Debug and Release Builds in ASP.NET 2.0
http://odetocode.com/blogs/scott/arc...1/15/2464.aspx

Hope this also helps some.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>Reply-To: "Rick" <rf*****@newsgr oups.nospam>
From: "Rick" <rf*****@newsgr oups.nospam>
References: <#3************ **@TK2MSFTNGP06 .phx.gbl>
<20************ **************@ msnews.microsof t.com>
>Subject: Re: Remote Debugging
Date: Tue, 20 May 2008 16:32:59 -0500
>
Thanks Alex! I'll look into it. I went back to the old days and used ASP
debugging by putting response.writes in the function that was failing to
narrow down the issue I was having, I was able to figure out the issue,
it
>turned out to be a machine.config problem.

Thanks,
Rick

"Alex Meleta" <am*****@gmail. comwrote in message
news:20******* *************** ****@msnews.mic rosoft.com...
>Hi Rick,

Have you ever dialing with the Remote Debugging Tools located at
C:\ProgramData \Microsoft\Wind ows\Start Menu\Programs\M icrosoft Visual
Studio 2005\8\Visual Studio Tools? Briefly, you can install them at
remote
>host, configure and use just as local service. These link helps you to
config: http://msdn.microsoft.com/en-us/library/xf8k2h6a.aspx and
http://support.microsoft.com/kb/910448/en-us
By using the tools you can connect directly to the aspnet process on
remote host.
But, anyway, consider a production deployment. You cannot install this
stuff there. So, that's better to have a log fairly enough for
understandin g the bug by text description (EventLog, log4net and so on).

Regards, Alex
RWe have a web site that was built as an ASP.Net Web Site, I am unable
Rto remote debug, when build ing the web site there is not a dll or
RPDB file generated. I can debug on my local machine but unable to
Rattach to the process when running from the web server.
RRCan someone tell me how to remote debug an ASP.Net Website that
does
>Rnot genate a dll or PDB file?
RRThanks in advance!
RRick



Jun 27 '08 #4

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

Similar topics

1
3566
by: Bihari Srinivasan | last post by:
I am using two PCs, say PC-1 and PC-2 in a networked environment (TCP/IP). Both of these run Windows 2000. PC-1 is a development platform and PC-2 is a remote debug platform. I have a very simply console application written in VB.NET that is built on PC-1 using VisualStudio.NET. I set the VisualStudio.NET debugging environment to...
3
5896
by: Nick Bunton | last post by:
I have setup remote debugging on an NT4 workstation for testing. I then build from the debug config on my machine and copy all the files from the /bin/debug folder including the .PDB files. I then connect to the remote machine with VNC and start the application, once running from VS .NET on my development machine I connect to that process...
3
383
by: INGSOC | last post by:
I spent a few hours today setting up remote debugging in VS.2003 I had to disable the firewall, subvert the security scheme and let anonymous users have full access to my COM+ objects on my Windows XP workstation, but other than that, it was smooth sailing. And, oh yeah. I also have to run remote desktop sharing terminal between my XP...
1
3067
by: Ken Allen | last post by:
I have encountered a problem with remote debugging under VS 2005 and ..Net 2.0 -- it seems that the framework installation does not include the "Microsoft .Net Framework 2.0 Configuration" tool! My preferred method of debugging uses these steps: 1. Share the directory that contains the debug image; also share the folder that contains the...
0
1802
by: Ken Allen | last post by:
The MSDN documentation on remote debugging is a bit sparse, to say the least, and there is almost no information available on the 'best' way to configure this. I should note that my development system is Windows XP Pro and the test machine is Windows 2003, both running the latest upgrades; Visual Studio 2005 is installed on the development...
7
2584
by: | last post by:
I'm writing an ASP.NET app, using Visual Studio 2003. VS is running locally on my laptop, but the web app is running on a remote server. My laptop is not in the domain. I do have a domain account. I had no issue creating the web app on the remote server after authenticating with the domain account, but I can't debug. It complains that I don't...
1
2021
by: CK | last post by:
Hello All, I have been trying to setup remote debugging for web part development by running through the steps in the following documentation: Debugging Web Parts: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_ta/html/sharepoint_debugwebparts.asp Debug Settings and Preparation:...
3
6615
by: Yves Gagnon | last post by:
Hi, I try to debug a WCF hosted in a windows services on a serveur that is on an other domaine then my developpement machine. I tried many things without succes. Here is what I tried: First I installed on the server I want to debug, the remote debugger tools from the VS 2005 CD. I just install the windows application. I tried from there...
7
4159
by: luker | last post by:
Hello Experts, I am writing an application for a device running windows xp embedded. I want to code on my developer pc and deploy the running executable to the embedded device. - The two boxes are linked directly by a network cable. - Both are in the same subnetwork and are able to ping each other. - Each box is sharing a directory. -...
0
7839
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...
0
8200
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. ...
1
7954
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6610
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...
1
5710
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...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3836
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...
1
2345
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
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.