Follow

No Playback - Corrupt temp asp.net files – Webhost failed to process a request

No Playback - Corrupt temp asp.net files – Webhost failed to process a request

We have resolved a customer issue with the following error messages:

Event Type: Error
Event Source: System.ServiceModel 3.0.0.0
Event Category: (5)
Event ID: 3
Date:  8/2/2013
Time:  9:35:45 AM
User:  NT AUTHORITY\NETWORK SERVICE
Computer: XXXXXXXXXXX
Description:
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/2863675
Exception: System.ServiceModel.ServiceActivationException: The service '/ESMWCF/ESM.svc' cannot be activated due to an exception during compilation.  The exception message is: Could not load file or assembly 'App_global.asax.stjbf7kr, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.. ---> System.IO.FileNotFoundException: Could not load file or assembly 'App_global.asax.stjbf7kr, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'App_global.asax.stjbf7kr, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
   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.Reflection.Assembly.Load(String assemblyString)
   at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)

This particular server was Windows Server 2003 R2 running in a virtual environment set up as an archive only server.

It was determined that the .asp net files were corrupted.  The reason was not determined at this time. (Customer related that these are VM environments and they get moved from time to time but are the same “virtual” server.)

 

Here are the steps to take to delete these corrupt temporary asp.net files:

  1. Stop the ipConfigure Archive Creation and ipConfigure Recording Control Services
  2. From CMD prompt (made need to run as administrator) - IISRESET /Stop
  3. Navigate to the temporary asp.net files and delete both 32 and 64-bit temporary asp.net files (\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files)
  4. IISRESET /start
  5. Restart archive/ recording services  (recreates two folders)
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk