Click here to Skip to main content
15,912,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
after deployed the webapp into iis, what are the approaches if we get any errors ,how to resolve those.

im working as developer only,
kindly suggest me.

what i kknow is generally we implement the logging, we go there and check the error,
and debug, is this or any other way.



BestRegards
Jc
Posted

If you are wondering about viewing errors that occur, here is a nice solution:

ElmahR = ELMAH + SignalR[^]

That project uses ELMAH to view unhandled exceptions. This is an easy way to start logging on a site. Beyond that, though, you should be logging exceptions and handling them properly. To do this, I personally recommend using log4net to capture exceptions properly and log them centrally. Here is a tutorial I wrote on how to use log4net:

log4net Tutorial[^]

As far as what to do with the errors, the best advice I can give is to fix them. :) Use the error output to identify where the errors are occuring and why they are happening. From there you can figure out how to handle those situations more gracefully.
 
Share this answer
 
Comments
jameschowdary 27-Jun-12 13:40pm    
thanks for reply.
Go to IIS application pool and check errors in log.
 
Share this answer
 
Comments
jameschowdary 27-Jun-12 23:14pm    
can you explain, after viewing the errors in log, the next step is going to corresponding file,or is there any way, how to do after view the log msgs.
pls explain the steps.what im saying that was correct(looking into webpage for debug).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900