What type of database objects can be decrypted using DecryptSQL?

Stored procedures, triggers, views, user-defined functions, database triggers, and server triggers can be decrypted.

What SQL Server security permissions are necessary to decrypt with DecryptSQL?

The user-specified in the SQL Server's registration properties must belong to the sysadmin database roles.

What is Microsoft SQL Server Native Client?

Microsoft SQL Server Native Client (SQL Native Client) contains the SQL OLE DB provider and SQL ODBC driver in one native dynamic link library (DLL) supporting applications using native-code APIs (ODBC, OLE DB, and ADO) to Microsoft SQL Server.

What is Dedicated Administrator Connection (DAC)?

With SQL Server 2005 or later, Microsoft offers a new feature, the dedicated administrator connection. This configuration is intended to serve as a last means of defense to troubleshoot and kill the offending SQL Server processes as opposed to rebooting the server possibly causing database corruption and/or access violations. The DAC allows you to connect to the server and issue T-SQL commands to troubleshoot and correct the problem.

Why "DAC Login Failed, MSSQL Connection Error." appear when connecting to SQL2005 or later?

If DecryptSQL can not login to your server and gives an error about DAC error then probably to your server is too restricted. You can read MS articles about how to enable DAC permanently or use our solution which enables this mode temporarily.

By default, the DAC is only available from a client on the server. To enable remote clients to utilize the DAC an option needs to be set which can be done using sp_configure :

sp_configure 'remote admin connections', 1;

or by using the SQL Server Surface Area Configuration. To do this:

  1. Launch the SQL Server Surface Area Configuration.tool which can be found under SQL Server 2005/2008 Configuration Tools in the SQL Server 2005/2008 menus.
  2. Select "Surface Configuration Area for Features".
  3. Check the box for "Enable remote DAC".
  4. Select "Apply".

To SQL Server 2005/2008 Express users:

  1. Go to "Services" management view and open SQL Server service properties.
  2. Stop the service, set option -T 7806 as shown on the picture below.
  3. Start service from this dialog. It is important now to press Start right from here and now.
  4. Close dialog.

As a result SQL Server will start with this option which enables DAC login mode. After the server restarted, the option was disabled.

If you can not find a solution there, please submit a request to our support pages.