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: Database: MS Access
 Need hands on help, please
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

wmull
Starting Member

7 Posts

Posted - 26 April 2001 :  16:04:59  Show Profile  Visit wmull's Homepage  Send wmull an ICQ Message
Hi,
I'm trying to set up the Snitz forums on one of my hosted sites at MindlessGames.com ......
I've set up the DSN correctly via ODBC (Data Sources), and the correct permissions are set for the directory where the .mdb resides, but still I keep getting the same error.....
This works fine locally, so we know something is eluding us, that we haven't been able to determine on the server.
What I need is an ASP guru who wouldn't mind giving me some free consultation on this, and who could even log on to the server and perhaps check things out to make sure.
I wouldn't be able to pay you, so this is strictuly a request for volunteer help for my poor, pitiful self :-/
If you can help, please send me an email at:
wmull@mindlessgames.com .
Thanks, and best,
William

Doug G
Support Moderator

USA
6493 Posts

Posted - 26 April 2001 :  17:43:48  Show Profile
quote:
... but still I keep getting the same error.....

I bet the odds of a helpful response would increase if you mentioned what the error was.


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

wmull
Starting Member

7 Posts

Posted - 26 April 2001 :  18:24:11  Show Profile  Visit wmull's Homepage  Send wmull an ICQ Message
The first time I go to:
http://bw.mindlessgames.com/forum/
I get this error:
quote:

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


Second time (if I refresh), I get this error:
quote:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.

/forum/inc_top.asp, line 42

Hope this helps someone help me .........
Best,
William


Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 26 April 2001 :  18:49:23  Show Profile  Send e3stone an AOL message
Could you give us a link to your config file? (has to be a .txt file for us to view it)

Go to Top of Page

wmull
Starting Member

7 Posts

Posted - 26 April 2001 :  19:00:39  Show Profile  Visit wmull's Homepage  Send wmull an ICQ Message
http://bw.mindlessgames.com/temp/config.txt

Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 26 April 2001 :  19:14:18  Show Profile  Send e3stone an AOL message
Take the semi-colon off the end of the statement:
strConnString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=d:\mindlessgames.com\bw\forum\tools\snitz_forums_2000.mdb;" '## MS Access 97

It should look like this:
strConnString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=d:\mindlessgames.com\bw\forum\tools\snitz_forums_2000.mdb" '## MS Access 97

Hope that fixes it. Suggestion: might want to switch to the 2000 connection string, but you don't have to.

Eric

Edit: actually, go ahead and switch to the 2000 connection string. I've always used the 2000 string and on one of my forums I use a access 97 db. well, I just switched the connection string to the 97 one and this is the error I got:
Provider error '8000ffff'

Catastrophic failure

/testforum/inc_top.asp, line 42

but, when I switch it back to the 2000 connection string, everything works fine


Edited by - e3stone on 26 April 2001 19:27:31
Go to Top of Page

wmull
Starting Member

7 Posts

Posted - 26 April 2001 :  21:11:03  Show Profile  Visit wmull's Homepage  Send wmull an ICQ Message
Hi,
I've tried it both ways before, and it does the same thing; same error, no matter whether it has the semicolon or not.... :-/
Also, same problem whether I use the Acess 97 string or 2000 string.
Here's what I get w/ the 2000 string, if it's any help:
quote:
Microsoft JET Database Engine error '80004005'

Unspecified error

/forum/inc_top.asp, line 42


This is just one of the reasons why this problem is vexing me so much...... I've honestly tried just about everything. I've researched all of the MS database issues, and nothing that it says to try has made any difference whatsoever :/
Oh well, thanks anyway......




Edited by - wmull on 26 April 2001 21:18:07
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 26 April 2001 :  21:15:31  Show Profile  Send e3stone an AOL message
Just to make sure...you ran setup.asp, right?

Go to Top of Page

wmull
Starting Member

7 Posts

Posted - 26 April 2001 :  21:19:11  Show Profile  Visit wmull's Homepage  Send wmull an ICQ Message
Running setup.asp gives me this error:
quote:
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



Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 26 April 2001 :  21:24:40  Show Profile  Send e3stone an AOL message
Try this as your virtual connection string:
quote:
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/bw/forum/tools/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path




<-- Eric -->


http://insidewaco.com/forum

(That's all one line, its just wrapping it here)



Edited by - e3stone on 26 April 2001 21:30:33
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 26 April 2001 :  21:44:09  Show Profile
You don't need to run setup.asp for the included Access database.

Almost certainly you have a permissions issue. Make sure IUSR_computername has read/write/modify permissions to the mdb file and it's folder (use NT explorer). Strangely, setting these permissions for Everyone doesn't get the job done.

Also, is the path in your string a physical path (there is a directory on your disk ..\mindlessgames.com\..)? If you have a question on the physical location, go to forum.snitz.com and follow links to download a 'whereami' tool to verify the folder location.


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

wmull
Starting Member

7 Posts

Posted - 27 April 2001 :  20:07:46  Show Profile  Visit wmull's Homepage  Send wmull an ICQ Message
I tried that string you gave me and it doesn't work either.
I don't believe it's a permissions problem, because IUSR_WIDHN0031ATL2 (Internet Guest Account) has Change permissions for the bw/forum/ folder, and everything in it.

Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 27 April 2001 :  21:18:29  Show Profile
Maybe something in these articles will help

FILE ALREADY IN USE 80004005 ERROR 1/21/2001
=================================================

Here are some Microsoft KB articles that may be helpful for the 'file already in use' error:

http://support.microsoft.com/support/kb/articles/q183/0/60.asp
http://support.microsoft.com/support/kb/articles/q202/1/71.asp
http://support.microsoft.com/support/kb/articles/q174/9/43.asp
http://support.microsoft.com/support/kb/articles/q183/9/36.asp


END OF FILE
===========


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

wmull
Starting Member

7 Posts

Posted - 29 April 2001 :  18:15:03  Show Profile  Visit wmull's Homepage  Send wmull an ICQ Message
I've been all through all those pages, and none of them have helped me with my problem.

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