<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-16335271</id><updated>2024-10-24T20:00:15.263+08:00</updated><category term="SPS"/><category term="Sharepoint"/><category term="WSS"/><category term="Sharepoint 2010"/><category term="C#"/><category term="Linux"/><category term="ASP.Net"/><category term="Ajax"/><category term="Debian"/><category term="Event Receivers"/><category term="Kurobox"/><category term="NAS"/><category term="crontab"/><category term="flock"/><title type='text'>Whisley</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-16335271.post-7818387186590921077</id><published>2016-11-14T15:06:00.003+08:00</published><updated>2016-11-14T15:06:50.443+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Event Receivers"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SPS"/><category scheme="http://www.blogger.com/atom/ns#" term="WSS"/><title type='text'>BeforeProperties AfterProperties ListItem in Sharepoint Event Receivers</title><content type='html'>&lt;span style=&quot;color: #666666; font-family: Arial;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13.2px;&quot;&gt;Important while developing sharepoint event receivers.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Arial;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13.2px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: Arial;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13.2px;&quot;&gt;BTW, I&#39;ve read a article that said change Element.xml&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 13.2px;&quot;&gt;Synchronization to&amp;nbsp;Synchronous, we can get BeforeProperties on List events, but I cannot find this reference now.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 13.2px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 13.2px;&quot;&gt;I&#39;ll make some test to confirm it. (Maybe many days or months later......)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: Arial; font-size: 13.2px;&quot;&gt;List:&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; border-collapse: collapse; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 13.2px; margin: 0px; width: 491px;&quot;&gt;&lt;tbody style=&quot;margin: 0px;&quot;&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;111&quot;&gt;&lt;strong style=&quot;margin: 0px;&quot;&gt;List&lt;/strong&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;strong style=&quot;margin: 0px;&quot;&gt;BeforeProperties&lt;/strong&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;119&quot;&gt;&lt;strong style=&quot;margin: 0px;&quot;&gt;AfterProperties&lt;/strong&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;107&quot;&gt;&lt;strong style=&quot;margin: 0px;&quot;&gt;properties.ListItem&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;111&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemAdding&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;119&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;New value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;107&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Null&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;111&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemAdded&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;119&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;New value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;107&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;New value&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;111&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemUpdating&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;119&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Changed value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;107&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Original value&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;111&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemUpdated&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;119&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Changed value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;107&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Changed value&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;111&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemDeleting&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;119&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;107&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Original value&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;111&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemDeleted&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;119&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;107&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Null&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 13.2px;&quot;&gt;Library:&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; border-collapse: collapse; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 13.2px; margin: 0px; width: 495px;&quot;&gt;&lt;tbody style=&quot;margin: 0px;&quot;&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;104&quot;&gt;&lt;strong style=&quot;margin: 0px;&quot;&gt;Library&lt;/strong&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;132&quot;&gt;&lt;strong style=&quot;margin: 0px;&quot;&gt;BeforeProperties&lt;/strong&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;128&quot;&gt;&lt;strong style=&quot;margin: 0px;&quot;&gt;AfterProperties&lt;/strong&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;129&quot;&gt;&lt;strong style=&quot;margin: 0px;&quot;&gt;properties.ListItem&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;104&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemAdding&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;132&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;128&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;129&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Null&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;104&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemAdded&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;132&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;128&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;129&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;New value&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;104&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemUpdating&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;132&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Original value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;128&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Changed value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;129&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Original value&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;104&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemUpdated&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;132&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Original value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;128&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Changed value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;129&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Changed value&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;104&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemDeleting&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;132&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;128&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;129&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Original value&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px;&quot;&gt;&lt;td style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;104&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;ItemDeleted&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;132&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;128&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;No value&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;middle&quot; style=&quot;margin: 0px;&quot; valign=&quot;top&quot; width=&quot;129&quot;&gt;&lt;span style=&quot;margin: 0px;&quot;&gt;Null&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px;&quot; /&gt;
Reference:&lt;br /&gt;
&lt;a href=&quot;http://srisharepointdevelopment.blogspot.tw/2013/06/beforeproperties-and-afterproperties-in.html&quot;&gt;BeforeProperties and AfterProperties in Sharepoint Event Receivers&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.speventreceiverdefinition.synchronization(v=office.14).aspx&quot;&gt;SPEventReceiverDefinition.Synchronization Property&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/7818387186590921077/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/7818387186590921077' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/7818387186590921077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/7818387186590921077'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2016/11/beforeproperties-afterproperties.html' title='BeforeProperties AfterProperties ListItem in Sharepoint Event Receivers'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-3831641092415317245</id><published>2014-06-19T15:49:00.001+08:00</published><updated>2014-06-19T15:49:35.577+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>C#完美化.Ch1.基本語言要素</title><content type='html'>這篇算是讀書心得, 稍微紀錄一下以免忘了&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
ref:&amp;nbsp;&lt;a href=&quot;http://www.books.com.tw/products/0010550371&quot;&gt;晉身世界第一流程式設計師：157個完美化C#的建議&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;正確操作字串&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;String str1 = &quot;str1&quot; + 9;&lt;/li&gt;
&lt;li&gt;String str2 = &quot;str2&quot; + 9.ToString();&lt;/li&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;
2比1好, 不會發生裝箱行為
&lt;/span&gt;&lt;/ol&gt;
&lt;ol&gt;&lt;br /&gt;&lt;/ol&gt;
&lt;ol&gt;
&lt;li&gt;
sring s1 = &quot;abc&quot;;&lt;br /&gt;
s1 = &quot;123&quot; + s1 + &quot;456&quot;;
&lt;/li&gt;
&lt;li&gt;string s1 = &quot;123&quot; + &quot;abc&quot; + &quot;456&quot;;&lt;/li&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;
2比1好, 1需要在記憶體建立三個字串物件, 還執行string.Contact
&lt;/span&gt;&lt;/ol&gt;
&lt;ol&gt;&lt;br /&gt;
&lt;li&gt;
string a = &quot;t&quot;;a += &quot;e&quot;;a += &quot;s&quot;;a += &quot;t&quot;;&lt;br /&gt;
string result = a;
&lt;/li&gt;
&lt;li&gt;
string a = &quot;t&quot;;string b = &quot;e&quot;;string c = &quot;s&quot;;string d = &quot;t&quot;;&lt;br /&gt;
StringBuilder sb = new StringBuilder(a);&lt;br /&gt;
sb.Append(b);sb.Append(c);sb.Append(d);&lt;br /&gt;
string result = sb.ToString();
&lt;/li&gt;
&lt;li&gt;
string a = &quot;t&quot;;string b = &quot;e&quot;;string c = &quot;s&quot;;string d = &quot;t&quot;;&lt;br /&gt;
string result = string.Format(&quot;{0}{1}{2}{3}&quot;, a, b, c, d);
&lt;/li&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;
3=2 &amp;gt;&amp;gt;&amp;gt; 1, StringBuilder預設長度為16, 超過才會重新分配記憶體, string.Format內部使用StringBuilder
&lt;/span&gt;&lt;/ol&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;br /&gt;&lt;/ol&gt;
&lt;li&gt;使用預設的轉型方法&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/3831641092415317245/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/3831641092415317245' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/3831641092415317245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/3831641092415317245'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2014/06/cch1.html' title='C#完美化.Ch1.基本語言要素'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-4865805140997986943</id><published>2014-05-23T12:13:00.003+08:00</published><updated>2014-05-23T12:14:25.024+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SPS"/><title type='text'>The Unattended Service Account Application ID is not specified or has an invalid value.</title><content type='html'>&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #888888; font-family: Arial, sans-serif; font-size: 13px; line-height: 20.399999618530273px; margin-bottom: 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Steps Taken:&lt;/strong&gt;&lt;/div&gt;
&lt;ol style=&quot;background: rgb(255, 255, 255); border: 0px; color: #888888; font-family: Arial, sans-serif; font-size: 12px; line-height: 20.399999618530273px; list-style-image: none; list-style-position: outside; margin: 0px 0px 15px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Open&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Health Analyzer&lt;/strong&gt;&amp;nbsp;and view details&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Manage the&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Visio Graphics Service&lt;/strong&gt;&amp;nbsp;(SA) and confirm&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Application ID&amp;nbsp;&lt;/strong&gt;is empty.&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Manage the&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Secure Store Service&lt;/strong&gt;&amp;nbsp;(SA) and&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Generate New Key&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Create a New&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Target Application&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Provide a unique ID, name, and contact email. Select&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Group Type.&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Accept default and just click&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Next&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Provide a user name for&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;both fields&lt;/strong&gt;.&amp;nbsp; I used “DEMOAdmin” as that is the only user on this machine. Click OK.&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Enter the&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Target Application ID&lt;/strong&gt;&amp;nbsp;back on the&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Visio Graphics Service&lt;/strong&gt;&amp;nbsp;(SA) page and click OK.&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Go to the&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Health Analyzer&amp;nbsp;&lt;/strong&gt;rule, open it and click&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Reanalyze Now&lt;/strong&gt;, then you should be ready to go.&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;a href=&quot;http://daniecsp.blogspot.tw/2012/11/sp-2010-unattended-service-account.html&quot;&gt;Reference 1&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.spjeff.com/2010/08/17/the-unattended-service-account-application-id-is-not-specified-or-has-an-invalid-value/&quot;&gt;Reference 2&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/4865805140997986943/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/4865805140997986943' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/4865805140997986943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/4865805140997986943'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2014/05/the-unattended-service-account.html' title='The Unattended Service Account Application ID is not specified or has an invalid value.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-6038802928552668408</id><published>2014-05-23T11:50:00.003+08:00</published><updated>2014-05-23T12:14:15.009+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SPS"/><title type='text'>The Security Token Service is unavailable</title><content type='html'>&lt;div style=&quot;background-color: white; color: #17365d; font-family: Calibri; font-size: 10.5pt; margin: 0in;&quot;&gt;
Run the following commands one by one on SharePoint PowerShell:&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #17365d; font-family: Calibri; font-size: 10.5pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #17365d; font-family: Calibri; font-size: 10.5pt; margin: 0in 0in 0in 0.375in;&quot;&gt;
&lt;em&gt;&lt;strong&gt;$h = Get-SPServiceHostconfig&lt;/strong&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #17365d; font-family: Calibri; font-size: 10.5pt; margin: 0in 0in 0in 0.375in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #17365d; font-family: Calibri; font-size: 10.5pt; margin: 0in 0in 0in 0.375in;&quot;&gt;
&lt;em&gt;&lt;strong&gt;$h.Provision()&lt;/strong&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #17365d; font-family: Calibri; font-size: 10.5pt; margin: 0in 0in 0in 0.375in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #17365d; font-family: Calibri; font-size: 10.5pt; margin: 0in 0in 0in 0.375in;&quot;&gt;
&lt;em&gt;&lt;strong&gt;$services = Get-SPServiceApplication&lt;/strong&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #17365d; font-family: Calibri; font-size: 10.5pt; margin: 0in 0in 0in 0.375in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #17365d; font-family: Calibri; font-size: 10.5pt; margin: 0in 0in 0in 0.375in;&quot;&gt;
&lt;em&gt;&lt;strong&gt;foreach ($service in $services) { $service.provision();&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;write-host $service.name}&lt;/strong&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #17365d; font-family: Calibri; font-size: 10.5pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.technet.com/b/sykhad-msft/archive/2012/02/25/sharepoint-2010-nailing-the-error-quot-the-security-token-service-is-unavailable-quot.aspx&quot;&gt;Reference&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/6038802928552668408/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/6038802928552668408' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/6038802928552668408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/6038802928552668408'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2014/05/the-security-token-service-is.html' title='The Security Token Service is unavailable'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-5410495772084582497</id><published>2014-05-07T22:36:00.000+08:00</published><updated>2014-05-07T22:37:56.778+08:00</updated><title type='text'>Sharepoint建立站台時找不到預設Feature.</title><content type='html'>出現下列錯誤&lt;br /&gt;
&lt;br /&gt;
The site template requires that the Feature {e995e28b-9ba8-4668-9933-cf5c146d7a9f} be activated in the site collection.&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Feature ID可以在這裡查&amp;nbsp;
&lt;br /&gt;
http://blogs.msdn.com/b/mcsnoiwb/archive/2010/01/07/features-and-their-guid-s-in-sp2010.aspx&lt;br /&gt;
http://www.spsdemo.com/Lists/Features/All%20SharePoint%20Features.aspx&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
如果確認是預設Feature只是沒enable的話,

