Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Invalid Authorization Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Invalid Authorization Error

 Post Reply Post Reply
Author
TheMessiah View Drop Down
Newbie
Newbie


Joined: 28 March 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheMessiah Quote  Post ReplyReply Direct Link To This Post Topic: Invalid Authorization Error
    Posted: 05 April 2005 at 10:32am
After successfully created the data base i got this error when i tried to log on to the forum or trying to log to the admin using the default user (Administrator) and pw (letmein). How can I fix the problem.
  • Error Type:
    Microsoft OLE DB Provider for SQL Server (0x80004005)
    Invalid authorization specification
    /forum/common.asp, line 260
  • Browser Type:
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
  • Page:
    GET /forum/Default.asp

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 05 April 2005 at 10:58am
are you using the SQL version you need set the SQL details within the server_connection.asp file in the admin folder.


the default password and usernmame are for the actual site login not SQL login.. they are from your host.
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 05 April 2005 at 11:11am
Looks like an SQL Server permission problem, make sure the user you are connecting with is allowed to use that database.  If it is setup with windows authentication then use a different connection string perhaps.
Back to Top
TheMessiah View Drop Down
Newbie
Newbie


Joined: 28 March 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheMessiah Quote  Post ReplyReply Direct Link To This Post Posted: 05 April 2005 at 12:23pm
I recreated the database to start again. The SQL server uses Windows and SQL authentication. Three users are checked as Public and dbo. The current account which created the database has a space character "The Messiah" is it legal?
   In SQL_server_connection.asp:
strSQLServerName = "" 'Holds the name of the SQL Server
strSQLDBUserName = "" 'Holds the user name (for SQL Server
strSQLDBPassword = "" 'Holds the password (for SQL Server
strSQLDBName = "MyForum"     'Holds name of a database on the server
 If I put a servername it didn't create the tables, same if I put username.
Now when i goto the http://Myserver/forum got this err
  • Error Type:
    Microsoft OLE DB Provider for SQL Server (0x80004005)
    Invalid authorization specification
    /forum/common.asp, line 260
  • Browser Type:
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

how can i fix this
Back to Top
TheMessiah View Drop Down
Newbie
Newbie


Joined: 28 March 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheMessiah Quote  Post ReplyReply Direct Link To This Post Posted: 05 April 2005 at 12:27pm
okey its running now now I place the username and pw leaving the servername null. Thanks for your react guys.
Big smile
Smile
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.