Failed to create AppDomain 'xxx'. Exception has been Failed to create AppDomain
一服务器上的数据库全部被置于紧急模式(EMERGENCY),在错误日志里面能看到大量下面的错误
Failed to create AppDomain "YourSQLDba.dbo[runtime].79". Exception has been thrown by the target of an invocation.
Failed to create AppDomain "YourSQLDba.dbo[runtime].76". Exception has been thrown by the target of an invocation.
....................................................................
在Error Log里面,我们可以看到甚至包括YourSQLDba这个库也被设置为单用户模式、紧急模式。如下截图所示,这个发生在凌晨YourSQLDba_FullBackups_And_Maintenance作业启动做备份、维护的时候。
Google 搜索了一下这方面资料,看到了官方的一个解释,如下所示。 具体参考这个链接Failed to create AppDomain "master.sys[runtime].X"
由 Microsoft 在 2011/12/6 於 22:24 公佈
Errors like:
Msg 6517, Level 16, State 1, Line 3
AppDomain "MDS.dbo [runtime] .20" Could not create.
Exception has been thrown by the target of an invocation.
come
directly from .NET/CLR itself. Its usually about some inconsistency
with the CLR/.NET itself. It means the CLR installation is corrupted
(unlikely), or, more likely, a .NET patch was recently installed and the
machine is pending a reboot.
Let us know if reboot doesnt fix the problem.
About the upgrade failure from upgrade step 677 to 678: this issue is fixed in Denali RC1.
翻译过来就是:这个错误通常是.NET/CLR 它本身导致的,通常是由于CLR/.NET它本身的一些不一致性导致(inconsistency),这意味着CLR安装损坏了(这个不太可能),大部分是由于最近安装了.NET 补丁,服务器没有重新启动导致。
续查找更早的日志,其实发现9号就有这个“Failed to create AppDomain "YourSQLDba.dbo[runtime].xx". Exception has been thrown by the target of an invocation"这个错误出现,告警邮件也有收到,只是忙于处理其它事情,没有留意。检查系统日志(Windows NT System log),发现确实存在Microsoft .NET Framework 自动更新的记录。如下所示
另外在”控制面板“- "程序”- "程序和功能“- "已安装更新"里面可以看到
解决方法很简单,需要重启数据库服务器来解决这个问题。
Failed to create AppDomain xxx . Exception has been Failed to create AppDomain 原文:Failed to create AppDomain xxx . Exception has been Failed to create AppDomain 一服务器上的数据库全部被置于紧急模式(EMERGENCY),在错误日志里面能看到大量下面的错误 Failed to create AppDomain YourSQLDba.
潇湘隐者 网名潇湘隐者/潇湘剑客、英文名Kerry,兴趣广泛,广泛涉猎,个性随意,不善言辞。执意做一名会写代码的DBA,混迹于IT行业
相关文章
- org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
- 自签证书:请求第三方自签名https证书报错:sun.security.validator.ValidatorException: PKIX path building failed
- Write on ……… failed: 112(failed to retrieve text for this error. Reason: 15105)
- 解决webstom failed to change read-only files
- ADB server didn't ACK * failed to start daemon *
- 【解决问题】failed: java.lang.RuntimeException: org.openqa.selenium.WebDriverException: Unexpected error launching Internet Explorer.
- adb server didn't ack failed to start daemon
- GVM 21.4.3 Failed to find port_list '33d0cd82-57c6-11e1-8ed1-406186ea4fc5'
- EasyPusher华为手机直播推流硬编码[OMX.IMG.TOPAZ.Encoder] failed to set input port definition parameters.
- GVM 21.4.3 Failed to find port_list '33d0cd82-57c6-11e1-8ed1-406186ea4fc5'
- WebRTC错误[1]Failed to set remote answer sdp: Called in wrong state: stable
- 解决yarn build时报错:内存溢出FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
- error: failed to push some refs to
- 【已解决】IDEA 创建 spring 项目时出现Initialization failed for http://start.aliyun.com问题
- 已解决ImportError: numpy.core.multiarray failed to import
- android 解决报错 installation failed with message Failed to finalize session : INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed parse during installPackageLI: Failed to read manifest from /xx/xx/xx.apk
- 【错误记录】Tinker 热修复示例运行报错 ( Execution failed for task ‘:app:tinkerProcessD‘ . tinkerId is not set!!! )
- elasticsearch按照配置时遇到的一些坑 [Failed to load settings from [elasticsearch.yml]]
- 问题解决:Failed to start etcd.service: Unit is masked.
- jenkins报错 Upgrading Jenkins. Failed to update the default Update Site 'default'. Plugi
- Centos环境部署consul集群,使用join操作报错:Failed to join any nodes.
- Push failed Unable to access ‘url‘: OpenSSL SSL_read: Connection was reset, errno 10054
- 【root is not a leaf queue】 org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit appli..
- 深度学习笔记:UnknownError: Failed to get convolution algorithm
- python下openVINO使用遇到from .ie_api import * ImportError: DLL load failed的终极解决方案
- 解决K8S集群kubelet故障:Failed to update stats for container && nable to determine device info for dir