<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Life is a journey</title><subtitle type="text">Who Dares Wins</subtitle><id>http://feed.cnblogs.com/blog/u/34461/rss</id><updated>2012-02-08T10:13:14Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/34461/rss"/><entry><id>http://www.cnblogs.com/zhaobin/archive/2012/02/08/2343054.html</id><title type="text">BizTalk: Database ‘BizTalkMsgBoxDb’ is full</title><summary type="text">Error:The transaction log for database ‘BizTalkMsgBoxDb’ is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases (.Net SqlClient Data Provider)Solution:sp_helpdb ‘BizTalkMsgBoxDb’ ALTER DATABASE BiztalkMsgBoxDbSET RECOVERY SIMPLE;GO DBCC SHRI..</summary><published>2012-02-08T10:13:00Z</published><updated>2012-02-08T10:13:00Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhaobin/archive/2012/02/08/2343054.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/archive/2012/02/08/2343054.html"/><content type="html">&#xD;
 &#xD;
&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="color: maroon; font-size: 10pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0px;"&gt;&lt;strong&gt;&lt;span style="color: red; font-size: 10pt;"&gt;&lt;span style="font-family: Verdana;"&gt;Error:&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;The transaction log for database &amp;#8216;BizTalkMsgBoxDb&amp;#8217; is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases (.Net SqlClient Data Provider)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;p style="margin: 0px;"&gt;&lt;strong&gt;&lt;span style="color: green; font-size: 10pt;"&gt;Solution:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;sp_helpdb&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: red;"&gt;&amp;#8216;BizTalkMsgBoxDb&amp;#8217;&lt;/span&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="color: blue; font-size: 10pt;"&gt;ALTER&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: blue;"&gt;DATABASE&lt;/span&gt; BiztalkMsgBoxDb&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="color: blue; font-size: 10pt;"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: blue;"&gt;RECOVERY&lt;/span&gt; &lt;span style="color: blue;"&gt;SIMPLE&lt;/span&gt;&lt;span style="color: gray;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="font-size: 10pt;"&gt;GO&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="color: blue; font-size: 10pt;"&gt;DBCC&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; SHRINKFILE &lt;span style="color: gray;"&gt;(&lt;/span&gt;BiztalkMsgBoxDb_log&lt;span style="color: gray;"&gt;,&lt;/span&gt; 1&lt;span style="color: gray;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="font-size: 10pt;"&gt;GO&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="color: maroon; font-size: 10pt;"&gt;sp_helpdb&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: red;"&gt;&amp;#8216;BizTalkMsgBoxDb&amp;#8217;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style="color: red;"&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;ALTER DATABASE&lt;/span&gt; BiztalkMsgBoxDb&lt;/p&gt;&lt;p style="background: 0px 0px rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-size: 10pt;"&gt;SET RECOVERY FULL&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(224, 224, 224); margin: 0px;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style="color: red;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;GO&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/zhaobin/aggbug/2343054.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/zhaobin/archive/2012/02/08/2343054.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/zhaobin/archive/2012/01/26/2329562.html</id><title type="text">Fiddler and Application Proxy setup</title><summary type="text">Original from: http://www.west-wind.com/weblog/posts/2004/Oct/11/Fiddler-and-Application-Proxy-setupI’ve been working on a couple of apps that do extensive HTTP and Web Service access over the last few days and Fiddler has been a huge help in debugging some odd problems I’ve been having. This ASP.N.</summary><published>2012-01-26T02:39:00Z</published><updated>2012-01-26T02:39:00Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhaobin/archive/2012/01/26/2329562.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/archive/2012/01/26/2329562.html"/><content type="html">&#xD;
 &#xD;
&lt;p style="margin: 0in 0in 0pt;"&gt;Original from: &lt;a href="http://www.west-wind.com/weblog/posts/2004/Oct/11/Fiddler-and-Application-Proxy-setup"&gt;http://www.west-wind.com/weblog/posts/2004/Oct/11/Fiddler-and-Application-Proxy-setup&lt;/a&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;I&amp;#8217;ve been working on a couple of apps that do extensive HTTP and Web Service access over the last few days and Fiddler has been a huge help in debugging some odd problems I&amp;#8217;ve been having. This ASP.NET Web app has both .NET and FoxPro clients talking to it and checking out the traffic and difference of the client communication was driving me nuts for a while.&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;One tool I continue to use all the time when working on any sort of distributed application is &lt;a href="http://www.fiddlertool.com/fiddler/"&gt;Fiddler&lt;/a&gt;. If you haven&amp;#8217;t used Fiddler before, run, don&amp;#8217;t walk and download this awesome little proxy that lets you easily see the content of requests made over HTTP over the network. It works great, but keep in mind it doesn&amp;#8217;t work for Localhost (it might with a loopback adapter though &amp;#8211; haven&amp;#8217;t tried it) or over HTTPS in which case you have to remember to step it down to HTTP for debugging. It&amp;#8217;s great for debugging problems in distributed applications, but is also great if you need to debug Web based applications for things like Cookies, custom headers etc. What makes Fiddler nice is that shows both content and headers and lets you easily view all of this diverse content in a somewhat intuitive way &amp;#8211; for example, images can be previewed, XML can be viewed as a node list and you can apply viewers to any content sent or returned. If you&amp;#8217;re building any kind of Web application sooner or later this functionality will come in REAL handy.&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;Fiddler works by setting up a proxy on port 8888 and then re-routing Web requests through it. It does this by basically changing IE&amp;#8217;s proxy settings on the fly.&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;If you&amp;#8217;re using a .NET client though you will have to configure the client in order for Fiddler to be able to see the communication. By default the .NET HttpWebRequest uses direct connections &amp;#8211; meaning it doesn&amp;#8217;t check or use for any proxies in the system and will thus not be picked up by Fiddler once it&amp;#8217;s started.&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;If you&amp;#8217;re using .NET you have to tell the .NET HTTP clients to use a proxy object. .NET allows you to custom configure a proxy using the Proxy property. The Proxy object is available both on lower level objects like HttpWebRequest as well as on higher level objects like a Web Services proxy. &lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;You can configure a Proxy object manually by creating a new WebProxy object:&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style='font-family: "Courier New";'&gt;WebRequest.Proxy = &lt;span style="color: blue;"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style='font-family: "Courier New";'&gt; &lt;strong&gt;WebProxy&lt;/strong&gt;(&lt;span style="background: silver;"&gt;"127.0.0.1:8888"&lt;/span&gt;,&lt;strong&gt;&lt;span style="color: blue;"&gt;true&lt;/span&gt;&lt;/strong&gt;);&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;or probably the better choice: You can use the default proxy which reads the Internet Explorer settings for the current user:&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style='font-family: "Courier New";'&gt;WebRequest.Proxy = WebProxy.GetDefaultProxy()&lt;span style="color: blue;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;You can apply the same logic to a Web Service client&amp;#8217;s Proxy property as well.&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;If you&amp;#8217;re using the MSSOAP Toolkit, you also have to do some custom configuration. You also need to set the Proxy server using the appropriate ConnectorProperty:&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;span style='color: blue; font-family: "Courier New";'&gt;THISFORM&lt;/span&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;.oNet = &lt;/span&gt;&lt;span style='color: blue; font-family: "Courier New";'&gt;CREATEOBJECT&lt;/span&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;("MSSOAP.SoapClient30")&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;span style='color: blue; font-family: "Courier New";'&gt;THISFORM&lt;/span&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;.oNet.MSSOAPInit(lcWSDLURL)&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;span style='color: blue; font-family: "Courier New";'&gt;thisform&lt;/span&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;.oNet.ConnectorProperty("ProxyServer")="&amp;lt;CURRENT_USER&amp;gt;"&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&amp;#8230;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;loNL&lt;/span&gt;&lt;span style='color: blue; font-family: "Courier New";'&gt; = thisform&lt;/span&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;.oNet.LoadAuthors("");&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;If you&amp;#8217;re using WinInet you can use a Connection type in Interopen:&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;hInetConnection=;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;span style='color: black; font-family: "Courier New";'&gt; InternetOpen(&lt;/span&gt;&lt;span style='color: blue; font-family: "Courier New";'&gt;THIS&lt;/span&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;.cUserAgent,;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;span style='color: black; font-family: "Courier New";'&gt; &lt;/span&gt;&lt;span style='color: blue; font-family: "Courier New";'&gt;THIS&lt;/span&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;.nhttpconnecttype,;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;span style='color: black; font-family: "Courier New";'&gt; &lt;/span&gt;&lt;span style='color: blue; font-family: "Courier New";'&gt;THIS&lt;/span&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;.chttpproxyname,&lt;/span&gt;&lt;span style='color: blue; font-family: "Courier New";'&gt;THIS&lt;/span&gt;&lt;span style='color: black; font-family: "Courier New";'&gt;.chttpproxybypass,0)&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;Where the ConnectType is 0 for IE Configuration, 3 for custom proxy, and 1 for direct access. Generally you&amp;#8217;ll want to use 0. If you&amp;#8217;re using wwHTTP in Visual FoxPro, nHttpConnectType is defaulted to 0 which maps to this WinInet setting.&lt;/p&gt;&lt;img src="http://www.cnblogs.com/zhaobin/aggbug/2329562.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/zhaobin/archive/2012/01/26/2329562.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/zhaobin/archive/2011/05/18/2050325.html</id><title type="text">Distinguished Fields and Optional Elements</title><summary type="text">Thought this might be of interest to a few BizTalk developers out there.It&amp;#39;s quite common practice to use Distinguished Fields in orchestrations, to get/set the value of an element or attribute.However, if the element you&amp;#39;re trying to set/get doesn&amp;#39;t exist, then this poses a few problems</summary><published>2011-05-18T10:03:00Z</published><updated>2011-05-18T10:03:00Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhaobin/archive/2011/05/18/2050325.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/archive/2011/05/18/2050325.html"/><content type="html">&#xD;
 &#xD;
