Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - i cannot connect to database
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

i cannot connect to database

 Post Reply Post Reply
Author
froggzy View Drop Down
Newbie
Newbie

Simpleton

Joined: 05 October 2010
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote froggzy Quote  Post ReplyReply Direct Link To This Post Topic: i cannot connect to database
    Posted: 05 October 2010 at 5:18pm
hello all,

i upgraded my access database from webwiz forum 7 to sql 2008.
i then try to upgrade from web wiz forum 7 to 9 but when it asks me the databases connection details, it doesn't accept my credential for the database.
i even tried creating a new user and assigned him full control over the database but it still doesn't accept the credentila, it says:
Error details:-
Microsoft OLE DB Provider for SQL Server
Login failed for user 'wwforum'.

thank you all for your help

regards,
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: 05 October 2010 at 6:07pm
The error means that the connections details you are are incorrect.

Make sure that the SQL Server is installed in mixed mode and allows TCP/IP connections. 

If you are using SQL Server Express TCP/IP connections are turned off by default even if you install in mixed mode and need to be enabled.

SQL Server Express is often installed with a name pipe so you would use something like  localhost\SQLEXPRESS as the host name.

SQL Server is a very complex beast and for further help it maybe worth buying a book on it, or asking questions on a wesite dedcated to SQL Server.
Back to Top
froggzy View Drop Down
Newbie
Newbie

Simpleton

Joined: 05 October 2010
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote froggzy Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2010 at 9:12am
Thank you webwiz bruce,
the sql server is installed in mixed mode and it allows tcp/ip connection. also, the sql server 2008 (full blown version, not the express one..) is on the same server as the forum.
could it be that the conversion from access db to sql did not work propely? i used SMA as access 2007 have some problem uprising to 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: 06 October 2010 at 10:03am
Although there are issues that will need to be fixed when using SMA, the problem that you have here is that your login to your wwforum has failed.

This error means that the database server either can not be logged in to, or the login credentials that you have given have been rejected.

Connections from web wiz forums to the database need to use an SQL Server login to the database and not a trusted connection. Make sure you have created a user in SQL Server that has DBO permissions over the database and use that for your login credentials to the database.
Back to Top
froggzy View Drop Down
Newbie
Newbie

Simpleton

Joined: 05 October 2010
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote froggzy Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2010 at 10:11am
Hi webwiz Bruce,

Basicaly the user i created did not work because of this:
i found the issue:
http://patrick.eviltools.com/must_change-is-on/
and with your explaination, i understand the users from  AD did not work!!

thank's a lot for your help thought! :)






Back to Top
 Post Reply Post Reply

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.