Resolving Assembly Version Issues by Cleaning the Global Assembly Cache (GAC)
You might encounter assembly version conflicts if an incomplete uninstall of a previous dotConnect provider leaves an empty folder in the Global Assembly Cache (GAC). This is an uncommon occurrence.
Accessing the Global Assembly Cache:
The Global Assembly Cache (GAC) is typically located at:
C:\Windows\assembly\GAC_MSIL\

Note: you cannot directly access this folder using standard Windows Explorer due to its special shell extension.
Solution 1: Using a File Manager with System Administrator Permissions
For easier access, use a file manager (such as Unreal Commander) that allows viewing hidden and system files. Run the file manager with system administrator privileges. Navigate to the C:\Windows\assembly\GAC_MSIL\ folder and delete the Devart.Data folder.
Solution 2: Disabling the GAC Shell Extension in Explorer
If you only have Windows Explorer, you can disable the GAC shell extension to access the folder's contents. The shell extension is enabled through the Desktop.ini file within the assembly folder. Follow these steps in Command Prompt:
1. Navigate to the GAC folder:
cd %windir%\assembly
2. Remove system and hidden attributes from the Desktop.ini file:
attrib –s –h desktop.ini
3. Rename the Desktop.ini file to disable the shell extension:
ren Desktop.ini Desktop.ini.disabled
After executing these commands, you can use Windows Explorer to navigate to the %windir%\assembly\GAC_MSIL\ folder and delete the Devart.Data folder.
Finally, to re-enable the GAC shell extension, rename the Desktop.ini.disabled file back to Desktop.ini in the Command Prompt:
ren Desktop.ini.disabled Desktop.ini
Related Articles
Assembly version is found in Global Assembly Cache
The issue can occur if gacutil left an empty folder in the \GAC_MSIL\ after uninstalling a previous version of a dotConnect provider. This is a very rare case in fact. The Global Assembly Cache can be found here: ...
Troubleshooting Devart Account or File Download Issues
If you’re experiencing problems with accessing your Devart account, pages not loading correctly, or being unable to download files, please follow the steps below to troubleshoot the issue and help our support team assist you efficiently. Before ...
PgDAC activation after installation of trial version
To activate your PgDAC product after purchasing a license, no additional activation steps are required. However, if you previously installed a trial version of the DAC product, you need to follow these steps: Uninstall the Trial Version: Use the ...
Troubleshooting Manual Activation issues
If you are experiencing difficulties with Manual Activation despite following the documentation in the Licensing and Activation section for your product (available at Devart Documentation), please consider the following steps to resolve the issue. ...
Troubleshooting Debugger Configuration Issues
It is essential for us to ensure that you have reviewed and fully followed all the steps for configuring the debugger as outlined in the link below: Configure the Debugger Please pay special attention to the following key points: Verify that the ...