分类: WINDOWS
2011-05-30 23:17:39
To verify that the svc file type is mapped to be handled by aspnet_isapi.dll in IIS 5.1 or 6.0
From the Start menu, right-click Computer, then click Manage.
Expand Services and Applications, Internet Information Services.
Right-click Web Sites and select Properties.
On the Home Directory tab, click Configuration.
In the list of application mappings, verify that the .svc file is mapped to the aspnet_isapi.dll. If the file has not been mapped:
Caution: |
---|
If the OK button is disabled, select the textbox where the selected filename is displayed and the OK button will be enabled. |
Click OK to close the dialog box.
To verify that the svc file type is mapped correctly in IIS 7.0
Open a command prompt window and type start inetmgr to open the Internet Information Services (IIS) MMC snap-in.
In the left pane, expand the node with the computer's name, then expand the Web Sites node, and then select the Default Web Site.
Double-click Handler mappings in the Features View.
In the list of application mappings, verify that the .svc file is mapped to the aspnet_isapi.dll. If the file has not been mapped: