Results 1 to 5 of 5

Thread: web.config question

  1. #1
    Join Date
    Mar 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default web.config question

    Got a problem using the web.config where custom error settings are being changed but this still doesnt have any affect on the debugging! Is there a server web.config file which gets read before our site, as thats the only thing that I can think of that is stopping us from see custom errors.

    Any help or comments appreciated.

    Thanks

    Michael

  2. #2
    Join Date
    Mar 2005
    Posts
    163
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I can't totally remember but I think remote debugging is disabled on the server.

  3. #3
    Join Date
    Oct 2005
    Posts
    256
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Firstly, have you built in in the debug configuration and uploaded the .pdb files into the bin directory? You need the pdb for the debugging symbols otherwise it won't render the stack trace etc.

    Secondly, you have <compilation debug="true" /> set I assume.

    Thirdly have you got <customErrors mode="off" /> set.

    If all else fails, it's either been turned off or that nasty ASP.Net 1.1 bug has crept in which just refuses to let you debug sometimes.

    Hope this helps.

  4. #4
    Join Date
    Jun 2005
    Posts
    1,081
    Thanks
    4
    Thanked 15 Times in 15 Posts

    Default

    Quote Originally Posted by cswd
    Thirdly have you got <customErrors mode="off" /> set.
    Careful, the web.config file is case sensitive so you will need:

    <customErrors mode="Off" />

  5. #5
    Join Date
    Oct 2005
    Posts
    256
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ahh yes - well spotted!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Modification of IIS config by software
    By cswd in forum Development Support
    Replies: 2
    Last Post: 19th April 2006, 05:15 PM
  2. Remember to edit Web.Config when using VS2005
    By jaimalchohan in forum Technical Support
    Replies: 3
    Last Post: 9th November 2005, 12:16 PM
  3. web.config and aythentication error
    By jaimalchohan in forum ASP.NET
    Replies: 3
    Last Post: 24th October 2005, 03:42 PM
  4. How to config .NET Client to use HTTP 1.0
    By dntchaseme in forum ASP.NET
    Replies: 1
    Last Post: 10th October 2005, 07:54 AM
  5. ASP Upload Config
    By Richard Murrant in forum ASP (VBScript)
    Replies: 3
    Last Post: 5th July 2005, 05:57 PM

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
  •