วันอังคารที่ 1 กรกฎาคม พ.ศ. 2557

ปัญหาที่เกิดจากการติดตั้ง iis7 บน windows7 64bit

ปัญหาที่เกิดจากการติดตั้ง iis7 บน windows7 64bit

1.ลง iis ตามปกติ ผ่าน programe remove windows tool  เลือก iis และ ใน ภายใต้ www ให้เลือก asp asp.net cgi(ใช้กับ php) รอติดตั้งเสร้จ
-ติดตั้ง php เข้าไปที่ http://php.iis.net/ เลือกปุ่มติดตั้งได้เลย มันจะติดตั้งไว้ที่ C:\Program Files (x86)\PHP\v5.3 (อย่าลืมกำหนดถ้าจะใช้ short directive <?..?> ไปเซตที่ php.ini ด้วยคับ)จะไม่ทับกับ php5.3 ของ webmatrix
-.นำ wwwroot เข้าไปเก้บไว้ที่  wwwroot ใหม่
-.กำหนดค่าต่างๆใน iis admin tool ถ้าเราใช้ access 32 bit ก็ให้ไปปรับค่า ใช้ 32bit ด้วย ที่ apppool menu



ถ้าไม่ปรับ มันจะฟ้องดังภาพล่าง
-เพิ่ม system dns ให้กับ php อย่าลิมคับ

-ที่นี้ ทดสอบการเข้าเวปดู ถ้ากำหนดที่ share databaseให้กับ mdbแล้ว  และมีการสั่งบันทึก database แล้วไม่ผ่าน  update
อาจกำหนดให้ใช้ Network Service account (เราต้องยอมรับว่า ผุ้ใช้ในเครื่อข่ายเราสามารถเข้าถึงได้ทุกคน โดยใช้accont นี้) ซึ่งเป้น account ที่ ทาง app pool (ดังภาพล่างสุด a1)มีไว้ให้แล้ว ดังรูป

UI Element List
Element Name Description
Specific user Type the specific account name that you want IIS to use to access your site or application. By default, IIS 7 uses IUSR as the user name for anonymous access. This user name is created when you install IIS 7.
Set Opens the Set Credentials dialog box, where you can specify an account name and password for IIS to use for Anonymous authentication.
Application pool identity Select Application pool identity to enable IIS processes to run using the account that is currently specified on the property page for the application pool. By default, this is the Network Service account.
Important
If you use the Network Service account, you grant anonymous users all the internal network access associated with that account.

ภาพ a1  : app pool account


ที่มา
http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/using-classic-asp-with-microsoft-access-databases-on-iis

-.

1 ความคิดเห็น:

  1. The debut replica rolex watches collection of five Command 47s has both normal and “negative” LCD displays, depending on your style preference. The standard non-black LCD screens might not look as cool, but replica handbags they have the edge in legibility.The Timex Command 47 case (as the name implies) is 47mm-wide but very wearable, given its short lugs. Attached to replica watches the case is a silicone.

    ตอบลบ