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.