jimmylew52
asked on
How to configure web.config in IIS 7 classic mode mapping ISAPI.dll to *.svc
I am running a 32 bit application on an IIS 7 server in classic mode. I need to have *.svc mapped to ISAPI.dll.
I have been working off of Microsoft's site to get as far as I have gotten.
I have been following my errors up to now but now I get a 500.19 error I do not understand. In the error page under config source I get this
-1:
0:
Here is the portion of the web.config file I have been working on:
<system.web>
<httpHandlers>
<add verb="*" path="*.svc"
type="SVCAspHandler, SVCAspHandlerAssembly" />
<add path="Telerik.Web.UI.WebRe source.axd " verb="*" type="Telerik.Web.UI.WebRe source, Telerik.Web.UI" validate="false" />
</httpHandlers>
<authorization>
<allow users="etariffdev\TMSServi ce" />
</authorization>
</system.web>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConf iguration= "false" />
<caching enabled="false" />
<directoryBrowse enabled="true" />
<add name="SVCAspHandler" path="*.svc" verb="*"
Modules="IsapiModule"
scriptProcessor="%windir%\ Microsoft. NET\Framew ork\v4.0.3 0319\inets rv\isapi.d ll" />
</system.webServer>
Can anyone help me get this working?
I have been working off of Microsoft's site to get as far as I have gotten.
I have been following my errors up to now but now I get a 500.19 error I do not understand. In the error page under config source I get this
-1:
0:
Here is the portion of the web.config file I have been working on:
<system.web>
<httpHandlers>
<add verb="*" path="*.svc"
type="SVCAspHandler, SVCAspHandlerAssembly" />
<add path="Telerik.Web.UI.WebRe
</httpHandlers>
<authorization>
<allow users="etariffdev\TMSServi
</authorization>
</system.web>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConf
<caching enabled="false" />
<directoryBrowse enabled="true" />
<add name="SVCAspHandler" path="*.svc" verb="*"
Modules="IsapiModule"
scriptProcessor="%windir%\
</system.webServer>
Can anyone help me get this working?
ASKER
I've traced it down to this:
ModuleName IsapiModule
Notification 128
HttpStatus 500
HttpReason Internal Server Error
HttpSubStatus 0
ErrorCode 0
ConfigExceptionInfo
Notification EXECUTE_REQUEST_HANDLER
I suppose this means a problem with the Isapi module. Any ideas on how to find out what the problem is?
ModuleName IsapiModule
Notification 128
HttpStatus 500
HttpReason Internal Server Error
HttpSubStatus 0
ErrorCode 0
ConfigExceptionInfo
Notification EXECUTE_REQUEST_HANDLER
I suppose this means a problem with the Isapi module. Any ideas on how to find out what the problem is?
ASKER
Could this be correct or be the problem?
<handlers accessPolicy="Read, Execute, Script">
<remove name="ISAPI-dll" />
<add name="ISAPI-dll" path="*.dll" verb="*" type="" modules="IsapiModule" scriptProcessor="C:\Window s\Microsof t.NET\Fram ework\v4.0 .30319\asp net_isapi. dll" resourceType="File" requireAccess="Execute" allowPathInfo="true" preCondition="bitness32" responseBufferLimit="41943 04" />
<add name="svc-ModuleMapping" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="C:\Window s\Microsof t.NET\Fram ework\v4.0 .30319\asp net_isapi. dll" resourceType="Unspecified" preCondition="classicMode, runtimeVer sionv4.0,b itness32" />
<add name="ASP.NET-ISAPI-4.0-Wi ldcard" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\Window s\Microsof t.NET\Fram ework\v4.0 .30319\asp net_isapi. dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode, runtimeVer sionv4.0,b itness32" />
</handlers>
<handlers accessPolicy="Read, Execute, Script">
<remove name="ISAPI-dll" />
<add name="ISAPI-dll" path="*.dll" verb="*" type="" modules="IsapiModule" scriptProcessor="C:\Window
<add name="svc-ModuleMapping" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="C:\Window
<add name="ASP.NET-ISAPI-4.0-Wi
</handlers>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
<add verb="*" path="*.svc" type="SVCAspHandler, SVCAspHandlerAssembly" />