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: General / Current Version (Old)
 problems with path and syntax
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

nswan
Starting Member

15 Posts

Posted - 26 July 2001 :  07:09:35  Show Profile
is there anything wrong with the syntax from the following line from config.asp

strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=151.180.112.83/message/snitz_forums_2000.mdb"

do I have to have ODBC installed on the server?

Many thanks
Nick

gor
Retired Admin

Netherlands
5511 Posts

Posted - 26 July 2001 :  07:38:14  Show Profile  Visit gor's Homepage
quote:

is there anything wrong with the syntax from the following line from config.asp

strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=151.180.112.83/message/snitz_forums_2000.mdb"




You can't use the IP-number in the connectionstring.
With Access the database has to be on the same server in a folder with write access enabled. Then you would use something like:

strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=/message/snitz_forums_2000.mdb"


Pierre
Join a Snitz Mailinglist
Go to Top of Page

nswan
Starting Member

15 Posts

Posted - 26 July 2001 :  08:56:37  Show Profile
what about having odbc set up on the server coz it's still not working!

Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 26 July 2001 :  09:12:31  Show Profile  Visit Kat's Homepage
You don't need ODBC because the forums use DSN-less connections. Are you sure your database path is correct?

KatsKorner
Go to Top of Page

nswan
Starting Member

15 Posts

Posted - 26 July 2001 :  09:19:56  Show Profile
99% sure!

is it only the wrong path that can bring up -2147467259 error?

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 26 July 2001 :  09:25:55  Show Profile  Visit gor's Homepage
You need ODBC on the server, but as far as I know that allready is installed by default.



Pierre
Join a Snitz Mailinglist
Go to Top of Page

nswan
Starting Member

15 Posts

Posted - 26 July 2001 :  09:27:54  Show Profile
it's an intranet site at work so perhaps they haven't put it on. I'll go and check!

Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 26 July 2001 :  10:03:49  Show Profile  Visit Kat's Homepage
quote:

You need ODBC on the server, but as far as I know that allready is installed by default.



Pierre
Join a Snitz Mailinglist



Yep - I was talking about the client

KatsKorner
Go to Top of Page

nswan
Starting Member

15 Posts

Posted - 30 July 2001 :  05:51:23  Show Profile
hi,

can you please tell me what ODBC stuff i need putting on the server?

Thanks
Nick

Go to Top of Page

Spoon
Average Member

Ireland
507 Posts

Posted - 30 July 2001 :  08:04:06  Show Profile  Visit Spoon's Homepage  Send Spoon an ICQ Message
quote:

hi,

can you please tell me what ODBC stuff i need putting on the server?

Thanks
Nick





Check out the link in my signature :)


Regards - Spoon

Begineer? Need help installing the forums? - www.aslickpage.com/snitz_help.html

www.ASlickPage.com - Private Messaging
Go to Top of Page

nswan
Starting Member

15 Posts

Posted - 30 July 2001 :  09:37:23  Show Profile
okay, I've got a bit further now...

I'm using the

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

line now. The problem is that the script times out. Am i making any progress?

Go to Top of Page

Spoon
Average Member

Ireland
507 Posts

Posted - 30 July 2001 :  11:02:43  Show Profile  Visit Spoon's Homepage  Send Spoon an ICQ Message
Hi, one thing i noticed, you have:

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

It should be without the dash in red like so:

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

Hope this helps





Regards - Spoon

Begineer? Need help installing the forums? - www.aslickpage.com/snitz_help.html

www.ASlickPage.com - Private Messaging
Go to Top of Page

nswan
Starting Member

15 Posts

Posted - 30 July 2001 :  11:05:29  Show Profile
sorry,

the apostarphy is only included coz i copied it straight off your webpage!!!

does setup.asp take ages to run as i could change the amount of time before it timesout?

Go to Top of Page

Spoon
Average Member

Ireland
507 Posts

Posted - 30 July 2001 :  11:17:47  Show Profile  Visit Spoon's Homepage  Send Spoon an ICQ Message
quote:

sorry,

the apostarphy is only included coz i copied it straight off your webpage!!!

does setup.asp take ages to run as i could change the amount of time before it timesout?





Oh, well the setup.asp thing happened to me before. Are you usind PWS??

If you are download the latest drivers, reboot your computer, then run setup.asp again. Heres the link to download:

http://www.microsoft.com/data/download_250rtm.htm


Regards - Spoon

Begineer? Need help installing the forums? - www.aslickpage.com/snitz_help.html

www.ASlickPage.com - Private Messaging
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 30 July 2001 :  20:14:41  Show Profile
quote:
If you are download the latest drivers, reboot your computer, then run setup.asp again. Heres the link to download:

http://www.microsoft.com/data/download_250rtm.htm

This link is not to the latest MDAC, although it's a good version and should work adequately. Visit msdn.microsoft.com/data for info on the current version MDAC (2.6). Read the special instructions regarding Jet drivers for Access.


======
Doug G
======
Go to Top of Page

Spoon
Average Member

Ireland
507 Posts

Posted - 31 July 2001 :  06:44:32  Show Profile  Visit Spoon's Homepage  Send Spoon an ICQ Message
quote:

quote:
If you are download the latest drivers, reboot your computer, then run setup.asp again. Heres the link to download:

http://www.microsoft.com/data/download_250rtm.htm

This link is not to the latest MDAC, although it's a good version and should work adequately. Visit msdn.microsoft.com/data for info on the current version MDAC (2.6). Read the special instructions regarding Jet drivers for Access.


======
Doug G
======



Thanks Doug . I dont know why i said latest, but hey..... :)


Regards - Spoon

Begineer? Need help installing the forums? - www.aslickpage.com/snitz_help.html

www.ASlickPage.com - Private Messaging
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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07