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.

ebad-itCommented:
Hi BobbaBuoy,

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

IIS Lock Violation

Good Luck!
0

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
0
Bob SchneiderCo-OwnerAuthor Commented:
Ok here is my web.config for one of my sites:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <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" />
        </httpErrors>
        <tracing>
            <traceFailedRequests>
                <add path="*">
                    <traceAreas>
                        <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" />
                    </traceAreas>
                    <failureDefinitions statusCodes="500" />
                </add>
            </traceFailedRequests>
        </tracing>
        <defaultDocument>
            <files>
                <clear />
                <add value="Default.asp" />
                <add value="Default.htm" />
                <add value="index.htm" />
                <add value="index.html" />
                <add value="iisstart.htm" />
            </files>
        </defaultDocument>
    </system.webServer>
    <system.web>
        <identity impersonate="true" />
    </system.web>
    <location path="" overrideMode="Deny">
    </location>
    <location path="" overrideMode="Allow">
        <appSettings />
    </location>
</configuration>

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!!!
0
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?
0
ebad-itCommented:
This may help with the missing applicationHost.config in %windir%\system32\inetsrv\config\applicationHost.config

http://weblog.west-wind.com/posts/2008/Aug/09/Editing-Applicationhostconfig-on-64-bit-Win2008

I'll start looking at the error for anything I see.
0
ebad-itCommented:
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.
0
Bob SchneiderCo-OwnerAuthor Commented:
I'm beginning to think that this is a sql server database issue?
0
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.