<ProjectExtensions>
<VisualStudio>
<flavorproperties guid= "{349C5851-65DF-11DA-9384-00065B846F21}" >
<WebProjectProperties>
<UseIIS>True</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>7203</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://192.168.19.113:8092/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
System.Runtime.Interopservices.COMException. After reviewing some of the information, it was found that the IIS server was causing the problem, the Windows XP system was IIS6.0, and Windows Server 2008 was using IIS7.0, and the project was incompatible with both IIS, when the computer did not have the IIS6 Configuration Compatibility component installed ( IIS 6 metabase and IIS 6 Configuration compatiblity ASP. net), so the project cannot be opened. There are two workarounds: Method 1: Open the project file for Web item purposes with Notepad, and change the following configuration node <UseIIS>True</UseIIS> to <UseIIS>False</UseIIS> This allows vs built-in webserver to open the project instead of IIS. In this case, IIS does not automatically create a virtual directory for the project. Method 2: Install the IIS6 Configuration Compatibility Component (IIS 6 metabase and IIS 6 Configuration compatiblity ASP) in Server Manager in the Windows Server 2008 operating system.
There is no Internet Information Services (IIS) in the XP Add component. Solve the problem as follows:
Enter "C:\windows\inf\sysoc.inf" in the run and the system will automatically open the Sysoc.inf file using Notepad. Find the "[Components]" section in Sysoc.inf and continue to find a line similar to "iis=iis.dll,ocentry,iis.inf,hide,7", replacing this line with "Iis=iis.dll,ocentry, iis.inf,,7 ". If you can't find a similar, paste "iis=iis.dll,ocentry,iis.inf,,7" (I tried it) in the next line of "[Components]". Then save and close. (If you are afraid to change the wrong, first put C:\WINDOWS\INF\SYSOC. INF to make a backup)
Copy the two files Iis.dl_ and iis.in_ in the downloaded IIS5.1 installation package to a temporary directory (for example, c:\a) and then move the current directory to c:\a at the command prompt, executing
EXPAND IIS. Dl_ IIS. Dll
EXPAND IIS. In_ IIS. Inf
Of course, you can use the decompression software to change the suffix of two files to the cab (that is, to change _). CAB), unzip all.
Solve the IIS.DLL and iis.inf two files, copy the Iis.inf to the C:\WINDOWS\INF directory, and copy the IIS.DLL to the C:\WINDOWS\SYSTEM32\SETUP directory. (I use this method)
Now you can be excited to find that IIS has appeared!!! by adding/Removing Windows components, add or Remove Programs, control Panel, settings, start
Since then the process will be similar to the Pro version of XP installation of IIS, you will be asked to choose the location of the WinXP installation CD, as long as you enter the specified directory can be installed properly. (You can choose to cancel if the system wants to certify the version)
You may not be able to use it after installation, and you need to make some settings for IIS:
Control Panel, Administrative Tools->internet Service Manager
Then click on the "Default Web Site" right button, go to the "Directory Security" tab, click "Anonymous access and Authentication control" Edit button, back to the new anonymous method window, and then click on the "Anonymous access" in the "Edit" button, "Allow IIS control password" Comprehensive check out, and then all the way to determine the return
There is still no FrontPage option in the IIS option at this time, add ims=imsinsnt.dll,ocentry,ims.inf,,7 with the same method as above, the file name is Ims.inf and Imsinsnt.dll.
After adding the above line, add fp_extensions=fp40ext.dll,frontpage4extensions,fp40ext.inf,,7 below this line, and copy the Fp40ext.inf fp40ext.pnf to c \ Windows\Inf directory (no FP40EXT.PNF also does not matter, the system will automatically generate, Fp40ext.inf is the key); copy Fp40ext.dll to the C:\WINDOWS\system32\Setup directory, you can pass the " Add the "FrontPage Extensions" subkey that removes the Windows component "Add Internet Information Services (IIS)".
Win7 cannot access the win2003 problem
Workaround:
1. Reset Win2003 Share, change user name and password
2, Win7 Control Panel, user account and family security, add Windows credentials, add users, credential Manager
3. Check the Control Panel-system and security-windows Firewall-allowed programs to open "File and Printer Sharing" 4, start and run ... =>gpedit.msc=> local Computer Policy = = Computer Configuration Windows Settings = = Security Settings = = local policy =& gt; security options. Found: "Network security: LAN Manager Authentication Level" item, the default value "no definition" changed to "Send LM & NTLM response" and so on are not resolved.
.
Configuration of the. csproj file IIS can debug