gpt4 book ai didi

ASP.NET CLR 未启用

转载 作者:行者123 更新时间:2023-12-01 17:17:42 24 4
gpt4 key购买 nike

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

关于ASP.NET CLR 未启用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6145697/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com