Richard Parmiter

Virtualisation blog and Knowledge Base

  • You are here: 
  • Home
  • .NET Applications – Assembly cache

.NET Applications – Assembly cache

Posted on December 12th, 2008

During troubleshooting of an application I have discovered the following information.

Application: Interlink Service Control Manager v1.3.0.36 (SC_Manager)

Problem: After launching the app, you enter credentials and then the app closes.

Troubleshooting: Regmon / filemon / procmon show nothing unusual. The same happens as an admin. The Eventvwr has the following entry:

Event Type:    Error
Event Source:    .NET Runtime
Event Category:    None
Event ID:    1023
.NET Runtime version 2.0.50727.1433 – Fatal Execution Engine Error (79FFEE24) (80131506)

Researching this error gives the following Microsoft knowledge base article – KB913384. Installing the recommended hotfix did not resolve the problem in this case.

.NET applications seem to cache stuff to the following location:

  • C:\WINDOWS\assembly\NativeImages_v2.0.50727_32

FYI – The only way to get to this folder it Start | Run and paste this in. Browsing in My Computer doesn’t show this, even when you are showing all files inluding protected ones.

There are a bunch of folders here corresponding to the cached components. In my case the mscorlib file was getting cached so I remove the cached file from this location:

  • C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\32e6f703c114f3a971cbe706586e3655\

Relaunching the app now worked fine.

I still have no idea why this happenned on multiple servers. There didn’t appear to be any hotfixes installed or changes to the system in between it working and then not working. If I find an answer i’ll post it here.

If anyone has more information as to how .NET apps use this caching location please post the links below.

  • Digg
  • StumbleUpon
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • Add to favorites
  • FriendFeed
  • Google Buzz
  • LinkedIn
  • Live
  • MySpace
  • Reddit
  • RSS

Tags: , , , ,
Filed under Applications |

Leave a Reply