|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
can't connect to a database
hi every1, ive just installed IIS 5.1 on xpPro SP2 but wen i try and connect to a database i get this error coming up does ne1 no y. this code works as i have had it up on da internet. thanks 4 ne help
HTTP 500.100 - Internal Server Error - ASP error Technical Information (for support personnel)
|
|
#2
|
|||
|
|||
|
sorry i got the error message confusd with a different one the error message was
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xea0 Thread 0x114 DBC 0x158a024 Jet'. /conn.inc, line 97 |
|
#3
|
|||
|
|||
|
Usually this error is from incorrect permission settings on the webserver files. Try giving the IIS user account permission to the windows TEMP folder, for one.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#4
|
|||
|
|||
|
Quote:
thanks for the help but i'm not sure what u mean could u explain it a bit for me please |
|
#5
|
|||
|
|||
|
|
|
#6
|
|||
|
|||
|
why not try using a path instead of a dsn.. you may have things setup odd in ODBC..
set Connection=Server.CreateObject("ADODB.Connection") Connection.Provider="Microsoft.Jet.OLEDB.4.0" Connection.Open "c:/path/to/database.mdb" |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > can't connect to a database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|