Search This Blog

September 28, 2007

Using a script to install IIS on Windows Vista and Windows Server 2008

If you want to do the full install of SQL server 2005 or SQL server 2008 on Windows Vista or Windows Server 2008, before you install Reporting service, you need to install IIS first. This is the prerequisite.

Now you can use a script to run the following command in the command prompt.

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

After a while, IIS features will be installed and you can move on to installing SQL Server.

It is a very useful command.

September 10, 2007

Windows Live Writer is still not reliable for Blogger Acount

In the blog world, I haven’t found a useful tool where you can easily add your own texts, drag and drop your photos from any location, and publish your articles to your blog successfully. When I heard that Microsoft wants to release a new product, Windows Live Writer many months ago, suddenly in my mind, it will be an excellent product in the future.

My expectation is so easy. It should be user-friendly. It can let users launch Windows Live Writer and add an existing account in, or whatever blog it supports.
Only you can do is to use Windows Live Writer as follows:

1. Add/modify texts.

2. Drag and drop multiple photos from your PC.

3. Modify your photo size that fits your blog.

4. Click “Publish”. Finally you can publish one article with many photos to your blog successfully.

Today I downloaded Windows Live Writer and tested it.

1. The first test: Add some texts, drag and drop one photo. Click “Publish” . Pass!

2. The second test: Add some texts , drag and drop 5 photos. Edit the photo size (width =400). Click “Publish”. No-ops! The following errors show up:


I think the main problem in my test is the photo size. I enter width=400 and it is not in the dropdownlist. But finally I still can't publish one article with multiple photos using the default setting.

I really hope Windows Live Writer Team can make users easily publish articles with multiple photos soon.

September 9, 2007

Google blog search engine is not reliable.

Everyone knows that Google is very famous for its search engine. But I want to mention one fact: Why is the search engine in not so reliable?

Just imagine the situation: After Mary posts a new article in her blog in, she wants to search her article. Therefore, she goes to the Google’s official blog search ( and enters the key word; unfortunately, she can’t find it. After one hour, she still can’t find it. Even after 1 week, she still can’t find it. Is that user –friendly?

You can also add another search function in your own blog. Just go to , copy the codes to your own blog. But in your blog, when you enter the key word to search your articles inside your blog, sometimes it doesn’t work.

What happens to the search engine? Many people will say: you should go to another website to register for your information or you need to wait until people click your articles. That’s the joke!!

User-friendly! User-friendly! User-friendly!

I really hope search engine in will be reliable soon!

September 2, 2007

Choosing a cursor strategy

This is my key note of choosing a cursor strategy when I studied Microsoft 70-442 exam. Hope it can be very helpful for you