用Management Shell下指令打開就好&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
PS P:\&amp;gt; Enable-SPFeature -identity e995e28b-9ba8-4668-9933-cf5c146d7a9f -URL http://localhost/&lt;br /&gt;
PS P:\&amp;gt; Enable-SPFeature -identity 73ef14b1-13a9-416b-a9b5-ececa2b0604c -URL http://localhost/&lt;br /&gt;
PS P:\&amp;gt; Enable-SPFeature -identity 5eac763d-fbf5-4d6f-a76b-eded7dd7b0a5 -URL http://localhost/&lt;br /&gt;
PS P:\&amp;gt;
</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/5410495772084582497/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/5410495772084582497' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/5410495772084582497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/5410495772084582497'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2014/05/sharepointfeature.html' title='Sharepoint建立站台時找不到預設Feature.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-7891306065470681902</id><published>2013-11-26T22:25:00.000+08:00</published><updated>2013-11-26T22:31:31.344+08:00</updated><title type='text'>要用jQueryUI的注意事項</title><content type='html'>&lt;div&gt;切記順序很重要!
jquery.js一定要擺在jquery-ui.js之前,
不然怎麼用都沒效 Orz
&lt;/div&gt;
&lt;pre class=&quot;codeblock prettyprint&quot;&gt;
    &amp;lt;link href=&quot;../jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
    &amp;lt;script src=&quot;../jquery-1.10.2.js&quot;&gt;&lt;/script&gt;
    &amp;lt;script src=&quot;../jquery-ui.min.js&quot;&gt;&lt;/script&gt;
