473,394 Members | 3,057 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 2701
Hi Rick,

Have you ever dialing with the Remote Debugging Tools located at C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Microsoft 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.microsoft .com...
Hi Rick,

Have you ever dialing with the Remote Debugging Tools located at
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft 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****@microsoft.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*****@newsgroups.nospam>
From: "Rick" <rf*****@newsgroups.nospam>
References: <#3**************@TK2MSFTNGP06.phx.gbl>
<20**************************@msnews.microsoft.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.microsof t.com...
>Hi Rick,

Have you ever dialing with the Remote Debugging Tools located at
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft 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 #4

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

Similar topics

1
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...
3
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...
3
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...
1
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! ...
0
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...
7
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....
1
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:...
3
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...
7
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.