WCF Tracing basics

Pretty old but still handy configuration.

IIS + ASP.NET only.

http://msdn.microsoft.com/en-us/library/ms733025.aspx

<configuration>
   <system.diagnostics>
      <sources>
            <source name="System.ServiceModel"
                    switchValue="Information, ActivityTracing"
                    propagateActivity="true">
            <listeners>
               <add name="traceListener"
                   type="System.Diagnostics.XmlWriterTraceListener"
                   initializeData= "c:\log\Traces.svclog" />
            </listeners>
         </source>
      </sources>
   </system.diagnostics>
</configuration>
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Posted in Default | Tagged , , , | Leave a comment

Recovered from disk io error

Sometime earlier (several hours ago), there’s a really high disk io then all services are down.
I found the file system was remount in RO mode. Something weird.
Anyway, fixed now.

feuvan@wonderland:~$ sudo fsck
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
/dev/xvda contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found. Fix? yes

Inode 114702 was part of the orphaned inode list. FIXED.
Inode 303107 was part of the orphaned inode list. FIXED.
Deleted inode 958465 has zero dtime. Fix? yes

Inode 958466 was part of the orphaned inode list. FIXED.
Inode 958467 was part of the orphaned inode list. FIXED.
Inode 958468 was part of the orphaned inode list. FIXED.
Inode 958470 was part of the orphaned inode list. FIXED.
Deleted inode 961482 has zero dtime. Fix? yes

Inode 961483 was part of the orphaned inode list. FIXED.
Inode 961484 was part of the orphaned inode list. FIXED.
Inode 961485 was part of the orphaned inode list. FIXED.
Inode 961486 was part of the orphaned inode list. FIXED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -583804 -(583806--583815) -(1232332--1232666)
Fix? yes

Free blocks count wrong for group #17 (4, counted=15).
Fix? yes

Free blocks count wrong for group #37 (13654, counted=13989).
Fix? yes

Free blocks count wrong (2522826, counted=2523172).
Fix? yes

Inode bitmap differences: -114702 -303107 -(958465--958468) -958470 -(961482--961486)
Fix? yes

Free inodes count wrong for group #14 (8130, counted=8131).
Fix? yes

Free inodes count wrong for group #37 (6348, counted=6349).
Fix? yes

Free inodes count wrong for group #117 (5170, counted=5180).
Fix? yes

Free inodes count wrong (910912, counted=910924).
Fix? yes

/dev/xvda: ***** FILE SYSTEM WAS MODIFIED *****
/dev/xvda: ***** REBOOT LINUX *****
/dev/xvda: 121268/1032192 files (2.6% non-contiguous), 1605596/4128768 blocks
feuvan@wonderland:~$ sudo reboot

Broadcast message from feuvan@wonderland
(/dev/pts/0) at 3:58 ...

The system is going down for reboot NOW!

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Posted in Default | Leave a comment

Install IE9 preview 4 on server SKU

For users who are interested in HTML5/CSS3/SVG supported browser IE9, please refer to http://ie.microsoft.com/testdrive/.

If you are blocked to install IE9 preview 4 on server 2008 or R2 (see error msg below), you can use Orca to modify the msi package.

IE9 Preview 4 install blocked on server SKU

IE9 Preview 4 install blocked on server SKU

You may find Orca.msi on your hard disk “C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\”.
Or download it, refer to KB255905.

Once Orca is installed, follow the steps to modify the MSI to allow installation on server SKU:

  1. Use Orca to open iepreview.msi, Ctrl-F to search string “iepreview_no_server”, you will find it in table “CustomAction” and “InstallExecuteSequence”.
  2. Right click on the action and choose “Drop Row” to delete the row in “InstallExecuteSequence”.
  3. Save the MSI.
  4. Double click to install.
Find iepreview_no_server in Orca

Find iepreview_no_server in Orca

If you would like to know how to find the action “iepreview_no_server” to be deleted, you can try install the original MSI in command line:

msiexec /i iepreview.msi /l*vx ie9p4.log

and analyze the log by yourself. Notice where error occurs.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Posted in Default | Tagged , , | 1 Comment

New desktop computer

i5-750 + OCZ3G1333LV4G * 2 + MSI P55-CD53 +
EVGA GTX465 + WD20EARS 2TB + Antec EA650 +
Sony AD-7240S-0B
in
Rosewill CHALLENGER Black Gaming ATX Mid Tower
with Microsoft Natural Ergonomic Desktop 7000

from newegg.

Microsoft desktop from company store.

Dell U2410 will arrive on Friday.

The new desktop computer is the 3rd desktop in my life. It will be used for SharePoint Server farm, home storage server and also WOW game box.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Posted in Default | 2 Comments

RadioFan – Free Music For .NET

A .NET copy-cat of FanRadio which is Mac only. RadioFan can only play douban.fm music.

RadioFan Demo

* Click album picture to go to next one.

* TaskBar Preview support.

* Win 7 ONLY. lol.

* No version check. There properly won’t be new version.

Download here. (For Win7 or plus only, I know someone is using Win7 SP1 beta now.)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Posted in Default | Tagged , , | Leave a comment