Link to home
Start Free TrialLog in
Avatar of Bob Schneider
Bob SchneiderFlag for United States of America

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of ebad-it
ebad-it
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bob Schneider

ASKER

I can't find applicationHost.config in %windir%\system32\inetsrv\config\applicationHost.config
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!!!
What should my feature delegations be in iis 8.0 for a classic asp site?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm beginning to think that this is a sql server database issue?