473,385 Members | 1,912 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,385 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 2700
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
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,...

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.