반응형
ASP.NET CLR이 활성화되지 않음
앱을 실행할 때 ASP.Net 및 SQL Server를 새로 설치할 때 다음 오류가 발생합니다.
Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option
이것을 실행하여 수정하려고했습니다.
use dasolPSDev;
sp_configure 'clr enabled', 1
go
RECONFIGURE
go
sp_configure 'clr enabled'
go
하지만 다음을 얻습니다.
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near 'sp_config
이 시도
use dasolPSDev;
EXEC sp_configure 'clr enabled', 1
go
RECONFIGURE
go
EXEC sp_configure 'clr enabled'
go
나를 위해 일한 잼 솔루션의 단순화 된 버전 (SQL Server 2012) :
sp_configure 'clr enabled', 1
GO
RECONFIGURE
GO
출처 : http://msdn.microsoft.com/en-us/library/ms254506%28v=vs.80%29.aspx
sp_configure @ configname = clr_enabled, @ configvalue = 1로 시도했습니다.
그런 다음 SQL 서버를 다시 시작했습니다. 작동했다
비슷한 문제가 있었지만 이것은 저에게 효과적입니다 (SQL Server 2008 R2).
sp_configure 'clr enabled', 1
GO
RECONFIGURE
GO
참고 URL : https://stackoverflow.com/questions/6145697/asp-net-clr-not-enabled
반응형
'programing tip' 카테고리의 다른 글
SQL Server XML 데이터 형식에서 LIKE 문 사용 (0) | 2020.10.19 |
---|---|
SQL Server가 서명되지 않은 데이터 형식을 지원하지 않는 이유는 무엇입니까? (0) | 2020.10.19 |
CSV 리더 (Python)의 "줄에 NULL 바이트 포함" (0) | 2020.10.19 |
문자열에서 웹 작업자를 만드는 방법 (0) | 2020.10.19 |
배치-rmdir 명령에서 "디렉토리가 비어 있지 않습니다"가져 오기 (0) | 2020.10.19 |