Reski's hobbies blog place…

This is not just about me, but also bout my family

Archive for the ‘Programming’ Category

October 29th, 2009 by ayah

Git Tips & Tricks

Another tips and tricks for Git usage, take a look here .

October 29th, 2009 by ayah

Right Click to Start your Cassini Web Server

As you all know, cassini (internal web server) which is used by Visual Studio (start from 2005 then 2008), is can be easily activate without starting visual studio.
Below, taken from Phil Haacked website, the configuration for your Windows

32 bit (x86)
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2008 WebServer]
@="ASP.NET Web Server Here"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2008 WebServer\command]
@="C:\\Program Files\\Common Files\\microsoft shared\\DevServer
\\9.0\\Webdev.WebServer.exe /port:8080 /path:\"%1\""

64 bit (x64)
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2008 WebServer]
@="ASP.NET Web Server Here"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2008 WebServer\command]
@="C:\\Program Files (x86)\\Common Files\\microsoft shared\\DevServer
\\9.0\\Webdev.WebServer.exe /port:8080 /path:\"%1\""

If your using Visual Studio 2010 beta 2, you can use below configuration

32 bit (x86)
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2010 WebServer]
@="ASP.NET 4 Web Server Here"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2010 WebServer\command]
@="C:\\Program Files\\Common Files\\microsoft shared\\DevServer
\\10.0\\Webdev.WebServer40.exe /port:8081 /path:\"%1\""

64 bit (x64)
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2010 WebServer]
@="ASP.NET 4 Web Server Here"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2010 WebServer\command]
@="C:\\Program Files (x86)\\Common Files\\microsoft shared\\DevServer
\\10.0\\Webdev.WebServer40.exe /port:8081 /path:\"%1\""

October 29th, 2009 by ayah

Jquery Tips & Tricks

Start from now on, I will dedicate this page to update any relevant tips and tricks relate with jquery

  1. 35 more useful Jquery
October 23rd, 2009 by ayah

ASP.NET MVC 1.0 + IIS6 = Error 404

Have you found this problem when you tried to deploy your asp.net MVC 1.0 within IIS 6.0 server ? I do...

After search for awhile I found out there are several solutions for this problem. Four of them, you can find it here . But I found out, that it's not the easiest thing to do. The easiest solutions is here

Option 1: Use a wildcard mapping for aspnet_isapi.dll This tells IIS 6 to process all requests using ASP.NET, so routing is always invoked, and there’s no problem. It’s dead easy to set up: open IIS manager, right-click your app, go to Properties, then Home Directory tab, then click Configuration. Under Wildcard application maps, click Insert (not Add, which is confusingly just above), then enter C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll for “Executable”, and uncheck Verify that file exists

October 8th, 2009 by ayah

All about SSL Certificate

To Generate Request (CSR) : https://search.thawte.com/support/ssl-digital-certificates/index?page=content&id=so2657

To Generate Request without Removing Current Certificate : https://search.thawte.com/support/ssl-digital-certificates/index?page=content&id=so3881

Import Private Key (PFX) : https://search.thawte.com/support/ssl-digital-certificates/index?page=content&id=SO1703

To Restore Pending Request (CSR) : https://search.thawte.com/support/ssl-digital-certificates/index?page=content&id=SO6263&actp=search&viewlocale=en_US&searchid=1255034646151

If you get Error Message Error: A fatal error occurred when attempting to access the SSL server credential private key. - 0x80090016 : https://search.thawte.com/support/ssl-digital-certificates/index?page=content&id=SO377&actp=search&viewlocale=en_US&searchid=1255035476123

additional info :

http://www.eventid.net/display.asp?eventid=36870&eventno=1099&source=Schannel&phase=1