Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - forum can't log into the database
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

forum can't log into the database

 Post Reply Post Reply Page  <123>
Author
billiam777 View Drop Down
Newbie
Newbie


Joined: 06 January 2012
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote billiam777 Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2012 at 3:48pm
Originally when I installed it last year it installed fine.  Then it stopped working on that server.  I had to move the site to a new server anyway so I did that and it doesn't work on the new one either.  I also tried upgrading to version 10.11 and the upgrade wouldn't work because it gave the same error.

I'm using a Windows 2008 R2 server now with IIS 7.5
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2012 at 4:07pm
It is a very strange error message that you are getting, normally there would be more information.

I would suggest reinstalling the latest myODBC 3.51 driver on the server, if that does not work install the myODBC 5.1 driver and run the install/setup wizard again to make sure the database is up to date and using the correct driver.

To have the install/setup wizard run update the files in the 'database' folder with the original files from the download from our website.

Another thing to check is that you are running the websites application pool that the forum is running in, in 32bit mode. Many drivers and other ASP components do not work in 64bit mode.
Back to Top
billiam777 View Drop Down
Newbie
Newbie


Joined: 06 January 2012
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote billiam777 Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2012 at 7:10pm
I can't change the application pool to 32 bit mode because when I do .asp files don't work at all.  Plesk has already looked at it and determined it must be running in 64 bit mode.  Although I did try this and sure enough the asp code didn't run.

I have tried both myODBC 3.51 and 5.1 drivers and while the plesk panel says they work and can connect they don't in web wiz for some reason.

I noticed in my database_settings.asp it has this line uncommented:
strDatabaseType = "mySQL"    'MySQL 4.1 or MySQL 5.x

and this one too:
strDbPathAndName = Server.MapPath("databasewwForum.mdb")  'This is the path of the database from the applications location

Does this matter?
Back to Top
billiam777 View Drop Down
Newbie
Newbie


Joined: 06 January 2012
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote billiam777 Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2012 at 7:11pm
I also have this setting in my database_settings.asp
strSQLServerName = "localhost" 'Holds the name of the SQL Server (This is the name/location or IP address of the SQL Server)
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2012 at 8:00pm
Web Wiz Forums needs to run in a 32bit mode application pool. As you are using 64bit application pools then this is why it is not running.

Classic ASP will run when the application pool is in 32bit mode. If it is not running in 32bit mode then there is an issue with your server that needs fixing.

Microsoft recommend that you run app pools in 32bit mode as you get better performance and memory management.

We host many thousands of websites on our servers that run Classic ASP, ASP.NET and PHP and all websites run in 32bit application pools.
Back to Top
billiam777 View Drop Down
Newbie
Newbie


Joined: 06 January 2012
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote billiam777 Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2012 at 8:09pm
If I go into the plesk(default)(2.0)(pool) and change "Enable 32-bit applications" to "true", then run the forums I get this error.

500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.


Back to Top
billiam777 View Drop Down
Newbie
Newbie


Joined: 06 January 2012
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote billiam777 Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2012 at 8:25pm
I just tried a test_mysql.asp page and it was able to connect to mysql with asp.  I will try creating a new application pool
Back to Top
billiam777 View Drop Down
Newbie
Newbie


Joined: 06 January 2012
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote billiam777 Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2012 at 8:40pm
Creating a new application pool for this with 32-bit causes asp to not work at all....grrr....

Ok I'm going to see if plesk can fix the environment so this will run.
Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.