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

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Help!!!!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tom2001
Starting Member

5 Posts

Posted - 27 March 2001 :  18:29:06  Show Profile
Could someone please help me, i have download everything i need, but i don't have a clue what i'm doing.Do you need to have you own domain or can it be off of cjb.net or geocities. Could Someone please help me because i am really confused, and i'm normally good with this kind os stuff.

Thanks

RaiderUK
Average Member

United Kingdom
577 Posts

Posted - 27 March 2001 :  18:55:19  Show Profile  Send RaiderUK a Yahoo! Message
you need to be on webspace that supports ASP.

Go to Top of Page

tom2001
Starting Member

5 Posts

Posted - 28 March 2001 :  04:51:51  Show Profile
OK i have a new host that supports .asp extensions and i have uploaded all the files but i keep getting an error message.
It says:
The database could not be opened !!
Check your config.asp file and set the
strConnString so it points to the database.
Also check if strDBType is set to the right databasetype.

Code : -2147467259

What do i have to do to fix this?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 28 March 2001 :  04:57:52  Show Profile
Who is your new webhost?

Try going directly to default.asp and see what error you get.
Go to Top of Page

tom2001
Starting Member

5 Posts

Posted - 28 March 2001 :  05:04:23  Show Profile
I think i'm getting somewhere.
But now i have an error saying:
Microsoft JET Database Engine error '80004005'

Not a valid file name.

/phaze/forum/inc_top.asp, line 42

What does this mean?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 28 March 2001 :  05:08:39  Show Profile
can you post what you entered for the strConnString (the whole line)
Go to Top of Page

tom2001
Starting Member

5 Posts

Posted - 28 March 2001 :  06:01:00  Show Profile
This is exactually what the first part looks like

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

'## Make sure to uncomment one of the strConnString lines!
strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=http://www10.7host.com/phaze/cgi-bin/snitz_forums_2000.mdb" '## MS Access 97
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("http://www10.7host.com/phaze/cgi-bin/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=http://www10.7host.com/phaze/cgi-bin/snitz_forums_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_"

I don't if what i have done is right.
Thanks for the help.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 28 March 2001 :  06:08:05  Show Profile
you can't use an URL for the path to your database.

Try this:


This is exactually what the first part looks like

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

'## Make sure to uncomment one of the strConnString lines!
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=http://www10.7host.com/phaze/cgi-bin/snitz_forums_2000.mdb" '## MS Access 97
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/phaze/cgi-bin/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=http://www10.7host.com/phaze/cgi-bin/snitz_forums_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_"


if the above doesn't work try this:
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/cgi-bin/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path


You can also try going here: http://forum.snitz.com/archive/default.asp?catid=11&cattitle=Forum+Setup+Tools

and downloading the Where Am I? (.ASP) file and use it to find the physical path to your database.
Go to Top of Page

tom2001
Starting Member

5 Posts

Posted - 28 March 2001 :  06:19:45  Show Profile
YEAH!!!!!!It works!!!!
Thanks.


Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 28 March 2001 :  18:41:56  Show Profile
you're welcome.

Glad it's working for you ...
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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07