View Full Version : ASP and Access
Gayowulf
July 30th, 2001, 22:00
I am unsure of what version of ms access my host is using. is there any way to find out short of asking the admin?
I also dont know which StrConnString to use:
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("snitz_forums_2000.mdb") '
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/snitz_forums_2000.mdb") '
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\...
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/tools/snitz_forums_2000.mdb") '
as you can see i am installing snitz forums. I would reaal appreciate any help anyone can offer.
-Thanks
Satelk
July 30th, 2001, 23:15
I don't know how to find the version of access, but if I were you I would use:
strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("snitz_forums_2000.mdb") '
That one is the first one in the config file, with full path.
It's for access97, just in case 2000 is not installed, I think it still works with 2000. If it doesn't, just use this instead:
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/tools/snitz_forums_2000.mdb") '
Gayowulf
July 30th, 2001, 23:25
I attached the readme. I dont know where to put the *.mdb file. that is the main problem. after that all should be ok
Satelk
July 30th, 2001, 23:40
No need to attach the readme file, I already have the script. I tested the previous version on phidji.com.
As for the *.mdb file:
The best thing to do is put it out of the folder tree so no one can download it. And then edit the full path to the database in the config file.
Gayowulf
July 30th, 2001, 23:49
Currently the *.mdb is in cgi-bin, and the full path doesnt seem to work.
Satelk
July 30th, 2001, 23:55
What does it say when you run the setup.asp file?
Gayowulf
July 31st, 2001, 00:00
Ive got it running now :) i had the path wrong. it said it the database couldnt be located, and to check the StrConnString and StrDBtype. I'm sure ill be having more troubles though.
Satelk
July 31st, 2001, 00:04
Good.
If you ever have another problem, just ask me and I'll do my best to help.
Gayowulf
July 31st, 2001, 00:09
Thanks Ive got this to deal with now :
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/forums/inc_mail.asp, line 55
Invalid class string
got that when trying to sign up.
Satelk
July 31st, 2001, 00:12
Maybe you don't have aspemail installed.
Satelk
July 31st, 2001, 00:14
You should go to the admin page and modify what type of mail to use.
The info about the admin is in the readme file.
Gayowulf
July 31st, 2001, 00:16
Probably not. I will have to check with the admin about that. it would make sense for a system that supports asp to have aspmail
Satelk
July 31st, 2001, 00:19
according to the error, it was using aspemail, you probably have aspmail but not aspEmail.
Gayowulf
July 31st, 2001, 00:25
"no compatible component found." Doesn't look too promising.
Satelk
July 31st, 2001, 00:27
You can always use SMTP.
That's why I like the mail() function in PHP, works almost everywhere. :D
Gayowulf
July 31st, 2001, 00:30
I dont have access to SMTP, but i am getting things worked out. despite that error, the account i signed up works.
Satelk
July 31st, 2001, 00:30
You can find information on SMTP on socialreject at http://members.socialreject.net/faqs/mail/
Gayowulf
July 31st, 2001, 00:33
I know :)
So far everything is working perfectly.
Satelk
July 31st, 2001, 00:36
Great. Hope it will stay that way.
Glad I could help... if I did.
Satelk
July 31st, 2001, 00:38
Also hope socialreject will reopen sign ups soon like you said. Didn't sign up when we could cause they didn't have php at that time. Damn!
Gayowulf
July 31st, 2001, 00:41
a kick --- user CP is coming, and there is a nice webmail feature.
Thanks- you did help me. :)
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.