{"id":61,"date":"2006-09-14T10:35:40","date_gmt":"2006-09-14T02:35:40","guid":{"rendered":"http:\/\/fri.sh\/?p=61"},"modified":"2006-09-14T10:35:40","modified_gmt":"2006-09-14T02:35:40","slug":"%e8%bd%ac-iis-%e7%9a%84asp%e4%b8%8d%e8%83%bd%e8%ae%bf%e9%97%ae%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/fri.sh\/blog\/2006\/%e8%bd%ac-iis-%e7%9a%84asp%e4%b8%8d%e8%83%bd%e8%ae%bf%e9%97%ae%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95\/","title":{"rendered":"|\u8f6c| IIS \u7684ASP\u4e0d\u80fd\u8bbf\u95ee\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>\u6211\u7684winXP professional\u4e0b\u7684IIS\u65e0\u6cd5\u6b63\u5e38\u663e\u793aASP\u9875,\u63d0\u793a\u4fe1\u606f\u5982\u4e0b:<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>Server Application Error<\/p>\n<p>The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>\u65e5\u5fd7\u4fe1\u606f\u5982\u4e0b:<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>The server failed to load application &#8216;\/LM\/W3SVC\/1\/ROOT&#8217;.  The error was &#8216;The server process could not be started because the configured identity is incorrect.  Check the username and password.<\/p>\n<p>&#8216;. <\/p>\n<p>For additional information specific to this message please visit the Microsoft Online Support site located at: http:\/\/www.microsoft.com\/contentredirect.asp.<\/p>\n<p>For more information, see Help and Support Center at http:\/\/go.microsoft.com\/fwlink\/events.asp.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>\u67e5\u5230\u7684\u65b9\u6cd5\u662f\u91cd\u65b0\u5efa\u7acbIIS\u5305,\u5982\u4e0b:<\/p>\n<p>1\u3001\u63a7\u5236\u9762\u677f&#8211;\u7ba1\u7406\u5de5\u5177&#8211;\u7ec4\u4ef6\u670d\u52a1&#8211;\u63a7\u5236\u53f0&#8211;\u7ec4\u4ef6\u670d\u52a1&#8211;\u8ba1\u7b97\u673a&#8211;COM+ Applications&#8211;\u5220\u9664IIS In-Process Applications\uff0c\u5220\u9664IIS Out-Of-Process Pooled Applications\uff0c\u5220\u9664IIS Utilities\uff08\u6ce8\u610f\uff1a\u9700\u8981\u5728\u5404\u9879\u5220\u9664\u7684\u9879\u76ee\u4e0a\u70b9\u53f3\u952e&#8211;\u5c5e\u6027&#8211;\u9ad8\u7ea7&#8211;\u70b9\u6389\u5220\u9664\u4fdd\u62a4\uff09<\/p>\n<p>2\u3001rundll32 c:\\windows\\system32\\indtsrv\\wamreg.dll, CreateIISPackage(\u6ce8\u610f\uff1a\u8fd9\u91cc\u7684\u8def\u5f84\u6839\u636e\u9700\u8981\u4fee\u6539)<\/p>\n<p>3\u3001\u91cd\u542fIIS\uff1aIISRESET<\/p>\n<p>\u73b0\u5728\u6253\u5f00\u6d4f\u89c8\u5668\u8bd5\u8bd5\uff0c\u53ef\u4ee5\u6b63\u5e38\u770b\u5230ASP\u9875\u9762\u4e86:)<\/p>\n<p>\u7f51\u4e0a\u6709\u7684\u4e2d\u6587\u63d0\u793a\u201c\u670d\u52a1\u5668\u65e0\u6cd5\u52a0\u8f7d\u5e94\u7528\u7a0b\u5e8f &#8216;\/LM\/W3SVC\/1\/ROOT&#8217;\u3002\u9519\u8bef\u662f &#8216;\u6ca1\u6709\u6ce8\u518c\u7c7b\u522b &#8216;\u201d\u7684\u9519\u8bef\u4e5f\u7528\u8fd9\u79cd\u65b9\u6cd5\u4fee\u590d\u3002<\/p>\n<p>\u4e0b\u9762\u9644\u82f1\u6587\u8bf4\u660e\uff1a<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>As a last resort, you can re-create the IIS packages. To do this, follow these steps:<\/p>\n<p>Browse to Component Services and delete the following packages:NOTE: To delete the packages, you must first open the properties of the package, click the Advanced tab, and then click to clear the Disable Deletion check box. <\/p>\n<p>IIS In-Process Applications<\/p>\n<p>IIS Out-of-Process Pooled Applications<\/p>\n<p>IIS Utilities<\/p>\n<p>Open a command prompt, and then use the following command to switch directories:<\/p>\n<p>cd %windir%\\system32\\inetsrv<\/p>\n<p>Run the following commands:<\/p>\n<p>rundll32 wamreg.dll, CreateIISPackage<\/p>\n<p>NOTE: &#8220;CreateIISPackage&#8221; must be typed exactly; it is case-sensitive. <\/p>\n<p>regsvr32 asptxn.dll<\/p>\n<p>Close and reopen Component Services. You should see all three IIS COM+ applications that have been recreated.<\/p>\n<p>Run IISRESET from a command line and test any ASP page that previously did not load correctly.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u91cd\u88c5\u5b8cwinxp \u53d1\u73b0\u672c\u5730ASP \u9875\u663e\u793a\u4e0d\u4e86<br \/>event log \u663e\u793a \u201c\u670d\u52a1\u5668\u65e0\u6cd5\u52a0\u8f7d\u5e94\u7528\u7a0b\u5e8f &#8216;\/LM\/W3SVC\/1\/ROOT&#8217;\u3002\u9519\u8bef\u662f &#8216;\u6ca1\u6709\u6ce8\u518c\u7c7b\u522b &#8216;\u201d\u7684\u9519\u8bef\u4e5f\u7528\u8fd9\u79cd\u65b9\u6cd5\u4fee\u590d\u3002<\/p>\n<p>\u6709\u4e00\u6837\u95ee\u9898\u7684\u670b\u53cb\u70b9\u8fdb\u6765\u770b\u770b\u5427<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[1,8],"tags":[45],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category--it","tag-iis-asp"],"_links":{"self":[{"href":"https:\/\/fri.sh\/blog\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fri.sh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fri.sh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fri.sh\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fri.sh\/blog\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":0,"href":"https:\/\/fri.sh\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"wp:attachment":[{"href":"https:\/\/fri.sh\/blog\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fri.sh\/blog\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fri.sh\/blog\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}