Kerala Microsoft Users Group

How can I debug a Published web site

Latest post 03-30-2009 7:18 AM by Anuraj. 4 replies.
  • 03-30-2009 2:16 AM

    How can I debug a Published web site

    Hi All

    How can I debug a Published website. I am using VS 2008. And My web Application works fine in my local environment, but when I published the application and moved to Production I am getting some errors. I am trying to do some IO operations, and I set full rights to ASP.Net user to the specified directory, same as my local machine. One major problem I am facing is my production box don't have VS 2008 installed. Only .Net 3.5 and VS 2005 available. How can debug my application.

    Thanks

    Anuraj P
    http://www.dotnetthoughts.net

    THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS.
    BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT.

    • Post Points: 45
  • 03-30-2009 4:39 AM In reply to

    Re: How can I debug a Published web site

    It is not reccomended to debug on production. Try to integrate an error logging mechanism to catch the details.

    Elmah will be a good choise- http://code.google.com/p/elmah/

    Praveen V Nair, PMP
    Tech Blog | PM Blog

    • Post Points: 25
  • 03-30-2009 5:12 AM In reply to

    Re: How can I debug a Published web site

    Thanks Praveen, I will look into this.

    Thanks

    Anuraj P
    http://www.dotnetthoughts.net

    THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS.
    BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT.

    • Post Points: 5
  • 03-30-2009 6:48 AM In reply to

    Re: How can I debug a Published web site

    Hi,

    I am extending a bit on Praveen's reply, I would like to suggest you to go for Microsoft Enterprise Library's Logging Block, You can trap those errors and log them either locally on Server's log or store in text or xml or if SMTP settings are there you can even mail those errors with minute details.

    So check out Microsoft Enterprise Library , it saves lot of time since you can apply such settings globally in web.config with minimum pain.

    Thanks,

    Vikram Pendse.

    Microsoft MVP

    http://pendsevikram.blogspot.com

    • Post Points: 25
  • 03-30-2009 7:18 AM In reply to

    Re: How can I debug a Published web site

    Thanks Vikram. Let me checkout that one also.

    Thanks

    Anuraj P
    http://www.dotnetthoughts.net

    THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS.
    BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT.

    • Post Points: 5
Page 1 of 1 (5 items) | RSS