&lt;p&gt;Thought this might be of interest to &lt;span &gt;a&lt;/span&gt; few &lt;span &gt;BizTalk&lt;/span&gt; developers out there.&lt;/p&gt;&lt;p&gt;It's quite common pr&lt;span &gt;a&lt;/span&gt;ctice to use &lt;span &gt;Distinguished&lt;/span&gt; &lt;span &gt;Field&lt;/span&gt;s in orchestr&lt;span &gt;a&lt;/span&gt;tions, to get/set the v&lt;span &gt;a&lt;/span&gt;lue of &lt;span &gt;a&lt;/span&gt;n &lt;span &gt;element&lt;/span&gt; or &lt;span &gt;a&lt;/span&gt;ttribute.&lt;/p&gt;&lt;p&gt;However, if the &lt;span &gt;element&lt;/span&gt; you're trying to set/get doesn't &lt;span &gt;exist&lt;/span&gt;, then this poses &lt;span &gt;a&lt;/span&gt; few problems.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Setting &lt;span &gt;a&lt;/span&gt; &lt;span &gt;Distinguished&lt;/span&gt; &lt;span &gt;Field&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;If the &lt;span &gt;element&lt;/span&gt;/&lt;span &gt;a&lt;/span&gt;ttribute doesn't &lt;span &gt;exist&lt;/span&gt; in the t&lt;span &gt;a&lt;/span&gt;rget mess&lt;span &gt;a&lt;/span&gt;ge, then you'll get &lt;span &gt;a&lt;/span&gt;n exception, no questions &lt;span &gt;a&lt;/span&gt;sked &amp;#8211; there's no w&lt;span &gt;a&lt;/span&gt;y &lt;span &gt;a&lt;/span&gt;round this.&lt;br /&gt;Under the covers, the &lt;font color="#000080" face="Courier New"&gt;Set&lt;span &gt;Distinguished&lt;/span&gt;&lt;span &gt;Field&lt;/span&gt;&lt;/font&gt; method is c&lt;span &gt;a&lt;/span&gt;lled to set the v&lt;span &gt;a&lt;/span&gt;lue &amp;#8211; &lt;span &gt;a&lt;/span&gt;nd it doesn't check if the &lt;span &gt;element&lt;/span&gt;/&lt;span &gt;a&lt;/span&gt;ttribute &lt;span &gt;exist&lt;/span&gt;s first.&lt;br /&gt;The s&lt;span &gt;a&lt;/span&gt;me thing h&lt;span &gt;a&lt;/span&gt;ppens if you use the &lt;font color="#000080" face="Courier New"&gt;xp&lt;span &gt;a&lt;/span&gt;th()&lt;/font&gt; function to set &lt;span &gt;a&lt;/span&gt; v&lt;span &gt;a&lt;/span&gt;lue, &lt;span &gt;a&lt;/span&gt;nd the &lt;span &gt;element&lt;/span&gt;/&lt;span &gt;a&lt;/span&gt;ttribute doesn't &lt;span &gt;exist&lt;/span&gt; &amp;#8211; &lt;span &gt;BizTalk&lt;/span&gt; isn't &lt;span &gt;a&lt;/span&gt;bout to modify your mess&lt;span &gt;a&lt;/span&gt;ge &lt;span &gt;a&lt;/span&gt;nd &lt;span &gt;a&lt;/span&gt;dd the &lt;span &gt;element&lt;/span&gt;/&lt;span &gt;a&lt;/span&gt;ttribute for you.&lt;/p&gt;&lt;p&gt;In this c&lt;span &gt;a&lt;/span&gt;se, it's your responsibility to check th&lt;span &gt;a&lt;/span&gt;t the &lt;span &gt;element&lt;/span&gt;/&lt;span &gt;a&lt;/span&gt;ttribute &lt;span &gt;exist&lt;/span&gt;s.&lt;br /&gt;If it's &lt;span &gt;a&lt;/span&gt; mess&lt;span &gt;a&lt;/span&gt;ge th&lt;span &gt;a&lt;/span&gt;t you cre&lt;span &gt;a&lt;/span&gt;te, then you h&lt;span &gt;a&lt;/span&gt;ve to m&lt;span &gt;a&lt;/span&gt;ke sure th&lt;span &gt;a&lt;/span&gt;t the &lt;span &gt;element&lt;/span&gt;/&lt;span &gt;a&lt;/span&gt;ttribute is cre&lt;span &gt;a&lt;/span&gt;ted (do this in &lt;span &gt;a&lt;/span&gt; m&lt;span &gt;a&lt;/span&gt;p by m&lt;span &gt;a&lt;/span&gt;pping &lt;span &gt;a&lt;/span&gt;n empty V&lt;span &gt;a&lt;/span&gt;lue M&lt;span &gt;a&lt;/span&gt;pping functoid to it, or setting the V&lt;span &gt;a&lt;/span&gt;lue property to "&lt;font color="#000080" face="Courier New"&gt;&amp;lt;empty&amp;gt;&lt;/font&gt;").&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Getting &lt;span &gt;a&lt;/span&gt; &lt;span &gt;Distinguished&lt;/span&gt; &lt;span &gt;Field&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;This is more interesting.&lt;br /&gt;In &lt;span &gt;a&lt;/span&gt; nutshell, if the &lt;span &gt;Distinguished&lt;/span&gt; &lt;span &gt;Field&lt;/span&gt; is of type &lt;font color="#000080" face="Courier New"&gt;string&lt;/font&gt; (or &lt;span &gt;a&lt;/span&gt;ny other null&lt;span &gt;a&lt;/span&gt;ble type) then you'll get null.&lt;br /&gt;Otherwise, you'll get &lt;span &gt;a&lt;/span&gt;n &lt;font color="#000080" face="Courier New"&gt;Inv&lt;span &gt;a&lt;/span&gt;lidC&lt;span &gt;a&lt;/span&gt;stException&lt;/font&gt;.&lt;/p&gt;&lt;p&gt;The re&lt;span &gt;a&lt;/span&gt;son for this is in the underlying code.&lt;/p&gt;&lt;p&gt;The orchestr&lt;span &gt;a&lt;/span&gt;tion c&lt;span &gt;a&lt;/span&gt;lls &lt;font color="#000080" face="Courier New"&gt;XSDP&lt;span &gt;a&lt;/span&gt;rt.Get&lt;span &gt;Distinguished&lt;/span&gt;&lt;span &gt;Field&lt;/span&gt;&lt;/font&gt; to get your v&lt;span &gt;a&lt;/span&gt;lue:&lt;br /&gt;&lt;font color="#000080" face="Courier New"&gt;public override object Get&lt;span &gt;Distinguished&lt;/span&gt;&lt;span &gt;Field&lt;/span&gt;(string dottedP&lt;span &gt;a&lt;/span&gt;th)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Xsd&lt;span &gt;Distinguished&lt;/span&gt;&lt;span &gt;Field&lt;/span&gt;Definition dFDef = (Xsd&lt;span &gt;Distinguished&lt;/span&gt;&lt;span &gt;Field&lt;/span&gt;Definition) b&lt;span &gt;a&lt;/span&gt;se.GetDFDef(dottedP&lt;span &gt;a&lt;/span&gt;th);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; object v&lt;span &gt;a&lt;/span&gt;l = b&lt;span &gt;a&lt;/span&gt;se._getXP&lt;span &gt;a&lt;/span&gt;th(dFDef.XP&lt;span &gt;a&lt;/span&gt;th, dFDef.IsDyn&lt;span &gt;a&lt;/span&gt;mic);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (v&lt;span &gt;a&lt;/span&gt;l == null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (v&lt;span &gt;a&lt;/span&gt;l.GetType() != dFDef.&lt;span &gt;Field&lt;/span&gt;Type)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v&lt;span &gt;a&lt;/span&gt;l = XmlHelpers.Ch&lt;span &gt;a&lt;/span&gt;ngeType(v&lt;span &gt;a&lt;/span&gt;l, dFDef.&lt;span &gt;Field&lt;/span&gt;Type);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return v&lt;span &gt;a&lt;/span&gt;l;&lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;&lt;p&gt;This method will return null if the &lt;span &gt;element&lt;/span&gt;/&lt;span &gt;a&lt;/span&gt;ttribute doesn't &lt;span &gt;exist&lt;/span&gt; otherwise it will &lt;span &gt;a&lt;/span&gt;ttempt to convert (c&lt;span &gt;a&lt;/span&gt;st) the v&lt;span &gt;a&lt;/span&gt;lue to the &lt;span &gt;a&lt;/span&gt;ppropri&lt;span &gt;a&lt;/span&gt;te type.&lt;/p&gt;&lt;p&gt;However, the &lt;font color="#000080" face="Courier New"&gt;Inv&lt;span &gt;a&lt;/span&gt;lidC&lt;span &gt;a&lt;/span&gt;stException&lt;/font&gt; &lt;span &gt;a&lt;/span&gt;rises from your orchestr&lt;span &gt;a&lt;/span&gt;tion.&lt;br /&gt;Let's &lt;span &gt;a&lt;/span&gt;ssume you h&lt;span &gt;a&lt;/span&gt;d &lt;span &gt;a&lt;/span&gt; &lt;span &gt;Distinguished&lt;/span&gt; &lt;span &gt;Field&lt;/span&gt; c&lt;span &gt;a&lt;/span&gt;lled isSuccessful which is of type boole&lt;span &gt;a&lt;/span&gt;n.&lt;/p&gt;&lt;p&gt;When you write something like &lt;br /&gt;&lt;font color="#000080" face="Courier New"&gt;if (Response.isSuccessful)&lt;/font&gt;&lt;br /&gt;in &lt;span &gt;a&lt;/span&gt;n expression sh&lt;span &gt;a&lt;/span&gt;pe, the code gener&lt;span &gt;a&lt;/span&gt;ted is this:&lt;/p&gt;&lt;p&gt;&lt;font color="#000080" face="Courier New"&gt;if (!((bool) __ctx2__.__Response.p&lt;span &gt;a&lt;/span&gt;rt.Get&lt;span &gt;Distinguished&lt;/span&gt;&lt;span &gt;Field&lt;/span&gt;("isSuccessful")))&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span &gt;A&lt;/span&gt;h&lt;span &gt;a&lt;/span&gt;h! The orchestr&lt;span &gt;a&lt;/span&gt;tion does &lt;span &gt;a&lt;/span&gt;n explicit c&lt;span &gt;a&lt;/span&gt;st of the &lt;span &gt;Distinguished&lt;/span&gt; &lt;span &gt;Field&lt;/span&gt; v&lt;span &gt;a&lt;/span&gt;lue to &lt;span &gt;a&lt;/span&gt; bool.&lt;br /&gt;&lt;span &gt;A&lt;/span&gt;nd &lt;span &gt;a&lt;/span&gt;n explicit c&lt;span &gt;a&lt;/span&gt;st of null to &lt;span &gt;a&lt;/span&gt; bool will r&lt;span &gt;a&lt;/span&gt;ise &lt;span &gt;a&lt;/span&gt;n &lt;font color="#000080" face="Courier New"&gt;Inv&lt;span &gt;a&lt;/span&gt;lidC&lt;span &gt;a&lt;/span&gt;stException&lt;/font&gt;.&lt;/p&gt;&lt;p&gt;However, &lt;span &gt;a&lt;/span&gt;n explicit c&lt;span &gt;a&lt;/span&gt;st of null to &lt;span &gt;a&lt;/span&gt; string is fine.&lt;/p&gt;&lt;p&gt;So if you h&lt;span &gt;a&lt;/span&gt;d &lt;span &gt;a&lt;/span&gt; &lt;span &gt;Distinguished&lt;/span&gt; &lt;span &gt;Field&lt;/span&gt; c&lt;span &gt;a&lt;/span&gt;lled employeeN&lt;span &gt;a&lt;/span&gt;me of type string, then the s&lt;span &gt;a&lt;/span&gt;me code would be:&lt;br /&gt;&lt;font color="#000080" face="Courier New"&gt;if (!((string) __ctx2__.__Response.p&lt;span &gt;a&lt;/span&gt;rt.Get&lt;span &gt;Distinguished&lt;/span&gt;&lt;span &gt;Field&lt;/span&gt;("employeeN&lt;span &gt;a&lt;/span&gt;me")))&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span &gt;A&lt;/span&gt;nd no exception would be r&lt;span &gt;a&lt;/span&gt;ised.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br /&gt;If you're using &lt;span &gt;Distinguished&lt;/span&gt; &lt;span &gt;Field&lt;/span&gt;s with types other th&lt;span &gt;a&lt;/span&gt;n string, &lt;span &gt;a&lt;/span&gt;nd the &lt;span &gt;element&lt;/span&gt;/&lt;span &gt;a&lt;/span&gt;ttribute you're referring to is option&lt;span &gt;a&lt;/span&gt;l then you must check th&lt;span &gt;a&lt;/span&gt;t the &lt;span &gt;element&lt;/span&gt;/&lt;span &gt;a&lt;/span&gt;ttribute &lt;span &gt;exist&lt;/span&gt;s before &lt;span &gt;a&lt;/span&gt;ttempting to set/get &lt;span &gt;a&lt;/span&gt; v&lt;span &gt;a&lt;/span&gt;lue.&lt;/p&gt;&lt;p&gt;In most c&lt;span &gt;a&lt;/span&gt;ses, you'd do this by using the &lt;font color="#000080" face="Courier New"&gt;xp&lt;span &gt;a&lt;/span&gt;th()&lt;/font&gt; function in &lt;span &gt;a&lt;/span&gt;n orchestr&lt;span &gt;a&lt;/span&gt;tion&lt;br /&gt;(e.g. getting &lt;span &gt;a&lt;/span&gt; count of the &lt;span &gt;element&lt;/span&gt;/&lt;span &gt;a&lt;/span&gt;ttribute, &lt;span &gt;a&lt;/span&gt;nd checking th&lt;span &gt;a&lt;/span&gt;t count &amp;gt; 0)&lt;/p&gt;&lt;p&gt;Just FYI....!&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Original from:&lt;a href="http://www.bizbert.com/bizbert/2007/11/15/Distinguished+Fields+And+Optional+Elements.aspx"&gt;http://www.bizbert.com/bizbert/2007/11/15/Distinguished+Fields+And+Optional+Elements.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/zhaobin/aggbug/2050325.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/zhaobin/archive/2011/05/18/2050325.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/zhaobin/archive/2011/03/10/1979633.html</id><title type="text">Correlations in BizTalk 2004</title><summary type="text">Correlations form a fundamental concept of BizTalk 2004. They specify how individual messages are related, and are used to tell BizTalk how to process them. An advise from the heart: take your time to understand the basics of correlations in BizTalk. You will encounter many aspects of correlations w</summary><published>2011-03-10T03:59:00Z</published><updated>2011-03-10T03:59:00Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhaobin/archive/2011/03/10/1979633.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/archive/2011/03/10/1979633.html"/><content type="html">&lt;p&gt;Correlations form a fundamental concept of BizTalk 2004. They specify how individual messages are related, and are used to tell BizTalk how to process them. &lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;An advise from the heart: take your time to understand the basics of correlations in BizTalk. You will encounter many aspects of correlations when your developments are becoming more complex. With some basic knowledge, you will be able to design a solution that can indeed be realized in BizTalk. When you fail to see the intricacies of correlations, all of your attempts might result in serious error, forcing you into a new attempt for a solution.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;First, a short explanation on how the &amp;#8220;messaging engine&amp;#8220; of BizTalk works. When you deploy a project, the orchestrations will become available in the runtime environment. When the deployed orchestration is started, it subscribes to messages of a designated type (message type) delivered at a designated location (port). That means that, apart from taking the subscription, nothing really happens until a message arrives. The messaging engine receives the message, and determines the type. Based on this, it fires up an instance of the orchestration that subscribed to it.&lt;/p&gt;&#xD;
&lt;p&gt;So, the subscription information is essential for locating an orchestration that matches the message type when a message comes in. This information is contained in the receive shape and the connected port in an orchestration. The receive shape provides the message type the orchestration expects, the port tells (after binding) where and how messages of this type are expected.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;Now, what happens when I require more than one receive shape in my orchestration? Can I receive messages of different types in a single orchestration? What about multiple instances of the same message type? How do we specify a sequence of actions?&lt;/p&gt;&#xD;
&lt;p&gt;For all questions, there is a proper solution in BizTalk. Not all answers will be discussed here. When you plan to use more than one receive shapes in an orchestration, you will have to specify the behavior of your orchestration for incoming messages on each receive shape. In other words: when a message comes in and it can be related to a specific orchestration, the messaging engine should be able to tell whether it should fire up a new instance of the orchestration for this message or it should pass this message as input to an already running orchestration instance (and: which one of the running orchestration instances). This is done using correlations and related settings of the receive shapes.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;em&gt;&lt;font color="#0000ff"&gt;[example]&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;em&gt;&lt;font color="#0000ff"&gt;Invoice data is sent from system A to system B. The invoice data is sent as soon as it is created in system A. Another user of system A has to check the invoice and approve it. After approval, system A sends approval data to system B. In between systems A and B sits BizTalk. The idea is that BizTalk collects both pieces of information on a single invoice before sending it to system B. We can assume that the invoice data is always sent before the approval. All invoices (invoice data and invoice approval data) are uniquely identified by an invoice number.&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;em&gt;&lt;font color="#0000ff"&gt;The orchestration to do this contains two receive shapes. The first one receives the invoice message. The second one receives the invoice approval message. Only after both have been received, a message is sent out to system B. The receive shape for the invoice message has the &amp;#8220;Activate&amp;#8220; property set to true. This means that any invoice message received will cause a new instance of the orchestration to be started. The receive shape for the invoice approval message has the &amp;#8220;Activate&amp;#8220; property set to false. This means that the invoice approval message will only be accepted by already running instances of the orchestration. This looks great, but still something is missing. What if invoices 1234 and 1235 are created (and sent to BizTalk), and only approved of later? Two instances of the orchestration are running (one for 1234 and one for 1235) when the approval for 1235 comes in. BizTalk knows (from the &amp;#8220;Activate&amp;#8220; property of the receive shape) that the approval should go into an already running orchestration instance. Which one? That is determined by a correlation set, relating the two receive shapes.&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;em&gt;&lt;font color="#0000ff"&gt;The receive shape for the invoice message is set to &amp;#8220;initialize&amp;#8220; a correlation set for the invoice number. The receive shape for the invoice approval message is set to &amp;#8220;follow&amp;#8220; a correlation set for the invoice number. How does this work? When a new invoice message comes in, a new orchestration is started, the invoice message is read, and the invoice number is taken out and associated with the orchestration instance. The orchestration instance is parked, waiting for the approval message (this is called &amp;#8220; dehydration&amp;#8220;). When an invoice approval message comes in, it is also read. With the invoice number form the apprval message, the correct orchestration instance is looked up. This orchestration will proceed (after &amp;#8220;rehydration&amp;#8220;).&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;em&gt;&lt;font color="#0000ff"&gt;[end of example]&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;An overview of settings and components required to set up an orchestration using multiple receive shapes:&lt;/p&gt;&#xD;
&lt;ul&gt;&lt;li&gt;Promoted properties. In the schemas that define the message types you will be receiving, you can promote properties. This is done to make data (tag values) out of a message instance available in the message context, i.e. accessible to the environment for control. To set up a correlation, you need to promote properties from all schemas involved into a single property schema. The names of the promoted properties don't need to be equal, but ensure that there is exactly one entry in the property schema for each promoted property, no matter how different message types call this property.&lt;/li&gt;&lt;li&gt;Create a correlation type using the promoted property. See the &amp;#8220;types&amp;#8220; section of the &amp;#8220;orchestration view&amp;#8220; of the orchestration.&lt;/li&gt;&lt;li&gt;Create a correlation set using the correlation type.&lt;/li&gt;&lt;li&gt;For a simple correlation (like the example): determine which receive shape will be activating the orchestration. This will also be the receive shape initializing the correlation set (usually). The other receive shape(s) will be non-activating and will be &amp;#8220;following&amp;#8220; the same correlation set.&lt;/li&gt;&lt;li&gt;After you have completed setting up the orchestration, check what BizTalk thinks about this by building the containing project. When you get error messages that point in he direction of multiple receive shapes, correlation sets and property schemas, you have probably created something that conflicts with the basic rule for using multiple receive shapes: BizTalk should always exactly know what to do when an instance of a message type is received. When it can not determine this (at compile time), it will not compile the project.&lt;/li&gt;&lt;/ul&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;Please note: the example and the explanation of terms below describe a very simple correlation scenario, in which two messages are received in a fixed sequence. There are numerous other possibilities to combine multiple messages in a single orchestration. Please refer to documentation and other resources on the topic of &amp;#8220;convoys&amp;#8220;, as this is the way to solve the more complex problems.&lt;/p&gt;&lt;img src="http://www.cnblogs.com/zhaobin/aggbug/1979633.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/zhaobin/archive/2011/03/10/1979633.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/zhaobin/archive/2011/03/04/1971140.html</id><title type="text">The terminal server has exceeded the maximum number of allowed connections</title><summary type="text">When a user tries to connect to a machine using Remote Desktop connection, they might come across this error message.“The terminal server has exceeded the maximum number of allowed connections“This is because Windows Server only allows two connections through RDP, and you’ve either got two people al</summary><published>2011-03-04T10:04:00Z</published><updated>2011-03-04T10:04:00Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhaobin/archive/2011/03/04/1971140.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/archive/2011/03/04/1971140.html"/><content type="html">&lt;p&gt;When a user tries to connect to a machine using Remote Desktop connection, they might come across this error message.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;em&gt;&amp;#8220;&lt;span style="color: #ff0000"&gt;The terminal server has exceeded the maximum number of allowed connections&lt;/span&gt;&amp;#8220;&lt;/em&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;a href="http://technobuff.files.wordpress.com/2008/07/rdpexceeded.gif"&gt;&lt;img  alt="" src="http://technobuff.files.wordpress.com/2008/07/rdpexceeded.gif?w=488&amp;amp;h=149" width="488" height="149" /&gt;&lt;/a&gt;&lt;/p&gt;&#xD;
&lt;p&gt;This is because Windows Server only allows two connections through RDP, and you&amp;#8217;ve either got two people already logged on to that machine, or you&amp;#8217;ve got disconnected sessions that still thinks they are active. If a user simply closes the remote desktop window when they&amp;#8217;re finished, that user will still remain logged on, unless there is a time out configured in &lt;strong&gt;Terminal Services Configuration &lt;/strong&gt;as follows&lt;/p&gt;&#xD;
&lt;div style="width: 310px" id="attachment_53" &gt;&lt;a href="http://technobuff.files.wordpress.com/2008/07/tsc.gif"&gt;&lt;img  alt="Terminal Services Configuration" src="http://technobuff.files.wordpress.com/2008/07/tsc.gif?w=300&amp;amp;h=235" width="300" height="235" /&gt;&lt;/a&gt; &#xD;
&lt;p &gt;Terminal Services Configuration&lt;/p&gt;&lt;/div&gt;&#xD;
&lt;p&gt;If the Session time out is not configured, or the logged on users are not available, you wont be able to logon to the machine. To overcome this limitation, follow the steps as below.&lt;/p&gt;&#xD;
&lt;p&gt;open a command prompt or type in the RUN prompt&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;&lt;span style="color: #339966"&gt;mstsc /v:[00.00.00.00/SERVERNAME] /f -console&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;eg: &lt;span style="color: #339966"&gt;mstsc /v:192.168.1.10 /f -console&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #339966"&gt;mstsc /v:ADSURF /f -console&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;This will connect to the physical console session on the server (also known as &amp;#8220;session zero&amp;#8221;). You will then be prompted with the login box and provide the administrator details. Then you will be connected to the Console Session on the server. Now you can reset the disconnected user sessions from Terminal Services Manager. Please note that if you get disconnected from this console session, you will have to go physically to the machine.&lt;/p&gt;&#xD;
&lt;p&gt;More info on &lt;a href="http://technet2.microsoft.com/windowsserver/en/library/f47ce263-f72e-469d-bf14-6605b7f4cce51033.mspx?mfr=true" target="_blank"&gt;&lt;strong&gt;&lt;font color="#5c5c5c"&gt;mstsc at Technet&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span style="text-decoration: underline"&gt;&lt;strong&gt;&lt;span style="color: #800000"&gt;UPDATE: &lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;If you have Windows Vista with SP1 or Server 2008, use the following syntax:&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span style="color: #339966"&gt;&lt;strong&gt;mstsc /admin&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;If you use the old switch &amp;#8220;/console&amp;#8221;, it will just ignore that and proceed connecting. In Windows Server 2008, the /console switch doesn&amp;#8217;t exist anymore because &amp;#8220;session 0&amp;#8243; is a non-interactive session that is reserved for services. Difference between admin and console swtich are &lt;a href="http://blogs.msdn.com/rds/archive/2007/12/17/changes-to-remote-administration-in-windows-server-2008.aspx" target="_blank"&gt;&lt;strong&gt;&lt;font color="#5c5c5c"&gt;here&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span style="color: #ff0000"&gt;&lt;span style="color: #000000"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="text-decoration: underline"&gt;Another workaround: &lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;You can also query the sessions on the remote machine as an administrator of that machine. Open a command prompt as a domain administrator that the remote machine is set to or map a drive of that remote machine.&lt;/p&gt;&#xD;
&lt;p&gt;Then in the command prompt, type as below:&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span style="color: #339966"&gt;query session /server:servername&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;Replace servername with the remote machine name or IP address.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;a href="http://technobuff.files.wordpress.com/2008/07/query01.gif"&gt;&lt;img  alt="" src="http://technobuff.files.wordpress.com/2008/07/query01.gif?w=667&amp;amp;h=121" width="667" height="121" /&gt;&lt;/a&gt;&lt;/p&gt;&#xD;
&lt;p&gt;Now we have the information of all the users/sessions that are active/disconnected on the remote machine. We can now reset one of the session with the following command.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span style="color: #339966"&gt;reset session [ID] /server:servername&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;Replace [ID] with the number from the prevoius output and servername with the remote machine name or IP address. This will reset the session and now you can login using Remote Desktop connection.&lt;/p&gt;&#xD;
&lt;div style="width: 767px; display: none; height: 661px" id="greasedLightboxOverlay"&gt;&#xD;
&lt;div style="display: none; visibility: visible; top: 138px; left: 289px" id="greasedLightbox"&gt;&lt;img alt="" src="http://technobuff.files.wordpress.com/2008/07/tsc.gif" /&gt; &#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;div style="display: block" id="greasedLightboxCaption"&gt;Terminal Services Configuration&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&#xD;
&lt;div style="display: none" id="greasedLightboxMenu"&gt;&#xD;
&lt;div id="greasedLightboxButtons"&gt;&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&#xD;
&lt;div style="display: none; visibility: visible; top: 373px; left: 552px" id="greasedLightboxLoading"&gt;&lt;strong&gt;&lt;font color="#5c5c5c"&gt;&lt;/font&gt;&lt;/strong&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p id="greasedLightboxLoadingText"&gt;&lt;/p&gt;&lt;/div&gt;&#xD;
&lt;div style="display: none" id="greasedLightboxError"&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p id="greasedLightboxErrorContext"&gt;&lt;/p&gt;&lt;/div&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://technobuff.files.wordpress.com/2008/07/query01.gif" /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/zhaobin/aggbug/1971140.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/zhaobin/archive/2011/03/04/1971140.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/zhaobin/archive/2011/01/28/1947105.html</id><title type="text">Stay Hungry, Stay Foolish</title><summary type="text">Last week, Steve Jobs and Apple launched the new and eagerly anticipated iPad. Over the years I have admired Apple for their branding, product launches and product innovation.This post is a more personal glimpse at a much-respected and innovative thinker. I thought I’d share with you a speech by Ste</summary><published>2011-01-28T08:15:00Z</published><updated>2011-01-28T08:15:00Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhaobin/archive/2011/01/28/1947105.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/archive/2011/01/28/1947105.html"/><content type="html">&lt;p&gt;Last week, Steve Jobs and Apple launched the new and eagerly anticipated iPad. Over the years I have admired Apple for their branding, product launches and product innovation.&lt;/p&gt;&#xD;
&lt;p&gt;This post is a more personal glimpse at a much-respected and innovative thinker. I thought I&amp;#8217;d share with you a speech by Steve Jobs where he shares three very powerful stories. It never fails to inspire me.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span id="more-1331"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;dt &gt;&lt;img style="border-bottom: black 1px solid; border-left: black 1px solid; margin: 5px; border-top: black 1px solid; border-right: black 1px solid"  title="stevejobs" alt="" src="http://prinyourpajamas.com/wp-content/uploads/2010/02/stevejobs-300x226.jpg" width="260" height="198" /&gt;&lt;/dt&gt;&#xD;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="text-decoration: underline"&gt;Steve Jobs&amp;#8217; 2005 Stanford Commencement Address&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;I am honored to be with you today at your commencement from one of the finest universities in the world. I never graduated from college. Truth be told, this is the closest I&amp;#8217;ve ever gotten to a college graduation. Today I want to tell you three stories from my life. That&amp;#8217;s it. No big deal. Just three stories.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;The first story is about connecting the dots.&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;I dropped out of Reed College after the first 6 months, but then stayed around as a drop-in for another 18 months or so before I really quit. So why did I drop out?&lt;/p&gt;&#xD;
&lt;p&gt;It started before I was born. My biological mother was a young, unwed college graduate student, and she decided to put me up for adoption. She felt very strongly that I should be adopted by college graduates, so everything was all set for me to be adopted at birth by a lawyer and his wife. Except that when I popped out they decided at the last minute that they really wanted a girl. So my parents, who were on a waiting list, got a call in the middle of the night asking: &amp;#8220;We have an unexpected baby boy; do you want him?&amp;#8221; They said: &amp;#8220;Of course.&amp;#8221; My biological mother later found out that my mother had never graduated from college and that my father had never graduated from high school. She refused to sign the final adoption papers. She only relented a few months later when my parents promised that I would someday go to college.&lt;/p&gt;&#xD;
&lt;p&gt;And 17 years later I did go to college. But I naively chose a college that was almost as expensive as Stanford, and all of my working-class parents&amp;#8217; savings were being spent on my college tuition. After six months, I couldn&amp;#8217;t see the value in it. I had no idea what I wanted to do with my life and no idea how college was going to help me figure it out. And here I was spending all of the money my parents had saved their entire life. So I decided to drop out and trust that it would all work out OK. It was pretty scary at the time, but looking back it was one of the best decisions I ever made. The minute I dropped out I could stop taking the required classes that didn&amp;#8217;t interest me, and begin dropping in on the ones that looked interesting.&lt;/p&gt;&#xD;
&lt;p&gt;It wasn&amp;#8217;t all romantic. I didn&amp;#8217;t have a dorm room, so I slept on the floor in friends&amp;#8217; rooms, I returned coke bottles for the 5&amp;#162; deposits to buy food with, and I would walk the 7 miles across town every Sunday night to get one good meal a week at the Hare Krishna temple. I loved it. And much of what I stumbled into by following my curiosity and intuition turned out to be priceless later on. Let me give you one example:&lt;/p&gt;&#xD;
&lt;p&gt;Reed College at that time offered perhaps the best calligraphy instruction in the country. Throughout the campus every poster, every label on every drawer, was beautifully hand calligraphed. Because I had dropped out and didn&amp;#8217;t have to take the normal classes, I decided to take a calligraphy class to learn how to do this. I learned about serif and san serif typefaces, about varying the amount of space between different letter combinations, about what makes great typography great. It was beautiful, historical, artistically subtle in a way that science can&amp;#8217;t capture, and I found it fascinating.&lt;/p&gt;&#xD;
&lt;p&gt;None of this had even a hope of any practical application in my life. But ten years later, when we were designing the first Macintosh computer, it all came back to me. And we designed it all into the Mac. It was the first computer with beautiful typography. If I had never dropped in on that single course in college, the Mac would have never had multiple typefaces or proportionally spaced fonts. And since Windows just copied the Mac, its likely that no personal computer would have them. If I had never dropped out, I would have never dropped in on this calligraphy class, and personal computers might not have the wonderful typography that they do. Of course it was impossible to connect the dots looking forward when I was in college. But it was very, very clear looking backwards ten years later.&lt;/p&gt;&#xD;
&lt;p&gt;Again, you can&amp;#8217;t connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something &amp;#8211; your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;My second story is about love and loss.&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;I was lucky &amp;shy; I found what I loved to do early in life. Woz and I started Apple in my parents garage when I was 20. We worked hard, and in 10 years Apple had grown from just the two of us in a garage into a $2 billion company with over 4000 employees. We had just released our finest creation &amp;#8211; the Macintosh &amp;#8211; a year earlier, and I had just turned 30. And then I got fired. How can you get fired from a company you started? Well, as Apple grew we hired someone who I thought was very talented to run the company with me, and for the first year or so things went well. But then our visions of the future began to diverge and eventually we had a falling out. When we did, our Board of Directors sided with him. So at 30 I was out. And very publicly out. What had been the focus of my entire adult life was gone, and it was devastating.&lt;/p&gt;&#xD;
&lt;p&gt;I really didn&amp;#8217;t know what to do for a few months. I felt that I had let the previous generation of entrepreneurs down &amp;#8211; that I had dropped the baton as it was being passed to me. I met with David Packard and Bob Noyce and tried to apologize for screwing up so badly. I was a very public failure, and I even thought about running away from the valley. But something slowly began to dawn on me &amp;shy; I still loved what I did. The turn of events at Apple had not changed that one bit. I had been rejected, but I was still in love. And so I decided to start over.&lt;/p&gt;&#xD;
&lt;p&gt;I didn&amp;#8217;t see it then, but it turned out that getting fired from Apple was the best thing that could have ever happened to me. The heaviness of being successful was replaced by the lightness of being a beginner again, less sure about everything. It freed me to enter one of the most creative periods of my life.&lt;/p&gt;&#xD;
&lt;p&gt;During the next five years, I started a company named NeXT, another company named Pixar, and fell in love with an amazing woman who would become my wife. Pixar went on to create the worlds first computer animated feature film, Toy Story, and is now the most successful animation studio in the world. In a remarkable turn of events, Apple bought NeXT, I retuned to Apple, and the technology we developed at NeXT is at the heart of Apple&amp;#8217;s current renaissance. And Laurene and I have a wonderful family together.&lt;/p&gt;&#xD;
&lt;p&gt;I&amp;#8217;m pretty sure none of this would have happened if I hadn&amp;#8217;t been fired from Apple. It was awful tasting medicine, but I guess the patient needed it. Sometimes life hits you in the head with a brick. Don&amp;#8217;t lose faith. I&amp;#8217;m convinced that the only thing that kept me going was that I loved what I did. You&amp;#8217;ve got to find what you love. And that is as true for your work as it is for your lovers. Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven&amp;#8217;t found it yet, keep looking. Don&amp;#8217;t settle. As with all matters of the heart, you&amp;#8217;ll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don&amp;#8217;t settle.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;My third story is about death.&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;When I was 17, I read a quote that went something like: &amp;#8220;If you live each day as if it was your last, someday you&amp;#8217;ll most certainly be right.&amp;#8221; It made an impression on me, and since then, for the past 33 years, I have looked in the mirror every morning and asked myself: &amp;#8220;If today were the last day of my life, would I want to do what I am about to do today?&amp;#8221; And whenever the answer has been &amp;#8220;No&amp;#8221; for too many days in a row, I know I need to change something.&lt;/p&gt;&#xD;
&lt;p&gt;Remembering that I&amp;#8217;ll be dead soon is the most important tool I&amp;#8217;ve ever encountered to help me make the big choices in life. Because almost everything &amp;shy; all external expectations, all pride, all fear of embarrassment or failure &amp;#8211; these things just fall away in the face of death, leaving only what is truly important. Remembering that you are going to die is the best way I know to avoid the trap of thinking you have something to lose. You are already naked. There is no reason not to follow your heart.&lt;/p&gt;&#xD;
&lt;p&gt;About a year ago I was diagnosed with cancer. I had a scan at 7:30 in the morning, and it clearly showed a tumor on my pancreas. I didn&amp;#8217;t even know what a pancreas was. The doctors told me this was almost certainly a type of cancer that is incurable, and that I should expect to live no longer than three to six months. My doctor advised me to go home and get my affairs in order, which is doctor&amp;#8217;s code for prepare to die. It means to try to tell your kids everything you thought you&amp;#8217;d have the next 10 years to tell them in just a few months. It means to make sure everything is buttoned up so that it will be as easy as possible for your family. It means to say your goodbyes.&lt;/p&gt;&#xD;
&lt;p&gt;I lived with that diagnosis all day. Later that evening I had a biopsy, where they stuck an endoscope down my throat, through my stomach and into my intestines, put a needle into my pancreas and got a few cells from the tumor. I was sedated, but my wife, who was there, told me that when they viewed the cells under a microscope the doctors started crying because it turned out to be a very rare form of pancreatic cancer that is curable with surgery. I had the surgery and I&amp;#8217;m fine now.&lt;/p&gt;&#xD;
&lt;p&gt;This was the closest I&amp;#8217;ve been to facing death, and I hope its the closest I get for a few more decades. Having lived through it, I can now say this to you with a bit more certainty than when death was a useful but purely intellectual concept:&lt;/p&gt;&#xD;
&lt;p&gt;No one wants to die. Even people who want to go to heaven don&amp;#8217;t want to die to get there. And yet death is the destination we all share. No one has ever escaped it. And that is as it should be, because Death is very likely the single best invention of Life. It is Life&amp;#8217;s change agent. It clears out the old to make way for the new. Right now the new is you, but someday not too long from now, you will gradually become the old and be cleared away. Sorry to be so dramatic, but it is quite true.&lt;/p&gt;&#xD;
&lt;p&gt;Your time is limited, so don&amp;#8217;t waste it living someone else&amp;#8217;s life. Don&amp;#8217;t be trapped by dogma &amp;#8211; which is living with the results of other people&amp;#8217;s thinking. Don&amp;#8217;t let the noise of other&amp;#8217;s opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.&lt;/p&gt;&#xD;
&lt;p&gt;When I was young, there was an amazing publication called The Whole Earth Catalog, which was one of the bibles of my generation. It was created by a fellow named Stewart Brand not far from here in Menlo Park, and he brought it to life with his poetic touch. This was in the late 1960&amp;#8217;s, before personal computers and desktop publishing, so it was all made with typewriters, scissors, and polaroid cameras. It was sort of like Google in paperback form, 35 years before Google came along: it was idealistic, and overflowing with neat tools and great notions.&lt;/p&gt;&#xD;
&lt;p&gt;Stewart and his team put out several issues of The Whole Earth Catalog, and then when it had run its course, they put out a final issue. It was the mid-1970s, and I was your age. On the back cover of their final issue was a photograph of an early morning country road, the kind you might find yourself hitchhiking on if you were so adventurous. Beneath it were the words: &amp;#8220;Stay Hungry. Stay Foolish.&amp;#8221; It was their farewell message as they signed off. Stay Hungry. Stay Foolish. And I have always wished that for myself. And now, as you graduate to begin anew, I wish that for you.&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.flickr.com/photos/23616309@N05/3930601359/"&gt;&lt;img style="border-bottom: black 1px solid; border-left: black 1px solid; margin: 5px; border-top: black 1px solid; border-right: black 1px solid"  title="Early Morning Country Road" alt="Early Morning Country Road" src="http://prinyourpajamas.com/wp-content/uploads/2010/02/earlymorning-261x300.jpg" width="235" height="270" /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;Stay Hungry. Stay Foolish.&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;Thank you all very much.&lt;/p&gt;&#xD;
&lt;p&gt;Steve Jobs, CEO &amp;shy; Apple Computer&lt;/p&gt;&lt;img src="http://www.cnblogs.com/zhaobin/aggbug/1947105.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/zhaobin/archive/2011/01/28/1947105.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/zhaobin/archive/2011/01/27/1946171.html</id><title type="text">How can I use Fiddler to debug BizTalk messages?</title><summary type="text">When using HTTP, SOAP or WCF send ports it can be incredibly useful to view the content of messages that are sent on the wire. This allows you to inspect the headers (SOAP or HTTP). Fiddler is a simple but fantastic tool to allow you to do this.By default, Fiddler will not trace any messages sent to</summary><published>2011-01-27T06:02:00Z</published><updated>2011-01-27T06:02:00Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhaobin/archive/2011/01/27/1946171.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/archive/2011/01/27/1946171.html"/><content type="html">&#xD;
&lt;div &gt;&#xD;
&lt;p&gt;When using HTTP, SOAP or WCF send ports it can be incredibly useful to view the content of messages that are sent on the wire. This allows you to inspect the headers (SOAP or HTTP). &lt;a href="http://www.fiddlertool.com/fiddler/" target="_blank"&gt;&lt;font color="#336699"&gt;Fiddler&lt;/font&gt;&lt;/a&gt; is a simple but fantastic tool to allow you to do this.&lt;/p&gt;&#xD;
&lt;p&gt;By default, Fiddler will not trace any messages sent to endpoints by BizTalk as it does not use WinInet. However, BizTalk send ports can be configured to use a proxy allowing Fiddler to intercept them. On the Send Port tick the Use Proxy checkbox and set the Server to 127.0.0.1 and the port to 8888. For dynamic ports, set the following properties (as applicable to the adapter being used)&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#008000" size="3" face="Consolas"&gt;// Debug via fiddler &lt;br /&gt;&lt;font color="#000000"&gt;msgSendRequest(SOAP.UseProxy) = true; &lt;br /&gt;msgSendRequest(SOAP.ProxyAddress) = "127.0.0.1"; &lt;br /&gt;msgSendRequest(SOAP.ProxyPort) = 8888;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;Note that this needs to be removed when Fiddler is not running since traffic directed to the proxy will not be received by anything.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;// Set Fidder as proxy for .NET application&lt;/p&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Segoe UI;"&gt;&amp;lt;system.net&amp;gt; &lt;br /&gt;&amp;lt;defaultProxy&amp;gt; &amp;lt;proxy usesystemdefault="False" bypassonlocal="True" &lt;br /&gt;proxyaddress="http://127.0.0.1:8888"/&amp;gt; &amp;lt;/defaultProxy&amp;gt; &lt;br /&gt;&amp;lt;/system.net&amp;gt;&lt;/span&gt;&#xD;
&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt; &#xD;
&lt;img src="http://www.cnblogs.com/zhaobin/aggbug/1946171.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/zhaobin/archive/2011/01/27/1946171.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/zhaobin/archive/2010/12/09/1901376.html</id><title type="text">How to clean up BizTalk Message Box</title><summary type="text">It is usually a very important task to clean up a BizTalk mseeage box during stress testing with large amount of messages. Below are the steps to clean up the message box in order to prepare for the new test.1. Stop all BizTalk services2. Type “iisreset” at command line to recycle IIS service3.Execu</summary><published>2010-12-09T07:49:00Z</published><updated>2010-12-09T07:49:00Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhaobin/archive/2010/12/09/1901376.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/archive/2010/12/09/1901376.html"/><content type="html">&lt;p&gt;It is usually a very important task to clean up a BizTalk mseeage box during stress testing with large amount of messages. Below are the steps to clean up the message box in order to prepare for the new test.&lt;/p&gt;&#xD;
&lt;p&gt;1. Stop all BizTalk services&lt;/p&gt;&#xD;
&lt;p&gt;2. Type &amp;#8220;iisreset&amp;#8221; at command line to recycle IIS service&lt;/p&gt;&#xD;
&lt;p&gt;3.&amp;nbsp;Execute the&amp;nbsp;stored procedure &amp;#8220;bts_CleanupMsgbox&amp;#8221; on your message box database&lt;/p&gt;&#xD;
&lt;p&gt;4. Execute the stroed procedure &amp;#8220;bts_PurgeSubscriptions&amp;#8221; on your message box database&lt;/p&gt;&#xD;
&lt;p&gt;(if the above stored procedures can't be found, go to your BizTalk installation directory, under &amp;#8220;Schema&amp;#8221; folder, you can find all original scripts of these stored procedures)&lt;/p&gt;&#xD;
&lt;p&gt;5. Clean up the message box log by running&amp;nbsp;the backup statement similar to&amp;nbsp;below&lt;/p&gt;&#xD;
&lt;p&gt;backup log msgBoxDb to disk = &amp;#8220;yourbackupdirectory\yourbackupfile.bak' with init, stats = 5 &lt;/p&gt;&#xD;
&lt;p&gt;6. Restart BizTalk services&lt;/p&gt;&lt;img src="http://www.cnblogs.com/zhaobin/aggbug/1901376.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/zhaobin/archive/2010/12/09/1901376.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/zhaobin/archive/2010/11/10/1873833.html</id><title type="text">男子英文名大全，来历、释义</title><summary type="text">A AARON(希伯来)启发的意思，AARON被描绘为不高但英俊的男人，诚实刻苦具有责任感，是个有效率个性沉靜的领导者。ABEL(希伯来)"呼吸"的意思，为ABELARD的简写，大部份的人认为ABEL是高大，强壮的运动员，能干，独立，又聪明。有些人则认为ABEL是瘦小，温顺的男孩。ABRAHAM原为希伯来文，意为"民族之父"。后来，它演变成"物之父"的意思。大多万数人將ABRAHAM形容为高大壮硕...</summary><published>2010-11-10T07:56:00Z</published><updated>2010-11-10T07:56:00Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhaobin/archive/2010/11/10/1873833.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/archive/2010/11/10/1873833.html"/><content type="html">&lt;p&gt;&lt;font color="#ff0000"&gt;A &lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;AARON&lt;br /&gt;(希伯来)启发的意思，AARON被描绘为不高但英俊的男人，诚实刻苦具有责任感，是个有效率个性沉靜的领导者。&lt;/p&gt;&#xD;
&lt;p&gt;ABEL&lt;br /&gt;(希伯来)"呼吸"的意思，为ABELARD的简写，大部份的人认为ABEL是高大，强壮的运动员，能干，独立，又聪明。有些人则认为ABEL是瘦小，温顺的男孩。&lt;/p&gt;&#xD;
&lt;p&gt;ABRAHAM&lt;br /&gt;原为希伯来文，意为"民族之父"。后来，它演变成"物之父"的意思。大多万数人將ABRAHAM形容为高大壮硕留着胡子的领袖，诚实，庄严，聪明，像亚伯拉翰林肯总统一样&lt;/p&gt;&#xD;
&lt;p&gt;ADAM&lt;br /&gt;(希伯来)，红土制造的意思。据说上帝用红土造人，而亚当是他造出的第一个人。 ADAM被形容是高大，黝黑，英俊，肌肉强健的男人，沉稳，聪明。&lt;/p&gt;&#xD;
&lt;p&gt;ADRIAN&lt;br /&gt;(拉丁文)黑色的意思。人们将ADRIAN描绘为迷人，阴柔的男子，敏感，体贴，可爱，富有。&lt;/p&gt;&#xD;
&lt;p&gt;ALVA&lt;br /&gt;希伯来名，给人的感觉是很崇高、庄严的，圣经上写着ALVA 是一个地名和种族名字。&lt;/p&gt;&#xD;
&lt;p&gt;ALEX&lt;br /&gt;为ALEXａｎｄER的简写，人们认为ALEX是身强体健有着希腊血统的男子，聪明，和善，令人喜爱。&lt;/p&gt;&#xD;
&lt;p&gt;ALAN&lt;br /&gt;据传，英国有一位诗人，叫Alawn(阿伦)，很近似于Alan，它的意思，但后来，这个名字常形为Eilian、Allan、Ailin、A＇lon等等。Alan的发音近似于撒格逊语Aylwyn或Alwyn(熟悉的朋友)的意思)。所以它在英国很为人所欢迎。&lt;/p&gt;&#xD;
&lt;p&gt;ALBERT&lt;br /&gt;(老式英语)崇高，聪明之意。ALBERT引人联想起三种形象；肥胖、笨重、缓慢，如Fat Albert；聪明，行为古怪，如Albert Einstein：或是正式， ALFRED(古式英语)，睿智的参謀\。ALFRED给人两种截然不同的印象：一种是超重的智者，所谓智者就是有智慧的老人家，行事谨慎，另一种是文弱的书呆子。&lt;/p&gt;&#xD;
&lt;p&gt;Andy&lt;br /&gt;为ANDREW的简写，ANDREW在希腊文裡形容有男子气概、雄壮、勇敢。&lt;br /&gt;Andy被人形容为高高的，金发的，童心未泯的普通男子，快乐，随和老实憨厚。&lt;/p&gt;&#xD;
&lt;p&gt;ANGUS&lt;br /&gt;唯一的选择。ANGUS被视作行为怪异，惹麻烦的傻瓜。&lt;/p&gt;&#xD;
&lt;p&gt;ANTHONY&lt;br /&gt;(拉丁)无价的意思，人们认为ANTHONY是高壮黝黑的意大利男人，聪明强壮并坚忍。&lt;/p&gt;&#xD;
&lt;p&gt;ARTHUR&lt;br /&gt;(凯尔特语)"贵族"，(威尔斯)英雄。Arthur有两个不同的意思：一生充满故事喜欢受注目的有趣老人;或是沉靜，与众不同，信守承诺的智者。&lt;/p&gt;&#xD;
&lt;p&gt;AUSTIN&lt;br /&gt;同August，Augustine.AUSTIN被视为聪明，坦诚有礼的大男孩--或者是恃才傲物的富家公子。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;B&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;BEN&lt;br /&gt;(希伯来)儿子的意思；所有BEN开头名字的简写。Ben被描述为高大，强壮的黑发男子，沉靜、可爱，随和，温柔。&lt;/p&gt;&#xD;
&lt;p&gt;BENSON&lt;br /&gt;(希伯来英文)"Son of Benjamin"班杰明的儿子。感谢电视上Benson Dubois，给人的印象，Benson被形容是机智的黑人管家，聪明，体贴又有趣。&lt;/p&gt;&#xD;
&lt;p&gt;BRANT&lt;br /&gt;古德语，意为妖精。这里所谓妖精，可不是你我心想的贬义词，而是古代德国人对神仙的一般称呼。&lt;/p&gt;&#xD;
&lt;p&gt;BRENT&lt;br /&gt;代表山顶或者避暑胜地。&lt;/p&gt;&#xD;
&lt;p&gt;BRIAN&lt;br /&gt;(爱尔兰语)"力量，美德"，大部份人把Brian看做是爱尔兰男子，聪明，喜欢运动，并擅于社交。有些人则认为Brian是无聊喜欢黏着妈妈的孩子。&lt;/p&gt;&#xD;
&lt;p&gt;BRUCE&lt;br /&gt;来自一个地名Bruis或Braose，它是法国瑟堡(Cherbourg)附近的村庄。据说，村里有一个庄主，取名叫Bruis，当诺尔曼人征服英国时，他们的子孙征服者来到英国，并把这姓名也传入英国。后来，苏格兰出现了一位民族英雄，叫罗伯特&amp;#183;布鲁斯，据说就是由法轩去的布鲁斯家族的后代。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;C&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;br /&gt;CARL&lt;br /&gt;(老式德语）&amp;#8221;农人&amp;#8221;同CHARLES。大部份的人认为CARL是个直率的人--照顾人，有礼的紳士，聪明稳重又沉靜。而有些对CARL印象不那么好的人则认为，他是个自以为是而且脾气暴躁的人。&lt;/p&gt;&#xD;
&lt;p&gt;CARY,&lt;br /&gt;Carey(威尔斯)"来自城堡的"，(同Kerry)人们认为Cary是个适合电影明星的名字，温和，友善，无忧无虑的人，有些人则认为这个名字听起来相当女性化。&lt;/p&gt;&#xD;
&lt;p&gt;CASPAR&lt;br /&gt;人们对Caspar有两种印象。友善，害羞乐于助人的，就像鬼马小精灵一样。或是年长,有着忠实信仰，就像圣经里Caspar一样. CHARLES(古德文)有男人气概，强壮。CHARLES不是被看做辛勤，忠实的朋友与领导者就是被认做是聪明，自大的吹毛求疵者。&lt;/p&gt;&#xD;
&lt;p&gt;CHENEY&lt;br /&gt;采尼，法语意为『橡樹林的人』。 CHRIS为CHRISTIAN,CHRISTOPHER的简写。CHRIS给人的印象是外表清爽，标致的美国男孩，聪明，可爱又有趣。&lt;/p&gt;&#xD;
&lt;p&gt;COLIN&lt;br /&gt;(爱尔兰迦略克)"孩子"的意思；同NICHOLAS人们将COLIN描绘为富有，金发的调情者，白天是聪明学有专精的人，夜晚是个迷人的花花公子。&lt;/p&gt;&#xD;
&lt;p&gt;COSMO&lt;br /&gt;希腊字，意为『宇宙』或者『秩序井然』。此名常见于苏格兰人。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;D&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;DANIEL&lt;br /&gt;(希伯来)"上帝为我们的裁決者".Daniel被形容为英俊强壮的美国童子军，喜好运动勇敢，友善，值得信赖，教养良好，聪明且随和的人。 DARRYL(古英语)意为『亲爱的』。&lt;/p&gt;&#xD;
&lt;p&gt;DEREK&lt;br /&gt;(老式德语)"统治者"的意思。DEREK5被视为高壮，英俊，有男子气慨的运动员，个性为强悍，沉靜，个性害羞。&lt;/p&gt;&#xD;
&lt;p&gt;DOUGLAS&lt;br /&gt;(苏格兰语)"从深水而来"。人们說Douglas是个强壮英俊的男子，不是聪明，敏感安靜的类型，就是勇敢，外向常招惹一堆麻烦的人。&lt;/p&gt;&#xD;
&lt;p&gt;DAVID&lt;br /&gt;(希伯来）挚爱的意思。人们形容DAVID是强壮，英俊，聪明的男人善良，幽默又独立。&lt;/p&gt;&#xD;
&lt;p&gt;DENNY&lt;br /&gt;所有以DEN开头的名字的简称，DENNY这个名字让人聊想到课堂上的笑蛋-爱玩友善极度幽默的年轻男孩，脑袋却不太灵光。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;E&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;EDGAR&lt;br /&gt;(老式英语)"幸运的战士"。原英格鲁萨克逊语为Eadgar。Ead-这个前缀词表示『富有』,『幸福』。&lt;/p&gt;&#xD;
&lt;p&gt;英国历史上，有一位人人皆知的国王Edgar the Peaceful(安详的埃德加)，创建了英国的海军部队，並联合了八个小国王，使英国国力有所增强。十九世世美国诗人兼小说家阿兰&amp;#183;波(Edgar Allan Poe)就是叫Edgar，昵称Ed。&lt;/p&gt;&#xD;
&lt;p&gt;EDWARD&lt;br /&gt;(古英语)，幸福的保护人。人们认EDWARD这名字非常适合拘谨的书虫，衣冠楚楚的作家或生意人。&lt;/p&gt;&#xD;
&lt;p&gt;EDWIN&lt;br /&gt;(老式英语)"富有的朋友"人们将EDWIN描绘为年长足智多谋的人。但对某些人来讲，EDWIN也有其阴森邪恶的一面。&lt;/p&gt;&#xD;
&lt;p&gt;ELLIOTT&lt;br /&gt;是个时髦的英文名字，源于Elijah。Elliott这个名字给人两种感觉，一是吸引人自视颇高的专业人士，聪明有主见。另一则是四眼田鸡，做事一板一眼的书呆子。&lt;/p&gt;&#xD;
&lt;p&gt;ELVIS&lt;br /&gt;(老式挪斯语)"全能的"同Elwin。Elvis Presley是这个名字的代表人物。人们将Elvis描绘为英俊大方，唱蓝调的南方摇滚巨星 EVAN(威尔斯)"年轻的战士"，JOHN的威尔斯型式。人们形容Evan是文质彬彬的年轻人有着男孩般俊俏面容，聪明的能够完成医学院的学业，才气纵横的足够出书。&lt;/p&gt;&#xD;
&lt;p&gt;ERIC&lt;br /&gt;(挪威)永远的領导者，永远的力量，也是FREDERICK的简称。ERIC被敘述为受欢迎的斯甘地拉维亚人有自信，聪明而且心地善良。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;F&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;FRANCIS&lt;br /&gt;(拉丁)法国人。FRANCIS这个名字令人联想到稳重的学者或是极度依赖宗教缺乏自信心的人。 FRANK 是FRANCIS,FRANKLIN的简称，人们对FRANK有两种截然不同的印象:辛勤工作的年长男人，独立，友善，并且温柔。不然就是又高又壮的蓝領阶级，懶惰，不受欢迎，又粗心。&lt;/p&gt;&#xD;
&lt;p&gt;FRED&lt;br /&gt;所有含"FRED"名字的简称。FRED被形容为善良，风趣。人们口中的FRED不是矮小，肥胖，笨重那型就是优雅的舞者，如Fred Astaire。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;G&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;GABY&lt;br /&gt;为Gabriel的昵称，原为希伯来文，意为『上帝的人』。据&amp;lt;圣经&amp;gt;说，天使Gabriel是上帝派来的使者，由他来宣布约翰和耶稣的出生。&lt;/p&gt;&#xD;
&lt;p&gt;GARFIELD&lt;br /&gt;(老式英语)战场之意。很多人都认为GARFIELD就像那只卡通猫一样-肥肥，爱惹麻烦的毛球。其他的人则认为GARFIELD具有领袖的特质-精明，世故，又乏味。&lt;/p&gt;&#xD;
&lt;p&gt;GARY&lt;br /&gt;"先锋"的意思。是Gerald的简称。人们认为Gary是长长得高高壮壮的普通男人，平易近人，和善又有趣。&lt;/p&gt;&#xD;
&lt;p&gt;GAVIN&lt;br /&gt;古德语，意为"白鹰"或"战鹰"。在古威尔士语中，Gawain或Gawen是『小鹰』的意思。『鹰』一直成为古代德国、英国等国家人民崇奉的对象。他们把『鹰』看做『战门』的象徵，是他们心目中的战友。 GIBSON古德语，意为"光明磊落的誓约"。据说，此名表达家长们希望自己的子女继承其祖先财物及传统的愿望。&lt;/p&gt;&#xD;
&lt;p&gt;GINO&lt;br /&gt;为Ambrogino,:Luigino。人们口中的Gino是矮小，黝黑，满身肌肉的意大利人，友善，活力充沛，而且风趣。&lt;/p&gt;&#xD;
&lt;p&gt;GLEN&lt;br /&gt;(爱尔兰迦略克)"山谷"的意思。为GLENDON的简称。GLEN不是被看做善良，单纯，踏实的中阶男子就是勇敢，聪明有创造力的富家子弟。 HARRISONHARRISON (古英语)，亨利之子。HARRISON被形容为英俊，富有的男子，优雅，傲慢或是敏感脾气温和的人。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;H&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;HUGOHUGH&lt;br /&gt;的拉丁型式。大部份人眼中的HUGO是圆润的男子(有点胖的)，个性温和，独具特色，有时间观念。&lt;/p&gt;&#xD;
&lt;p&gt;HUNK&lt;br /&gt;大个儿，大块头。在人们印象中HUNK是个辛勤工作，心思单纯，自动自发的年轻人且活泼外向。&lt;/p&gt;&#xD;
&lt;p&gt;HOWARD&lt;br /&gt;(老式英语)看守人。Howard形容的不是乏味的中等阶级就是富有掌权之人。 HENRY(老式德语)庄园的领主。HENRY这个名字给人数种不同的看法。懦弱的四眼书虫，野心勃勃，独立自主的专业人士，或是强壮，随和的家夫。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;I&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;IGNATIVS&lt;br /&gt;(拉丁)意为，"如火如荼的"，其变形为IGNACE、IGNATZ。&lt;/p&gt;&#xD;
&lt;p&gt;IVAN&lt;br /&gt;男子名，John的俄语形式。大部份人认为Ivan是勇敢的俄国男子，强悍，冷酷，而且霸道。 ISAAC(希伯來)来"他笑了"的意思。人们认为ISAAC是聪明体贴的学者型男人，通常不是犹太人就是黑人。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;J&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;JACK&lt;br /&gt;同JOHN,JACOB;是JACKSON的简称，大部份的人认为Jack是个具威望力的人-体魄健壮，阳刚，强壮，自负，聪明。也有人认为Jack可爱，有趣喜欢追求快乐的家伙。&lt;/p&gt;&#xD;
&lt;p&gt;JAMES&lt;br /&gt;为JACOB的英文形式，JAMES被描绘为大块头，强壮的英俊男人，聪明，严谨，诚实个性依赖。有些人则认为JAMES是粗鲁，自负的贵族。&lt;/p&gt;&#xD;
&lt;p&gt;JASON&lt;br /&gt;被认做可爱，喜好运动的金发男孩，但人们却对Jason的人格有争议。他可能是主观，风趣受欢迎，固执，不受束缚，调皮，或沉静，害羞，常自省的人。 JEFFERYJEFFERY被形容为孩子气，黑发，俊朗的男子。有些人则说JEFFERY是聪明的万事通，有钱又自大的小子，还有人说他是个中等男子，可靠，迟钝又单调。&lt;/p&gt;&#xD;
&lt;p&gt;JEROME&lt;br /&gt;(拉丁)圣洁的名字，在人们印象中，Jerome是个传统的名字，它让人联想到的是有趣，聪明，又体贴的男孩。&lt;/p&gt;&#xD;
&lt;p&gt;JERRY&lt;br /&gt;是GERALD，JEREMIAH，JEROME的简称，大部份的人认为Jerry是高挑，友善，好玩性格极佳的人。有的人则认为Jerry是个喜欢帶着金链子的大块头。&lt;/p&gt;&#xD;
&lt;p&gt;JESSE&lt;br /&gt;(希伯来)"上帝存在"。JESSE给人支配者的印象--一个坚韧，狂放不拘的不法之徒，可说是个坏胚子。&lt;/p&gt;&#xD;
&lt;p&gt;JIM&lt;br /&gt;James的简称，JIM被认为是好看运动员般的金发男人，友善，安靜静的平凡男人。&lt;/p&gt;&#xD;
&lt;p&gt;JIMMY&lt;br /&gt;JAMES的简称。JIMMY不是被描绘为友善单纯的男孩就是邻家的大个子。&lt;/p&gt;&#xD;
&lt;p&gt;JOE&lt;br /&gt;JOSEPH的简称。JOE被看做一般的美国男孩-强壮，英俊的男子，体贴容易相处。&lt;/p&gt;&#xD;
&lt;p&gt;JOHNNY&lt;br /&gt;同JOHN。JOHNNY被看做黑发，高壮，稚气未脫的美国男孩，通常不是安静赖着妈妈的男孩就是静不下来的捣蛋鬼。 JOHN (希伯来)"上帝是慈悲的"。John，一个带着圣经浓厚色彩的名字，让人联想到清爽聪明的男子，个性坚强独立。 JOSHUA (希伯来）意为获得上帝帮助的人。JOSHUA被视作英俊的男子，羞涩，聪明，独立，忠实的信徒。 JUSTIN (拉丁）"品格端正"。Justin被形容作可爱，棕发，爱玩，稚气未脫的男子，喜欢钓鱼及溜狗。人们说Justin可能成为富有的专业人士，公正，受人敬重，可靠的公民。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;K&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;KEN&lt;br /&gt;是KEN结尾的字的简称，KEN被描繪绘成高挑英俊的金发男人，受欢迎，又风趣。&lt;/p&gt;&#xD;
&lt;p&gt;KENNY&lt;br /&gt;是Kenneth的简称，人们把kenny当做是一般的美国男孩，年轻的足球英雄而且心地善良，成年后也是个肯为家庭投注心力的好男人。&lt;/p&gt;&#xD;
&lt;p&gt;KEVIN&lt;br /&gt;(爱尔兰)温和，可爱的，KEVIN被描绘为年轻喜好运动的美国男孩，心地好，有点固執。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;L&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;LANCE&lt;br /&gt;(老式德语)"大地"，Lance被形容为爱情小说中的英雄人物--英俊，有男子气慨，富有，也是厉害的花花公子。&lt;/p&gt;&#xD;
&lt;p&gt;LARRY&lt;br /&gt;LAWRENCE的简称。大部份人认为LARRY是随和友善的-所到之处无不充满笑声。有人则认为LARRY是吃人不吐骨头的奸商。&lt;/p&gt;&#xD;
&lt;p&gt;LEE&lt;br /&gt;(古英语)来自牧场之人。LEE这个名字结合了两大形象：一是强壮，肌肉强健，充满自信的牛仔或是文静，保守的世故者。&lt;/p&gt;&#xD;
&lt;p&gt;LEO&lt;br /&gt;(拉丁)"狮子"，为Leander，Leonard，Leopold的简称。大部份人认为Leo是强壮且温和的。他被形容为热情的背叛者，总以一付艺术家或捍卫和平的面貌出現。&lt;/p&gt;&#xD;
&lt;p&gt;LORI&lt;br /&gt;源为拉丁文Laurentium，是从Laurentium(荣誉之城)或(月桂樹之域)变來的。虽然，这个字的词根『Laurel』『月桂』是很吸引人的。因为在古代，『月桂』是作为胜利和『荣誉』的象徵。同Lauren、Laurent、Loren、Lorin、Larry、Laurence、Lorry。&lt;/p&gt;&#xD;
&lt;p&gt;LUKE&lt;br /&gt;"路加尼亚的人"同LUCIUS LUKE不是被看做强壮，结实，忠实實，愚蠢，就是风趣，友善，吵闹的人。 MARCUS同MARK，MARCUS给人的印象是高大强壮英俊的运动员或单纯乏味的生意人。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;M&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;MARK&lt;br /&gt;(拉丁)好战的意思。好战的?一点也不会!人们說Mark是爱好运动，非常英俊的男人，风趣爱好自由，而且是个细心的朋友。&lt;/p&gt;&#xD;
&lt;p&gt;MARS&lt;br /&gt;出自拉丁文，为古罗马『战神』之名。同MARKS,MARTIN,MARCY. MICHAEL(希伯来)像主的人，MICHAEL被描绘为强壮，英俊的男人，聪明成功的刻苦工作者，随和，快乐的居家男人。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;N&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;NEIL，&lt;br /&gt;Neal(爱尔兰迦略克)"冠军"之意。大部份人把Neil看做陪明有才能的人，成就极高个性温和。有人则觉得Neil是固执的人。&lt;/p&gt;&#xD;
&lt;p&gt;NICHOLAS&lt;br /&gt;(希腊)"胜利的人"。感谢圣者Nicholas，大部份的人认为Nicholas是可爱，肥胖，快乐，大方的。有些人则认为Nicholas是个被宠坏难以捉摸的小恶魔。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;O&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;OLIVER&lt;br /&gt;(拉丁)，"橄榄树"。(斯堪地拉维亚)"温和亲爱的"。OLIVER给人好几种印象。脏兮兮無无忧虑的乡下小孩；好学用功的书虫；热心奉献的人；或者愚蠢有趣的漫书人物。&lt;/p&gt;&#xD;
&lt;p&gt;OSCAR&lt;br /&gt;(斯堪地那维亚)"神圣的持枪者"。人们心目中的Oscar不是风趣，懶散，无忧无虑的冒失鬼就是讨厌固执，经常抱怨的人。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;P&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;PAUL&lt;br /&gt;(拉丁)"小"的意思。大部份人认为PAUL是庄严，稳重坚定的人，但有人认为他有魅力，创造力又和善。 PATRICK(拉丁名)，意为『高贵的』、『贵族的』。在爱尔兰和苏格兰，此名较为流行。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;br /&gt;PETER&lt;br /&gt;(希腊)岩石。人们认PETER是个不做作，诚实，开放的人。有些人则认为PETER是个充满野心和爆发力的。&lt;/p&gt;&#xD;
&lt;p&gt;PHILIP&lt;br /&gt;Philip这个名字给人几种不同的印象：一个有朝气的军官；自大的王子；有钱的商人，聪明內向的人。&lt;/p&gt;&#xD;
&lt;p&gt;PHOEBE&lt;br /&gt;聪明，闪亮。理所当然人们心中的Phoebe是个性爽朗，带给大家欢笑的开心男孩。&lt;/p&gt;&#xD;
&lt;p&gt;Randy&lt;br /&gt;为Randall,Randolph的简称。Randy被看做高瘦，讨喜的男孩，若不是安靜静，聪明努力的人不然就是擅长运动，爱玩幽默的乡村男孩。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;R&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;REX&lt;br /&gt;(拉丁)帝王的意思。谢谢HENARY HIGGINS做的REX HARRISON的雕像，人们对REX的印象是强壮庄严相当有自我风格的人，但別人眼中却稍嫌莽撞。有些人却认为REX是个独来独往的死硬派-有可能是飞行员或小偷。REX也是个适合小狗的名字。(当然也适合恐龙!)&lt;/p&gt;&#xD;
&lt;p&gt;RICHARD&lt;br /&gt;RICHARD在古德文中意谓着"掌理大权的统治者"，这个名字给人两种形象；一个是英俊强壮，擅长运动的美国男孩：另一个是诚实，严肃，但敬来乐群的男人。&lt;/p&gt;&#xD;
&lt;p&gt;RICHIE&lt;br /&gt;原为盎格鲁撒克逊语Ricehard，意为『统治得很稳固』。在古德语中，也有相应的名字Ricohard，意为『严厉的统治』。同Rick、Ricky、Ritchie。&lt;/p&gt;&#xD;
&lt;p&gt;ROBERT&lt;br /&gt;(老式英语)"光辉和着名的"。ROBERT给人两种不同的印象：英俊，强壮的运动员，风趣外向；粗壮的普通人，安静保守。&lt;/p&gt;&#xD;
&lt;p&gt;ROBINSON&lt;br /&gt;同ROBERT的；简称为ROBIN。ROBINSON给人两种不同的印象：一种是安靜静勤奋的工作者或是活泼外放的喜剧演员如Robin Williams.&lt;/p&gt;&#xD;
&lt;p&gt;ROCK&lt;br /&gt;(老式英语)源于石头，为Rochester,Rockwell的简称。Rock用来形容头脑四肢发达的人-大块头，满是肌肉的运动员，强壮，驽钝，就像石头一样硬。&lt;/p&gt;&#xD;
&lt;p&gt;ROGER&lt;br /&gt;(古德语)着名的槍枪手。ROGER被视作英俊的男子，友善，讨人喜欢充满乐趣。&lt;/p&gt;&#xD;
&lt;p&gt;RYAN&lt;br /&gt;(爱尔兰)"小国王"。 Ryan被形容为强壮，活跃的男子，长得很英俊却很害羞。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;S&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;br /&gt;SAM&lt;br /&gt;为SAMSON，SAMUEL的简称。人们印象中的SAM是个强壮的，温和，忠实脚踏实地的人，而且是可以交心的朋友。代表人物是人人皆知的UNCLE SAM&lt;/p&gt;&#xD;
&lt;p&gt;SAMUEL&lt;br /&gt;(希伯來文)，schama(意为『听』)和El(意为『上帝』)连成的。其完整意思为"被上帝听到的人"。这和圣经中的传说有关。圣经说预言家Samuel的母亲把他的降生看作是上帝对她的祷告的报。&lt;/p&gt;&#xD;
&lt;p&gt;SEAN&lt;br /&gt;为John的爱尔兰形式。&lt;/p&gt;&#xD;
&lt;p&gt;SHAWN&lt;br /&gt;被形容为阴晴不定独來独往的人如西恩潘，或是英挺，刺激，上流社会的英国人，如史恩康納萊。 SHAWN为John,Sean的爱尔兰形式。 SHAWN被形容为英俊的年轻人，活泼，受欢迎，温和。&lt;/p&gt;&#xD;
&lt;p&gt;SIDNEY&lt;br /&gt;(法文)由圣者丹尼士衍生出。SIDNEY这个名字令人联想到学有专长的专家英俊又善良。虽然有人认为SIDNEY是反传统且不按牌理出牌之人。&lt;/p&gt;&#xD;
&lt;p&gt;SIMON&lt;br /&gt;希伯来文，意为听者。SIMON被视作强壮魁梧的男子，若非有着安静样的个性就是聪明而富创造力。&lt;/p&gt;&#xD;
&lt;p&gt;SOLOMON&lt;br /&gt;希伯来文，意为平静的小人。令人联想到矮小，禿头犹太教师或先知，强壮温和，又睿智。&lt;/p&gt;&#xD;
&lt;p&gt;SPARK&lt;br /&gt;(美国)"闪闪发光"，SPARK被人们描绘为充满活力的人-反反灵敏，生气蓬勃并为人们帶来快东的人。&lt;/p&gt;&#xD;
&lt;p&gt;SPENCER&lt;br /&gt;来自法语，意为仓库保管人或粮食分配者。人们对他的印象直接来自SPENCER TRACY。人们想像中的SPENCER是灰发的年长男子，极为幽默。&lt;/p&gt;&#xD;
&lt;p&gt;SPIKE&lt;br /&gt;又长又重的钉子。SPIKE被描绘为独立强悍的街头老大，可能是莽夫或拳击手。有些人则以为这个名字很适合狗；我就认识一只叫SPIKE的狗。&lt;/p&gt;&#xD;
&lt;p&gt;STANLEY&lt;br /&gt;(古式英文)来自牧草地。STANLEY这个名字给人两种印象：安静，年长蓝领劳工或是瘦骨如柴的怪人。&lt;/p&gt;&#xD;
&lt;p&gt;STEVEN&lt;br /&gt;同Stephen。人们心目中的Steven是高壮，英俊的男子，沉静，斯文有礼，性格和善。&lt;/p&gt;&#xD;
&lt;p&gt;STUART&lt;br /&gt;原为苏格兰语，看管家畜的人，有时可解释成看管物业的人。给人两种印象：雄壮威武的高手或是聪明教养良好的绅士。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;T&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;TERRENCE&lt;br /&gt;(拉丁语)"光滑"，TERENCE这个名字让人们联想到活泼，高挑的黑人或是黑发，温和的男孩。&lt;/p&gt;&#xD;
&lt;p&gt;TERRY&lt;br /&gt;为TERENCE的简写，TERRY是个喜欢追求乐趣的男孩，喜欢运动，善良，而且充满欢笑。&lt;/p&gt;&#xD;
&lt;p&gt;TIMOTHY&lt;br /&gt;原希腊语TIMOTHEOS，意为光荣的上帝。大部份人将提摩西想成是羞涩甜美的可爱小孩。&lt;/p&gt;&#xD;
&lt;p&gt;TOMMY&lt;br /&gt;为THOMAS的简写，TOMMY给人邻家男孩的感觉，长相清秀，可爱的金发小男孩。&lt;/p&gt;&#xD;
&lt;p&gt;TOM&lt;br /&gt;为THOMAS的简写，TOM可说是一般典型美国人的代表，无所不在，自信，讨人喜欢而且做人实在。&lt;/p&gt;&#xD;
&lt;p&gt;THOMAS&lt;br /&gt;古亚拉姆语，意为双胞胎。THOMAS被认为是聪明，可靠，教养良好有机智的男子。&lt;/p&gt;&#xD;
&lt;p&gt;TONY&lt;br /&gt;为ANTHONY的简写。人们眼中的TONY是善良，强壮的运动员，冷静能自理的男孩。&lt;/p&gt;&#xD;
&lt;p&gt;TYLER&lt;br /&gt;古英语，瓦匠。TYLER给人两种印像：富有自大或者肥硕善良无忧无虑的生意人。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;V&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;VAN&lt;br /&gt;(荷兰)"贵族后裔"，为许多荷兰名字的姓。 VERNVernon的简写。Vern有着两个差异颇頗大的意义：呆板，单调的怪老头或英俊黑发的年轻男子，勇敢，有着橫扫千军的气魄。&lt;/p&gt;&#xD;
&lt;p&gt;VINCENT&lt;br /&gt;(拉丁语)"征服"。大部份的人认为Vincent是沉靜，如艺术品般的男人。稳重善解人意。然而有人认为Vincent是邪恶的罪人。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;font color="#ff0000"&gt;W&lt;/font&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;WARREN&lt;br /&gt;(古德语)"保卫者"，WARREN这个名字给人两种印象：英俊诡诈，老是与麻烦脫不了关系的人；或是努力工作的会计，聪明但乏味。&lt;/p&gt;&#xD;
&lt;p&gt;WESLEY&lt;br /&gt;(老式英语）来自西方草原。WESLEY这个名字给人两种印象：一种是被宠坏，甜美自大的娘娘腔。另一种则是年轻有着顽皮个性的专业人士。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/zhaobin/aggbug/1873833.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/zhaobin/archive/2010/11/10/1873833.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/zhaobin/archive/2010/11/09/1872793.html</id><title type="text">Install or Uninstall a Windows Service</title><summary type="text">Installcd d:\cps\bin\backendinstallUtil Batch.Monitor.Service.exeUninstallcd d:\cps\bin\backendinstallUtil -u Batch.Monitor.Service.exe</summary><published>2010-11-09T08:24:00Z</published><updated>2010-11-09T08:24:00Z</updated><author><name>zhaobin</name><uri>http://www.cnblogs.com/zhaobin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhaobin/archive/2010/11/09/1872793.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhaobin/archive/2010/11/09/1872793.html"/><content type="html">&lt;p&gt;&lt;strong&gt;Install&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;cd d:\cps\bin\backend&lt;br /&gt;installUtil Batch.Monitor.Service.exe&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;Uninstall&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;cd d:\cps\bin\backend&lt;/p&gt;&#xD;
&lt;p&gt;installUtil -u Batch.Monitor.Service.exe&lt;/p&gt;&lt;img src="http://www.cnblogs.com/zhaobin/aggbug/1872793.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/zhaobin/archive/2010/11/09/1872793.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry></feed>
