Search This Blog

Sunday, October 21, 2007

Could not load file or assembly 'Microsoft.Data.ConnectionUI' or one of its dependencies - Visual Studio 2005 SDK

I have noticed that after installing Visual Studio 2005 SDK one of my web projects has stopped running in Visual Studio raising an exception that says: "Could not load file or assembly 'Microsoft.Data.ConnectionUI' or one of its dependencies". After some investigation I have found that the file exists also under the common assemblies directory of the SDK (C:\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration\Common\Assemblies) and somehow although I do not use the assembly it is copied as a reference. The solution for that was deleting the file from the SDK common assemblies folder (since it is already contained in the framework). After the first deletion I made I had to delete another assembly from that folder and the project was running again.

Wednesday, October 10, 2007

Keyboard Language On Login Screen Not Set To Default

When installing windows with default language not set to english and changing it after installation you will notice that on the login screen the language is set to the language selected during installation. To change it english you need to edit the registry key HKEY_USERS\.DEFAULT\Keyboard Layout\Preload. In this key you will find probably 2 values named 1 and 2. You need to switch between the values so that the value named 1 will be set to 00000409 which is english. It happens to me when I get a new computer that is from a specific vendor and the OS is already installed.