I have a mixed modes application that will occasionally stop executing managed code assemblies after a Windows update. This has been occurring for over a month now so I have not been able to identify any particular update as the problem. We
see the problem predominately on XPSP3 but have also seen several times on Vista and once or twice on 7. On a machine that stops working the Fusion log will show a file not found error on the last assembly loaded.
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: AProvider.Data.SqlClient.resources, Version=188.8.131.52, Culture=en, PublicKeyToken=c84cd5c63851e072
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
ERR: Unrecoverable error occurred during pre-download check (hr = 0x80070002).
If I delete this assembly, the application will run although not correctly since the data layer has been removed but it does execute as expected instead of hanging.
If we run Procmon and watch the probes the correct folders are searched and the images show as loading. But execution fails, either the application hangs or exits.
If we move the assemblies to a 'special' folder such as Program Files or Documents, regasm the p
View Complete Post