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)
 FORUM uploading
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RDoGG™
Junior Member

USA
329 Posts

Posted - 03 July 2001 :  19:04:48  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
hi. i am running a snitz forum locally (PSW) using access database. when i try to upload my files to my web host and run default.asp, i get redirected to setup.asp?some-querystrings=here

i don't understand this.

anyone know if i have to reinstall the database or something???

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 03 July 2001 :  19:35:55  Show Profile
Did you change the strConnString in config.asp? I doubt it's going to be the same as you are using on your PWS setup.
Go to Top of Page

RDoGG™
Junior Member

USA
329 Posts

Posted - 03 July 2001 :  19:55:46  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
quote:

Did you change the strConnString in config.asp? I doubt it's going to be the same as you are using on your PWS setup.



ok...i found out the problem.

richard, what i did was:

in config.asp, created a few variables:


<%
' directory paths

dim strHomePath
dim strDBPath
dim strImagesPath
dim strAdminPath
dim strDiscussionPath
dim strDirectoryPath
dim strEventsPath
dim strWeatherPath
dim strClassifiedsPath
dim strNewsPath

strHomePath = "/"
strDBPath = strHomePath & "db/"
strImagesPath = strHomePath & "images/"
strAdminPath = strHomePath & "admin/"
strForumsPath = strHomePath & "forums/"
strLinksPath = strHomePath & "links/"
strEventsPath = strHomePath & "events/"
strWeatherPath = strHomePath & "weather/"
strClassifiedsPath = strHomePath & "classifieds/"
strNewsPath = strHomePath & "news/"
%>


my strConnString reads:


<%
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("" & strDBPath & "database.mdb") '## MS Access 2000 using virtual path
%>



i tested this on PWS and it worked.

when uploading to 7host (as a test), i changed:


<%
strHomePath = "/"
%>


to


<%
strHomePath = "/rdogg2k1"
%>


i forgot the slash at the end.

since the db wasn't connecting, config.asp redirected me to setup.asp.

using this code


<%
strHomePath = "/rdogg2k1/"
%>


worked.

silly mistake by me

Go to Top of Page

RDoGG™
Junior Member

USA
329 Posts

Posted - 03 July 2001 :  19:56:40  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
you can lock this topic now

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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07