• DBA,  DR/HA

    Create and setup a SQL clustering on your Desktop or Laptop

    How to create and setup a SQL clustering on your Desktop or Laptop   I thought to write this post after I discussed in a forum. SQL clustering is a bit complicated one. I mean most of the DBAs are not configured or tested it, because we don’t get a chance to do or to learn SQL clustering. Also it needs bit knowledge from out of SQL (Windows AD, Network and Storage (SAN)). In this post, I will give you an idea how to configure SQL failover clustering to yourself. We are doing everything in virtual environment (Single machine) the same you can do physically but you need all in…

  • DBA

    Login failed for [SQLSTATE 28000] (Error 18456) the step failed

    Login failed for [SQLSTATE 28000] (Error 18456) the step failed   When you query the data from another SQL server (Linked server) and SQL server & agent service is run as a domain user. You may get the error following error message in your job history. Error: Executed as user: Domain\XXX.Service. Login failed for user ‘ SSBF\SQL.Service ‘. [SQLSTATE 28000] (Error 18456).  The step failed. Solution: Step 1: Check the source SQL server agent logon service account name All programs –> SQL server 2008 –> Configuration Tools –> SQL server configuration manager. Go to the SQL server agent  –> properties –> Check the logon tab and find the account name.…

  • DBA,  Scripts

    Find the database free space sql server The transaction log for database is full

    The transaction log for database is full. To find out why space in the log cannot be reused OR Could not allocate space for object because the filegroup is full Reema: Hello DBA it seems our application not working today. We got some error it looks like some problem with the database. DBA: This error mostly occurs because of insufficient space on the drive. Have you checked the drive space? Reema: Yeah, I have checked the drive space in a server –> my computer. It looks I have plenty of space on the server. DBA: Can you check the database auto growth setting in the database? Reema: I have 30…

  • DBA

    SQL server failed to start the system cannot find the path specified

    Recently one of our SQL server unable to start it. The problem with the storage LUNs.     Things you have to do: When you get this above message while starting SQL server service. Check the event viewer both system and application log. There you will know the exact problem.     Error: SQL server failed to start the system cannot find the path specified First check the drives and drive letters in my computer. Then verify the SQL server installed drive is available in your server. Go to Start –> All programs –> Microsoft SQL server 2008 –> configuration tools –> SQL server configuration manager –> Right click the…

  • DBA

    SQL server the timeout period elapsed prior to completion of the operation

    SQL server clustering the timeout period elapsed prior to completion of the operation Recently I faced one of our application could not connect. It throws an error ” Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server, Error: -2) ” I found the problem. It’s because of firewall. SQL Cluster error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server, Error: -2)   We are using SQL server failover clustering on our application, after a failover occurred the application could not connect it. It’s used a…