我有一个不可能的时间让asp.net 4.0以任何方式工作。事实上,我完全删除了服务器,重新安装了服务器2008 R2标准(运行在VMWare ESXi框上,这并不重要),甚至无法让测试.aspx页面正常工作。
这正是我所做的:
我遗漏了什么?我已经有一段时间没有接触到IIS了(3+年),所以它可能是愚蠢/流行的东西。请指出它,叫我一个菜鸟,我的自我可以接受它。
谢谢,戴夫
test.aspx
<% @Page language="C# %> Test.aspx “
错误页面:
Module AspNetInitClrHostFailureModule
Notification BeginRequest
Handler PageHandlerFactory-Integrated-4.0
Error Code 0x80070002
Requested URL http://localhost:80/test.aspx
Physical Path C:\inetpub\wwwroot\test.aspx
Logon Method Not yet determined
Logon User Not yet determined
追踪:
在我的追踪文件里我得到:
96. view trace Warning -SET_RESPONSE_ERROR_DESCRIPTION
ErrorDescription 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.
97. view trace Warning -MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName AspNetInitClrHostFailureModule
Notification 1
HttpStatus 500
HttpReason Internal Server Error
HttpSubStatus 0
ErrorCode 2147942402
ConfigExceptionInfo
Notification BEGIN_REQUEST
ErrorCode The system cannot find the file specified. (0x80070002)
应用程序错误日志显示:
Log Name: Application
Source: Microsoft-Windows-IIS-W3SVC-WP
Date: 5/28/2010 2:08:10 PM
Event ID: 2299
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: win-ltfkdo1dnfp
Description:
An application has reported as being unhealthy. The worker process will now request a recycle. Reason given: 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. The data is the error.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
<EventID Qualifiers="49152">2299</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-05-28T21:08:10.000000000Z" />
<EventRecordID>1663</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>win-ltfkdo1dnfp</Computer>
<Security />
</System>
<EventData>
<Data Name="Reason">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.
</Data>
<Binary>02000780</Binary>
</EventData>
</Event>
发布于 2011-10-28 13:39:21
这可能很奇怪..。但是,仅做上述工作,以及所有其他站点(下面的链接)关于application.host文件更改或在框架和framework64文件夹上执行iisreg的内容。没有为我解决类似的问题。
我的应用程序可能有大约32位依赖项,这也导致了上面的错误(而不是像通常那样说错误的二进制格式),我更改了我的应用程序池以允许32位模式(WoW模式),然后我得到二进制格式问题reported..which,然后修复以解决这些问题。
其他有建议的网站:
https://stackoverflow.com/questions/2961837
复制相似问题