{"id":478,"date":"2006-08-14T19:28:00","date_gmt":"2006-08-14T19:28:00","guid":{"rendered":"http:\/\/www.sincebirth.cn\/?p=478"},"modified":"2006-08-14T19:28:00","modified_gmt":"2006-08-14T19:28:00","slug":"%e8%ae%bf%e9%97%ae-iis-%e5%85%83%e6%95%b0%e6%8d%ae%e5%ba%93%e5%a4%b1%e8%b4%a5","status":"publish","type":"post","link":"https:\/\/sincebirth.space\/?p=478","title":{"rendered":"\u8bbf\u95ee IIS \u5143\u6570\u636e\u5e93\u5931\u8d25"},"content":{"rendered":"<div id=\"blog_text\" class=\"cnt\">\n<p >\u8bbf\u95ee IIS \u5143\u6570\u636e\u5e93\u5931\u8d25\u3002 <br \/>\u8bf4\u660e: \u6267\u884c\u5f53\u524d Web \u8bf7\u6c42\u671f\u95f4\uff0c\u51fa\u73b0\u672a\u5904\u7406\u7684\u5f02\u5e38\u3002\u8bf7\u68c0\u67e5\u5806\u6808\u8ddf\u8e2a\u4fe1\u606f\uff0c\u4ee5\u4e86\u89e3\u6709\u5173\u8be5\u9519\u8bef\u4ee5\u53ca\u4ee3\u7801\u4e2d\u5bfc\u81f4\u9519\u8bef\u7684\u51fa\u5904\u7684\u8be6\u7ec6\u4fe1\u606f\u3002 <\/p>\n<p>\u5f02\u5e38\u8be6\u7ec6\u4fe1\u606f: System.Web.Hosting.HostingEnvironmentException: \u8bbf\u95ee IIS \u5143\u6570\u636e\u5e93\u5931\u8d25\u3002 <\/p>\n<p>\u7528\u4e8e\u8fd0\u884c ASP.NET \u7684\u8fdb\u7a0b\u5e10\u6237\u5fc5\u987b\u5177\u6709\u5bf9 IIS \u5143\u6570\u636e\u5e93(\u5982 <br \/>IIS:\/\/servername\/W3SVC)\u7684\u8bfb\u8bbf\u95ee\u6743\u3002\u6709\u5173\u5982\u4f55\u4fee\u6539\u5143\u6570\u636e\u5e93\u6743\u9650\u7684\u4fe1\u606f\uff0c\u8bf7\u53c2\u89c1 <br \/><a class=\"WNAnc\" href=\"http:\/\/support.microsoft.com\/?kbid=267904\" target=\"winout\" ><font color=\"#4073ab\" >http:\/\/support.microsoft.com\/?kbid=267904<\/font ><\/a >\u3002<\/p>\n<p>\u6e90\u9519\u8bef: <\/p>\n<p>\u6267\u884c\u5f53\u524d Web \u8bf7\u6c42\u671f\u95f4\u751f\u6210\u4e86\u672a\u5904\u7406\u7684\u5f02\u5e38\u3002\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u5f02\u5e38\u5806\u6808\u8ddf\u8e2a\u4fe1\u606f\u786e\u5b9a\u6709\u5173\u5f02\u5e38\u539f\u56e0\u548c\u53d1\u751f\u4f4d\u7f6e\u7684\u4fe1\u606f\u3002&nbsp; <\/p>\n<p>\u5806\u6808\u8ddf\u8e2a: <\/p>\n<p>[HostingEnvironmentException: \u8bbf\u95ee IIS \u5143\u6570\u636e\u5e93\u5931\u8d25\u3002]<br \/>&nbsp;&nbsp; System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String <br \/>siteID, VirtualPath path) +690<br \/>&nbsp;&nbsp; <br \/>System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9<br \/>&nbsp;&nbsp; System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath <br \/>virtualPath, Boolean permitNull) +174<br \/>&nbsp;&nbsp; System.Web.CachedPathData.GetConfigPathData(String configPath) +398<br \/>&nbsp;&nbsp; System.Web.CachedPathData.GetConfigPathData(String configPath) +263<br \/>&nbsp;&nbsp; System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, <br \/>Boolean permitPathsOutsideApp) +166<br \/>&nbsp;&nbsp; System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath <br \/>path) +187<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\u7248\u672c\u4fe1\u606f: Microsoft .NET Framework \u7248\u672c:2.0.50727.42; ASP.NET \u7248\u672c:2.0.50727.42 <\/p >\n<p >\u89e3\u51b3\u65b9\u6848\uff1a<\/p >\n<p >\u5728\u8fd0\u884c\u4e2d\u8f93\u5165cmd\uff0c\u7136\u540e\u5728MSDOS\u73af\u5883\u4e0b\u8f93\u5165\uff1a<\/p >\n<p >cd&nbsp;&nbsp; C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\uff0c\u56de\u8f66<\/p >\n<p >\u7136\u540e\u8f93\u5165aspnet_regiis \/r \uff0c\u56de\u8f66\uff0c\u95ee\u9898\u89e3\u51b3\u3002<\/p ><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u8bbf\u95ee IIS \u5143\u6570\u636e\u5e93\u5931\u8d25\u3002 \u8bf4\u660e: \u6267\u884c\u5f53\u524d Web \u8bf7\u6c42\u671f\u95f4\uff0c\u51fa\u73b0\u672a\u5904\u7406\u7684\u5f02\u5e38\u3002\u8bf7\u68c0\u67e5\u5806\u6808\u8ddf\u8e2a\u4fe1\u606f\uff0c\u4ee5\u4e86\u89e3 &hellip; <a href=\"https:\/\/sincebirth.space\/?p=478\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u8bbf\u95ee IIS \u5143\u6570\u636e\u5e93\u5931\u8d25\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-478","post","type-post","status-publish","format-standard","hentry","category-all"],"views":1671,"_links":{"self":[{"href":"https:\/\/sincebirth.space\/index.php?rest_route=\/wp\/v2\/posts\/478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sincebirth.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sincebirth.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sincebirth.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=478"}],"version-history":[{"count":0,"href":"https:\/\/sincebirth.space\/index.php?rest_route=\/wp\/v2\/posts\/478\/revisions"}],"wp:attachment":[{"href":"https:\/\/sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}