WCF through the IIS Homestay service

Source: Internet
Author: User

(1) To establish a physical location for the IIS application, it is to find a place to create a new folder (for example: Iisservice), for storing related files.

(2) Create an IIS application. Control Panel-Administrative Tools-opens IIS. Right-click on the Default Web Site node and select Add Application. The alias is random, the physical path is selected in the (1) step of the folder that was built. Click OK directly and the test settings are ignored.

(3) Place the. svc file and the Web. config file into the physical path (iisservice). Under the Iisservice folder, add the associated. cs file to the folder named App_Code.

(4) Right-click the new application in step (2) and select Switch to content view to see the files and subdirectories below the folder. Right-click on the. svc file to browse to see information about the service.

Troubleshooting for running errors:

(a):HTTP error 500.19-internal Server Error resolution method

1 Open run, enter cmd into the command Prompt window.

2 enter into the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 directory.

3 input aspnet_regiis.exe–i execution can be

Note: If the system is a 64-bit path to the second step of C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727

Open the previous level of the virtual directory (mysites), which is the parent directory, right-click to select its properties, open the Security tab, see "Group or User name", click the "Edit" button to add a new user name "Everyone", then change its permissions, "modify" the second permission Set it to allow.

(ii) HTTP error 500.9 (unable to read the configuration file due to insufficient permissions):

1 in step (2) of the application right click, select Edit Permission-"security-" group or user name edit-"Add the name everybody, set his modified property to True."


WCF through the IIS Homestay service

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.