« Previous Next »

Thread: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

Last post 11-08-2009 5:19 AM by RC117. 16 replies.

Average Rating Rate It (5)

RSS

Page 1 of 2 (17 items) 1 2 Next >

Sort Posts:

  • 02-12-2009, 6:45 PM

    • tclc
    • Not Ranked
    • Joined on 02-12-2009, 10:21 PM
    • Posts 5

    HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Hi

    I've been searching through the forums and came across many posts similar to the problem I am experiencing but none of the suggestions have got me any closer to getting this fixed. I'm far from an IIS expert so am begging for some help on this. We have a somewhat relatively clean install of Exchange 2007 on Windows Server 2008. Everything was working at one stage. Now after a colleague tried to do *something*, OWA is broken. I'm not too sure what was tried but would love to get this working again. The following are the errors I get:

    When trying to load OWA:

      IIS7/OWA Error

    Failed Request Tracing Log shows:

     Failed Request Tracing Log

     I hope someone can please help, need this working for obvious reasons. Any help/suggestions is greatly appreciated.

     

    Kind Regards

    Tristan

  • 02-13-2009, 12:41 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    You need to unlock the handlers section so it can be used in web.config file.

    %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/handlers

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 02-15-2009, 5:34 PM In reply to

    • tclc
    • Not Ranked
    • Joined on 02-12-2009, 10:21 PM
    • Posts 5

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Thank you Anil for your help. I had spotted that suggestion before and did try it. I get a response on the command line of:

    "Unlocked section "system.webServer/handlers" at configuration path "MACHINE/WEBROOT/APPHOST"."

     Then, when trying to load OWA it still comes up with the exact same error.

  • 02-16-2009, 12:27 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    This means that you have the handlers section locked at a lower level ("Default Web Site" or "Default Web Site/exchange").  Try

    %windir%\system32\inetsrv\appcmd.exe unlock config "Default Web Site/exchange" -section:handlers -commitpath:apphost

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 02-16-2009, 5:20 PM In reply to

    • tclc
    • Not Ranked
    • Joined on 02-12-2009, 10:21 PM
    • Posts 5

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Hi Anil

    Looks like I'm getting the same result. Even tried the same for "Default Web Site/owa", nothing changed...

    Could there be incorrect permissions set somewhere also?

     

    Edit:Correction, there was something that changed. In the first image in my original post, where it says "Config Source" - now states:  <handlers accessPolicy="Read, Script">

  • 02-19-2009, 5:30 AM In reply to

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Hi,

    500.19 indicates configuration data is invalid,Check this KB

    http://support.microsoft.com/kb/942055/

    Regards

    Sincerely
    Microsoft Online Community Support
    Andrew Zhu - MSFT


    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 03-12-2009, 7:37 PM In reply to

    • tom88
    • Not Ranked
    • Joined on 03-12-2009, 10:08 PM
    • Posts 2

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Saw you many times on the Forums.

    I first use IIS7 with VS2008.

    Here is the error:

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x80070021
    Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
    Config File

    \\?\C:\MyProgramFiles\ASPNET\Project1\WebApplication1\WebApplication1\web.config

     

    Requested URL http://localhost:80/WebApp1
    Physical Path C:\MyProgramFiles\ASPNET\Project1\WebApplication1\WebApplication1
    Logon Method Not yet determined
    Logon User Not yet determined

    Can anyone give me help?

    Thanks

     

  • 03-12-2009, 7:47 PM In reply to

    • tom88
    • Not Ranked
    • Joined on 03-12-2009, 10:08 PM
    • Posts 2

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Hi,

    Could you tell me how did you past this image (by press the key "Prt Sc Sys Rq")  into this Message box?

    Thanks

  • 03-12-2009, 11:42 PM In reply to

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    HI,Tom

    About the error, could you build your website successfully? have you checked the kb?

    About inserting screen shot into forum post: Upload the image to a website or your blog or anywhere in the net could be accessed by URL, then, press insert image icon in the message input box icon bar to insert a image.

    Regards

     

    Sincerely
    Microsoft Online Community Support
    Andrew Zhu - MSFT


    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 03-13-2009, 6:52 AM In reply to

    • tclc
    • Not Ranked
    • Joined on 02-12-2009, 10:21 PM
    • Posts 5

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Sorry it's been so long writing back about this issue. Unfortunately time got away from me and needed to get OWA working again so basically just installed the CAS role on another server.

    I then went over both configuration files, with a fine tooth comb and noticed there were quite a few differences. In the end though I couldn't really afford to spend too much more time on it so have left it working as is and will hopefully be able to return to it one day...

    Thanks for all the assistance.

  • 04-06-2009, 8:56 AM In reply to

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Hi tclc,

    I had the exact problem in my IIS7.0 in Vista today, I had tried the AppCmd.exe unlock methods and no luck.

    I first removed the <Clear/> tag within the <Modules /> node in the web.config file of the wwwRoot, which is the config file of my Default Web Site. It then complained that there was a duplication of Module in the <Modules /> node.

    In your case, it should be the <Handlers/> Tag, instead of my <Modules/> one.

    I ended up removing all the child tags in the <Modules></Modules>  Now it is working 100% as it will inherit from the parent config (ApplicationHost.config).

    Understood that you problem was resolved. For anyone having a similar problem, back up the web.config file and give it a go.

    Regards,

     

     

     

  • 04-06-2009, 6:55 PM In reply to

    • tclc
    • Not Ranked
    • Joined on 02-12-2009, 10:21 PM
    • Posts 5

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Wow, absolute genious. This fixed it!

    How did you narrow it down? Was there any cause that sent yours haywire?

     

    I greatly appreciate your time in posting this, wonderful job!!

     

    Thanks

  • 06-24-2009, 5:57 AM In reply to

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Thanks Anilr, this solved my problem. John
  • 08-26-2009, 9:40 AM In reply to

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    Hi Anil,

    I get the same error when accessing a local site on my 2008 server, with IIS 7:

    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x80070021
    Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
    Config File \\?\C:\Program Files\CRYPTOCard\BlackShield ID\BlackShield Site\Console\web.config
    I tried your suggestions, but it does not seem to work. What do I do wrong?
  • 08-26-2009, 1:13 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation with OWA, Exchange 2007

    There is probably a few more lines in that error response which points to the exact line in the config file (and hence the section) with the problem - you will either have to unlock that section or not use it in your web.config file.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 2 (17 items) 1 2 Next >
Microsoft Communities