Problem:
Signed Applications/dlls load slowly in Vista. Visual Studio IDE 'Hangs' on offline/non-internet-connected workstations. Without internet connectivity the certificate revocation check times out and causes applications to hang. When debugging/stepping through code dlls are loaded as needed and this is when the revocation check is attempted and the VS IDE becomes unresponsive.
What this effects:
This effects all signed applications/dlls and is also the reason for Microsoft Word/Excel taking so long to open a simple document. Office applications, SQL Management Studio, Visual Studio, Web Applications that use a certificate.
Fix:
Disable checking of Publisher's Certificate Revocation
Via IE:
- Go to Internet Options in IE 7
- Then go to the Security Tab, scroll towards the bottom
- Uncheck the 'Check for Publisher's Certificate Revocation' checkbox
- Click OK
Via the registry:
- Open regedit
- Browse to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing
- To disable the check:
Change the value of the State key to 146944 Decimal or 0x00023e00 Hexadecimal
To re-enable the check:
Change the value of the State key to 146432 Decimal or 0x00023c00 Hexadecimal
Alternate Fix:
Disable the Visual Studio Hosting Process:
- Open a project in Visual Studio.
- On the Project menu, click Properties.
- Click the Debug tab.
- Clear the Enable the Visual Studio hosting process check box.
Note: The Alternate Fix causes the loss of some debugging functionality.
Background:
Microsoft Connect Report