電腦中安裝的是 Windows server 2012,將 IIS 功能啟動之後發現原本的傳統舊ASP非 .net 所開發的網頁 IIS 8.5預設並無法支援顯示編譯。
需要透過控制台中的伺服器管理並新增角色的方式來設定IIS的功能開啟,說實在步驟挺多也挺複雜的,將下列的IIS 8.5 enable asp windows server 2012 開啟傳統ASP功能說明條列如下,給需要的朋友參考。
我照著下列的說明完成設定之後IIS 8.5即可順利解析傳統ASP網頁。
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
windows server 2012 開啟傳統 ASP Step.
1.Log onto the Windows Server 2012 machine
2.Open Control Panel
3.Click to open the Server Manager UI
4.Click Add Roles
5.Under Installation Type select: Role-based or Feature-Based Installation
6.Go through next button if you haven’t configured IIS yet and this is the first time on your Server
7.Click on the Server Roles option on the left-hand menu
8.Under Roles in the middle screen, scroll down to the option: Web Server (IIS) and open up this option
9.Expand the Web Server option
10.Find and expand the Application Development option
11.You should see the option now to enable ASP. Click the ASP checkbox
12.Click the Next button until you reach the confirmation screen, then click the Install option
13.Congratulations – Your Web Server will now be set to serve and run classic ASP applications
資料參考來源:
http://jwcooney.com/2013/12/30/enabling-classic-asp-on-iis8-windows-server-2012/
沒有留言:
張貼留言