Installing NetAdvantage for .NET on Windows Vista

vista下安装Infragistics控件出现无法访问%SystemDrive%\inetpub\wwwroot错误的解决。网上看了一些文章,有不少是瞎整。
正确做法请参考:http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=9983

Step-By-Step Example

Disable User Account Control (UAC)
Note: This task is only necessary for installing AppStylist 2006 Volume 3 for Window Forms or NetAdvantage for .NET 2006 Volume 3 for CLR 2.0. It is not required for later versions of either AppStylist or NetAdvantage for .NET.
1) Type "msconfig" in the Run From Start Menu to open "System Configuration".
2) Select the "Tools" Tab in System Configuration.
3) Select the "Disable UAC" tool and click on the "Launch" button.
4) Restart the computer. (This is required to reflect the updated settings.)

Optional) Once installation of NetAdvantage for .NET 2006 Volume 3 is completed, you should be able to enable UAC again, if you wish. The steps are the same as above, except you choose "Enable UAC" in step 3 instead. UAC seems to have no effect, whether enabled or disabled, on the behavior of NetAdvantage for .NET once the toolset is installed.

Edit the System Registry for Internet Information Services (IIS)
Note: This task is only necessary for installing AppStylist 2006 Volume 3 for Window Forms or NetAdvantage for .NET 2006 Volume 3 for CLR 2.0. It is not required for later versions of either AppStylist or NetAdvantage for .NET.

Please note that, as this involves modification of registry settings, Infragistics strongly recommends you back up your registry before making any changes.

1) Type "regedit" in the Run From Start Menu to open the "Registry Editor".
2) Find the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\PathWWWRoot
3) Change the value of this registry key from "%SystemDrive%\inetpub\wwwroot" to "C:\inetpub\wwwroot". If your default website in IIS is instead stored in a different location, set the value of this registry key to that path instead.

If you are installing NetAdvantage 2006 Volume 3 for CLR 2.0 on a 64-bit version of Windows Vista, you will need to repeat steps 2 and 3 with the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\InetStp\PathWWWRoot

Enable IIS 6.0 Compatibility
1) Open "Control Panel" and ensure "Control Panel Home" is the current view.
2) Click the "Uninstall a program" link from the Programs menu item.
3) Select "Turn Windows features on or off" from the Tasks menu.
4) Expand the "Internet Information Services" node, followed by the "Web Management Tools" node.
5) Check the "IIS 6 Management Compatibility" node. Ensure the nodes under this are checked as well.

你可能感兴趣的:(windows)