Tuesday, November 29, 2011

Unable to connect to the asp.net development server



Found with this error when I tried to run my code in Visual Studio 2008.
Don't know why it turns out like that, but the solution is simple.


Just replace an exe file and the code runs well. :)
The file is 'WebDev.WebServer.Exe'


I found the solution on the net too! :)


You can download it here [link] and replace it at the dedicated folder.


In my machine the file located at 'C:\Program Files\Common Files\Microsoft Shared\DevServer\9.0'


Well, the problem is just a minor problem but if we don't know how to fix it, it takes time.
But after all, learn from experience :)



Tuesday, November 1, 2011

Microsoft Office 2007 installation error

Somehow when I try to install Microsoft Office 2007 on my laptop (Winndows XP, SP2), the installation wasn't success. It keep telling me that the installation cannot be done.

The error message was as below:

The windows installer service cannot update one or more protected windows files.

After few trials, I googled and found the solution. There is a dll file missing therefore the installer can't find it in the dedicated folder. Why and how the file is not there, I dont know.

Anyway, the solution is easy,just copy the dll file from another machine and paste it in the correct path and try to install it again. It works! 

Details about the steps are as below:
  1. On the other machine, open C:\Program Files\Common Files\Microsoft Shared\Web Services Extension\Bin\40.
  2. Copy Fp4autl.dll and save it to a USB drive.
  3. On you machine which missing the dll file, copy and paste Fp4autl.dll to C:\Program Files\Common Files\Microsoft Shared\Web Server Extension\Bin\40.
  4. Start your installation again and i'll be ok :)