运行我的应用程序时,在新安装的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