Web interface |
Post Reply ![]() |
Author | |
hsarver@sosbbs.com ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() Posted: 24 September 2004 at 4:05pm |
Hello, I have a running Spamfilter server that is using Access database and the web interface works with no problem. However, I can not let the server go above about 500MB in the quarantine databas for it causes the server CPU to max. So I am trying to setup another server with MySQL as the database. I have it all setup and the MySQL database quarantine is growing; however, I can not get the ASP or the PHP web interface to work. Willing to use either. On the PHP I get:
When I go to index.php And on the ASP I get:
Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /db_connect.asp, line 6 Is there some step by step instructions somewhere? I do not care which one just want to get one to work. Thanks. Hillard
|
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4105 |
![]() ![]() ![]() ![]() ![]() |
Hillard,On the db_connect.asp page, on line 6, have you specified the correct path to the UDL file that points to your database? Alternatively, you can copy and paste the "Connection String" value in the "Settings - Quarantine DB" tab in the SpamFilter GUI after the con.Openentry in the ASP page (enclose the connecion string in double quotes).Roberto F.
LogSat Software
|
|
![]() |
|
Hillard ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() |
Okay I did that; however, it was the same line as what was in there. Below is the db_connect.asp the way it looks:
<% Does that give any light as to what may be wrong? The above path is the correct path to the file and spamfilter is putting things in the quarantine and I can see entries in the SpamFilter GUI if I hit refresh button. Hillard
|
|
![]() |
|
Hillard ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() |
Oh, forgot, just in case it makes a difference I am doing this on a Windows 2000 server. Hillard
|
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4105 |
![]() ![]() ![]() ![]() ![]() |
Hillard,If your posting shows the line 6 *exactly* as is, then the problem is that you have "FILENAME" as one word, while the correct syntax should be the following:con.Open "FILE NAME=D:\SpamFilter\Database\SpamFilterMySQL.udl"Please note that FILE NAME is two separate words.If the posting is incorrect, and in the ASP page you do have FILE NAME, then can you please double-click on the SpamFilterMySQL.udl file from the Windows Explorer, and from the dialog box that appears, click on "Test Connection". If the UDL file is correct, you will receive a confirmation that the connection was successful. You should not be prompted for a username/password. If so, the ASP code will fail, and you'll need to reconfigure the UDL or the MySQL ODBC connection to store the password.If that too is successful, then please ensure that the account that IIS uses (usually the IUSR_machineName user) has read access rights to the UDL file.Roberto F.LogSat Software
|
|
![]() |
|
Hillard ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() |
>have "FILENAME" as one word, There is a space. I retyped it to make sure and still no joy.
>reconfigure the UDL or the MySQL ODBC connection to store the password. The UDL works without error and says all is okay. I can also see the messages in the quarantine grid with no problem.
>IUSR_machineName user) has read access rights to the UDL file. Yes that username has read, even gave it full control still no joy. What can I try next. I really want to use MySQL in the new spam server instead of the Access which goes to CPU max when the quarantine database gets much above 500mb. Hillard
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.152 seconds.