Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2899
  • Last Modified:

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?
0
Bob Schneider
Asked:
Bob Schneider
  • 4
  • 3
3 Solutions
 
ebad-itCommented:
Hi BobbaBuoy,

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

IIS Lock Violation

Good Luck!
0
 
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
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
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

Featured Post

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.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now