IIS 7 & IIS 8
HTTP Error 500.19 - Internal Server Error, 0x80070021, Lock Violation...
Last post Oct 02, 2012 09:39 PM by David_a_Riley
Feb 12, 2009 10:45 PM|LINK
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:
Failed Request Tracing Log shows:
I hope someone can please help, need this working for obvious reasons. Any help/suggestions is greatly appreciated.
windows server 2008
Feb 13, 2009 04:41 PM|LINK
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
Feb 15, 2009 09:34 PM|LINK
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.
Feb 16, 2009 04:27 PM|LINK
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
Feb 16, 2009 09:20 PM|LINK
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">
Feb 19, 2009 09:30 AM|LINK
500.19 indicates configuration data is invalid,Check this KB
Mar 12, 2009 11:37 PM|LINK
Saw you many times on the Forums.
I first use IIS7 with VS2008.
Here is the error:
Can anyone give me help?
Mar 12, 2009 11:47 PM|LINK
Could you tell me how did you past this image (by press the key "Prt Sc Sys Rq") into this Message box?
Mar 13, 2009 03:42 AM|LINK
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.
Mar 13, 2009 10:52 AM|LINK
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.