Results 1 to 6 of 6

Thread: "Access denied" error in SQL Server

  1. #1
    Join Date
    Nov 2010
    Posts
    67

    "Access denied" error in SQL Server

    I was using Microsoft SQL server 2000 on my laptop but now I have switched myself to SQL server 2005 because of its new features such as on-line restore of database, fast recovery process, data partitioning etc. when I start the SQL 2005 it gives me an error number 1045 saying that “access denied”. I am unaware of the problem due to which I am getting this error message. I want a solution to troubleshoot this problem so that I can use SQL server 2005 very easily.

  2. #2
    Join Date
    Nov 2008
    Posts
    1,259

    Re: "Access denied" error in SQL Server

    As Microsoft SQL server 2005 is having more enhanced features than SQL server 2000. While doing the installation of SQL server 2005 you should make sure that there is no firewall running on your system. Also you should open the 3306 port for TCP connection. If the connection to TCP 3306 port is not opened then you need to open the port and then try to connect to the SQL server.

  3. #3
    Join Date
    May 2008
    Posts
    913

    Re: "Access denied" error in SQL Server

    The error of “access denied” might be because a user is trying to connect to the master. When a user is attempting to connect to the master and if error the error message of access denied is displayed it means that he is not properly authenticated. To solve the access denied problem you must contact the master server and get the sufficient privileges to connect to the master server. After you have been granted sufficient privileges you can connect to the master server.

  4. #4
    Join Date
    Jun 2009
    Posts
    1,518

    Re: "Access denied" error in SQL Server

    By default SQL server allows connection from the local host and not the actual host. You may specify the below command using SQL wildcard so that a user can connect to the SQL server very easily from anywhere
    Code:
    ‘name @%’
    The keyword ‘name’ specifies that name is the name of the user which can establish connection from anywhere. The access denied password may be because you have entered wrong password, or you have not entered the password where it is not necessary or no password is specified where it is necessary. Be careful while entering the details to connect to the SQL server.

  5. #5
    Join Date
    Nov 2010
    Posts
    67

    Re: "Access denied" error in SQL Server

    From the above solution I have solved the problem of Access denied and I have successfully connected to the SQL server. I want to create SQL Server Object History but I am unaware of the steps to create it. I need a solution which describes the steps to crate SQL Server Object History successfully.

  6. #6
    Join Date
    May 2008
    Posts
    860

    Re: "Access denied" error in SQL Server

    Creating SQL Server Object History is very easy. You can create SQL Server Object History by following the below steps:
    • Go to Start/ Microsoft SQL Server/ SQL Server Management Studio and then SQL server window will open.
    • Now you need to select the appropriate details such as server name, server type, username and password to connect to the server. After entering the details click on SQL Server Authentication to connect to connect to the SQL server.
    • Click on database in the object explorer panel and it will give you the list of available database. Now you need to right click on the database and select reports. Click on standard report and then select Schema Changes History from the reports. Reports will be displayed once it is retrieved from the server.

Similar Threads

  1. Replies: 5
    Last Post: 11-06-2011, 10:35 AM
  2. "Access denied" error message with local LAN connectivity in windows 7
    By neanderthal in forum Networking & Security
    Replies: 3
    Last Post: 18-01-2011, 06:51 PM
  3. "Access Denied" message when adding member server in existing AD
    By Amey Abhyankar. in forum Active Directory
    Replies: 27
    Last Post: 18-11-2010, 05:02 PM
  4. Replies: 1
    Last Post: 19-10-2009, 09:48 AM
  5. Outlook File "Access denied" error on Windows Vista
    By B_Hodge in forum Windows Software
    Replies: 3
    Last Post: 30-05-2009, 12:49 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,494,057.86562 seconds with 17 queries