Failed to initialize the Common Language Runtime

今天在SQL Server 2008中执行存储过程的时候报以下错误:

Msg 6513, Level 16, State 27, Procedure usp_QueryRealTimeRoomInfo, Line 173
Failed to initialize the Common Language Runtime (CLR) v2.0.50727 due to memory pressure. This is probably due to memory pressure in the MemToLeave region of memory. For more information, see the CLR integration documentation in SQL Server Books Online.

解决方法:

出现这个错误的应该都是32位的SQLServer,所以第一步要查看SQL Server是否32位,可以通过查看Windows进程的方式知道你安装的SQLServer是否32位

因为我们是使用32位的SQLServer,所以对内存的使用会有些限制,所以下一步在SQLServer实例的属性中设置一下

然后找到sqlserver configuration manager设置一下启动参数

经过以上的设置就可以正常使用了

参考文献:

http://blog.sql-assistance.com/index.php/failed-to-initialize-the-common-1

http://support.microsoft.com/kb/2003681

http://support.microsoft.com/default.aspx?scid=kb;EN-US;969962

时间: 2024-10-11 17:11:32

Failed to initialize the Common Language Runtime的相关文章

CLR(Common Language Runtime) 公共语言运行库

.NET Core 使用 CoreCLR .NET Framework 使用CLR. 1. 将代码编译为IL (Intermediate Language) 2. CLR 把IL 编译为平台专用的本地代码. IL 运行时, JIT(Just-In-Time) Compiler 编译IL代码, 创建特定于平台的本地代码. 原文地址:https://www.cnblogs.com/TheMiao/p/10030288.html

解决sever 2008中tomcat的报错 init Failed to initialize end point associated with ProtocolHandler ["http-nio-80"]

错误现象: 01-Aug-2017 14:59:50.140 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-80"]01-Aug-2017 14:59:50.182 严重 [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated wit

端口占用的一种形式 Failed to initialize end point associated with ProtocolHandler ["ajp-bio-8090"] java.net.BindException: Address already in use: JVM_Bind <null>:8090

严重: Failed to initialize end point associated with ProtocolHandler ["ajp-bio-8090"]java.net.BindException: Address already in use: JVM_Bind <null>:8090 at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:413) at org.apache.tomc

MySQL主从报错解决:Failed to initialize the master info structure

大清早收到一个MySQL的自定义语言告警 :replication interrupt,看来是主从同步报错了. 登陆MySQL,执行 show slave status \G 发现salve已经停止了,于是使用 start slave启动,结果有如下报错: 1 ERROR 1201 (HY000): Could not initialize master info structure; more error messages can be found in the MySQL error log

Failed obtaining configuration for Common.Logging from configuration section &#39;common/logging&#39;

spring.net 配置时 总回出现" Failed obtaining configuration for Common.Logging from configuration section 'common/logging' 错误. 解决方案:在app.config中包含了 <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />

On Creating New Project in VS2013: Failed to Initialize the Powershell Host

Today, when I'm creating a new project in VS2013 it gave me the following error message: Install failed...Failed to initialize the Powershell host. If your powershell execution policy setting is set to AllSigned, open the package manager console to i

【故障处理】ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository

今天在使用冷备份文件重做从库时遇到一个报错,值得研究一下. 版本:MySQL5.6.27 一.报错现象 dba:(none)> start slave; ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository 这个时候查看error.log: 2017-07-17 16:19:02 9022 [ERROR] Failed to open the relay log '.

【已解决】Failed to Initialize Windows Azure Storage Emulator解决方法

错误代码: Failed to Initialize Windows Azure Storage Emulator Added reservation for http://127.0.0.1:10000/ in user account Richard-PC\Richard.Added reservation for http://127.0.0.1:10001/ in user account Richard-PC\Richard.Added reservation for http://1

[转]VMware 出现下述错误: Application failure. hr=0x80040101:Failed to initialize virtual machine.

VMware 出现下述错误:Application failure. hr=0x80040101:Failed to initialize virtual machine. 解决方法:1.重新注册这三个DLL就好了: regsvr32.exe "C:\Program Files (x86)\VMware\VMware Workstation\vmappsdk.dll" regsvr32.exe "C:\Program Files (x86)\VMware\VMware Wor