Solved

How to configure web.config in IIS 7 classic mode mapping ISAPI.dll to *.svc

Posted on 2014-10-24
4
293 Views
Last Modified: 2014-10-30
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.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />
    </httpHandlers>
        <authorization>
            <allow users="etariffdev\TMSService" />
        </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 validateIntegratedModeConfiguration="false" />
        <caching enabled="false" />
        <directoryBrowse enabled="true" />
      <add name="SVCAspHandler" path="*.svc" verb="*"
        Modules="IsapiModule"
        scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\inetsrv\isapi.dll" />
  </system.webServer>

Can anyone help me get this working?
0
Comment
Question by:jimmylew52
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
4 Comments
 
LVL 1

Author Comment

by:jimmylew52
ID: 40402968
I think I am missing a statement here:

<add verb="*" path="*.svc" type="SVCAspHandler, SVCAspHandlerAssembly" />
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 40407371
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?
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 40409192
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:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="File" requireAccess="Execute" allowPathInfo="true" preCondition="bitness32" responseBufferLimit="4194304" />
            <add name="svc-ModuleMapping" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
            <add name="ASP.NET-ISAPI-4.0-Wildcard" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
        </handlers>
0
 
LVL 1

Accepted Solution

by:
jimmylew52 earned 0 total points
ID: 40413234
Was not a mapping problem at all. It was permissions. I had to go into Management - IIS Management permissions and allow asp.net.

Problem solved
0

Featured Post

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question