Artikel ID: 2263996 - Bekijk de producten waarop dit artikel van toepassing is.
If an assembly file in the GAC (Global Access Cache) has been locked or is "in use" it can cause .NET Framework patches to fail. This problem can be exacerbated by a bug in the way fusion handles the rollback and can cause files to be deleted. This will result in managed applications (those applications that depend on framework assemblies) to fail. For more information, visit the following Microsoft Website:
2260913 Files in use or File Locks can Result in Framework Assembly Files being deletedThe failing patch MSI Verbose log might contain something like this:
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.dll' because of system error: Access is denied.
06/22/10 11:57:26 DDSet_Status: Sleeping 100ms...
MSI (s) (54!70) [11:57:26:738]: Product: Microsoft .NET Framework 2.0 Service Pack 2 -- There is a problem with this Windows Installer package. Please refer to the setup log for more information.
There is a problem with this Windows Installer package. Please refer to the setup log for more information.
06/22/10 11:57:26 DDSet_CARetVal: 0
06/22/10 11:57:26 DDSet_Exit: InstallAssembly ended with return value 1603
MSI (s) (54:94) [11:57:26:758]: User policy value 'DisableRollback' is 0
MSI (s) (54:94) [11:57:26:758]: Machine policy value 'DisableRollback' is 0
Action ended 11:57:26: InstallExecute. Return value 3.
02/22/10 08:38:32 DDSet_Status: Sleeping 100ms...
02/22/10 08:38:32 DDSet_Error: Failed to install assembly C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.dll. IAssemblyCache->InstallAssembly() returned -2147024864.
02/22/10 08:38:32 DDSet_Error: Failed to install assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.dll' because of system error: The process cannot access the file because it is being used by another process.
If assemblies are "in use" or locked when a patch is applied, the patch will fail.
This problem can be avoided by ensuring processes are not running that can put a lock on the assemblies.
To detect whether assemblies are being used, follow these steps:
Artikel ID: 2263996 - Laatste beoordeling: donderdag 25 augustus 2011 - Wijziging: 7.0