我的错误信息如下:“/MyBlogroll”应用程序中的服务器错误。
--------------------------------------------------------------------------------找不到文件或程序集名称“System”,或找不到它的一个依赖项。 
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.IO.FileNotFoundException: 找不到文件或程序集名称“System”,或找不到它的一个依赖项。源错误: 
行 30:         private static bool __intialized = false;
行 31:         
行 32:         public Global_asax() {
行 33:             if ((ASP.Global_asax.__intialized == false)) {
行 34:                 ASP.Global_asax.__intialized = true;
 源文件: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\myblogroll\420ebf16\1cb3dba7\jfyhf_k_.0.cs    行: 32 程序集加载跟踪: 下列信息有助于确定程序集“System”无法加载的原因。
=== Pre-bind state information ===
LOG: DisplayName = System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
 (Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/MyBlogroll
LOG: Initial PrivatePath = bin
Calling assembly : MyBlogroll, Version=1.0.1350.23067, Culture=neutral, PublicKeyToken=null.
===LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.0.3705\config\machine.config.
LOG: Post-policy reference: System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/myblogroll/420ebf16/1cb3dba7/System.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/myblogroll/420ebf16/1cb3dba7/System/System.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/MyBlogroll/bin/System.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/MyBlogroll/bin/System/System.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/myblogroll/420ebf16/1cb3dba7/System.EXE.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/myblogroll/420ebf16/1cb3dba7/System/System.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/MyBlogroll/bin/System.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/MyBlogroll/bin/System/System.EXE. 堆栈跟踪: 
[FileNotFoundException: 找不到文件或程序集名称“System”,或找不到它的一个依赖项。]
   MyBlogroll.Global..ctor() +0
   ASP.Global_asax..ctor() in C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\myblogroll\420ebf16\1cb3dba7\jfyhf_k_.0.cs:32[TargetInvocationException: 调用的目标发生了异常。]
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +277
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +109
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance() +160
   System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext context) +20
   System.Web.HttpApplicationFactory.Init(HttpContext context) +481
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +155
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +407 
--------------------------------------------------------------------------------
版本信息: Microsoft .NET 框架版本:1.0.3705.288; ASP.NET 版本:1.0.3705.288

解决方案 »

  1.   

    blog设置好后可以加友情链接
    http://www.cmsoft.com.cn/blog/blogIndex.aspx
      

  2.   

    Since MyBlogroll stores its data on disk, it requires write access on its folder. That's why you should grant ASP.NET write access on the MyBlogroll folder. To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the "Security" tab. Click "Add" to add the appropriate user or group. Highlight the "ASPNET" account, and check the "Full Control" checkbox.