zoukankan      html  css  js  c++  java
  • YourSQLDba遭遇.NET Framework Error 6522

     

    一工厂的SQL Server数据库服务器上的YourSQLDba_LogBackups作业做事务日志备份时,突然出现异常,异常的错误信息指向.NET Framework,出现这个问题时,一般我估计是该服务器自动应用了.NET Framework的一些补丁导致,因为以前也碰到过这类错误,于是去检查服务器,发现确实如此,具体请见下面截图

     

    <Step>

      <ctx>yMaint.backups</ctx>

      <err>err :6522 A .NET Framework error occurred during execution of user-defined routine or aggregate "Clr_ExecAndLogAllMsgs":

    System.BadImageFormatException: Bad IL range.

    System.BadImageFormatException:

       at System.Data.SqlServer.Internal.XvarWlobStream.GetSqlChars()

    .  In procedure Clr_ExecAndLogAllMsgs: at line 0</err>

    </Step>

     

     

     

    image

     

     

    clip_image002

     

    一般引起.NET Framework 6522的错误可能有下面一下原因:

     

    ·         Corrupt download or incomplete installation of .NET Framework software.

    ·         Corruption in Windows registry from a recent .NET Framework-related software change (install or uninstall).

    ·         Virus or malware infection that has corrupted Windows system files or .NET Framework-related program files.

    ·         Another program maliciously or mistakenly deleted .NET Framework-related files.

     

    其实从上面截图看,是因为在自动应用补丁时,没有安装完成,需要重启服务器完成安装更新。Windows Update也提示要求重启完成更新。所以造成了YourSQLDba那边一些程序集异常,出现错误信息。

     

     

    clip_image003

  • 相关阅读:
    主线程和子线程的区别
    正则表达式 之 常用实例
    Asp.Net 之 未能加载文件或程序集 system.web.extensions 解决方法
    .Net 与 Java 的服务接口相互调用
    C# 之 SqlConnection 类
    ADO.Net 之 数据库连接池(一)
    C# 之 DataReader 和 DataSet 的区别
    Asp.Net 之 缓存机制
    IIS 之 失败请求跟踪规则
    IIS 之 HTTP错误信息提示
  • 原文地址:https://www.cnblogs.com/kerrycode/p/7521640.html
Copyright © 2011-2022 走看看