SQL Server Trace Flag 7806

Hi Friends,

This is my 44th blog on SQL Server Trace Flag 7806 in the series of One Trace Flag a Day. You can go to all blogs under that series by clicking here.

As a DBA, Most of us knew the importance of Dedicated Administrator Connection in SQL Server. It is really works as a life saver for troubleshooting during unresponsive instance and many other issues. My First blog on SQLServerGeeks also based on Dedicated Administrator Connection (DAC). In that blog, I described the importance of DAC during an issue. You can go to that blog by clicking here.

Let’s come to today’s blog focus. By default, DAC is not supported in SQL Server Express Edition. If you want to use DAC on SQL Server Express Edition then you will enable the trace flag 7806.


Another thing to keep in mind, the scope of this trace flag is Global. You have to enable this trace flag at service level and restart the sql service to use DAC on SQL Server Express Edition.

PS: Do not use trace flags in production environment without testing it on non production environments and without consulting because everything comes at a cost.


Prince Kumar Rastogi

Like us on FaceBook | Join the fastest growing SQL Server group on FaceBook

Follow Prince Rastogi on Twitter | Follow Prince Rastogi on FaceBook


About Prince Rastogi

Prince Rastogi is working as Database Administrator at Elephant Insurance, Richmond. He is having more than 8 years of experience and worked in ERP Domain, Wealth Management Domain. Currently he is working in Insurance domain. In the starting of his career he was working on SQL Server, Internet Information Server and Visual Source Safe. He is post graduate in Computer Science. Prince is ITIL certified professional. Prince likes to explore technical things for Database World and Writing Blogs. He is Technical Editor and Blogger at SQLServerGeeks.com. He is a regular speaker at DataPlatformDay events in Delhi NCR. He has also presented some in depth sessions about SQL Server in SQL Server Conferences in Bangalore.

View all posts by Prince Rastogi →

Leave a Reply

Your email address will not be published.