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 / Classic ASP versions(v3.4.XX)
 New forum/ setup.asp problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

houseofstrauss
Starting Member

15 Posts

Posted - 16 August 2002 :  07:33:44  Show Profile  Visit houseofstrauss's Homepage
Windows XP home, 66k modem, current version snitz, Dougs download mods, Brinkster free account.
I followed the beginners guide using 'find.asp' which returned <<<your path is:
\\genfs2\www20\houseofstrauss\snitz_forums_2000.mdb>>>. All files are now uploaded. Run.asp returned the following error<<<Microsoft VBScript compilation error '800a0409'

Unterminated string constant

/houseofstrauss/forum/config.asp, line 55

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\genfs2\www20\houseofstrauss\snitz_forums_2000.mdb
-------------------------------------------------------------------------------------------------------------------

I also received a runtime error. I have uploaded the ms database file in the default directory but created a new directory called 'forum' for all other files. I believe this is all per instructions. Your help is much appreciated as I am not skilled in asp code

Thanks Richard

wether you think you can, or wether you think you cant... you are right!

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 16 August 2002 :  07:38:56  Show Profile  Send ruirib a Yahoo! Message
You are a missing a quote at the end of that line:

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\genfs2\www20\houseofstrauss\snitz_forums_2000.mdb"

Also rename your database for a hard to guess name, or even snitz_forums_2000.asp and change the name accordingly in that strConnstring line, so that no one can download your database.

Make sure you're using the Brinkster files. You can find them at Snitz Exchange (link below).


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 16 August 2002 :  07:40:40  Show Profile
There are already some connection strings for use with brinkster in the config.asp file, you only have to replace the test "USERNAME" with your brinkster user name I dont have an example at the moment.

Also go to the snitz exchange and download the special brinkster files, they are needed for the forum to work on brinkster servers, the snitz exchange is the "mods" link in my signature.
Go to Top of Page

houseofstrauss
Starting Member

15 Posts

Posted - 16 August 2002 :  08:46:06  Show Profile  Visit houseofstrauss's Homepage
Thanks for replies Ruirib & Hamlin. I added the quote ammended file and tried again, This time with a new fault as below <<<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 : 80004005

This is how my code looks at present could you please advise how to proceed

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


'## Make sure to uncomment one of the strConnString lines!
'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("/houseofstrauss/db/snitz_forums_2000.mdb") '## MS Access 2000 on Brinkster
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\genfs2\www20\houseofstrauss\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("/USERNAME/db/snitz_forums_2000.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
strTablePrefix = "FORUM_"


Thanks Richard

wether you think you can, or wether you think you cant... you are right!
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 16 August 2002 :  09:30:33  Show Profile
Originally posted by houseofstrauss

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

'## Make sure to uncomment one of the strConnString lines!
'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("/houseofstrauss/db/snitz_forums_2000.mdb") '## MS Access 2000 on Brinkster
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\genfs2\www20\houseofstrauss\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("/USERNAME/db/snitz_forums_2000.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
strTablePrefix = "FORUM_"



If your on brinkster then add the red ' and remove the ' from the line i have made green...that should do it, assuming the database is in the db folder provided by Brinkster

Edited by - Hamlin on 16 August 2002 09:31:11
Go to Top of Page

houseofstrauss
Starting Member

15 Posts

Posted - 16 August 2002 :  14:48:02  Show Profile  Visit houseofstrauss's Homepage
Thanks Hamlin for the help above. I got the congratulations screen this time, but when I clicked to go to my forum I had an internal 500 error page.(several attempts) I trust this is a server update problem or something. If it spells another problem ahead perhaps you can advise

Thanks again, Richard

wether you think you can, or wether you think you cant... you are right!
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 16 August 2002 :  14:53:28  Show Profile
Can we have a link to your forum?

If you have IE try this: Tools > Internet Options > Advanced > un-tick "Show friendly HTTP error messages"

You should get a better error description
Go to Top of Page

houseofstrauss
Starting Member

15 Posts

Posted - 16 August 2002 :  18:11:45  Show Profile  Visit houseofstrauss's Homepage
Here is the link to my forum.
http://www20.brinkster.com/houseofstrauss/forum/default.asp

I accessed the error from ie as follows <<<<Microsoft JET Database Engine error '80040e37'

The Microsoft Jet database engine cannot find the input table or query 'MEMBERS'. Make sure it exists and that its name is spelled correctly.

/houseofstrauss/forum/inc_functions.asp, line 905
>>>> Does this mean some files are missing, corrupted or what? Do you recognise the problem?

Thank-you Richard

wether you think you can, or wether you think you cant... you are right!
Go to Top of Page

houseofstrauss
Starting Member

15 Posts

Posted - 16 August 2002 :  18:23:42  Show Profile  Visit houseofstrauss's Homepage
addition to last post... inc_functions.asp is present in the files list- I checked.

wether you think you can, or wether you think you cant... you are right!
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 16 August 2002 :  18:32:26  Show Profile
In config.asp, what do you have for strTablePrefix and strMemberTablePrefix? It should be:


strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

houseofstrauss
Starting Member

15 Posts

Posted - 16 August 2002 :  19:06:48  Show Profile  Visit houseofstrauss's Homepage
Thanks, Nikkol, You were right on with spotting an error. strTablePrefix = "FORUM" was missing. I ammended the file and sent it to the server. Alas, a new error message <<<504 Gateway Timeout
This Web page could not be opened. There may be too many people accessing this page or the page may be unavailable. Please try again later. >>> From the outset I have not edited any files except the connection strings. I have also replaced original snitz files with the moded ones. Still hoping to see my page soon ...
Thanks Richard

wether you think you can, or wether you think you cant... you are right!
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 16 August 2002 :  19:16:15  Show Profile
I see it fine.

Actually, I see default.asp fine. Seems forum.asp is missing.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~

Edited by - Nikkol on 16 August 2002 19:17:22
Go to Top of Page

houseofstrauss
Starting Member

15 Posts

Posted - 17 August 2002 :  04:46:11  Show Profile  Visit houseofstrauss's Homepage
Nikkol, I opened default page myself this morning, nothing else worked. Ok... I'm going to recheck and upload all files again except database and config.asp. I suspect using file manager on Brinkster may have missed out some files. Leave it with me for a day or 2. I will try and sort it out. Thanks for your support guys.

Richard

wether you think you can, or wether you think you cant... you are right!
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.61 seconds. Powered By: Snitz Forums 2000 Version 3.4.07