I am Tony ZHOU

Welcome, just another weblog!

  • Home
  • Photo
  • About

21

Jan

Disable Annoying System Restart Notification after Windows Automatic Updates

Posted by Tony ZHOU  Published in Others

Run command in command window: net stop wuauserv

Continue reading...

Tags: system restart notification

no comment

20

Jan

ILLEGAL ATTEMPT TO ASSOCIATE A COLLECTION WITH TWO OPEN SESSIONS

Posted by Tony ZHOU  Published in Others

ILLEGAL ATTEMPT TO ASSOCIATE A COLLECTION WITH TWO OPEN SESSIONS in nHibernate. Session.Evict(object o) can make the object detached, which can solve this problem.

Continue reading...

Tags: nHibernate

no comment

20

Jan

TooManyRowsAffectedException of nHibernate

Posted by Tony ZHOU  Published in Others

This problem will happen if you use trigger in one table. Set NOCOUNT ON in trigger will solve the problem,

Continue reading...

Tags: nHibernate, TooManyRowsAffectedException

no comment

6

Jan

"waitforcatalog" error on live mesh installation

Posted by Tony ZHOU  Published in Others

The way to solve this problem is to clear all proxy setting in your IE, sorry for the Chinese version, but I’m sure that you know how to arrive this window. Perhaps MS will solve it in the future. You can also refer to this link http://www.liveside.net/2010/06/25/essentials-installer-waitforcatalog-error-workaround/

Continue reading...

Tags: live mesh, waitforcatalog

2 comments

3

Jan

Four ways to Create Linq

Posted by Tony ZHOU  Published in ASP.NET

1, The first way, most common one. You will not see any Func<> delegation. class Program     {         static void Main(string[] args)         {             string[] videoGames = { "Halo3", "StarCraft2", "Kinect Sports", "Tomb Raider", "Final Fantasy", "Devil May Cry", "Call of Duty" };             var subset = from g in videoGames where g.Length [...]

Continue reading...

no comment

Blogroll

  • JinWeiJie

 

January 2011
M T W T F S S
« Sep   Aug »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Recent Entries

  • Mirror drivers don’t support Aero effects
  • Disable Annoying System Restart Notification after Windows Automatic Updates
  • ILLEGAL ATTEMPT TO ASSOCIATE A COLLECTION WITH TWO OPEN SESSIONS
  • TooManyRowsAffectedException of nHibernate
  • "waitforcatalog" error on live mesh installation
  • Four ways to Create Linq
  • Refactoring Diary 1
  • jQuery plugin, hint tools
  • An excellent mockup tool — Balsamiq
  • Resolve “Playback engine is already initialized and SkipStepThreadEvent”

Recent Comments

  • alfiesaden in Outlook 2007 Conflicts With Google Desktop
  • Anil in Resolve "Cannot find any coverage data (.cove…
  • Theepi in Resolve "Cannot find any coverage data (.cove…
  • test in "waitforcatalog" error on live mesh inst…
  • 淘宝网女装 in 5 Whys Quickly Getting to the Root of a Problem
  • Max in An excellent mockup tool -- Balsamiq
  • jinweijie in "waitforcatalog" error on live mesh inst…
  • emma in Hello world!
  • JIN Weijie in Get translation authorization from Scott Hanselman…
  • JIN Weijie in Hello world!
  • Random Selection of Posts

    • Jmail 64bit 64位 不支持 not support
    • ILLEGAL ATTEMPT TO ASSOCIATE A COLLECTION WITH TWO OPEN SESSIONS
    • Impression of Team Foundation Server 2010
    • Outlook 2007 Conflicts With Google Desktop
    • 本地cookie被禁用,还有不能调试的问题。
    • The time zones of Event log
    • Be careful when you compare the GUID with a string
© 2008 I am Tony ZHOU is proudly powered by WordPress
Theme designed by Roam2Rome