﻿{"id":401,"date":"2010-05-31T16:51:52","date_gmt":"2010-05-31T08:51:52","guid":{"rendered":"http:\/\/yeyaorong.cn\/?p=401"},"modified":"2010-05-31T16:51:52","modified_gmt":"2010-05-31T08:51:52","slug":"%e8%a7%a3%e5%86%b3%e4%b8%80%e4%b8%aaasp-net%e9%83%a8%e7%bd%b2%e9%94%99%e8%af%af","status":"publish","type":"post","link":"http:\/\/www.yeyaorong.cn\/?p=401","title":{"rendered":"\u89e3\u51b3\u4e00\u4e2aasp.net\u90e8\u7f72\u9519\u8bef"},"content":{"rendered":"<p>\u5728\u670d\u52a1\u5668\u4e0a\u9762\u5b89\u88c5\u4e86.net framework 4.0\u540e\uff0c\u5728iis 6.0\u4e0a\u9762\u65b0\u5efa\u4e00\u4e2a\u7ad9\u70b9\uff0c\u90e8\u7f72\uff0c\u5931\u8d25\u3002<br \/>\u6d4f\u89c8\u5668\u7684\u9519\u8bef\u63d0\u793a\u4e3a\uff1a<br \/>[code]Server Application Unavailable <\/p>\n<p>The web application you are attempting to access on this web server is currently unavailable.&nbsp;&nbsp;Please hit the &quot;Refresh&quot; button in your web browser to retry your request. <\/p>\n<p>Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.[\/code]<br \/><!--more--><br \/>\u5728\u670d\u52a1\u5668\u7aef\u7684\u9519\u8bef\u65e5\u5fd7\u91cc\u9762\u63d0\u793a\uff1a<br \/>[code]Failed to execute request because the App-Domain could not be created. Error: 0x80070005 \u62d2\u7edd\u8bbf\u95ee\u3002[\/code]<br \/>[code]Failed to initialize the AppDomain:\/LM\/W3SVC\/1\/ROOT<\/p>\n<p>Exception: System.IO.FileLoadException<\/p>\n<p>Message: Could not load file or assembly &#039;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#039; or one of its dependencies. \u62d2\u7edd\u8bbf\u95ee\u3002<\/p>\n<p>StackTrace:&nbsp;&nbsp;&nbsp;&nbsp;at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)<br \/>&nbsp;&nbsp; at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)<br \/>&nbsp;&nbsp; at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)<br \/>&nbsp;&nbsp; at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection)<br \/>&nbsp;&nbsp; at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object&#91;&#93; args, CultureInfo culture, Object&#91;&#93; activationAttributes, Evidence securityInfo, StackCrawlMark&amp; stackMark)<br \/>&nbsp;&nbsp; at System.Activator.CreateInstance(String assemblyName, String typeName)<br \/>&nbsp;&nbsp; at System.AppDomain.CreateInstance(String assemblyName, String typeName)<br \/>&nbsp;&nbsp; at System.AppDomain.InternalCreateInstanceWithNoSecurity(String assemblyName, String typeName)<br \/>&nbsp;&nbsp; at System.AppDomain.InternalCreateInstanceWithNoSecurity(String assemblyName, String typeName)<br \/>&nbsp;&nbsp; at System.Activator.CreateInstance(AppDomain domain, String assemblyName, String typeName)<br \/>&nbsp;&nbsp; at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)<br \/>&nbsp;&nbsp; at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)<\/p>\n<p>[\/code]<\/p>\n<p>\u653e\u72d7\u641c\u7d22\u540e\uff0c\u6309\u7167\u6559\u7a0b\u63d0\u793a\uff0c\u9010\u4e00\u6392\u67e5\uff1a<br \/>1.\u66f4\u6539\u7ad9\u70b9asp.net\u7248\u672c\u4e3a4.0\uff0c\u65e0\u6548\uff1b<br \/>2.\u91cd\u65b0\u521b\u5efa\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u6c60\u540e\uff0c\u5e76\u6307\u5b9a\u8be5\u7f51\u7ad9\u4f7f\u7528\u8be5\u7a0b\u5e8f\u6c60\uff0c\u65e0\u6548\uff1b<br \/>3.\u7ad9\u70b9\u6587\u4ef6\u5939\u6743\u9650\uff0c\u6dfb\u52a0everyone\u8bfb\u5199\u6743\u9650\u540e\uff0c\u89e3\u51b3\u3002<br \/>\u518d\u7ecf\u8fc7\u4ed4\u7ec6\u6392\u67e5\uff0c\u53ea\u8981\u5bf9\u7ad9\u70b9\u6587\u4ef6\u5939\u6dfb\u52a0network service\u7528\u6237\u7684\u8bfb\u6743\u9650\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u670d\u52a1\u5668\u4e0a\u9762\u5b89\u88c5\u4e86.net framework 4.0\u540e\uff0c\u5728iis 6.0\u4e0a\u9762\u65b0\u5efa\u4e00\u4e2a\u7ad9\u70b9\uff0c\u90e8\u7f72\uff0c\u5931\u8d25\u3002\u6d4f\u89c8\u5668 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-401","post","type-post","status-publish","format-standard","hentry","category-coding"],"_links":{"self":[{"href":"http:\/\/www.yeyaorong.cn\/index.php?rest_route=\/wp\/v2\/posts\/401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.yeyaorong.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.yeyaorong.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.yeyaorong.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.yeyaorong.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=401"}],"version-history":[{"count":0,"href":"http:\/\/www.yeyaorong.cn\/index.php?rest_route=\/wp\/v2\/posts\/401\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.yeyaorong.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.yeyaorong.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=401"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.yeyaorong.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}