20-06-2005, 13:13
|
|
|
|
חבר מתאריך: 18.12.03
הודעות: 4,187
|
|
בעיה בהתחברות למסד נתונים מסוג TXT על שרת
שלום, אני בניתי אתר במחשב שלי ועכשיו אני רוצה לעלות אותו לאינטרנט. יש לי שרת שתומך ב- ASP
ולאתר שלי יש בסיס נתונים מסוג טקסט.
במחשב שלי הייתה תיקיה בה היה את הבסיס נתונים ואת התיקיה כתבתי בחלק הזה של קוד ה- ASP:
oConn.Open "Driver={Microsoft Text Driver (*.txt; *.csv)};" & _
"Dbq=C:\db\;" & _
"Extensions=asc,csv,tab,txt;" & _
"Persist Security Info=False"
עכשיו כשהעלתי את הקבצים לשרת שינתי את חלק זה ל (התיקיה db נמצאת בתוך התיקיה בה נמצא קובץ ה- ASP):
oConn.Open "Driver={Microsoft Text Driver (*.txt; *.csv)};" & _
"Dbq=/db/;" & _
"Extensions=asc,csv,tab,txt;" & _
"Persist Security Info=False"
האתר נותן לי את השגיאה הזאת:
Microsoft OLE DB Provider for ODBC Driverserror '80004005'
[Microsoft][ODBC Text Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
/WoW/insert.asp, line 26
תודה לעוזרים
_____________________________________
Pentax K100D + Pentax SMCP-DA 18-55mm f/3.5-5.6 AL + SMC Pentax-M Macro 1:4 50mm + SMC Pentax 1:2.8/105mm + SMC Pentax-M 1:2.8 35mm + SMC Pentax 1:1.4/50mm
|