Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - /forum/common.asp, line 260
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

/forum/common.asp, line 260

 Post Reply Post Reply
Author
chong67 View Drop Down
Groupie
Groupie


Joined: 15 November 2004
Location: United States
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote chong67 Quote  Post ReplyReply Direct Link To This Post Topic: /forum/common.asp, line 260
    Posted: 22 May 2006 at 11:21pm
I am trying to get my forum to work with my SQL 2005.  I got everything imported fine.
 
I went to the Admin Tools and click on the ODBC to test the login for WWF and click on the "Test Connection" using the name and pwd used by WWF and the correct db used by WWF nd it work fine.
 
When I go to the IE, I get this error message below.  I know the SQL Server is running and how can I get access denied?  I just tried the test above and it work.
 
Need help. 
 
----
 
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
/forum/common.asp, line 260
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: 23 May 2006 at 8:52am
Check that your SQL Server is running in mixed mode to allow TCP/IP connections and check you have set the correct connection string details in the forum to connect to the SQL Server.
Back to Top
chong67 View Drop Down
Groupie
Groupie


Joined: 15 November 2004
Location: United States
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote chong67 Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2006 at 9:20pm
Borg,
 
I went to my database that WWF is using and right click on properties and the authenticaiton method is "SQL Server Authentication".  I can only do that or Window authentiation and I cannot do both somehow and I am on SQL2005.
 
I also went to Admin Tools - ODBC and using the same username n pwd as on SQL_server_connection.asp and do a test connection and it work fine.
 
I put the username in the WWF database-Security-Users and it is there as in the .asp file above and I also put it the MAIN Object Explorer under Security-Logins.
 
Still get this below and appreciate all your help!
 
 
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
/forum/common.asp, line 260
Back to Top
chong67 View Drop Down
Groupie
Groupie


Joined: 15 November 2004
Location: United States
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote chong67 Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2006 at 9:34pm
WOW!
 
You aint going to believe this.
 
I was playing around and really working very hard at it and I stumble upon it
 
OK, you cannot just put 'localhost' in strSQLServerName.  I explicit say the servername and it work.  Do I have 2 servers running?
 
I am running SQL2005 and I am using VMWare on it before I do the real thing on my computer.
 
Next I am going to update the db and do 8.01 and see how it goes!
 
Thanks so much Borg!
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: 24 May 2006 at 10:14pm
Sometimes when using localhost you also need to include the instance name of the SQL server.

I find the SQL server 2005 Express always requires that you also include the instence name.
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.