Tell me more ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I want to force the AppDomain being used by SQLCLR to be reset. How can I do that besides restarting the SQL Server instance?

share|improve this question

1 Answer

up vote 1 down vote accepted

I know this is a bit brutal, but what about disabling the CLR and re-enabling it?

sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'clr enabled', 0;
GO
RECONFIGURE;
GO
sp_configure 'clr enabled', 1;
GO
RECONFIGURE;
GO
share|improve this answer
That will certainly reset the Application Domain for CLR. Without restarting the SQL Server. – Max Vernon Aug 30 '12 at 18:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.