473,883 Members | 1,576 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 2784
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
3590
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 execute the application on PC-2. This works as long as pcAnywhere is NOT installed on PC-2 (it does not...
3
5913
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 and the running app is shown in the IDE, but I cannot get the application to stop on any breakpoints...
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 workstation and the W2K target or I can't RPC to the destination machine.
1
3087
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 debug monitor. 2. Configure the project debug mode to launch the exeecutable from the share rather...
0
1818
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 system and the .Net 2.0 framework is installed on the test system. The two systems do not have the...
7
2599
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 have rights. My domain account is in the administrators group on the remote machine. I also have...
1
2030
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: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/_core_Debugging_Preparation.asp unfortunately, I have...
3
6642
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 to debug, without succes. I could connect to the remote machine only when the msvsmon.exe is in the...
7
4167
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. - Each box has a remotely shared directory opened in an explorer window. - The development pc is in...
0
9944
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
9793
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
11151
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
7134
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5804
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
5996
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4619
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
4225
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3238
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.