473,395 Members | 1,578 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,395 software developers and data experts.

Debugging a published site on IIS

JB
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.
Dec 12 '07 #1
2 2048
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
JI've a site which i have copied over from an old server to a new
Jserver and now it doesnt seem to work.
JI've been looking through the source code and i know *where* the
Jproblem is, but i dont know *what* the problem is.
JIts throwing an exception for some reason, but with debug mode being
Jturned off i dont know why.
JIs there anyway to view more details on the site running on IIS? I
Jcan't rebuild the site unfortunately. I'm sure its a server
Jconfiguration error but at the moment i've no way of narrowing down
Jwhat the error would be.
JA stack trace would be perfect.
Dec 12 '07 #2
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.
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
"JB" wrote:
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.
Dec 12 '07 #3

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

Similar topics

0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
5
by: Bendik Engebretsen | last post by:
Developed this personal WEB site with the new ASP.NET 2.0 Beta: http://www.techsoft.no/bendik/ It has got this problem: After a while browsing through pictures on the site, an error occurs: ...
8
by: VB Programmer | last post by:
I would appreciate your assistance on this ASP.NET 2.0 site.... This is the wierd problem: While accessing the built in .NET functions for 'profiling' or 'membership' an error is generated (see...
1
by: Mark Olbert | last post by:
I don't know if these two problems are related or if they're independent. In moving my site to a production server I discovered that I had enabled T-SQL debugging and forgotten to turn it off (I'm...
0
by: clickon | last post by:
I am working on a portal web application that is largely modular. I have been working on it on a "development" website. Some sections have been tested and are complete. I decided to set up a...
0
by: Tim Bücker | last post by:
Hello everyone, i?ve got a very insistent problem trying to get remote debugging running. Really hope that someone has any ideas about this topic. Although the MSDN and some popular search...
5
by: John | last post by:
Hi When I try to install a published app using a url like http://www.mydomain.com/publish.htm, it starts the download but then comes up with the eror given at the end below. I am installing the...
5
by: jrcapp | last post by:
On my machine I am developing a .NET site. When I execute it, everything runs perfectly. When I publish it (to my machine in a folder so IIS can access it), I get a SQL error: "Login failed for...
4
by: Joe | last post by:
Hello all! I added a Global.asax to my application. I'm using the Application_BeginRequest event. Everything works fine in my development enviorment but when I publish the web site the...
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
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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.