WLW沒裝好,暫時文本看看吧 :)
問題原因:其實isapi 也是有x64版本的,但是會有個script cannt run 的error.
然後手頭也沒有破解的isapi新版,再者mvc routing 的出現這個早晚要被淘汰。想辦法暫時跑跑吧。
安裝:
win7x64安裝x86會提示iis下必須按x86方式運行,好的記住這點,在接下來有個錯誤,咱不管他,compatibility(相容性)改為 previous version of windows(不知道中文怎麼說大概就是跟老版系統相容,不過也奇怪一般程式都能選擇相容的windows版本,但它沒有就這一個,所以不會選錯)
IIS配置:
因為是iis7,所以請把iis7對iis6相容的選項全部選上,我是一裝機器就選上了;
除此之外就是asp.net編程選項+isapi選項(必須的);
接下來開啟iis,在app pool 中選擇run app in 32bit;
Done完成
以下貼上一些資料片段
需要設定 IIS支援32位。方法為,開啟“Internet Information Services (IIS) Manager”,在Application Pools中選擇網站的AppPool,在右側面板上單擊”Advanced Setting”->”Enable 32-Bit Applications” 設定為True。
default IIS 7 does not allow ISAPI and CGI through .Net 1.1 by default. So if you are working with older code on IIS7 you will need to follow these steps to resolve the issue:
1. Open IIS and click the server name
2. Double click “ISAPI and CGI Restrictions”
3. Right click ASP.NET v1.1 and select “allow”