IIS page not found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DaveRook
    New Member
    • Jul 2007
    • 147

    IIS page not found

    Hello

    I use asp.net and as such use a web.config file which specifies what to do incase of an error and what page to go to in relation to that error.

    I have now moved the website to my own server and this is no longer working. I have found the Error pages tab but don't think this is correct as i don't want to set this up manually, I want the IIS to know there is an error and then look up the config file to see how to process it.

    I assume I can update this globally under Edit Error Page Settings which allows me to set a default page. however, whilst doing so I get the message 'Lock Violation.' I ran %windir%\System 32\inetsrv\appc md unlock config -section:system. webserver/httperrors and got no where

    I have also realised the title of this is wrong for the question. I'm sorry but I can't edit it!

    Any ideas?

    Thanks

    Dave
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    #2
    Hi DaveRook,

    I don't have much knowledge when it comes IIS7, i tumble upon the below attached articles, i hope it helps.


    Overview The <httpErrors> element allows you to configure custom error messages for your Web site or application. Custom error messages let you provide...

    Comment

    • DaveRook
      New Member
      • Jul 2007
      • 147

      #3
      Thanks Sashi

      I will give that a go. I'm suprised it is locked as I don't see this being a security issue (I assume that is why it is locked as default) as all it needs to do is read from the web.config file!

      Thanks

      Dave

      Comment

      • sashi
        Recognized Expert Top Contributor
        • Jun 2006
        • 1749

        #4
        Good Luck & Take care :)

        Comment

        • JamieHowarth0
          Recognized Expert Contributor
          • May 2007
          • 537

          #5
          Hi Dave,

          Can you please clarify for me - do you mean that the <customErrors > section of your web.config is not influencing IIS?

          Best,

          codegecko

          Comment

          • DaveRook
            New Member
            • Jul 2007
            • 147

            #6
            Yes, you are correct and also explained the issue so much better than I did!

            Any ideas?

            Comment

            Working...