2016-09-27 44 views
0

私は、IIS 8のウィンドウサーバー2012でサーバーアプリケーションプールが断続的に停止していましたが、インターネット上の解決策のどれもがイベントビューアーに記録された問題を解決しません。以下はIIS 8アプリケーションプールが断続的に停止しています

Log Name:  Application 
Source:  ASP.NET 2.0.50727.0 
Date:   9/20/2016 10:12:45 AM 
Event ID:  1334 
Task Category: None 
Level:   Error 
Keywords:  Classic 
User:   N/A 

Description: 
Failed to initialize the AppDomain:XXXXXXXXXXX 

Exception: System.IO.FileNotFoundException 

Message: Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. 

StackTrace: at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) 
    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) 
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) 
    at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) 
    at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark) 
    at System.Activator.CreateInstance(String assemblyName, String typeName) 
    at System.AppDomain.CreateInstance(String assemblyName, String typeName) 
    at System.AppDomain.CreateInstance(String assemblyName, String typeName) 
    at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) 
    at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) 

InnerException: System.IO.FileNotFoundException 

Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. 

StackTrace: 
Event Xml: 
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
    <System> 
    <Provider Name="ASP.NET 2.0.50727.0" /> 
    <EventID Qualifiers="49152">1 </EventID> 
    <Level>2</Level> 
    <Task>0</Task> 
    <Keywords>0x80000000000000</Keywords> 
    <TimeCreated SystemTime="2016-09-20T13:12:43.000000000Z" /> 
    <EventRecordID>1778581</EventRecordID> 
    <Channel>Application</Channel> 
    <Computer>flkdflfldkdflfkdlf</Computer> 
    <Security /> 
    </System> 
    <EventData> 
    <Data>Failed to initialize the AppDomain:XXXXXXXXX 

Exception: System.IO.FileNotFoundException 

Message: Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. 

StackTrace: at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) 
    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) 
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) 
    at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) 
    at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark&amp; stackMark) 
    at System.Activator.CreateInstance(String assemblyName, String typeName) 
    at System.AppDomain.CreateInstance(String assemblyName, String typeName) 
    at System.AppDomain.CreateInstance(String assemblyName, String typeName) 
    at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) 
    at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) 

InnerException: System.IO.FileNotFoundException 

Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. 

StackTrace: </Data> 
    </EventData> 
</Event> 

答えて

0

をログに記録されたばかりのエラーには、2.0から4.0に、このアプリケーションのアプリケーションプールを変更してみてくださいされています。 4.0のコンポーネントを2.0のアプリケーションプールにロードしようとしているようです。

アプリケーションが実際に2.0アプリケーションであるときにアプリケーションが4.0コンポーネントを参照している場合、アプリケーション開発者はコードを変更する必要がありますか、あるいは間違ったアプリケーションプールに設定されているだけでしょうか?

+0

しかし、それは常に起こるはずですが、3〜4日で1回起こります。 –

+0

同じアプリケーションプールにいくつのアプリケーションがありますか?場合によっては、プールがリサイクルされるときに、そのプール内の最初のアプリケーションがヒットし、DLLの負荷が上がることがあります。その後、他のアプリがヒットし、間違ったDLLがそのプールに読み込まれます。アプリケーションを独自のプールに分けることもできるので、同じプール内の他のアプリケーションDLLやバージョン管理と競合することはありません。 – Henry

関連する問題