当前位置: 首页 > news >正文

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.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. It's 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 doesn't 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 自动更新的记录。如下所示

另外在”控制面板“->"程序”->"程序和功能“->"已安装更新"里面可以看到

解决方法很简单,需要重启数据库服务器来解决这个问题。

 

参考资料:

https://connect.microsoft.com/SQLServer/feedback/details/693184/failed-to-create-appdomain-master-sys-runtime-x

http://stackoverflow.com/questions/14912693/how-to-fix-the-error-failed-to-create-appdomain-ssisdb-dboruntime-x

相关文章:

  • JWT究竟是什么呢?
  • Win#password;;processon #clone;;disassemble;;source find
  • PHP全栈开发(三):CentOS 7 中 PHP 环境搭建及检测
  • V神新论文|STARKs III: Into the Weeds(下)
  • Docker学习笔记三:Docker镜像image
  • python学习之老男孩python全栈第九期_day029知识点总结——configparser模快、logging模块...
  • python爬虫知识点总结(二十三)Scrapy中Download Middleware的用法
  • eclipse常用图标(类相关)及常用UML类图元素符号示意
  • dns相关
  • Netty(三) 什么是 TCP 拆、粘包?如何解决?
  • 简单理解js数据结构
  • js检测当前设备是移动端还是PC端
  • 开发者论坛一周精粹(第五十三期) ECS如何设置404页面? 首次WordPress建站大问题!...
  • linux必会10大排错命令
  • 小数据池
  • 【402天】跃迁之路——程序员高效学习方法论探索系列(实验阶段159-2018.03.14)...
  • Angular2开发踩坑系列-生产环境编译
  • AWS实战 - 利用IAM对S3做访问控制
  • CSS盒模型深入
  • es6(二):字符串的扩展
  • Java 9 被无情抛弃,Java 8 直接升级到 Java 10!!
  • Java应用性能调优
  • leetcode46 Permutation 排列组合
  • Python socket服务器端、客户端传送信息
  • Python_OOP
  • tensorflow学习笔记3——MNIST应用篇
  • Wamp集成环境 添加PHP的新版本
  • 安卓应用性能调试和优化经验分享
  • 诡异!React stopPropagation失灵
  • 开源中国专访:Chameleon原理首发,其它跨多端统一框架都是假的?
  • 每天一个设计模式之命令模式
  • 前端知识点整理(待续)
  • 使用agvtool更改app version/build
  • 使用阿里云发布分布式网站,开发时候应该注意什么?
  • 提醒我喝水chrome插件开发指南
  • 用简单代码看卷积组块发展
  • 找一份好的前端工作,起点很重要
  • Nginx惊现漏洞 百万网站面临“拖库”风险
  • ​Distil-Whisper:比Whisper快6倍,体积小50%的语音识别模型
  • #宝哥教你#查看jquery绑定的事件函数
  • #我与Java虚拟机的故事#连载16:打开Java世界大门的钥匙
  • $.ajax中的eval及dataType
  • (03)光刻——半导体电路的绘制
  • (6)STL算法之转换
  • (附表设计)不是我吹!超级全面的权限系统设计方案面世了
  • (附源码)ssm本科教学合格评估管理系统 毕业设计 180916
  • (十二)devops持续集成开发——jenkins的全局工具配置之sonar qube环境安装及配置
  • (五)网络优化与超参数选择--九五小庞
  • (转)3D模板阴影原理
  • (转)socket Aio demo
  • (转载)从 Java 代码到 Java 堆
  • ./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’: ./incl
  • .gitignore文件_Git:.gitignore
  • .MyFile@waifu.club.wis.mkp勒索病毒数据怎么处理|数据解密恢复
  • .net Application的目录