 |
|
ติดต่อฐานข้อมูลไม่ได้มัน error แก้ยังไงบอกด้วยคับ |
|
 |
|
|
 |
 |
|
น่าจะเกิดจากการกำหนด Permission ครับ ปัญหานี้เจอบ่อยๆ ข้างล่างนี้อธิบายไว้แล้วครับ ลองทำตามดูนะครับ
Cause
This error usually happens on Windows NT, Windows 2000 or Windows XP and may be caused by any of the following conditions:
- the database file or database folder doesn’t have necessary security permissions to write to, or erase an .ldb file created by Microsoft Access when opening the database
- the database file doesn't have sufficient security permissions or write permissions to be modified when updating data in it. The web browser is seen by the web server as a Internet User that has the server account IUSR. This user needs to have write permission to the database file and to the database folder.
Resolution
Follow these steps to resolve this issue:
1. Use Windows Explorer to find the folder on the disk, which contains the database file (.mdb). This is usually your project folder.
2. Right-click on the project folder and select Properties.
3. Uncheck the Read-only property.
4. Click on the Security tab in the properties window.
(Attention: If you don't see such tab (Windows XP), close the properties window, open any folder, select Tools -> Folder Options -> View, and uncheck the option Use simple file sharing.)
5. Click Add and find, then select the user IUSR_<COMPUTERNAME>.
6. Select the Write checkbox in the Allow; column to assign Write permissions to the IUSR account.
|
 |
 |
 |
 |
Date :
2011-11-07 16:24:47 |
By :
vbCrazy |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ข้อ 5-6 ไม่เ่ข้าใจคับ
|
 |
 |
 |
 |
Date :
2011-11-07 17:00:13 |
By :
asp มือใหม่ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
5.click ที่ปุ่ม Add และ กดปุ่ม find จากนั้นให้เลือก IUSR_<COMPUTERNAME>.
6.จากนั้นให้ เลือก check box ที่ Allow Write (เป็นการอนุญาตให้สามารถเขียนไฟล์ได้)
|
 |
 |
 |
 |
Date :
2011-11-07 20:36:20 |
By :
vbcrazy |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
5 และ 6

IUSR

|
 |
 |
 |
 |
Date :
2011-11-08 10:13:34 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
path มันผิด เอาตัวนี้ไปเช็ค path ดู <%=Request.ServerVariables("APPL_PHYSICAL_PATH")%>
|
 |
 |
 |
 |
Date :
2011-12-22 11:03:53 |
By :
sunchai25 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|