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
 cant get it to work
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

maca
Starting Member

1 Posts

Posted - 27 May 2001 :  17:40:42  Show Profile  Visit maca's Homepage  Send maca an AOL message
Hi all.

I have never set this before, and I can't get it working.
Here is the path to my database:

e:\inetpub\wwwroot\forum\tools\snitz_forum_2000.mdb

What should my path be in my config.asp?
here is what i have:

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

'## Make sure to uncomment one of the strConnString lines!
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=e:\inetpub\wwwroot\forum\tools\snitz_forum_2000.mdb" '## MS Access 97
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/fpdb/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:\inetpub\wwwroot\forum\tools\snitz_forum_2000.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

strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"



should i deleate or modify anything from the above code?
I must be missing something easy!
Thanks,
maca

p.s. i am using access 2000


RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 27 May 2001 :  18:22:42  Show Profile
You have to uncomment the lines you want to use. In your case it should look like this:

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

'## Make sure to uncomment one of the strConnString lines!
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=e:\inetpub\wwwroot\forum\tools\snitz_forum_2000.mdb" '## MS Access 97
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/fpdb/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:\inetpub\wwwroot\forum\tools\snitz_forum_2000.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

strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"
Go to Top of Page

miamaca
Starting Member

4 Posts

Posted - 27 May 2001 :  18:30:55  Show Profile  Visit miamaca's Homepage  Send miamaca an AOL message
richard
thanks for your prompt reply, however it still does not work. i gatan error.

take a look at it yourelf!

http://64.129.118.117:8080/forum/setup.asp

Go to Top of Page

miamaca
Starting Member

4 Posts

Posted - 27 May 2001 :  18:55:31  Show Profile  Visit miamaca's Homepage  Send miamaca an AOL message
atually i am using access 2002
can it still work?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 27 May 2001 :  18:57:54  Show Profile
You might need to use the strConnString labeled for Access97 or install the JET drivers on your computer.

http://www.microsoft.com/data

Look for:

Microsoft Jet 4.0 SP3
Go to Top of Page

miamaca
Starting Member

4 Posts

Posted - 27 May 2001 :  19:34:45  Show Profile  Visit miamaca's Homepage  Send miamaca an AOL message
still does not work!
this is very frustrating

Go to Top of Page

miamaca
Starting Member

4 Posts

Posted - 27 May 2001 :  19:49:39  Show Profile  Visit miamaca's Homepage  Send miamaca an AOL message
it worked!!!

not i get this:


Microsoft JET Database Engine error '80004005'

Operation must use an updateable query.

/forum/pop_profile.asp, line 904


Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 28 May 2001 :  01:00:01  Show Profile
Do a search here for "Operation must use an updateable query.". It is a quite a popular error message when installing the forums.
Basically it is a permissions problem.

Also, you can dis-regard my reply to your email since you are already get helped here.

Go to Top of Page

Gonzbert
Starting Member

30 Posts

Posted - 29 May 2001 :  10:52:15  Show Profile
Does the database need to be registered in the ODBC-Management?

Go to Top of Page

Gonzbert
Starting Member

30 Posts

Posted - 29 May 2001 :  10:54:40  Show Profile
Sorry! I found the mistake myself! It needn't to be registered!

Go to Top of Page

Space_Cowboy
Starting Member

34 Posts

Posted - 09 June 2001 :  17:18:02  Show Profile  Visit Space_Cowboy's Homepage  Send Space_Cowboy an ICQ Message
I'm kind of having the same problem, except my code looks like this:
'strDBType = "sqlserver"
strDBType = "access"
'strDBType = "mysql"

'## Make sure to uncomment one of the strConnString lines!
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=http://spacecowboy.warpstorm.com/fpdb/snitz_forums_2000.mdb" '## MS Access 97
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/fpdb/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=sa;pwd=;database=DATABASE_NAME" '## MS SQL Server 7
'strConnString = "driver=MySQL;server=SERVER_NAME;uid=sa;pwd=;database=DATABASE_NAME" '## MySQL

Every time I try and access the setup.asp thing, I get a 403 forbidden error! I'm doing something wrong, but what?

Go to Top of Page

Space_Cowboy
Starting Member

34 Posts

Posted - 09 June 2001 :  18:05:55  Show Profile  Visit Space_Cowboy's Homepage  Send Space_Cowboy an ICQ Message
Nevermind that, I just changed the directory and it fixed the access problem, but now when I open the setup.asp, I just get code! The directory is at http://spacecowboy.warpstorm.com/forum/setup.asp

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 09 June 2001 :  18:07:27  Show Profile
It sounds like your server doesn't support ASP.
Your webserver is running Apache, which doesn't support ASP. They would have to buy additional software called "Chili!Soft ASP" to support the ASP extention.

Edited by - Davio on 09 June 2001 18:12:44
Go to Top of Page

Space_Cowboy
Starting Member

34 Posts

Posted - 09 June 2001 :  18:15:24  Show Profile  Visit Space_Cowboy's Homepage  Send Space_Cowboy an ICQ Message
Oh brother, can you recommend a FREE site hoster that does support ASP?

Go to Top of Page

Space_Cowboy
Starting Member

34 Posts

Posted - 09 June 2001 :  22:40:05  Show Profile  Visit Space_Cowboy's Homepage  Send Space_Cowboy an ICQ Message
Never mind, I found a sutible host for this. Now I keep getting database errors! The setup thing is located at http://www21.brinkster.com/spacecowboy9999/forum/setup.asp and I have the config file set up like this:

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

'## Make sure to uncomment one of the strConnString lines!
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=/fpdb/snitz_forums_2000.mdb" '## MS Access 97
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/fpdb/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=http://www21.brinkster.com/spacecowboy9999/fpdb/snitz_forum_2000.mdb;" '## MS Access 2000
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=sa;pwd=;database=/fpdb/snitz_forums_2000.mdb" '## MS SQL Server 7
'strConnString = "driver=MySQL;server=SERVER_NAME;uid=sa;pwd=;database=DATABASE_NAME" '## MySQL

strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"

Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 09 June 2001 :  23:56:29  Show Profile
Check in the Brinkster help, or search the forum for Brinkster Help, you have to use the Server.MapPath

It will look something like this



strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("spacecowboy9999/fpdb/snitz_forums_2000.mdb")




http://www.ugfl.net/forums
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07