找到一篇不錯的參考文 http://blog.xuite.net/jungte.lin/blog/25133697
ASP.NET can be re-registered with IIS. The specific method depends on the operating system being used. For more information on ASP.Net and the IIS Registration tool, see the related links below.
Windows 2000/XP
To fix this on Windows 2000 or Windows XP, run this command from the Start>Run box or a command prompt (assuming the system directory is C:\Windows):
.Net 1.1: C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
.Net 2.0: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
Windows 2003
On Windows 2003, ASP.NET must be both installed and enabled. To install ASP.NET:
- On the taskbar, click the Start button, point to Control Panel, and then click Add or Remove Programs.
- In the Add or Remove Programs dialog box, click Add/Remove Windows Components.
- In the Components box in the Windows Components Wizard, click the Web Application Server check box, and then click Next.
- When the Windows Components Wizard has finished configuring Windows Server 2003, click Finish.
To enable ASP.NET, run this command from the Start>Run box or a command prompt (assuming the system directory is C:\Windows):
.Net 1.1: C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i -enable
.Net 2.0: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i –enable
依據上文的參考操作:
1.先看看未安裝前的項目:
Server2003伺服器:未註冊ASP.NET v2.0.50727情況
VATWEB2008伺服器:已註冊ASP.NET v2.0.50727情況
2.接著於Server2003伺服器上依照上文操作,
輸入命令:C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i –enable
完成後就可以看到網頁服務延伸中,已經有ASP.NET v2.0.50727囉~~
沒有留言:
張貼留言