Deployment - how to deploy application in iis

Asked By abdul rehman on 30-Jun-12 07:19 AM
  i have application proj i want to deploy with database in iis to use intranet
when  i pasted proj in inetpub=>wwwroot folder and i have taken this path as physical
then its geeting 500.19 error saying that
please send any screen short any
where i done mistake any one please tell me

Error Summary

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x80070021
Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Config File \\?\C:\inetpub\wwwroot\CampusInfoSystem\CampusInfoSystem\web.config
Requested URL http://localhost:80/Aboutus.aspx
Physical Path C:\inetpub\wwwroot\CampusInfoSystem\CampusInfoSystem\Aboutus.aspx
Logon Method Not yet determined
Logon User Not yet determined
Config Source
   86: 		</modules>
   87: 		<handlers>
   88: 			<remove name="WebServiceHandlerFactory-Integrated"/>
Vikram Singh Saini replied to abdul rehman on 30-Jun-12 07:53 AM
Follow steps:

The solution is to make a change in the applicationHost.config file.

  1. Browse to “C:\Windows\System32\inetsrv\config” (you will need administrator rights here)
  2. Open applicationHost.config
  3. Find the section that showed up in the “config source” part of the error message page. In your case it is
    <remove name="WebServiceHandlerFactory-Integrated"/> 
  4. Change the overrideModeDefault attribute to be “Allow”

Also check the links:



Super Man replied to abdul rehman on 30-Jun-12 01:35 PM
Lalit M replied to abdul rehman on 30-Jun-12 04:02 PM
Check user account you're using for your app pool doesn't have rights to the web site directory, so it can't read config from there. Check the app pool and see what user it is configured to run as. Check the directory and see if that user has appropriate rights to it.


you can lock/unlock sections using appcmd

%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers

check this link:->


Check htis link with screen shot will guide you :->
dipa ahuja replied to abdul rehman on 30-Jun-12 04:27 PM

Here’s what we need to keep in mind.

  1. Check the error code 0x80070032. You will need tool to see what the error code mean.  

      ERROR_NOT_SUPPORTED                       winerror.h 
    # The request is not supported. 

  2. Check the Config Error, it says the “The configuration section 'system.serviceModel' cannot be read because it is missing” and it is pointing to the web.config file.

I checked the web.config and found there is an entry for 'system.serviceModel' but I don’t have .net 3.0 installed on my Windows Server 2008 R2 server.

I enabled .net 3.5 from Server Manager –> Features –> Add Features

Things are looking much better now.

Source  :