&lt;/pre&gt;

</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/7891306065470681902/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/7891306065470681902' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/7891306065470681902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/7891306065470681902'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2013/11/jqueryui.html' title='要用jQueryUI的注意事項'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-2692379770568823447</id><published>2013-09-26T20:42:00.001+08:00</published><updated>2013-09-26T20:42:36.103+08:00</updated><title type='text'>20130925劉櫂豪立委質詢黃世銘檢察總長</title><content type='html'>&lt;span style=&quot;background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;不慍不火的論述把質詢講得清清楚楚,&amp;nbsp;每段論述都切到重點,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;這段只要是台灣的公民都應該認真的花十三分鐘聽完它&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;344&quot; src=&quot;//www.youtube.com/embed/XJKVUVrwqrI&quot; width=&quot;459&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/2692379770568823447/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/2692379770568823447' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/2692379770568823447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/2692379770568823447'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2013/09/20130925.html' title='20130925劉櫂豪立委質詢黃世銘檢察總長'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-3065939032917968150</id><published>2013-04-15T14:31:00.004+08:00</published><updated>2013-04-16T10:12:03.513+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="crontab"/><category scheme="http://www.blogger.com/atom/ns#" term="flock"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Linux crontab 不重覆執行, 前一次若尚在執行則跳過</title><content type='html'>國內的教學網站大部分都只提到怎麼用crontab,&lt;br /&gt;
&lt;div&gt;
只有翻到英文與簡中的教學&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;codeblock prettyprint&quot;&gt;10 * * * * &amp;nbsp;flock -xn /tmp/test.lock -c &#39;/home/test/test.sh&#39;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
這個範例是crontab裡面有個每個小時的10分啟動的/home/test/test.sh&lt;br /&gt;
啟動前會檢查/tmp/test.lock這個檔案, 並將之鎖定&lt;br /&gt;
執行完成程式後會將這個檔案解鎖&lt;br /&gt;
下一次跑起來如果發現有這個檔案並在鎖定的狀態,&lt;br /&gt;
就會失敗, 等到檔案解鎖並到下一次的執行時間才會再啟動&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;codeblock prettyprint&quot;&gt;[~]$ flock -?
flock (util-linux 2.13-pre7)
Usage: flock [-sxun][-w #] fd#
       flock [-sxon][-w #] file [-c] command...
  -s  --shared     Get a shared lock
  -x  --exclusive  Get an exclusive lock
  -u  --unlock     Remove a lock
  -n  --nonblock   Fail rather than wait
  -w  --timeout    Wait for a limited amount of time
  -o  --close      Close file descriptor before running command
  -c  --command    Run a single command string through the shell
  -h  --help       Display this text
  -V  --version    Display version 
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
參考:&amp;nbsp;&lt;a href=&quot;http://serverfault.com/questions/82857/prevent-duplicate-cron-jobs-running&quot;&gt;Prevent duplicate cron jobs running&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://linux.vbird.org/linux_basic/0430cron.php&quot;&gt;鳥哥的Linux私房菜&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/3065939032917968150/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/3065939032917968150' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/3065939032917968150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/3065939032917968150'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2013/04/crontab-10-xn-tmptest.html' title='Linux crontab 不重覆執行, 前一次若尚在執行則跳過'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-8180559592734805720</id><published>2013-03-11T10:01:00.001+08:00</published><updated>2013-03-11T10:07:34.662+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.Net"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>動態(Server Side)產生的連動式下拉選單後在Postback(Server Side)取值</title><content type='html'>紀錄一下, 不需要再為了同一個功能搞到四點 &amp;nbsp;=.=a&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. 產生元件的code須寫在PreInit()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;codeblock prettyprint&quot;&gt;protected override void OnInit(EventArgs e)
{
    bindDropdownlist();
    base.OnInit(e);
}

&lt;/pre&gt;
&lt;br /&gt;
&lt;pre class=&quot;codeblock prettyprint&quot;&gt;protected void btnSubmit_Click(object sender, EventArgs e)
{
    DropDownList ddlTest = new DropDownList();
    string _ddltest = &quot;&quot;;
    if (ctl.ID.IndexOf(&quot;ddlTest&quot;) &amp;gt;= 0)
    {
        ddlTest = (DropDownList)ctl;
        _ddltest = this.Request[ddlTest.UniqueID];
    }

}

&lt;/pre&gt;
&lt;br /&gt;
大致上的code類似這樣,&lt;br /&gt;
有在Client端使用javascript變更過的元件要取值, 這應該是最簡單的寫法了,&amp;nbsp;
&lt;br /&gt;
唯一要注意的是&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;用ddlTest.UniqueID, 不是ddlTest.ID也不是ddlTest.Client&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
為了這種鳥問題搞到四點真的不值得.......  Orz</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/8180559592734805720/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/8180559592734805720' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/8180559592734805720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/8180559592734805720'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2013/03/server-sidepostbackserver-side_11.html' title='動態(Server Side)產生的連動式下拉選單後在Postback(Server Side)取值'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-4619076010414592631</id><published>2012-07-19T20:22:00.004+08:00</published><updated>2012-07-19T20:27:00.036+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SPS"/><category scheme="http://www.blogger.com/atom/ns#" term="WSS"/><title type='text'>伺服器錯誤 httpgo.microsoft.comfwlinkLinkID=96177</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;ExternalClass90065F8006074E3CB32B9CBDC27DAC0D&quot;&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;img alt=&quot;Error&quot; src=&quot;http://mmi-01/wiki/Picture/SPS/Recovery/%E5%9C%96%E7%89%87%20531.png&quot; /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Update KB970946後造成,&lt;/div&gt;
&lt;div&gt;
查詢google後發現WSS3.0升級SP1/SP2也有同樣的問題&lt;/div&gt;
&lt;div&gt;
應該是微軟的patch更新後有問題造成的&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
修復方式&lt;/div&gt;
&lt;div&gt;
方法1. cmd -&amp;gt; psconfig -cmd upgrade -force&lt;/div&gt;
&lt;div&gt;
&lt;img alt=&quot;Error2&quot; src=&quot;http://mmi-01/wiki/Picture/SPS/Recovery/%E5%9C%96%E7%89%87%20532.png&quot; /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
修復完成, 所以沒有測試方法2&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
方法2. cmd -&amp;gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;span style=&quot;background-color: #fff3db; color: #29303b; font-family: Georgia, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;stsadm -o upgrade 
-forceupgrade&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-color: #fff3db; color: #29303b; font-family: Georgia, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-color: #fff3db; color: #29303b; font-family: Georgia, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-color: #fff3db; color: #29303b; font-family: Georgia, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #29303b; font-family: Georgia, &#39;Times New Roman&#39;, sans-serif; font-size: x-small;&quot;&gt;補上來源&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://fnoja.blogspot.tw/2008/01/sharepoint-service-pack-1-crash.html&quot;&gt;http://fnoja.blogspot.tw/2008/01/sharepoint-service-pack-1-crash.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #29303b; font-family: Georgia, &#39;Times New Roman&#39;, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/4619076010414592631/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/4619076010414592631' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/4619076010414592631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/4619076010414592631'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2012/07/httpgomicrosoftcomfwlinklinkid96177.html' title='伺服器錯誤 httpgo.microsoft.comfwlinkLinkID=96177'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-557906915300989535</id><published>2012-01-28T11:46:00.002+08:00</published><updated>2012-01-28T11:46:21.110+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Kurobox"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="NAS"/><title type='text'>Kurobox Pro 安裝 Debian 後換新硬碟無法開機</title><content type='html'>Kurobox裝完UBoot/Debain後, 設定成只使用硬碟及tftp開機,&lt;br /&gt;
問題是換了新硬碟之後裝的Debian就沒了&lt;br /&gt;
就算刷回原廠Rom, 還是沒法開機 &amp;nbsp;=.=&lt;br /&gt;
這篇給自己的memo, 下次希望不要用到 &amp;nbsp;~&quot;~&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://buffalo.nas-central.org/index.php/Armel_Debian_for_the_Kurobox_Pro_-_Manual_install&quot; style=&quot;text-decoration: underline;&quot;&gt;這篇&lt;/a&gt;的最下面有原始的EM Mode設定方式, 設定完後就可以使用flash開機了&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; font-family: sans-serif; font-size: 15px; line-height: 19px; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.17em; padding-top: 0.5em;&quot;&gt;


&lt;span class=&quot;mw-headline&quot;&gt;Original EM Mode&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;i&gt;&lt;b&gt;By the way, the command set to get it to boot from the flash (like it was originally) should you ever want to is:&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;setenv default_kernel_addr 0x00100000 
setenv bootargs_base console=ttyS0,115200 
setenv bootargs_root root=/dev/mtdblock2 rw 
setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) 
setenv uImage_block 0 
setenv uImage_offset 0x00020000 
setenv bootcmd &#39;nboot $(default_kernel_addr) $(uImage_block) $(uImage_offset); bootm $(default_kernel_addr)&#39;&lt;/pre&gt;
&lt;br /&gt;
接下來就是無止盡的重灌地獄了, 有機會再補完吧.......&lt;br /&gt;
(當然, 有機會再說 ~&quot;~)</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/557906915300989535/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/557906915300989535' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/557906915300989535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/557906915300989535'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2012/01/kurobox-pro-debian.html' title='Kurobox Pro 安裝 Debian 後換新硬碟無法開機'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-1705699484265350134</id><published>2011-09-27T20:38:00.002+08:00</published><updated>2011-09-27T20:38:56.081+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SPS"/><category scheme="http://www.blogger.com/atom/ns#" term="WSS"/><title type='text'>WSS workflow 縮短啟動時間</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Central 
Administration 中&amp;nbsp;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;Timer Job Definitions 顯示 Workflow的啟動時間是 Minutes&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;不過預設是5分鐘才跑一次 &amp;nbsp;=.=a&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;color: #333333; font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;用下列語法修改成每分鐘跑, 不過要看Server Loading來決定是不是可以縮短&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #333333; line-height: 19px; text-align: left;&quot;&gt;stsadm -o setproperty -propertyname &quot;job-workflow&quot; -propertyvalue &quot;every 1 minutes between 0 and 59&quot; -url&amp;nbsp;&lt;/span&gt;http://usl&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;a href=&quot;http://sharepointresourcecenter.com/sharepoint-workflow-actions-pause-for-duration.html&quot;&gt;引用來源&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/1705699484265350134/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/1705699484265350134' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/1705699484265350134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/1705699484265350134'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2011/09/wss-workflow.html' title='WSS workflow 縮短啟動時間'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-96429378304429940</id><published>2011-09-15T11:21:00.005+08:00</published><updated>2011-09-15T11:24:38.329+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SPS"/><category scheme="http://www.blogger.com/atom/ns#" term="WSS"/><title type='text'>清Event Cache Table的方法</title><content type='html'>先前這個 &lt;a href=&quot;http://whisley.blogspot.com/2011/09/wss30-eventcache.html&quot;&gt;方法&lt;/a&gt;&amp;nbsp;效果不甚完美,&lt;br /&gt;
原先table大概八百萬筆刪還剩七百萬筆...... &amp;nbsp;Orz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
找到另外兩個&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
1.&lt;span style=&quot;font-family: inherit; font-size: x-small;&quot;&gt; 進&amp;nbsp;Central Administration&amp;nbsp;-&amp;gt;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span id=&quot;ctl00_PlaceHolderTitleBreadcrumb_ContentMap&quot; style=&quot;letter-spacing: 1px;&quot;&gt;&lt;span class=&quot;ms-sitemapdirectional&quot; style=&quot;unicode-bidi: embed;&quot;&gt;Application Management&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;letter-spacing: 1px;&quot;&gt;&amp;nbsp; -&amp;gt;&amp;nbsp;&lt;/span&gt;Web&lt;/span&gt; application general settings&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; 設定保留天數, 引用來源裡寫設1天就好, 我比較俗仔留個3天&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; 剛設定上去, 暫時觀察&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; font-family: verdana;&quot;&gt;&lt;tbody&gt;
&lt;tr id=&quot;ctl00_PlaceHolderMain_ctl12&quot;&gt;&lt;td class=&quot;ms-descriptiontext&quot; style=&quot;color: #4c4c4c; font-family: tahoma; font-size: 8pt; text-align: left;&quot; valign=&quot;top&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;1&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;ms-sectionheader&quot; height=&quot;22&quot; style=&quot;color: #525252; font-size: 8pt; font-weight: bold; padding-top: 4px;&quot; valign=&quot;top&quot;&gt;&lt;h3 class=&quot;ms-standardheader&quot; style=&quot;font-size: 1em; margin-bottom: 0em; margin-left: 0em; margin-right: 0em; margin-top: 0em; text-align: left;&quot;&gt;


Change Log&lt;/h3&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;ms-descriptiontext ms-inputformdescription&quot; style=&quot;color: #4c4c4c; font-size: 8pt; padding-right: 9px; text-align: left; width: 475px;&quot;&gt;Specify how long entries are kept in the change log.&lt;/td&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;8&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;19&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;150&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;ms-authoringcontrols ms-inputformcontrols&quot; style=&quot;background-color: #ebf3ff; color: #525252; font-family: tahoma; font-size: 8pt; width: 375px;&quot; valign=&quot;top&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;9px&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;7&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;9&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;7&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;150&quot; /&gt;&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;10&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td class=&quot;ms-authoringcontrols&quot; style=&quot;color: #525252; font-size: 8pt;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;ms-authoringcontrols&quot; style=&quot;color: #525252; font-size: 8pt;&quot;&gt;&lt;tbody&gt;
&lt;tr id=&quot;ctl00_PlaceHolderMain_ctl12_ctl00_tablerow1&quot;&gt;&lt;td class=&quot;ms-authoringcontrols&quot; colspan=&quot;2&quot; nowrap=&quot;&quot; style=&quot;font-size: 8pt;&quot;&gt;&lt;span id=&quot;ctl00_PlaceHolderMain_ctl12_ctl00_LiteralLabelText&quot;&gt;Delete entries from the change log:&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;ctl00_PlaceHolderMain_ctl12_ctl00_tablerow2&quot;&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;3&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;1&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;ctl00_PlaceHolderMain_ctl12_ctl00_tablerow3&quot;&gt;&lt;td width=&quot;11&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;11&quot; /&gt;&lt;/td&gt;&lt;td class=&quot;ms-authoringcontrols&quot; style=&quot;font-size: 8pt;&quot; width=&quot;99%&quot;&gt;&lt;input checked=&quot;checked&quot; id=&quot;ctl00_PlaceHolderMain_ctl12_ctl00_RadChangeLogExpirationOn&quot; name=&quot;ctl00$PlaceHolderMain$ctl12$ctl00$GrpChangeLog&quot; type=&quot;radio&quot; value=&quot;RadChangeLogExpirationOn&quot; /&gt;&lt;label for=&quot;ctl00_PlaceHolderMain_ctl12_ctl00_RadChangeLogExpirationOn&quot;&gt;After&lt;/label&gt;&amp;nbsp;&lt;input alwaysenablesilent=&quot;true&quot; class=&quot;ms-input&quot; id=&quot;ctl00_PlaceHolderMain_ctl12_ctl00_TxtChangeLogRetentionPeriod&quot; maxlength=&quot;16&quot; name=&quot;ctl00$PlaceHolderMain$ctl12$ctl00$TxtChangeLogRetentionPeriod&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 8pt; text-align: right;&quot; title=&quot;Number of days of change log data to keep&quot; type=&quot;text&quot; value=&quot;3&quot; /&gt;&amp;nbsp;days&lt;br /&gt;
&lt;input id=&quot;ctl00_PlaceHolderMain_ctl12_ctl00_RadChangeLogExpirationOff&quot; name=&quot;ctl00$PlaceHolderMain$ctl12$ctl00$GrpChangeLog&quot; type=&quot;radio&quot; value=&quot;RadChangeLogExpirationOff&quot; /&gt;&lt;label for=&quot;ctl00_PlaceHolderMain_ctl12_ctl00_RadChangeLogExpirationOff&quot;&gt;Never&lt;/label&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;下面這個步驟看起來有一定風險, 需要的人要仔細斟酌一下&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
引用來源說要sp2&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;, 我還沒試所以不確定能不能用.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: inherit; text-align: -webkit-auto;&quot;&gt;2.&amp;nbsp;Central Administration&amp;nbsp;&lt;span style=&quot;line-height: 18px; text-align: left;&quot;&gt;-&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;letter-spacing: 1px;&quot;&gt;Application Management&lt;/span&gt;&lt;span style=&quot;line-height: 18px; text-align: left;&quot;&gt;&amp;nbsp;-&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span id=&quot;ctl00_PlaceHolderTitleBreadcrumb_ContentMap&quot; style=&quot;letter-spacing: 1px;&quot;&gt;&amp;nbsp;&lt;span class=&quot;ms-sitemapdirectional&quot; style=&quot;unicode-bidi: embed;&quot;&gt;Content Databases -&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; letter-spacing: 1px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;選擇Database&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; letter-spacing: 1px;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2.1 複製Database名稱, 等下會用到&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; letter-spacing: 1px;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2.2 Remove database&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; font-family: verdana;&quot;&gt;&lt;tbody&gt;
&lt;tr id=&quot;ctl00_PlaceHolderMain_ctl03&quot;&gt;&lt;td class=&quot;ms-descriptiontext&quot; style=&quot;color: #4c4c4c; font-family: tahoma; font-size: 8pt; text-align: left;&quot; valign=&quot;top&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;1&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;ms-sectionheader&quot; height=&quot;22&quot; style=&quot;color: #525252; font-size: 8pt; font-weight: bold; padding-top: 4px;&quot; valign=&quot;top&quot;&gt;&lt;h3 class=&quot;ms-standardheader&quot; style=&quot;font-size: 1em; margin-bottom: 0em; margin-left: 0em; margin-right: 0em; margin-top: 0em; text-align: left;&quot;&gt;


Remove Content Database&lt;/h3&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;ms-descriptiontext ms-inputformdescription&quot; style=&quot;color: #4c4c4c; font-size: 8pt; padding-right: 9px; text-align: left; width: 475px;&quot;&gt;Use this section to remove a content database from the server farm. When you select the&amp;nbsp;&lt;b&gt;Remove content database&lt;/b&gt;&amp;nbsp;check box and click&amp;nbsp;&lt;b&gt;OK&lt;/b&gt;, the database is no longer associated with this Web application.&amp;nbsp;&lt;b&gt;Caution:&lt;/b&gt;&amp;nbsp;When you remove the content database, any sites listed in that content database are removed from the server farm, but the site data remains in the database.&lt;/td&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;8&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;19&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;150&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;ms-authoringcontrols ms-inputformcontrols&quot; style=&quot;background-color: #ebf3ff; color: #525252; font-family: tahoma; font-size: 8pt; width: 375px;&quot; valign=&quot;top&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;9px&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;7&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;9&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;7&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;150&quot; /&gt;&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;10&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td class=&quot;ms-authoringcontrols&quot; style=&quot;color: #525252; font-size: 8pt;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;ms-authoringcontrols&quot; style=&quot;color: #525252; font-size: 8pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;11&quot;&gt;&lt;input id=&quot;ctl00_PlaceHolderMain_ctl03_ChkUnregister&quot; name=&quot;ctl00$PlaceHolderMain$ctl03$ChkUnregister&quot; type=&quot;checkbox&quot; /&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;1&quot; /&gt;&lt;/td&gt;&lt;td class=&quot;ms-authoringcontrols&quot; style=&quot;font-size: 8pt;&quot;&gt;&lt;label for=&quot;ctl00_PlaceHolderMain_ctl03_ChkUnregister&quot;&gt;Remove content database&lt;/label&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; height=&quot;2&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;2&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;1&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;10&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;13&quot; src=&quot;http://mmi:8888/_layouts/images/blank.gif&quot; width=&quot;150&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;2.3 用commend line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; line-height: 18px; text-align: left;&quot;&gt;stsadm.exe -o addcontentdb -url &amp;lt;url&amp;gt; -databasename &amp;lt;database name&amp;gt; -clearchangelog&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; line-height: 18px; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;url&amp;gt;填站台網址&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;database name&amp;gt;就填剛剛複製的database name.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.technet.com/b/vinitt/archive/2010/01/01/how-to-clear-event-cache-table-in-supportable-ways.aspx&quot;&gt;引用來源&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/96429378304429940/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/96429378304429940' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/96429378304429940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/96429378304429940'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2011/09/event-cache-table.html' title='清Event Cache Table的方法'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-5853759062122891002</id><published>2011-09-14T14:57:00.001+08:00</published><updated>2011-09-14T14:57:42.059+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SPS"/><category scheme="http://www.blogger.com/atom/ns#" term="WSS"/><title type='text'>使用SharePointDesigner設定欄位為Null</title><content type='html'>有點蠢可是有用的方法.......&lt;br /&gt;
&lt;br /&gt;
簡單來說,&amp;nbsp;用空的Dynamic String存進欄位就好了&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://sharepointsolutions.blogspot.com/2008/01/checking-for-null-date-field-in.html&quot;&gt;引用來源&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/5853759062122891002/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/5853759062122891002' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/5853759062122891002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/5853759062122891002'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2011/09/sharepointdesignernull.html' title='使用SharePointDesigner設定欄位為Null'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-8139036570299224388</id><published>2011-09-14T14:52:00.000+08:00</published><updated>2011-09-15T11:25:13.137+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SPS"/><category scheme="http://www.blogger.com/atom/ns#" term="WSS"/><title type='text'>WSS3.0 EventCache超過百萬筆</title><content type='html'>應該是WSS的bug,&lt;br /&gt;
hotfix都上了還是踩到這個洞, 而且已經塞進去的資料也不會砍掉&lt;br /&gt;
所以手動來砍&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: inherit; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;em&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;;&quot;&gt;While exists (SELECT TOP 1 * FROM eventcache where eventtype In(8192,1048576) AND EventTime &amp;lt; DATEADD(day, -5, GETUTCDATE()))&lt;br /&gt;begin&lt;br /&gt;DELETE eventcache&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;FROM (SELECT TOP 100000 * FROM eventcache where eventtype In(8192,1048576) AND EventTime &amp;lt; DATEADD(day, -5, GETUTCDATE()) ) AS e1&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;WHERE eventcache.id = e1.id&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;End&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/290bd659-cbb2-49da-9c63-df951fa3e893&quot;&gt;引用來源&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/8139036570299224388/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/8139036570299224388' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/8139036570299224388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/8139036570299224388'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2011/09/wss30-eventcache.html' title='WSS3.0 EventCache超過百萬筆'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16335271.post-6561692021502715253</id><published>2011-07-18T21:46:00.001+08:00</published><updated>2011-07-23T13:13:03.244+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SPS"/><category scheme="http://www.blogger.com/atom/ns#" term="WSS"/><title type='text'>WSS3.0 WorkFlow卡在Starting</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpiPn7q-rokT1qU7OJnXQj6i-waHnyY_O88uGt2nv6s5dSE3LxRcO8VYSIo9K5sOYRs98w2GWchyphenhyphenJm_GpT5r-Y9RIKvWyZR39kUpLL48Z9wt6VUMDrDO9KeJa7pUSEwvtORrkqjg/s1600/Stuck+on+Starting.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;91&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpiPn7q-rokT1qU7OJnXQj6i-waHnyY_O88uGt2nv6s5dSE3LxRcO8VYSIo9K5sOYRs98w2GWchyphenhyphenJm_GpT5r-Y9RIKvWyZR39kUpLL48Z9wt6VUMDrDO9KeJa7pUSEwvtORrkqjg/s320/Stuck+on+Starting.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;WSS有一堆workflow卡在Starting的, &lt;br /&gt;
可以參考一下這個解法.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
//秀出workflow-eventdelivery-throttle, 預設是15&lt;br /&gt;
stsadm -o getproperty -pn workflow-eventdelivery-throttle&lt;br /&gt;
&lt;br /&gt;
//修改workflow-eventdelivery-throttle, 這個值要根據server的CPU/RAM能力去決定&lt;br /&gt;
stsadm -o setproperty -pn workflow-eventdelivery-throttle -pv &quot;25&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;這是SPS能夠&quot;同時&quot;啟動的workflow數量&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;先前沒有找到這解法的時候, 用程式新增item時只能間隔insert, 很蠢.......&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://social.msdn.microsoft.com/Forums/en/sharepointworkflow/thread/2e61ac05-2faf-4798-959e-d5360d4a769d&quot;&gt;來源&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/dd441390.aspx&quot;&gt;微軟官方參考資料&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://whisley.blogspot.com/feeds/6561692021502715253/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16335271/6561692021502715253' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/6561692021502715253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16335271/posts/default/6561692021502715253'/><link rel='alternate' type='text/html' href='http://whisley.blogspot.com/2011/07/wss30-workflowstarting.html' title='WSS3.0 WorkFlow卡在Starting'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14285260946929914010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpiPn7q-rokT1qU7OJnXQj6i-waHnyY_O88uGt2nv6s5dSE3LxRcO8VYSIo9K5sOYRs98w2GWchyphenhyphenJm_GpT5r-Y9RIKvWyZR39kUpLL48Z9wt6VUMDrDO9KeJa7pUSEwvtORrkqjg/s72-c/Stuck+on+Starting.JPG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>