Author |
Topic  |
|
lafrentz06
Starting Member
USA
4 Posts |
Posted - 11 July 2003 : 01:09:46
|
On my connection line: strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("lafrentz45mavs06.mdb") '## MS Access 2000 using virtual path strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/raeflafrentz/db/lafrentz45mavs06.mdb") '## MS Access 2000 on Brinkster
My access file is a .ldb, not a .mdb. In the connection line, I tried to change the .mdb to .ldb, but it still doesn't work. I changed the extension back, so .mdb.
Now my setup for my config.asp, won't work, because the connection line isn't right..
My question: How do I get the connection line to work? Do I have to change my access file to a .mdb, from the original .lbd? Thanks alot, any help is appreacited...
Neil |
|
OneWayMule
Dev. Team Member & Support Moderator
    
Austria
4969 Posts |
|
lafrentz06
Starting Member
USA
4 Posts |
Posted - 11 July 2003 : 02:00:41
|
OKay, I got that fixes...NOW
Here is my connection lines: 'strDBType = "sqlserver" strDBType = "access" 'strDBType = "mysql"
'## Make sure to uncomment one of the strConnString lines and edit it so that it points to where your database is! 'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("snitz_forums_2000.mdb") '## MS Access 2000 using virtual path strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/raeflafrentz/db/raef45mavs06.mdb") '## MS Access 2000 on Brinkster 'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 2000 'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("snitz_forums_2000.mdb") '## MS Access 97 using virtual path 'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/raeflafrentz/db/lafrentz45mavs06.mdb") '## MS Access 97 on Brinkster 'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 97 'strConnString = "Provider=SQLOLEDB;Data Source=SERVER_NAME;database=DB_NAME;uid=UID;pwd=PWD;" '## MS SQL Server 6.x/7.x/2000 (OLEDB connection) 'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=UID;pwd=PWD;database=DB_NAME" '## MS SQL Server 6.x/7.x/2000 (ODBC connection) 'strConnString = "driver=MySQL;server=SERVER_IP;uid=UID;pwd=PWD;database=DB_NAME" '## MySQL 'strConnString = "DSN_NAME" '## DSN
I removed the ', from the connection line I wanted, I uploaded my access database into my server, into the /db/. I am using Brinkster, and it STILL doesn't work. Do I need to upload the config.asp, and where?
Thanks, Neil |
 |
|
OneWayMule
Dev. Team Member & Support Moderator
    
Austria
4969 Posts |
|
lafrentz06
Starting Member
USA
4 Posts |
Posted - 11 July 2003 : 02:14:47
|
Which one, the /bd/ or the index folder? |
 |
|
OneWayMule
Dev. Team Member & Support Moderator
    
Austria
4969 Posts |
|
lafrentz06
Starting Member
USA
4 Posts |
Posted - 11 July 2003 : 02:19:26
|
O, ok...I see now...Let me try it...
Neil |
 |
|
|
Topic  |
|