Several issues encountered during the release of WCF

Source: Internet
Author: User

I have a WCF project for deployment today. My development machine is win7 and I need to install IIS. I encountered some problems during the process. Record:

1. If IIS is not configured on the machine, you need to configure it. After you open the "add or delete windows program" panel, it is a whiteboard without any options.

Cause: After ArcGIS 9.3 is installed, the function is blocked.

Solution: Start-run-"Regedit"-open registry-set "registrysizelimit" value of "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control" to "ffffffff", and then restart the computer, OK !!!

2. After IIS is installed, publish the program and access the WCF Service. An exception occurs when the following error occurs:

Solution: Start-run-cmd

-> Run the following command: ① cd c: \ WINDOWS \ Microsoft. NET \ framework \ V3.0 \ Windows Communication Foundation.

② Servicemodelreg.exe-I

3. the following error occurs during access: "HTTP Error 500.21-internal server error:

Cause: after the Framework v4.0 is installed, IIS is enabled again. As a result, the framework is not fully installed.

Solution: Start-> All Programs-> attachments-> right-click the "command prompt"-> Run as administrator-> enter the command: "% WinDir % \ Microsoft. net \ framework \ v4.0.30319 \ aspnet_regiis.exe "-IRU-enable

4.after the input, the generated parameter aspnet_regiis.exe is not a valid Win32 application. "exception:

Cause: Your aspnet_regiis.exe may be corrupted.

Solution: Go to the "C: \ WINDOWS \ microsoft.net \ framework \ v4.0.30319" directory to check the size of asp.net_regiis.exe (v4.0.30319 is. net frameworkde version). If it is 0 kb, it is installed. on the Net Framework v4.0.30319 computer, copy an overwrite file under the same directory.

 

After some twists and turns, I finally succeeded, hoping to help you.

 

 

 

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.