473,945 Members | 4,114 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2066
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_Err or 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
3238
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 converted/developed with VB.NET. What I want from debugging is to be able to step into the methods in the DLLs called from ASP scripts using Visual Studio .NET. Background: For typical script debugging issues, you can read and follow the two documents on...
5
1708
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: 'Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.'
8
2273
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 following 2 examples): ---- EXAMPLE 1 -------- OK --> Dim p As New ProfileCommon OK --> p = Profile.GetProfile(Me.ddlRacer.SelectedItem.Text) FAILS --> Me.lblDebug.Text = p.FirstName.ToString
1
1170
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 deploying the debug version on the production server to continue doing some "real world" testing). Because my hosting company doesn't grant debugging permissions on their instance of SqlServer this prevented connections from being created. No...
0
1124
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 Live website on the same server so i could work on the development web site without affecting people using the completed sections. I set up the website and then used VS 2005 to "publish" the site. This seemed to work OK, it precompiled the whole...
0
2425
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 engines provide a lot of material for this kind of problem they couldn?t solve mine... I am using VS 2005 to create a new webservice and in the same solution I create a new windows application that should consume this webservice, let?s say only...
5
1770
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 app on an sbs 2003 (windows 2003 + ISA 2000) server. I suspect ISA 2000 is the problem but don't know where and how to give proxy credentials in the whole publishing and installing process. Any help to fix this will be appreciated. Thanks
5
1414
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 user '(null)'. Reason: Not associated with a trusted SQL Server connection" I know what the error means, but I don't understand why I'm getting this on the published site and not when I run/execute the site from Visual Studio 2005.
4
10353
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 Global.asax file doesn't get published. If I manually copy it the event doesn't seem to get called. Any idea what's going on here? Thanks,
0
9974
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
11140
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11319
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10679
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8239
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7402
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();...
2
4520
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3523
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.