An error occurred when attaching the database(s). Click the hyperlink in the Message column for details.
While attaching .mdf and .ldf database files in SQL server management studio, it throws error attached image - 1
Image - 1
It seems permission issue for which it gives this error while attaching the .mdf and Read More
How to Restore Database using SQL Management Studio.
I will explain in details with screenshot for better understanding.
You need Server name, Authentication, Login and Password. As in my case I have filled the required credential to log in to my local Database Server. Once after you login successfully.
STEP - 1
Select and Read More
How to Backup a Database using SQL Management Studio
I will do it in steps with screenshots for better understanding.
First we need to connect to the Database Server from where we need to take backup of database.
STEP - 1
You need Server name, Authentication, Login and Password. As in my case I Read More
How to truncate a SQL Server Data file.
While working with SQL Server, for some reason your database log file (.ldf file) keeps increasing in size.
to reduce the size of the log file ... I just followed the below mentioned steps.
Open Microsoft SQL Server Management Studio
Select and Right click on your Read More
User, Group, or Role already exists in the current database. (Microsoft SQL Server, Error: 15023)
While after restoring the database I just created the users in the new server and then trying to map to the restored databases .... I got an error like User, Group, or Role already exists in Read More
Create a rule in Windows Firewall to give access to connect Microsoft SQL Server
On the Start menu, click Run, type WF.msc, and then click OK.
In the Windows Firewall with Advanced Security,
in the left pane, right-click Inbound Rules, and then
click New Rule in the action pane.
In the Rule Type dialog box, select Port, and then
In the Protocol and Ports dialog box, select TCP. Select Specific local Read More
When you are trying to restore one database and you stuck with the error showing FileSTREAM feature is disabled.
To enable and change FILESTREAM settings
On the Start menu, point to All Programs, point to Microsoft SQL Server 2008 R2, point to Configuration Tools, and then click SQL Server Configuration Manager.
Steps to configure
Open SQL Server Configuration Manager. Click Start -> Programs -> Microsoft SQL Server 2008 -> Configuration Tools -> SQL Server Configuration Manager.
On SQL Server Configuration Manager, select SQL Server Services on the left window. If the state on SQL Server Browser is not running, you have Read More