Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • Install Self-signed SSL with IIS 6.0

    Posted on September 23rd, 2010 Sean Add comments

         The IIS 6.0 resource kit is provided by Microsoft for installing a self-signed testing certificate into IIS. To install it, do follow:

    1. Download IIS 6.0 resource kit tools from Here
    2. Install the resource kit, but only for Windows Server 2003 or Windows XP
    3. Go to Start Menu -> All Progrem -> IIS resource -> SelfSSL, click “SelfSSL”
    4. In the pop-up command prompt, type “selfssl” to run the program
    5. Type “Y” to apply the setting to the website in IIS
    6. Test your website by using URL “https://user_website”
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    705 views
  • Ubuntu Desktop Screen Upside down??

    Posted on September 3rd, 2010 Sean 2 comments

         I used to have an Nvidia video card on Ubuntu and use Nvidia Xserver drive for it, but couple days ago I decided to remove that card and use the onboard video card which is INTEL GMA 950.
         After take the Nvidia out, I have to generate the new xorg.conf file for the X Windows and new video device. So, just use Ctrl + Alt + F1 switch to text mode, and run:

         After reboot, the desktop screen become to upside down. Even can’t type anything in terminal. To fix it, just switch to text mode again, rename “/etc/X11/xorg.conf” to “/etc/X11/xorg.conf.new”, then reboot. The screen is back to normal but no video driver, then use synaptic to find any package beginning with “nvidia”, and remove them all. Last thing is change “/etc/X11/xorg.conf.new” back to “/etc/X11/xorg.conf” and reboot, then all set.

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    827 views
  • Fixing “Unable to get the project file from the Web Server”

    Posted on August 24th, 2010 Sean 5 comments

         When trying to open an existing project in Visual Studio 2003, if keep getting a pop up message “Unable to get the project file from the Web Server”:

         Try following to fix the problem:

    1. Check the webinfo file, make sure the “URLPath” is correct.
    2. Recreate the virtual directory for it and restart IIS.
    3. Delete the project cache in “C:Documents and SettingsusernameVSWebCache”
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    991 views
  • Multiple websites in IIS on Windows XP Pro

    Posted on August 17th, 2010 Sean Add comments

         Unlike Windows Server Edition, XP pro does not support multiple websites in IIS. However, we still can use several ways around this.
         First option, just use IIS Admin, a simple program developed by a third-party developer for this purpose. (Download From Here)
         The second option is to use adsutil.vbs, located in the folder “C:\Inetpub\AdminScripts”:

         Where x is replaced by the new numbered site. For example if you run the first command and the highest numbered site is 4, then replace x to 5.

         The third option is to use Metabase Explorer from the IIS 6.0 Resource Kit Tools.Copy the default website (/LM/W3SVC/1/) and then paste it. This will also give you another website, ready to use. (Download From Here)
         Also we can delete the website using adsutil.vbs, Metabase Explorer or ADSI/WMI. To delete a website using adsutil.vbs, write this in a command prompt:

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    606 views
  • Visual Studio Website Administration Tool & SQL Server Express

    Posted on June 24th, 2010 Sean 1 comment

          In Visual Studio the Website Administration Tool lets you view and manage the Web site configuration through a simple Web interface. But sometimes there is problem which is when using the Website Administration Tool to make a new connection for a new website, for example, using the security tab of the Website Administration Tool to manage rules for securing specific resources in the web application or website, it will display an error message “Unable to connect to SQL Server database”, even you have SQL Server Express installed and no problem to connect to it.
          To solve this problem, try one or more of the following ways:
    Read the rest of this entry »

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    887 views