Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS Access
 Help me please!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

koerhuis
Starting Member

Netherlands
7 Posts

Posted - 01 March 2001 :  11:13:41  Show Profile
Sorry for being a newbee, I tried a lot but my forum is still not working.

I use a access 97 database on a NT server with a DNS connection named "forums". Just like many others i get the error: [Microsoft][ODBC Microsoft Access Driver] Could not use '(unknown)'; file already in use.

My connection string is:

'strDBType = "sqlserver"
strDBType = "access"
'strDBType = "mysql"

'## Make sure to uncomment one of the strConnString lines!
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=F:\213.132.192.53\cgi-shl\snitz_forums_2000.mdb" '## MS Access 97
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\cgi-shl\snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\dbroot\forum.snitz.com\snitz_forum.mdb;" '## MS Access 2000
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=SQL_USER;pwd=PASSWORD;database=DATABASE_NAME" '## MS SQL Server 7
'strConnString = "driver=MySQL;server=SERVER_NAME;uid=MYSQL_USER;pwd=PARRWORD;database=DATABASE_NAME" '## MySQL
strConnString = "dsn=forums"

The database is under the "\cgi-shl\" directory. I looked him up via WHERAMI
The address of the website is: http://www.inter-face.be

I didn't make a forum directory yet so everything is under the root. http://www.inter-face.be/default.asp should go to the right page. When i log in i see some things, but i can't reply on messages. admin and Admin are still the user name and password.

AHHH... thanx

Bas Koerhuis
Netherlands

redbrad0
Advanced Member

USA
3725 Posts

Posted - 01 March 2001 :  11:31:44  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
try this line...

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\cgi-shl\snitz_forums_2000.mdb") '## MS Access 2000 using virtual path

instead of

strConnString = "dsn=forums"

Brad
Go to Top of Page

koerhuis
Starting Member

Netherlands
7 Posts

Posted - 01 March 2001 :  11:36:03  Show Profile
Dear Brad,

I still get the same error.

Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 01 March 2001 :  11:49:22  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
would you happen to have the database access database open on your computer while trying to run the asp script?

Brad
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 01 March 2001 :  11:54:34  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
See if any of these links help:

http://support.microsoft.com/support/kb/articles/q174/9/43.asp
http://support.microsoft.com/support/kb/articles/q183/0/60.asp
http://support.microsoft.com/support/kb/articles/q235/0/91.asp



Brad
Go to Top of Page

RaiderUK
Average Member

United Kingdom
577 Posts

Posted - 01 March 2001 :  12:16:27  Show Profile  Send RaiderUK a Yahoo! Message
the problem is with a setting in IIS.
i had that problem once, it is when there are
more than 1 record sets on a page, but i cant
remember how i fixed it.

Go to Top of Page

koerhuis
Starting Member

Netherlands
7 Posts

Posted - 02 March 2001 :  02:36:13  Show Profile
I don't have the database open. I will check out the suggested links.

Bas

Still not working. I moved my forum under directory forum
It can be found under www.inter-face.be/forum/default.asp





Edited by - koerhuis on 02 March 2001 05:34:36
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 02 March 2001 :  08:50:07  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
You are no getting a permissions error. Make sure the directory and the database has read/write permissions enabled....

Dave Maxwell
--------------
When's the next meeting of Snitzaholics Anonymous
Go to Top of Page

koerhuis
Starting Member

Netherlands
7 Posts

Posted - 06 March 2001 :  07:59:21  Show Profile
I fixed it..

I don't exactly know what is was, but it had to do with permission. When i emptied the whole directory and created a new web in frontpage (fpdb directory included) and copied my database into fpdb it worked!!

Thank you all for helping me!

Greetings Bas Koerhuis

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07