CacheRasterDB.dll crash

Discussion created by drempel on Dec 10, 2010
Latest reply on Dec 4, 2012 by peteb_nice
When we load the Bing Maps.lyr file programmatically and then set ILayer.Cached = true, we sometimes can an unexplainable and and untraceable crash.  The only evidence comes from the Windows Event Log with the following:

Application: MyApp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 1A5B246C

Faulting application name: MyApp.exe, version:, time stamp: 0x4cf54af6
Faulting module name: CacheRasterDB.dll, version:, time stamp: 0x4bf44658
Exception code: 0xc0000005
Fault offset: 0x0000246c
Faulting process id: 0x100c
Faulting application start time: 0x01cb970989f4e920
Faulting application path: C:\Program Files (x86)\MyApp\MyApp.exe
Faulting module path: C:\PROGRAM FILES (X86)\ARCGIS\ENGINE10.0\bin\CacheRasterDB.dll
Report Id: f69ca0c0-0303-11e0-b10f-001d92890dba

Anyone else ever seen anything like this?  We have noticed that ESRI ArcEngine cannot gracefully handle a loss of network connection when using these .lyr files on some machines.