Get the following error periodically in an IIS application:
在IIS应用程序中定期获取以下错误:
Failed to load resources from resource file.
无法从资源文件加载资源。
The full error message in the Application Event Log is:
应用程序事件日志中的完整错误消息是:
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运行时事件类别:无事件ID:0日期:8/8/2008时间:8:8:8 AM用户:N / A计算机:BLAH123描述:事件ID的描述(0 )无法找到源(.NET运行时)。 >本地计算机可能没有必要的注册表信息或消息DLL文件来>显示来自远程计算机的消息。您可以使用/ AUXSOURCE =标志来检索此描述;请参阅帮助和支持以获取详细信以下信息是事件的一部分:.NET运行时版本1.1.4322.2407-安装程序错误:无法从资源文件加载资源请检查您的安装程序。
Application is written in .NET 1.1 but the server runs ASP.NET 2.0. Thanx.
应用程序是用.NET 1.1编写的,但服务器运行的是ASP.NET 2.0。感谢名单。
Update: Meant to say ASP.NET 2.0 is installed but the default website folder, and the websites inside the folder, are set to ASP.NET 1.1. On the website folder the ISAPI Filter is set to ASP.NET 2.0. My first guess about the problem was having ASP.NET 1.1 and ASP.NET 2.0 running side by side.
更新:意味着安装了ASP.NET 2.0,但默认的网站文件夹和文件夹中的网站设置为ASP.NET 1.1。在网站文件夹上,ISAPI筛选器设置为ASP.NET 2.0。我对这个问题的第一个猜测是并行运行ASP.NET 1.1和ASP.NET 2.0。
Update 2: ASP.NET 2.0 is installed but all the websites run only ASP.NET 1.1 (long story and happened before I started).
更新2:安装了ASP.NET 2.0,但所有网站只运行ASP.NET 1.1(长篇故事,发生在我开始之前)。
4 个解决方案
#1
1
Do you have .NET 1.1 and .NET 2.0 apps running on the web server? We had some instances of a similar nature around here and the resolution we found was to create two app pools, one for 1.1 apps and one for 2.0 apps and to assign each application accordingly.
您是否在Web服务器上运行.NET 1.1和.NET 2.0应用程序?我们在这里有一些类似性质的实例,我们发现的解决方案是创建两个应用程序池,一个用于1.1应用程序,一个用于2.0应用程序,并相应地分配每个应用程序。
#2
0
Do you get a different error without the ISAPI filter in place?
如果没有ISAPI过滤器,您会得到不同的错误吗?
#3
0
This error sometimes occurs when a request happens at the exact time that you are rebuilding the application (after a web.config change or a plain recompilation) and IIS cannot find the file in the temporary folders.
当您在重建应用程序的确切时间(在web.config更改或简单重新编译之后)发生请求并且IIS无法在临时文件夹中找到该文件时,有时会发生此错误。
#4
0
Question was asked before Server Fault, where it probably belongs. Anyway, I never did figure out the error so assume it's closed.
在服务器故障之前询问了问题,它可能属于它。无论如何,我从未弄清楚错误,所以假设它已经关闭。
#1
1
Do you have .NET 1.1 and .NET 2.0 apps running on the web server? We had some instances of a similar nature around here and the resolution we found was to create two app pools, one for 1.1 apps and one for 2.0 apps and to assign each application accordingly.
您是否在Web服务器上运行.NET 1.1和.NET 2.0应用程序?我们在这里有一些类似性质的实例,我们发现的解决方案是创建两个应用程序池,一个用于1.1应用程序,一个用于2.0应用程序,并相应地分配每个应用程序。
#2
0
Do you get a different error without the ISAPI filter in place?
如果没有ISAPI过滤器,您会得到不同的错误吗?
#3
0
This error sometimes occurs when a request happens at the exact time that you are rebuilding the application (after a web.config change or a plain recompilation) and IIS cannot find the file in the temporary folders.
当您在重建应用程序的确切时间(在web.config更改或简单重新编译之后)发生请求并且IIS无法在临时文件夹中找到该文件时,有时会发生此错误。
#4
0
Question was asked before Server Fault, where it probably belongs. Anyway, I never did figure out the error so assume it's closed.
在服务器故障之前询问了问题,它可能属于它。无论如何,我从未弄清楚错误,所以假设它已经关闭。