Tuesday 7 May 2013

“Dedicated administrator connections are not supported” message in SQL Server

“Dedicated administrator connections are not supported” message in SQL Server




When you try to login to SQL Server using Dedicated administrator connection (DAC) via Object Explorer you will receive an error message:
Dedicated administrator connections are not supported.
(ObjectExplorer)

or:
Dedicated administrator connections are not supported.
(Microsoft.SqlServer.Management.SqlStudio.Explorer)




Object Explorer cannot connect using the DAC.
To connect to DAC using Database Engine Query, in SQL Server Management Studio click:
File -> New -> Database Engine Query
In the Connect to Database Engine dialog box, in the Server name box, type ADMIN:Instance_name
To connect to a SQL Server instance (-S) to master database (-d) using DAC (-A) with integrated security (-E) in sqlcmd:
sqlcmd -A -d master -E -S instance_name
To connect to a SQL Server instance (-S) to master database (-d) using DAC (-A) with SQL security with SQL login (-U) and password (-P) in sqlcmd:
sqlcmd -A -d master -U sa -P Passw0rd -S instance_name
SQL Server Browser service must be running to connect to Dedicated administrator connection (DAC).
It is possible to make only one connection at a time with DAC.
If the DAC is already in use, the connection will fail.
Did you find this post helpful? If so, please share it. 
 
Thanks!






How to perform a VirusScan Command Line scan in Microsoft Windows

How to perform a VirusScan Command Line scan in Microsoft Windows




  1. Download the latest VCLS from the McAfee Downloads site. The VCLS has the most up-to-date cutting edge generic drivers.

    To download McAfee products, updates, and documentation, visit the Downloads page at http://www.mcafee.com/us/downloads/downloads.aspx.

    For instructions on downloading, see: KB56057.
     
  2. Create a folder on the root of your primary partition. In this example: c:\scan\.
  3. On the infected computer, extract the contents of vscl-w32-6.0.3-l.zip or later to c:\scan\.
  4. Download the latest beta DAT file.
    To download a DAT, Engine, SuperDAT (DAT + Engine), BetaDAT, or Stinger, go to http://www.mcafee.com/apps/downloads/security-updates/security-updates.aspx.

    You might have to download these if your automated update fails or if you want to use an ExtraDAT on an infected system.

     
  5. Extract the contents of avvwin_netware_betadat.zip to c:\scan\ and overwrite the existing files.
  6. Click Start, Run, type cmd and press ENTER.
  7. Navigate to c:\scan, type the following command, and press ENTER:

    scan.exe /adl /all /analyze /clean /program /unzip /winmem /rptall /report=c:\scan.log

    This starts a complete system scan, which is best practice.