iis 8.5 lock violation

Moving sites to a new server and I am getting this error:

Config Error         Lock violation

How do I resolve that please?
Bob SchneiderCo-OwnerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi BobbaBuoy,

Check out this like and see if it will help you out.  

IIS Lock Violation

Good Luck!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bob SchneiderCo-OwnerAuthor Commented:
I can't find applicationHost.config in %windir%\system32\inetsrv\config\applicationHost.config
Bob SchneiderCo-OwnerAuthor Commented:
Ok here is my web.config for one of my sites:
<?xml version="1.0" encoding="UTF-8"?>
        <httpErrors errorMode="Custom" defaultPath="/500err.asp" defaultResponseMode="ExecuteURL">
            <remove statusCode="404" subStatusCode="-1" />
            <remove statusCode="500" subStatusCode="-1" />
            <error statusCode="404" path="/404err.asp" responseMode="ExecuteURL" />
            <error statusCode="500" path="/500err.asp" responseMode="ExecuteURL" />
                <add path="*">
                        <add provider="ASP" verbosity="Verbose" />
                        <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" />
                        <add provider="ISAPI Extension" verbosity="Verbose" />
                        <add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI,Rewrite" verbosity="Verbose" />
                    <failureDefinitions statusCodes="500" />
                <clear />
                <add value="Default.asp" />
                <add value="Default.htm" />
                <add value="index.htm" />
                <add value="index.html" />
                <add value="iisstart.htm" />
        <identity impersonate="true" />
    <location path="" overrideMode="Deny">
    <location path="" overrideMode="Allow">
        <appSettings />

Open in new window

And here is the error that I am getting when trying to open that site:

Detailed Error Information:
Module         CustomErrorModule
Notification         SendResponse
Handler         ExtensionlessUrlHandler-Integrated-4.0
Error Code         0x80070021
Config Error         Lock violation
Config File         \\?\C:\inetpub\h51web\gopherstateevents\web.config
Requested URL         http://gopherstateevents.com:80/
Physical Path         C:\inetpub\h51web\gopherstateevents
Logon Method         Not yet determined
Logon User         Not yet determined

Config Source:
    3:     <system.webServer>
    4:         <httpErrors errorMode="Custom" defaultPath="/500err.asp" defaultResponseMode="ExecuteURL">
    5:             <remove statusCode="404" subStatusCode="-1" />

I really need to get this resolved asap!!!
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Bob SchneiderCo-OwnerAuthor Commented:
What should my feature delegations be in iis 8.0 for a classic asp site?
This may help with the missing applicationHost.config in %windir%\system32\inetsrv\config\applicationHost.config


I'll start looking at the error for anything I see.
ASP.Net applications come pre-wired with a handlers section in the web.config.

By default, this is set to readonly within feature delegation within IIS.

Take a look in IIS Manager, under the server name --> feature delegation. If Handler Mappings is set to readonly and your site web.configs have a handlers section, flip the value to read/write and see what happens.
Bob SchneiderCo-OwnerAuthor Commented:
I'm beginning to think that this is a sql server database issue?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.