SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast xarzu's Avatar
    Join Date
    Apr 2007
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    The browser produces an error after I have published my ASP.NET C# program.

    The browser produces an error after I have published my ASP.NET C# program that is not produced in my local host in debug mode.

    I get this error often and it seems to be a generic error. By this, i mean that if I do what the error suggests and change the configuration file by setting the customErrors to "off", I still get this error. The frusturating thnig is that this error does not happen in local host when running in debug mode. Is there any way to modify the configuration file so that the error message is more descriptive?
    http://i67.photobucket.com/albums/h2...ps4499f5a5.png

    I saw this error occur when I was running a Microsoft Outlook web page. Could it be a serious problem with Microsoft?

    http://www.gelsana.com/Recording.avi
    http://www.gelsana.com/Recording.flv59temp44.avi
    http://www.gelsana.com/Recording2.flv59temp44.avi

  2. #2
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,876
    Mentioned
    46 Post(s)
    Tagged
    0 Thread(s)
    There is something going wrong and you are not seeing the error. Change your web.config and upload it to the server. Then if you refresh that page, you should see the proper error message. Or if it is set to RemoteOnly, you can RDP into the server where it is hosted if it is a dedicated server and browse the site from a browser on that machine.

    I would assume the error has something to do with the website configuration on the server

  3. #3
    Community Advisor ULTiMATE's Avatar
    Join Date
    Aug 2003
    Location
    Bristol, United Kingdom
    Posts
    2,160
    Mentioned
    46 Post(s)
    Tagged
    0 Thread(s)
    If you want to see the real error (with a stack trace to see where the code is failing) you can either change the customErrors element to be off, which will show the issue. You can also debug by attaching w3wp.exe in Visual Studio and going to the page where it fails, or by visiting the page on the server you are calling this error from (i.e. if this error is on your web server, visit the page on that server).

    If possible, can you post the code that is causing this error?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •