访问数据库就出这个错误
编译错误 
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误信息: CS0007: 意外的公共语言运行库初始化错误 --“灾难性故障 ”源错误: [没有相关的源行]
 源文件:    行: 0 显示详细的编译器输出:
C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\sql\0e6692eb\a185f140\assembly\dl2\1771871b\48e74786_62d2c601\sql.dll" /R:"c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\sql\0e6692eb\a185f140\-9lopbor.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1  "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\sql\0e6692eb\a185f140\-9lopbor.0.cs"
Microsoft (R) Visual C# .NET 编译器版本 7.10.3052.4
用于 Microsoft (R) .NET Framework 版本 1.1.4322
版权所有 (C) Microsoft Corporation 2001-2002。保留所有权利。fatal error CS0007: 意外的公共语言运行库初始化错误 --“灾难性故障 ” 显示完整的编译源:
行 1:    //------------------------------------------------------------------------------
行 2:    // <autogenerated>
行 3:    //     This code was generated by a tool.
行 4:    //     Runtime Version: 1.1.4322.573
行 5:    //
行 6:    //     Changes to this file may cause incorrect behavior and will be lost if 
行 7:    //     the code is regenerated.
行 8:    // </autogenerated>
行 9:    //------------------------------------------------------------------------------
行 10:   
行 11:   namespace ASP {
行 12:       using System;
行 13:       using System.Collections;
行 14:       using System.Collections.Specialized;
行 15:       using System.Configuration;
行 16:       using System.Text;
行 17:       using System.Text.RegularExpressions;
行 18:       using System.Web;
行 19:       using System.Web.Caching;
行 20:       using System.Web.SessionState;
行 21:       using System.Web.Security;
行 22:       using System.Web.UI;
行 23:       using System.Web.UI.WebControls;
行 24:       using System.Web.UI.HtmlControls;
行 25:       
行 26:       
行 27:       [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
行 28:       public class Global_asax : sql.Global {
行 29:           
行 30:           private static bool __initialized = false;
行 31:           
行 32:           public Global_asax() {
行 33:               if ((ASP.Global_asax.__initialized == false)) {
行 34:                   ASP.Global_asax.__initialized = true;
行 35:               }
行 36:           }
行 37:       }
行 38:   }
行 39: