Archive for April, 2010

Error 1402 Visual Studio 2008 installation

Tuesday, April 27th, 2010

My Visual Studio installation was delete from a disk, so I tried to reinstall it.

In the middle of the installation i received an Error 1402 Could not open registery key <GUI>.

I tried to fix it manually but without success.

Try to reset the hole registry permissions with this command:

Windows 7 and Vista:

secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

Make sure you run this command as Administrator.

IIS not showing images and CSS

Friday, April 23rd, 2010

The problem:

I loaded a ASP.NET application on my Windows 7 IIS 7.5 installation. The code compiled fine but..

When I opened the website http://localhost/myapp it didnt show me any images or CSS. Only text on a blank page.

The solution for me was to install the “Static Content” support for IIS.

  1. Go to  “Turn Windows features on or off”
  2. Select Internet Information Services
  3. Select World Wide Web Services
  4. And check Static Content

Hope it will help someone :-)