Dedicated Admin Connection (DAC) in SQL Server doesn’t need any introduction now that it is in the product for almost 6-7 years i.e from the days of SQL Server 2005. Starting from the early builds of SQL Server 2012, there is an error when connecting to DAC in SQL Server DENALI. This bug exists in SQL Server 2012 RC0 build as well but somehow MSFT can’t reproduce it and has been closed as won’t fix. To some extent I agree that this bug is NOT a big deal in the large scheme of things and am writing this to bring some awareness to the issue in case you happen to stumble upon it when using DAC in a real world scenario.
Step 1 for DAC error in SQL Server 2012 RC0
Step 2 DAC Error in SQL Server 2012 RC0
DAC error in SQL Server 2012 RC0
Step 4 DAC Error in SQL Server 2012 RC0
SELECT c.session_id , s.login_name , c.connect_time , c.last_read , c.last_write , s.host_name , c.client_net_address FROM sys.dm_exec_connections c JOIN sys.endpoints e ON c.endpoint_id = e.endpoint_id JOIN sys.dm_exec_sessions s ON s.session_id = c.session_id WHERE e.is_admin_endpoint = 1
Proof that DAC connection succeeded
DAC Connection throws error