2008-08-25 130 views
1

加载资源IIS应用程序定期收到以下错误:无法从资源文件

Failed to load resources from resource file.

在应用程序事件日志完整的错误信息是:

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 8/8/2008
Time: 8:8:8 AM
User: N/A
Computer: BLAH123
Description:
The description for Event ID (0) in Source (.NET Runtime) cannot be found. The >local computer may not have the necessary registry information or message DLL files to >display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: .NET Runtime version 1.1.4322.2407- Setup Error: Failed to load resources from resource file
Please check your Setup.

应用被写入了数据。 NET 1.1但服务器运行ASP.NET 2.0。感谢名单。

更新:意思是说安装了ASP.NET 2.0,但默认网站文件夹以及该文件夹内的网站都设置为ASP.NET 1.1。在网站文件夹ISAPI筛选器被设置为ASP.NET 2.0。我对这个问题的第一个猜测是让ASP.NET 1.1和ASP.NET 2.0并行运行。

更新2:安装了ASP.NET 2.0,但所有网站只运行ASP.NET 1.1(长篇故事,发生在我开始之前)。

回答

0

服务器故障之前,它可能属于它的问题。无论如何,我从来没有弄清楚这个错误,所以假设它是关闭的。

0

如果没有ISAPI过滤器,你会得到一个不同的错误吗?

1

您是否在Web服务器上运行.NET 1.1和.NET 2.0应用程序?我们在这里有一些类似的实例,我们发现的解决方案是创建两个应用程序池,一个用于1.1应用程序,另一个用于2.0应用程序并相应地分配每个应用程序。

0

当您在重建应用程序的确切时间(在web.config更改或纯文本重新编译之后)发生请求并且IIS无法在临时文件夹中找到该文件时,有时会发生此错误。