Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Debugging a published site on IIS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JB - 12 Dec 2007 09:53 GMT
I've a site which i have copied over from an old server to a new
server and now it doesnt seem to work.
I've been looking through the source code and i know *where* the
problem is, but i dont know *what* the problem is.
Its throwing an exception for some reason, but with debug mode being
turned off i dont know why.

Is there anyway to view more details on the site running on IIS? I
can't rebuild the site unfortunately. I'm sure its a server
configuration error but at the moment i've no way of narrowing down
what the error would be.
A stack trace would be perfect.
Michael Nemtsev [MVP] - 12 Dec 2007 12:45 GMT
Hello JB,

for such reason using logging libs are very helpful, when u can turn full
loging on production system and get all necessary info

right now I see only one solution - use winDbg to make the dump file and
google the article how to use asp.net dumps

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

J> I've a site which i have copied over from an old server to a new
J> server and now it doesnt seem to work.
J> I've been looking through the source code and i know *where* the
J> problem is, but i dont know *what* the problem is.
J> Its throwing an exception for some reason, but with debug mode being
J> turned off i dont know why.
J> Is there anyway to view more details on the site running on IIS? I
J> can't rebuild the site unfortunately. I'm sure its a server
J> configuration error but at the moment i've no way of narrowing down
J> what the error would be.
J> A stack trace would be perfect.
Peter Bromberg [C# MVP] - 12 Dec 2007 12:52 GMT
If you put in an Exception handler in Application_Error that logs all the
exception information (either to a file or database) this will make it much
easier to track down the exact issue even to the very line of code, assuming
you've deployed the .pdb files.
Signature

Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com 

> I've a site which i have copied over from an old server to a new
> server and now it doesnt seem to work.
[quoted text clipped - 8 lines]
> what the error would be.
> A stack trace would be perfect.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.