<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;D0QCQ3g5fip7ImA9WhVbE0U.&quot;"><id>tag:blogger.com,1999:blog-33899248</id><updated>2012-05-30T06:42:42.626-07:00</updated><category term="Windows XP" /><category term="DataGridView" /><category term="Windows 2003" /><category term="Windows 2008 Server" /><category term="CISCO" /><category term="SharePoint Services 3.0" /><category term="SQL" /><category term="Image" /><category term="SQL 2005" /><category term="ASP.NET" /><category term="VPN" /><category term="DataSet Designer" /><category term="LinqDataSource" /><category term="Visual Studio 2008" /><category term="Amazon EC2" /><category term="Git" /><category term="WMI" /><category term="Python 2.6" /><category term="FTP" /><category term="Mac" /><category term="Networking" /><category term="auto completion" /><category term="Domain Controller" /><category term="Dropbox" /><category term=".MySCMServerInfo" /><category term=".NET 2.0" /><category term="ActiveDirectory" /><category term="GoToMeeting" /><category term="SSH" /><category term="me.com" /><category term="Essay" /><category term="Macinotsh" /><category term="XML" /><category term="ASA 5505 7.2" /><category term="XmlElement" /><category term="Mobile Me" /><category term="VoIP" /><category term="Snapshots" /><category term="XPath" /><category term="DotNetNuke" /><category term="IIS 6" /><category term="Nortel BSR-222 VPN Configuration" /><category term="mount point" /><category term="Certificate" /><category term="EventViewer" /><category term="Career Advise" /><category term="Passive" /><category term="Autocompletion" /><category term="XmlNode" /><category term=".NET" /><category term="Python" /><category term="NTFS" /><category term="re" /><category term="mountpoint" /><category term="SQL 2008" /><category term="Visual Studio 2005" /><category term="DataGrid" /><category term="Encryption" /><category term="SurroundSCM" /><category term="iPhone 3G" /><category term="Visual Studio 2010" /><category term="Leopard" /><category term="HP LaserJet" /><category term="Mac OS X Lion" /><category term="Connection String" /><category term="Module" /><category term="QuickTime" /><category term="Building" /><category term="5505" /><category term="ASA" /><category term="ROR" /><category term="IDLE" /><category term="Storage" /><category term="Ruby on Rails" /><category term="InsertAfter" /><category term="regular express" /><category term="ATT Tilt" /><category term="Windows 7" /><category term="iDisk" /><category term="Seapine" /><category term="emacs" /><category term="ASA 5510" /><category term="ASP.NET 2.0 TableAdapter" /><category term="MSMQ" /><category term="Share" /><category term="Casting" /><category term="XmlDocument" /><category term="CISCO ASA 5510" /><category term="Mirroring" /><category term="XPathIterator" /><category term="C#" /><category term="regex" /><category term="PythonWin" /><category term="Tortoise Git" /><category term="etc\hosts" /><category term="Linq" /><category term="C# mode" /><category term="Authentication" /><title>StokeMaster Development Note</title><subtitle type="html">Notes on Microsoft ASP.NET, C#, SQL as well as Mac, Unix and Linux and related fixes for StokeMaster.COM and other software development projects... You could be having the same problem as me!</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://devnote.stokemaster.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>130</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/StokemasterDevelopmentNote" /><feedburner:info uri="stokemasterdevelopmentnote" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;A0MBSXs5cCp7ImA9WhVUEk0.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-7016840057155972343</id><published>2012-05-16T16:04:00.001-07:00</published><updated>2012-05-16T16:04:18.528-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-16T16:04:18.528-07:00</app:edited><title>SQL Express Connection Times Out Even Though It is Up</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Zg6qcTCQkojNOHsuJBpXwJr_H80/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Zg6qcTCQkojNOHsuJBpXwJr_H80/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Zg6qcTCQkojNOHsuJBpXwJr_H80/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Zg6qcTCQkojNOHsuJBpXwJr_H80/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;h3&gt;
&lt;b&gt;Symptom:&lt;/b&gt;&lt;/h3&gt;
I can access the local SQL Express server instance without a problem using the SMSS, but from my application the SQL connection times out almost immediately. &lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;Cause:&lt;/b&gt;&lt;/h3&gt;
In my situation, it was a connection string issue. In production I use a mirrored connection. So just out of a laziness, I just change two of the hosts in the connection string to be the same.&lt;br /&gt;
&lt;br /&gt;
Like this,&lt;br /&gt;
&lt;br /&gt;
Data Source=localhost;Failover Partner=localhost;Initial....&lt;br /&gt;
&lt;br /&gt;
Apparently the driver does not like this type of conneciton string and give you an immediate timeout error.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;Fix &lt;/b&gt;&lt;/h3&gt;
Just remove the Failover Partner part and try. It always does the trick to me.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-7016840057155972343?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/ioNWz4FLino" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/7016840057155972343/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=7016840057155972343" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/7016840057155972343?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/7016840057155972343?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/ioNWz4FLino/sql-express-connection-times-out-even.html" title="SQL Express Connection Times Out Even Though It is Up" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2012/05/sql-express-connection-times-out-even.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQERng9eyp7ImA9WhVUEE4.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-369893698760596024</id><published>2012-05-14T16:12:00.003-07:00</published><updated>2012-05-14T16:15:07.663-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-14T16:15:07.663-07:00</app:edited><title>WFC Services Runs OK on Visual Studio Web Server But Not on IIS When Deployed</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cX-Viz9J04OzBBs_pXR1fxGT2x0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cX-Viz9J04OzBBs_pXR1fxGT2x0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cX-Viz9J04OzBBs_pXR1fxGT2x0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cX-Viz9J04OzBBs_pXR1fxGT2x0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;h3&gt;


Symptom:&lt;/h3&gt;
You have created an WCF "web" service. It debugs and runs fine on the Visual Studio's web server, but when deployed the directory to the IIS 7 (even on the same local machine) you get a script error.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;


The Root Cause&lt;/h3&gt;
The WCF is not fully enabled on your IIS 7.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;


The Fix&lt;/h3&gt;
The complete fix is from this web site at Microsoft.&lt;a href="http://msdn.microsoft.com/en-us/library/ms752252(v=vs.90).aspx" target="_blank"&gt; http://msdn.microsoft.com/en-us/library/ms752252(v=vs.90).aspx&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Open the IIS manager and Go to the &lt;b&gt;Default Web Site&lt;/b&gt;, Double-click Handler mappings in the Features View.&lt;/li&gt;
&lt;li&gt;In the list of application mappings, verify that the .svc file for the .NET Framework in use (2 or 4) is mapped to the aspnet_isapi.dll. If the file has not been mapped:&lt;/li&gt;
&lt;li&gt;Click Add Managed Handler.&lt;/li&gt;
&lt;li&gt;Type *.svc into the Request path:.&lt;/li&gt;
&lt;li&gt;Type System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 into the Type textbox.&lt;/li&gt;
&lt;li&gt;Type svc-Integrated into the Name: textbox.&lt;/li&gt;
&lt;li&gt;Click OK.&lt;/li&gt;
&lt;li&gt;Click Add Script Map.&lt;/li&gt;
&lt;li&gt;Type *.svc into the Request path:.&lt;/li&gt;
&lt;li&gt;Type %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll into the Executable: text box.&lt;/li&gt;
&lt;li&gt;Type svc-ISAPI-2.0 into the Name: text box.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;i&gt;Under the right "Actions" Panel, select "View Ordered List" &lt;/i&gt;&lt;/b&gt;then Using the Move Up/Move Down controls, ensure that the managed handler (svc-Integrated) appears before the aspnet_isapi (svc-ISAPI-2.0) handler in the list.&lt;/li&gt;
&lt;li&gt;Click OK.&lt;/li&gt;
&lt;li&gt;Give it a shot.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-369893698760596024?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/7n46vIxYd2A" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/369893698760596024/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=369893698760596024" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/369893698760596024?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/369893698760596024?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/7n46vIxYd2A/wfc-services-runs-ok-on-visual-studio.html" title="WFC Services Runs OK on Visual Studio Web Server But Not on IIS When Deployed" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2012/05/wfc-services-runs-ok-on-visual-studio.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AEQns8fyp7ImA9WhVUEEU.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-5736019030152163838</id><published>2012-05-14T10:12:00.001-07:00</published><updated>2012-05-15T05:41:43.577-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-15T05:41:43.577-07:00</app:edited><title>Visual Studio 2010 Reloads Microsoft.VisualStudio.IDE.ToolboxControlsInstaller,ToolboxInstallerPackage'{2C298B35-07DA-45F1-96A3-BE55D91C8D7A} Every Time</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZsMHJ2rjTWNCIoLV6rcSi5GZPoU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZsMHJ2rjTWNCIoLV6rcSi5GZPoU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZsMHJ2rjTWNCIoLV6rcSi5GZPoU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZsMHJ2rjTWNCIoLV6rcSi5GZPoU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;h3&gt;




Symptom&lt;/h3&gt;
When opening a forms designer on Visual Studio the following toolbox loads each time and it takes a long time by loading the toolbox with the following information.&lt;br /&gt;
&lt;br /&gt;
Microsoft.VisualStudio.IDE.ToolboxControlsInstaller,ToolboxInstallerPackage'{2C298B35-07DA-45F1-96A3-BE55D91C8D7A}&lt;br /&gt;
&lt;h3&gt;






Possible Solution:&lt;/h3&gt;
There are various options on this, and the best discussion about this is at this URL: &amp;nbsp;But it appears that this is related to Silverlight SDK corrupting some data in the SDK based on&lt;a href="http://community.infragistics.com/blogs/alexander_vezenkov/archive/2012/05/02/toolbox-doubled-items-issue-caused-by-sl5-tools-and-ria-1-0-sp2.aspx" target="_blank"&gt; this post&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
There are other discussions on &lt;a href="http://connect.microsoft.com/VisualStudio/feedback/details/551183/loading-toolbox-content-from-package-takes-55-seconds-or-more" target="_blank"&gt;this post&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
In my specific case, setting&lt;br /&gt;
&lt;br /&gt;
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{2c298b35-07da-45f1-96a3-be55d91c8d7a}\Toolbox\DefaultItems to 0&lt;br /&gt;
&lt;br /&gt;
made it worse.&amp;nbsp; I cannot recommend this.&lt;br /&gt;
&lt;br /&gt;
Instead try un-installing and re-installing the Sliverlight SDK in the order of versions to fix the toolbox issue. Namely remove 5.0 SDK and 4.0 SDK then install the 4.0 first then 5.0 if you are still (having to) coding with Sliverlight. &lt;br /&gt;
&lt;br /&gt;
As with anything, approach your fix with a big caution when dealing with config issues like this. Have a good back-out plan like backing up the registry settings etc.&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-5736019030152163838?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/nj-NVNe0c8o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/5736019030152163838/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=5736019030152163838" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/5736019030152163838?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/5736019030152163838?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/nj-NVNe0c8o/visual-studio-2010-reloads.html" title="Visual Studio 2010 Reloads Microsoft.VisualStudio.IDE.ToolboxControlsInstaller,ToolboxInstallerPackage'{2C298B35-07DA-45F1-96A3-BE55D91C8D7A} Every Time" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2012/05/visual-studio-2010-reloads.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQMQXkyeip7ImA9WhVVF0Q.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-7580277793448486530</id><published>2012-05-10T00:13:00.001-07:00</published><updated>2012-05-11T21:36:20.792-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-11T21:36:20.792-07:00</app:edited><title>ATT Momentum 4G Adaptor Blue Screens Windows 7 X64</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZKJWPtgPR5cVrj8MRsbGNmsdj9c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZKJWPtgPR5cVrj8MRsbGNmsdj9c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZKJWPtgPR5cVrj8MRsbGNmsdj9c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZKJWPtgPR5cVrj8MRsbGNmsdj9c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Symptom:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
When you plug in ATT Momentum 4G (Sierra Wireless Momentum), you get a blue screen (with memory violation from a driver) when the driver in being installed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Root Cause:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I do not know exactly which driver causes this, but...&lt;br /&gt;
&lt;br /&gt;
It appears that the Sierra driver is not compatible with the USB-3 interface (at least on my ASUS u46s). Try plugging this into a USB-2 interface slot and start the installation over again.&lt;br /&gt;
&lt;br /&gt;
Also, in my situation, I had to call the ATT's automated activation phone line to activate the SIM in it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-7580277793448486530?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/xxAIW2Wvhcg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/7580277793448486530/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=7580277793448486530" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/7580277793448486530?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/7580277793448486530?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/xxAIW2Wvhcg/att-momentum-4g-adaptor-blue-screens.html" title="ATT Momentum 4G Adaptor Blue Screens Windows 7 X64" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2012/05/att-momentum-4g-adaptor-blue-screens.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIERXc6eSp7ImA9WhVVF0Q.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-111988033331332079</id><published>2012-04-26T19:21:00.003-07:00</published><updated>2012-05-11T21:38:24.911-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-11T21:38:24.911-07:00</app:edited><title>Collecting PDF Form Data with ASP.NET C#</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/h_q8765TkwOaoEoT6hT7kIqdtDE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h_q8765TkwOaoEoT6hT7kIqdtDE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/h_q8765TkwOaoEoT6hT7kIqdtDE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h_q8765TkwOaoEoT6hT7kIqdtDE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;I recently had to investigate the technique to capture the form input data collected on Adobe PDF for&amp;nbsp;radiological&amp;nbsp;procedure report results.&lt;br /&gt;
&lt;br /&gt;
This, though very simple, information was scattered around all over the places so I can provide you the gist of what you need to do by means of a simple demo code.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;First you will need to use the PDF Form Editor, for example Adobe Acrobat Pro. I am sure there are a lot of different ones.&lt;/li&gt;
&lt;li&gt;Next you either scan a form or create one which output the usual .doc file.&lt;/li&gt;
&lt;li&gt;Import the document and edit the form using the PDF form editor, drag and dropping the fields.&lt;/li&gt;
&lt;li&gt;Finally add a submit button with a submit action of http://localhost/xfdf&lt;/li&gt;
&lt;li&gt;On Visual Studio, create the xfdf web project and you can add the following code in Page_Load of Default.aspx&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="csharpcode"&gt;
&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;partial&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; xdf : System.Web.UI.Page&lt;/pre&gt;
&lt;pre&gt;{&lt;/pre&gt;
&lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;protected&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; Page_Load(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, EventArgs e)&lt;/pre&gt;
&lt;pre&gt;    {&lt;/pre&gt;
&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;var&lt;/span&gt; name = &lt;span class="str"&gt;"junk.xfdf"&lt;/span&gt;;&lt;/pre&gt;
&lt;pre&gt;        &lt;span class="kwrd"&gt;string&lt;/span&gt; filename = Path.Combine(Server.MapPath(&lt;span class="str"&gt;""&lt;/span&gt;), name);&lt;/pre&gt;
&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;using&lt;/span&gt; (FileStream fs = &lt;span class="kwrd"&gt;new&lt;/span&gt; FileStream(filename, FileMode.Create))&lt;/pre&gt;
&lt;pre&gt;        {&lt;/pre&gt;
&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;byte&lt;/span&gt;[] bytes = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;byte&lt;/span&gt;[8192];&lt;/pre&gt;
&lt;pre&gt;            &lt;span class="kwrd"&gt;int&lt;/span&gt; bytesRead;&lt;/pre&gt;
&lt;pre class="alt"&gt;            while ((bytesRead = Request.InputStream.Read(bytes, 0, bytes.Length)) &amp;amp;gt; 0)&lt;/pre&gt;
&lt;pre&gt;            {&lt;/pre&gt;
&lt;pre class="alt"&gt;                fs.Write(bytes, 0, bytesRead);&lt;/pre&gt;
&lt;pre&gt;            }&lt;/pre&gt;
&lt;pre class="alt"&gt;        }&lt;/pre&gt;
&lt;pre&gt;    }&lt;/pre&gt;
&lt;pre class="alt"&gt;}&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;ul&gt;
&lt;li&gt;Compile above code.&lt;/li&gt;
&lt;li&gt;Submit the PDF form to the URL&lt;/li&gt;
&lt;/ul&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
Then if you open junk.xfdf on your text editor, you will see something like this. The key part is that you will see the field and value elements in the XML. From this point it is quite easy to parse this stuff using the XDocument class and LINQ.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="html"&gt;xml&lt;/span&gt; &lt;span class="attr"&gt;version&lt;/span&gt;&lt;span class="kwrd"&gt;="1.0"&lt;/span&gt; &lt;span class="attr"&gt;encoding&lt;/span&gt;&lt;span class="kwrd"&gt;="UTF-8"&lt;/span&gt;?&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;xfdf&lt;/span&gt; &lt;span class="attr"&gt;xmlns&lt;/span&gt;&lt;span class="kwrd"&gt;="http://ns.adobe.com/xfdf/"&lt;/span&gt; &lt;span class="attr"&gt;xml:space&lt;/span&gt;&lt;span class="kwrd"&gt;="preserve"&lt;/span&gt;
&lt;span class="kwrd"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;fields&lt;/span&gt;
&lt;span class="kwrd"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;field&lt;/span&gt; &lt;span class="attr"&gt;name&lt;/span&gt;&lt;span class="kwrd"&gt;="Heart Rate"&lt;/span&gt;
&lt;span class="kwrd"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;value&lt;/span&gt;
&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;10&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;value&lt;/span&gt;
&lt;span class="kwrd"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;field&lt;/span&gt;
&lt;span class="kwrd"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;field&lt;/span&gt; &lt;span class="attr"&gt;name&lt;/span&gt;&lt;span class="kwrd"&gt;="Submit"&lt;/span&gt;
&lt;span class="kwrd"&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;fields&lt;/span&gt;
&lt;span class="kwrd"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ids&lt;/span&gt; &lt;span class="attr"&gt;original&lt;/span&gt;&lt;span class="kwrd"&gt;="BFF11731D28F744F901901CF60BBED7A"&lt;/span&gt; &lt;span class="attr"&gt;modified&lt;/span&gt;&lt;span class="kwrd"&gt;="B0328D96D4E3F242A93BC5512C7B97E6"&lt;/span&gt;
&lt;span class="kwrd"&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;xfdf&lt;/span&gt;
&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-111988033331332079?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/4csVEqF0Fy0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/111988033331332079/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=111988033331332079" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/111988033331332079?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/111988033331332079?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/4csVEqF0Fy0/collecting-pdf-form-data-with-aspnet-c.html" title="Collecting PDF Form Data with ASP.NET C#" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2012/04/collecting-pdf-form-data-with-aspnet-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MMQ3k6eip7ImA9WhVXEE4.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-1786282484691542433</id><published>2012-04-09T08:39:00.001-07:00</published><updated>2012-04-09T22:24:42.712-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-09T22:24:42.712-07:00</app:edited><title>Getting XTIDE Up on Joyent SmartMachine (Solaris 11)</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zH1qFoE794XdrFrbIqFKHh4oSPg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zH1qFoE794XdrFrbIqFKHh4oSPg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zH1qFoE794XdrFrbIqFKHh4oSPg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zH1qFoE794XdrFrbIqFKHh4oSPg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;This is my note on getting the XTide (&lt;a href="http://www.flaterco.com/xtide/xtide.html" target="_blank"&gt;learn more)&lt;/a&gt; up on the Joyent SmartMachine on which I am running various personal web projects. My XTide was previously hosted on a &lt;b&gt;shared&lt;/b&gt; Linux machine (i.e., no root access) before but the provider upgraded the Linux and then it broke. Since I now have an Intel Solaris 11 virtual machine of "my own," I have decided to transition to this server (as I find time, of course.) Installing and configuring XTide on a shared machine was a real hassle as they did not have X11 installed and they won't install it for me, but now with the virtual machine in which I have the "root" things are becoming much easier, in addition there are a lot of pre-built installs that's available (still require the root access.) {Why Joyent SmartMachine and Solaris? Don't ask. But I am extremely satisfied with it. }&lt;br /&gt;
&lt;br /&gt;
Perhaps you may have the same problem and here is how I got around the issues.&lt;br /&gt;
&lt;br /&gt;
Note that I am only interested in running this as a command line to compute the tide and graphics in the area I surf using a cron job. So if you have an X-Windows issue, this article won't help much.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Getting It Installed&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Getting it installed is fairly simple.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;The page&amp;nbsp;&lt;a href="http://www.flaterco.com/xtide/files.html"&gt;http://www.flaterco.com/xtide/files.html&lt;/a&gt;&amp;nbsp;tells that on Solaris you go to Blastware.COM, but almost all of the mirror sites it points to are broken. Instead, if you go to&amp;nbsp;&lt;b&gt;&lt;a href="http://www.opencsw.org/packages/xtide/"&gt;http://www.opencsw.org/packages/xtide/&lt;/a&gt;&lt;/b&gt;&amp;nbsp;it is still avilable. The maintenance of this stopped around 2.10 (in 2008) but for my purposes, it is OK. Someday, when I have more time, I may volunteer to contribute to Opencsw to maintain this. Not now...&lt;/li&gt;
&lt;li&gt;It comes with required libraries, and also the original harmonics and wvs files it was built with in /opt/csw/share/xtide&amp;nbsp;&lt;/li&gt;
&lt;li&gt;If you don't know what I am talking about but you have the root access to the machine, just follow the instructions on the OpenCSW web site, install the &lt;i&gt;pkgutil &lt;/i&gt;installer first as a root (if you don't have) and then install the xtide with it. You would be all set in a matter of 5-10 minutes. And if you still don't know what I am talking about, then it is best to ask your IT admin buddy to get that done as it can affect other OpenCSW packages other people may be using on your machine.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b&gt;Getting it to Run&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;"Out of the box" by typing in {tide -l "princeton"} it did not run. In fact it threw an exception about saying &amp;nbsp;the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;XTide Fatal Error: &amp;nbsp;BAD_OR_AMBIGUOUS_COMMAND_LINE&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;but do not dismay yet...!&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Here is what I have done to get it going!&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
The "tide" command on /opt/csw/bin/tide is a shell script which, in turn, will run tide.bin after "tide" sets various environment variables. There appears to be an issue with the WVS_DIR environment variable and if only have the HFILE_PATH it works (in other words comment out WVS_DIR definition in the tide script), and it will output the tide. The graphics output also worked.&lt;br /&gt;
&lt;br /&gt;
To test if anything works, you can first only EXPORT the HFILE_PATH in your shell then run /opt/csw/bin/tide.bin directly like this.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;HFILE_PATH="/opt/csw/share/xtide/harmonics.tcd"&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;export HFILE_PATH&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;/opt/csw/bin/tide.bin -l "princeton"&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;The Harmonics Database Location Names Have Changed&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In my old script I had -l "half moon bay." This time it did not work as the program could not find the station name. So be sure that you look at the &lt;b&gt;Location List (&lt;a href="http://www.flaterco.com/xtide/locations.html"&gt;http://www.flaterco.com/xtide/locations.html&lt;/a&gt;) &lt;/b&gt;&amp;nbsp;that matches your Harmonic file you've downloaded.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Hope this helps in your situation.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-1786282484691542433?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/WLJiTt_MZJk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/1786282484691542433/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=1786282484691542433" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/1786282484691542433?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/1786282484691542433?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/WLJiTt_MZJk/getting-xtide-up-on-joyent-smartmachine.html" title="Getting XTIDE Up on Joyent SmartMachine (Solaris 11)" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2012/04/getting-xtide-up-on-joyent-smartmachine.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4AQnY7eip7ImA9WhVQGU8.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-4331893473983144426</id><published>2012-04-07T18:04:00.000-07:00</published><updated>2012-04-08T15:25:43.802-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-08T15:25:43.802-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DataGrid" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET" /><category scheme="http://www.blogger.com/atom/ns#" term="LinqDataSource" /><category scheme="http://www.blogger.com/atom/ns#" term="Linq" /><title>ASP.NET GridView and LinqDataSource Stuff...</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cM5KM2nD9fuCtBrlGpo_43el-hw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cM5KM2nD9fuCtBrlGpo_43el-hw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cM5KM2nD9fuCtBrlGpo_43el-hw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cM5KM2nD9fuCtBrlGpo_43el-hw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;The DataGrid is one of the components I use quite a bit in my line of work, and they are convenient.&lt;br /&gt;
&lt;br /&gt;
I have also been using LINQ quite a bit. It is a significant time saver as well as making my code more easier to understand. But until today I never bothered to use LinqDataSource just because I did not spend time to learn a bit about it. Instead I always built the DataSets using the designer. The problem with the Datasets for me is that it does not show me exactly what I am querying easily.&lt;br /&gt;
&lt;br /&gt;
Before I get into that, I have to tell you also that if your requirement is very simple, then you can feed the result of the Linq query directly to the GridView (or other data binding controls.) This might be a great way to bind the pull down menu or a list view with small number of selections.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #3d85c6; font-family: 'Courier New',Courier,monospace;"&gt;var customers = from c in context.customers select c;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #3d85c6; font-family: 'Courier New',Courier,monospace;"&gt;gridview1.DataSource = c;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
And that really all it takes to feed a GridView. For more information on this,&lt;a href="http://msdn.microsoft.com/en-us/library/bb546190.aspx?ppud=4" target="_blank"&gt; learn from this MSDN page.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
But this won't allow you to sort or page the grid. For that purpose you need to attach a LinqDataSource. You can easily do that by:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Defining the LinqToSQL object in your project, or pull one in from other assembly&lt;/li&gt;
&lt;li&gt;Dragging and dropping the LinqDataSource component on to of the GridView. The wizard will show you which of the LinqToSQL database context object to use.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Well that's great, but I really do not want to use the connection string that's built into Web.config. In my case, I pull the connection string common to all my applications from my own company's registry set. But at any rate, you would assign a newly created data context to e.ObjectInstance of the event argument.&lt;br /&gt;
&lt;br /&gt;
So here is another trick.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Define an event processing method for ContextCreating event.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #3d85c6; font-family: 'Courier New',Courier,monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;protected void LinqDataSource1_ContextCreating(object sender,&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #3d85c6; font-family: 'Courier New',Courier,monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LinqDataSourceContextEventArgs e)&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #3d85c6; font-family: 'Courier New',Courier,monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #3d85c6; font-family: 'Courier New',Courier,monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string myConnectionString="your connection string";&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #3d85c6; font-family: 'Courier New',Courier,monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.ObjectInstance = new MyDataConext(myConnectionString);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #3d85c6; font-family: 'Courier New',Courier,monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-4331893473983144426?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/jgFElqglKx4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/4331893473983144426/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=4331893473983144426" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/4331893473983144426?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/4331893473983144426?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/jgFElqglKx4/aspnet-gridview-and-linqdatasource.html" title="ASP.NET GridView and LinqDataSource Stuff..." /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2012/04/aspnet-gridview-and-linqdatasource.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcDRn86fip7ImA9WhVRFkU.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-7647749943274684131</id><published>2012-03-25T08:07:00.001-07:00</published><updated>2012-03-25T08:07:57.116-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-03-25T08:07:57.116-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SSH" /><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion" /><title>Mac Lion: ssh hangs</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nx4Re_qU_2VSO3uHduF6ZkADKZE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nx4Re_qU_2VSO3uHduF6ZkADKZE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nx4Re_qU_2VSO3uHduF6ZkADKZE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nx4Re_qU_2VSO3uHduF6ZkADKZE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Symptom:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
On Mac Lion (10.7.3), when you try 'ssh' it times-out. You know you have the proper login and host parameters because it works from other computers (say Linux or Windows putty, or even running putty on the same Mac!)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Cause:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I do not know, but it appears that the Mac Lion SSH handles UTF-8 character sets in the manner that the remote side do not like.&lt;br /&gt;
&lt;br /&gt;
There is nothing wrong with your network or network provider. Something wrong is introduced in Lion.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fix:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Essentially finding a line in /etc/ssh_config file that says LANG LC_* should just be commented out. If you do not know exactly what I am talking about the following is the steps to accomplish this.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Open Terminal&lt;/li&gt;
&lt;li&gt;sudo vim /etc/ssh_config&lt;/li&gt;
&lt;li&gt;Supply your password&lt;/li&gt;
&lt;li&gt;Type in below, including the first /&lt;/li&gt;
&lt;li&gt;/LANG LC_&lt;/li&gt;
&lt;li&gt;This will take you to the line where the problem is&lt;/li&gt;
&lt;li&gt;Hit the left arrow key several times, &amp;nbsp;until you are at the start of the line.&lt;/li&gt;
&lt;li&gt;Type i to insert&lt;/li&gt;
&lt;li&gt;Type # to comment out the line&lt;/li&gt;
&lt;li&gt;Press ESC to exit the insert mode&lt;/li&gt;
&lt;li&gt;Type wq (means write quit) to save the file and exit vim&lt;/li&gt;
&lt;li&gt;Now close the Terminal, Re-launch it and try ssh again&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
If you do not want to all of this, simply download other SSH clients and use them.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-7647749943274684131?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/GObfvueP3ho" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/7647749943274684131/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=7647749943274684131" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/7647749943274684131?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/7647749943274684131?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/GObfvueP3ho/mac-lion-ssh-hangs.html" title="Mac Lion: ssh hangs" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2012/03/mac-lion-ssh-hangs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEARHw-eip7ImA9WhRUEUo.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-2864423088921344311</id><published>2012-01-21T11:02:00.000-08:00</published><updated>2012-01-21T11:04:05.252-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-21T11:04:05.252-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PythonWin" /><category scheme="http://www.blogger.com/atom/ns#" term="EventViewer" /><category scheme="http://www.blogger.com/atom/ns#" term="Python" /><title>Fix! Pythonwin (2.x) Windows 2008 Event Log Text Get Empty String</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Z9JF4gmGICHT-HBZ_oqnQ68kzJU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Z9JF4gmGICHT-HBZ_oqnQ68kzJU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Z9JF4gmGICHT-HBZ_oqnQ68kzJU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Z9JF4gmGICHT-HBZ_oqnQ68kzJU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Symptom:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You used to be able to get the Event Viewer text under Windows 2003 using the following call in Pythonwin. After switching to Windows 2008 or Windows 7 the strings are all empty!&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
events=win32evtlog.ReadEventLog(hEvent,flags,0)&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
for ev_obj in events : &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp; msg=str(win32evtlogutil.SafeFormatMessage(ev_obj, logType))&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now the majority of "msg" comes out blank. Oddly enough any newer programs the msg come out fine.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fix:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The string messages logged can &lt;i&gt;also&lt;/i&gt; be found as tuples in (using above code example) &lt;b style="color: red;"&gt;ev_obj.StringInserts&lt;/b&gt; as UNICODE strings.&lt;br /&gt;
&lt;br /&gt;
Therefore, for example, to grab the strings as one msg string, you could write a quick loop like this to get you the full string.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;msg = ''&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for si in ev_obj.StringInserts :&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msg = msg + si + ' ' &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print msg&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-2864423088921344311?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/vkDm3TKUo7o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/2864423088921344311/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=2864423088921344311" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/2864423088921344311?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/2864423088921344311?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/vkDm3TKUo7o/fix-pythonwin-2x-windows-2008-event-log.html" title="Fix! Pythonwin (2.x) Windows 2008 Event Log Text Get Empty String" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2012/01/fix-pythonwin-2x-windows-2008-event-log.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IHRn0zeCp7ImA9WhRXGUs.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-1775739072539088068</id><published>2011-12-26T23:05:00.000-08:00</published><updated>2011-12-26T23:05:37.380-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-26T23:05:37.380-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="VoIP" /><title>VoIP "Can't Hear Me, Can Hear Them" Issue</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/guryXurJGMt7T7h5CoZ5QnLF5EY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/guryXurJGMt7T7h5CoZ5QnLF5EY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/guryXurJGMt7T7h5CoZ5QnLF5EY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/guryXurJGMt7T7h5CoZ5QnLF5EY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Symptom:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You have (deployed) a SIP VoIP telephone set (can also be a software SIP phone) at home. Your phone rings and you can even dial out but the recipient of a call cannot hear you, though you can hear the recipient's voice.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Issue:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This means that the SIP protocol is going though but the RTP protocol is not going through. This happens in a typical home WiFi "router" scenario connected to cable or DSL service.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Possible Fixes:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If you cannot make a call at all or if you cannot receive any calls at all: Check UDP 5060-5063 ports.&lt;br /&gt;
&lt;br /&gt;
If the sound is an issue then try opening UDP Port 16384 - 16482, or 10000 - 20000. This depends on the phone implementation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: If you are an Astound customer, try connecting the phone directly to the DMZ port provided by Astound.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-1775739072539088068?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/06ZsjOHBxQQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/1775739072539088068/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=1775739072539088068" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/1775739072539088068?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/1775739072539088068?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/06ZsjOHBxQQ/voip-cant-hear-me-can-hear-them-issue.html" title="VoIP &quot;Can't Hear Me, Can Hear Them&quot; Issue" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/12/voip-cant-hear-me-can-hear-them-issue.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQERXgyeip7ImA9WhVVFk4.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-4709903422051218147</id><published>2011-12-11T11:21:00.001-08:00</published><updated>2012-05-10T00:18:24.692-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-10T00:18:24.692-07:00</app:edited><title>Mac Lion Windows Remote Desktop Freezes - Alternate Solution</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OfMVokXKeNN2zcdCN1EvCYqC1-g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OfMVokXKeNN2zcdCN1EvCYqC1-g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OfMVokXKeNN2zcdCN1EvCYqC1-g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OfMVokXKeNN2zcdCN1EvCYqC1-g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Symptom&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
When you "log out" from a Remote Desktop session using the Windows Remote Desktop client, it either freezes or hangs. If it is in full-screen mode, it would not even allow you to open the Apple Menu to force quit the application.&lt;br /&gt;
&lt;br /&gt;
As of December 2011, there is no updated version of RDP Client from Microsoft.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Workaround/Alternate Solution&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
Try using &lt;a href="http://cord.sourceforge.net/" target="_blank"&gt;CoRD from SourceForge.&lt;/a&gt; It actually provides better user experience than the RDP client from Microsoft. It works on all recent versions of MacOS X including the Tiger version. I especially like the fact that the user/password management is built in to the software. (for me the Keychain with MS DRP goes out of Sync very quickly if you are connecting to multiple hosts frequently, usually ending up typing user and password every time.)&lt;br /&gt;
&lt;br /&gt;
Update (5/10/2012): CoRD is not that super-stable either on my iMac with Lion, but it never totally hangs. CoRD tends to crash hard when losing a connection that was running. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-4709903422051218147?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/3eT0E90ejXw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/4709903422051218147/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=4709903422051218147" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/4709903422051218147?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/4709903422051218147?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/3eT0E90ejXw/mac-lion-windows-remote-desktop-freezes.html" title="Mac Lion Windows Remote Desktop Freezes - Alternate Solution" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/12/mac-lion-windows-remote-desktop-freezes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUBQXg4eip7ImA9WhVVF0Q.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-5395212202937318000</id><published>2011-12-05T09:22:00.001-08:00</published><updated>2012-05-11T21:34:10.632-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-11T21:34:10.632-07:00</app:edited><title>LINQ To XML Tips</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TQMLKyTIH17Zhd4DdvpuF3954MA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TQMLKyTIH17Zhd4DdvpuF3954MA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TQMLKyTIH17Zhd4DdvpuF3954MA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TQMLKyTIH17Zhd4DdvpuF3954MA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;b&gt;Use XElement instead of XDocument in LINQ to XML&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I misunderstood that it is usually the XElement that is all I needed and not XDocument to work with LINQ to XML.&lt;br /&gt;
&lt;br /&gt;
XElement has just about everything you need and also LINQ works mainly with XElement.&lt;br /&gt;
&lt;br /&gt;
For example, the following code can locate all the "top level" nodes titled page. Within each of the element you can actually find the element titled "regex" no matter how deeply inside that elemenet's tree. This is because I am grabbing all descendant level nodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Test(XElement FinderSpec)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var pages = from f in FinderSpec.Descendants()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where f.Name == "page"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select f;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var i in pages)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var reg = from tre in i.Descendants()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where tre.Name == "regex"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select tre;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var re in reg)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var rs = re.Value;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The XElement class also has handy Load and Save from file as well.&lt;br /&gt;
&lt;br /&gt;
var el = Xelement.Load("test.xml");&lt;br /&gt;
el.Save("test2.xml");&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-5395212202937318000?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/ydWdqiQsMuo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/5395212202937318000/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=5395212202937318000" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/5395212202937318000?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/5395212202937318000?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/ydWdqiQsMuo/linq-to-xml-tips.html" title="LINQ To XML Tips" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/12/linq-to-xml-tips.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8MQXw4eSp7ImA9WhRSGEw.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-8439067690828132999</id><published>2011-11-20T09:20:00.001-08:00</published><updated>2011-11-20T09:41:20.231-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-20T09:41:20.231-08:00</app:edited><title>Taking Advantage of the Microsoft XPS "Virtual Printer" Even on Macs and iPADs</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jrDoqESNwLl9hz6e7ZXRpc20174/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jrDoqESNwLl9hz6e7ZXRpc20174/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jrDoqESNwLl9hz6e7ZXRpc20174/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jrDoqESNwLl9hz6e7ZXRpc20174/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Symptom:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I was using an application and the result of which is only output via a Print interface. To make the matter worse, this was on a remote site so I could not print to my printer either. To make it even worse, I don't feel like adding any PDF printing driver to this machine as it belonged to a customer.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fix:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I have been aware that Microsoft XPS driver is installed on just about any modern Microsoft OS machines, and it is even often annoying that it comes up as a default driver to my mothers-in-law PC and she cannot print to actual paper.&lt;br /&gt;
&lt;br /&gt;
As it turns out, you can consider this XPS as the pre-installed "PDF" driver that works on Windows. And since .NET Framework 3.0 a "free" viewer comes "pre-installed"; all you need to do is to activate it! Like just about anything Microsoft (Apple) does, XPS is designed to kill &amp;nbsp;other company's product, in this case the PDF.&lt;br /&gt;
&lt;br /&gt;
Whether XPS is superior to PDF or not, I don't care, I am not in printing business, but, this means that we can print at most computers without any physical printer, and take or email the XPS file back home and print at your leisure (or just view them to save the tree) or re-print them in PDF once you get it back on a PDF enabled computer.&lt;br /&gt;
&lt;br /&gt;
To "install" or actually "activate" the XPS viewer, see this MS article. &lt;a href="http://windows.microsoft.com/en-US/windows-vista/What-is-the-XPS-Viewer" target="_blank"&gt;What is XPS Viwer&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Other platform users do not need to dismay. You can try uploading the XPS file to your Google Docs account and view it online!&lt;br /&gt;
&lt;br /&gt;
Note that the article is a bit obsolete, in systems with .NET framework 3.5 (probably) or later the XPS viewer enable is not within the .NET Framework feature but are listed in the top level list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-8439067690828132999?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/yWugaNMNVQo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/8439067690828132999/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=8439067690828132999" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/8439067690828132999?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/8439067690828132999?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/yWugaNMNVQo/taking-advantage-of-microsoft-xps.html" title="Taking Advantage of the Microsoft XPS &quot;Virtual Printer&quot; Even on Macs and iPADs" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/11/taking-advantage-of-microsoft-xps.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAESHwyfip7ImA9WhRSGE0.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-6210145053167159134</id><published>2011-11-20T08:28:00.001-08:00</published><updated>2011-11-20T08:31:49.296-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-20T08:31:49.296-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008" /><title>SQL Server 2008: Cannot Detach The Database</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/BiVCqMc7kNUkkHSDmf-vgK5JBfc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BiVCqMc7kNUkkHSDmf-vgK5JBfc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/BiVCqMc7kNUkkHSDmf-vgK5JBfc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BiVCqMc7kNUkkHSDmf-vgK5JBfc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Symptom:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You have a dead file for a database that was active. For example, you have lost a disk drive or if you have lost file MDF file. Now you try to detach it from the SQL Server Management Studio, it won't let you do it.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fix:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Try manually firing the query then&lt;br /&gt;
&lt;br /&gt;
use master&lt;br /&gt;
drop database &lt;whatever&gt;&lt;/whatever&gt;&lt;br /&gt;
&lt;br /&gt;
The key above is that you are going to the &lt;b&gt;master &lt;/b&gt;and not any other databases.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-6210145053167159134?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/WRS6N_-08fU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/6210145053167159134/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=6210145053167159134" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/6210145053167159134?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/6210145053167159134?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/WRS6N_-08fU/sql-server-2008-cannot-detach-database.html" title="SQL Server 2008: Cannot Detach The Database" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/11/sql-server-2008-cannot-detach-database.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIFRXc4cCp7ImA9WhRSF0g.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-6293464921641999167</id><published>2011-11-19T19:03:00.001-08:00</published><updated>2011-11-19T19:08:34.938-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-19T19:08:34.938-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tortoise Git" /><title>Tortoise Git Tips: How To Use It Behind an HTTP Proxy</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XEf0yaOXTLNQ-qeVLn_M4k58KbI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XEf0yaOXTLNQ-qeVLn_M4k58KbI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XEf0yaOXTLNQ-qeVLn_M4k58KbI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XEf0yaOXTLNQ-qeVLn_M4k58KbI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Problem:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You want to connect to the Git Server via HTTPS (say GitHub.com), but you are behind a proxy. You know the proxy information.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fix:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Issue the following Git command from the Git Bash. In this example my proxy is at DaProxy... port 8123&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; display: inline !important; float: none; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; line-height: 15px; white-space: pre;"&gt;config --global http.proxy &lt;/span&gt;&lt;a href="http://proxy:8080/" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-attachment: initial !important; background-clip: initial !important; background-color: white; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 15px; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; orphans: 2; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre; widows: 2; width: auto !important; word-spacing: 0px;"&gt;http://DaProxy.myhospital.edu:&lt;/a&gt;8123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-6293464921641999167?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/ckyxXn9Kjuc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/6293464921641999167/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=6293464921641999167" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/6293464921641999167?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/6293464921641999167?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/ckyxXn9Kjuc/tortoise-git-tips-how-to-use-it-behind.html" title="Tortoise Git Tips: How To Use It Behind an HTTP Proxy" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/11/tortoise-git-tips-how-to-use-it-behind.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEABQX44cCp7ImA9WhRSGE0.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-1723893221964998737</id><published>2011-11-14T09:49:00.001-08:00</published><updated>2011-11-20T08:32:30.038-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-20T08:32:30.038-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET" /><title>Where is The DLL for System.Windows.Media.Imaging Namespace?</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/H13OjwiOaj3JVUuvXAPeyMNZxBM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/H13OjwiOaj3JVUuvXAPeyMNZxBM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/H13OjwiOaj3JVUuvXAPeyMNZxBM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/H13OjwiOaj3JVUuvXAPeyMNZxBM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Symptom:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You wanted to use classes from&amp;nbsp;System.Windows.Media.Imaging Namespace, but there is no such class when you try to Add Reference from your Visual Studio.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fix:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Add PresentationCore, which you should find under the .NET tab of Add Reference dialog box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-1723893221964998737?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/hZCUK0ktaNY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/1723893221964998737/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=1723893221964998737" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/1723893221964998737?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/1723893221964998737?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/hZCUK0ktaNY/where-is-dll-for-systemwindowsmediaimag.html" title="Where is The DLL for System.Windows.Media.Imaging Namespace?" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/11/where-is-dll-for-systemwindowsmediaimag.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUANQX07fSp7ImA9WhRTFkU.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-5925165266955158864</id><published>2011-11-07T09:39:00.000-08:00</published><updated>2011-11-07T09:43:10.305-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-07T09:43:10.305-08:00</app:edited><title>Bluetooth and/or WiFi Abruptly and Intermittently Goes Offline on Windows 7 Laptops</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uD8f7Jfq1U_5lHBBFV4KarxfJ14/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uD8f7Jfq1U_5lHBBFV4KarxfJ14/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uD8f7Jfq1U_5lHBBFV4KarxfJ14/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uD8f7Jfq1U_5lHBBFV4KarxfJ14/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Recently I had a symptom in which Bluetooth and WiFi stops working temporarily. This is a problem for me because I often use RDP to connect to my laptop and it drops connections. Interestingly in my case, each time this happens the CPU fans go faster for a bit, so I suspected that this has something to do with the power.&lt;br /&gt;
&lt;br /&gt;
As it turns out, both &lt;b&gt;&lt;i&gt;Bluetooth and WiFi network devices can shut itself down&lt;/i&gt;&lt;/b&gt; by default due to automatic power management controls.&lt;br /&gt;
&lt;br /&gt;
This behavior can be disabled from the Device Manager (just type these words in at the Start menu) and go to each Bluetooth Radio and WiFi&amp;nbsp;device&amp;nbsp;properties. You will find the Power Management tab where you can configure this.&lt;br /&gt;
&lt;br /&gt;
I just did it so I will update this will or will not work in a longer run.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-5925165266955158864?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/iDqj7AZqdgo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/5925165266955158864/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=5925165266955158864" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/5925165266955158864?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/5925165266955158864?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/iDqj7AZqdgo/bluetooth-andor-wifi-abruptly-and.html" title="Bluetooth and/or WiFi Abruptly and Intermittently Goes Offline on Windows 7 Laptops" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/11/bluetooth-andor-wifi-abruptly-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQDR3g5fSp7ImA9WhRTFU8.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-2590423226254384145</id><published>2011-11-05T13:52:00.000-07:00</published><updated>2011-11-05T13:52:56.625-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-05T13:52:56.625-07:00</app:edited><title>Windows SC.EXE Command Gotcha</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mTYro5lHbqrudVkHsPP7GuOoRyo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mTYro5lHbqrudVkHsPP7GuOoRyo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mTYro5lHbqrudVkHsPP7GuOoRyo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mTYro5lHbqrudVkHsPP7GuOoRyo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Symptom:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
You wanted to create/install a service using the SC.EXE command on Windows 2008 (XP as well) but it does not seem to work. It come back with the help message suggesting that you have had some errors.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sc create MyService binpath="c:\MyService\MyService.exe" type="own" start="auto" &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;span style="font-size: small;"&gt;This WILL result in errors and it won't tell you how you have errored.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: large;"&gt;Fix:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt; &lt;/span&gt;Fix your brains that it is not Unix that you are dealing with, since we cannot fix someone who designed it at Microsoft. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sc create MyService binpath= "c:\MyService\MyService.exe" type= "own" start= "auto" &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
 Do you see the difference between the two?&lt;br /&gt;
&lt;br /&gt;
There is a blank after each= sign.&amp;nbsp; Not an example of world-class coding.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-2590423226254384145?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/UgVs6Mvqlgw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/2590423226254384145/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=2590423226254384145" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/2590423226254384145?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/2590423226254384145?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/UgVs6Mvqlgw/windows-scexe-command-gotcha.html" title="Windows SC.EXE Command Gotcha" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/11/windows-scexe-command-gotcha.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEBR3k9eSp7ImA9WhRTEUo.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-7112528205792526269</id><published>2011-11-01T12:44:00.000-07:00</published><updated>2011-11-01T12:44:16.761-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-01T12:44:16.761-07:00</app:edited><title>How To Escape Textile Formatting</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yPAbNKwKXnvLb9mh48DmKtRr0KI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yPAbNKwKXnvLb9mh48DmKtRr0KI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yPAbNKwKXnvLb9mh48DmKtRr0KI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yPAbNKwKXnvLb9mh48DmKtRr0KI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You want to write express on the text things like %TEMP%\My Directory\ on a Textile format (such as on Basecamp Writeboard) but The % character goes away.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Use the ==&lt;br /&gt;
&lt;br /&gt;
==%Temp%== and the % will now appear in the text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-7112528205792526269?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/MBV8uAdY1g4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/7112528205792526269/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=7112528205792526269" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/7112528205792526269?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/7112528205792526269?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/MBV8uAdY1g4/how-to-escape-textile-formatting.html" title="How To Escape Textile Formatting" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/11/how-to-escape-textile-formatting.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QCR3g9eCp7ImA9WhdbF0U.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-3730897918191498753</id><published>2011-08-28T22:23:00.000-07:00</published><updated>2011-10-16T11:22:46.660-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-16T11:22:46.660-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Windows 7" /><title>MS ReadyBoost Implementation Tips - Do Not Bother</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0hfLYKp2LJlNs1asReU34r6CyUc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0hfLYKp2LJlNs1asReU34r6CyUc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0hfLYKp2LJlNs1asReU34r6CyUc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0hfLYKp2LJlNs1asReU34r6CyUc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Recently I got a small Lenovo V470 IdeaPad and have been playing with it with Windows 7 Pro 64 bit version. Along with it I found out about the ReadyBoost technology they have added into the OS since Vista.&lt;br /&gt;
&lt;br /&gt;
Initially ReadyBoost does not seem to be doing anything. In fact, initially it even slows you down as it builds the cache, and actually does not make Booting faster by much. What it makes faster is applications to launch faster, especially when more applications are running consuming more RAMs and disks are working hard to service the applications.&lt;br /&gt;
&lt;br /&gt;
I ran into a couple of snags thought I resolved it so here is a quick summary of how you can implement Readyboost on your laptops.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;As far as I know this works only with the Built-In SD card slot which is wired into the PCI bus and does not go through the USB. &lt;/li&gt;
&lt;li&gt;Get at least a 16 GB SD card with at least Category 10 capability. I had Category 4 and that failed the qualification step to activate ReadyBoost.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Before doing anything, Format the card with NTSF&lt;/b&gt; and not FAT32. The reason for this is that for FAT32, the maximum file size will be limited to 4 GB.&amp;nbsp; For your laptop applications, you would want as much Readyboost cache space as possible. Typically this is 3 times or more of the RAM. Given most PCs are sold with 4 GB RAM. Having a 16 GB SD would be sufficient.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Don't use Readyboost on your laptop unless it is connected to the AC power (this makes ReadyBoot almost useless while in battery operation.)&lt;/b&gt; As soon as you boot, it starts to cache data and also re-encrypts data. This means this activity occurs during every reboot and every wake-up from hibernation. NOTE: If you run into this situation while in battery operation, you can pull the card out without causing a problem. Re-encryption cannot be turned off on external devices so there is no easy way to turn this off.&lt;/li&gt;
&lt;li&gt;If you have lots of RAM, you may not notice the difference.&lt;/li&gt;
&lt;/ul&gt;
Hope this helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-3730897918191498753?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/lKscoTFuiSQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/3730897918191498753/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=3730897918191498753" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/3730897918191498753?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/3730897918191498753?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/lKscoTFuiSQ/ms-readyboost-tips.html" title="MS ReadyBoost Implementation Tips - Do Not Bother" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/08/ms-readyboost-tips.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4NSHw8eCp7ImA9WhdaE0k.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-2700365438986409521</id><published>2011-08-21T21:40:00.000-07:00</published><updated>2011-10-22T21:43:19.270-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-22T21:43:19.270-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MSMQ" /><title>MSMQ, You Get "Invalid queue path name" Exception When Opening a Remote Private Queue</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ULB3mlqoNL8lZnxFL6nkHWrXgCk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ULB3mlqoNL8lZnxFL6nkHWrXgCk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ULB3mlqoNL8lZnxFL6nkHWrXgCk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ULB3mlqoNL8lZnxFL6nkHWrXgCk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;Example Symptom:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;You have a remote computer named XYZZY&lt;/li&gt;
&lt;li&gt;Inside it is a private queue named MyQueue&lt;/li&gt;
&lt;li&gt;You have written the MSMQ code in C# (or .NET) &lt;/li&gt;
&lt;li&gt;When accessing locally within XYZZY, you can use .\private$\MyQueue it works.&lt;/li&gt;
&lt;li&gt;When trying to get to the queue using "XYZZY\private$\MyQueue from another computer even on the same subnet and no firewall enabled, you now get an MSMQ exception stating "Invalid Queue Path Name"&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;Try This:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Instead of&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
XYZZY\private$\MyQueue&lt;/div&gt;
&lt;br /&gt;
Try this way.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
FormatName:DIRECT=OS:XYZZY\private$\MyQueue&lt;/div&gt;
&lt;br /&gt;
Note, spell &lt;b&gt;FormatName&lt;/b&gt; exactly how it is. It is the only part that is &lt;b style="color: red;"&gt;case sensitive!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
This was tested on Windows Server 2008 R2 with .NET 3.5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-2700365438986409521?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/2SYlLWPzBQE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/2700365438986409521/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=2700365438986409521" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/2700365438986409521?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/2700365438986409521?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/2SYlLWPzBQE/msmq-you-get-invalid-queue-path-name.html" title="MSMQ, You Get &quot;Invalid queue path name&quot; Exception When Opening a Remote Private Queue" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/08/msmq-you-get-invalid-queue-path-name.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMMR3Y4fyp7ImA9WhRSF0g.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-8660114346977251328</id><published>2011-08-02T17:57:00.000-07:00</published><updated>2011-11-19T19:08:06.837-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-19T19:08:06.837-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tortoise Git" /><title>Tortoise Git Annoyance Fixes and Tips Collection</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7zyLoIsHqo90YH_Bsl1lSKjXa6s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7zyLoIsHqo90YH_Bsl1lSKjXa6s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7zyLoIsHqo90YH_Bsl1lSKjXa6s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7zyLoIsHqo90YH_Bsl1lSKjXa6s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;I am collecting some quick fixes that I had to do to make this work the way I want it. I am using Windows 7 64-bits these days. If you are encountering other annoyances or want to share your fixes, please feel free to ask or comment on this article.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Annoyance 1: Cannot Delete A Folder, Folder in Use&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This is because tgitcache.exe is running and not releasing the folder. You can temporarily kill this program from the task manager and then you can delete the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Annoyance 2: The Icon Overlay on Folders are Gone&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;If the overlay icons are showing on certain drives then it is just the setup on the&amp;nbsp;Tortoise&amp;nbsp;Git. Just open the settings and look under Icon Overlays section. It is likely Network or Removable Drives are not checked.&lt;/li&gt;
&lt;li&gt;If that is not the case then your computer has gone over the 11 icon limit as you may likely have installed DropBox or JungleDisk or such things that take up icons. If you are brave enough and take your responsibility then here is where the icons are referenced.&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 22px;"&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22px;"&gt;&lt;span class="Apple-style-span" style="color: #333333;"&gt;&lt;br /&gt;
&lt;/span&gt;and then remove anything you don't need above and beyond 11 total that's allowed&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Want to use the Git behind an HTTP proxy?&lt;a href="http://devnote.stokemaster.com/2011/11/tortoise-git-tips-how-to-use-it-behind.html" target="_blank"&gt; Read this article.&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-8660114346977251328?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/wRH4rVPuYR0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/8660114346977251328/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=8660114346977251328" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/8660114346977251328?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/8660114346977251328?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/wRH4rVPuYR0/tourtoisegit-annoyance-fixes-collection.html" title="Tortoise Git Annoyance Fixes and Tips Collection" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/08/tourtoisegit-annoyance-fixes-collection.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIFSHw5cSp7ImA9WhdRE04.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-5651893756392590943</id><published>2011-07-29T21:00:00.000-07:00</published><updated>2011-08-02T17:15:19.229-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-02T17:15:19.229-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Git" /><category scheme="http://www.blogger.com/atom/ns#" term="Dropbox" /><title>How To Use Your DropBox.COM Folder As a Git Repository with Tortoise Git</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2ZHE2uWJjnAX5b7lmzz6g2_49XQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2ZHE2uWJjnAX5b7lmzz6g2_49XQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2ZHE2uWJjnAX5b7lmzz6g2_49XQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2ZHE2uWJjnAX5b7lmzz6g2_49XQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Update: If you have lost your Tortoise Git overlay icons, you need to do some registry work. See the bottom of this article.&lt;br /&gt;
&lt;br /&gt;
You probably came to this article because you are new to the Git Revision Control System and want to know where to store the "source control database" somewhere other than your own computer.&lt;br /&gt;
&lt;br /&gt;
In my specific situation, I develop software under the Windows OS and I may have some side-project such as some research I am doing outside of my work.&lt;br /&gt;
&lt;br /&gt;
GitHub.com is great, and I use it for my business but in order to get your own private GiT repository, you have to pay. They only allows you to let you have a repository if it is open to the public. But in my case, I use Git not just for software source code but many other types of files, for example, my next epic surf novel.&lt;br /&gt;
&lt;br /&gt;
The main problem for me is that I would like to maintain my small repositories without a need to have an elaborate GiT server. Fortunately a GiT repository server can be nothing more than a file system that's accessible from your computer, and even better there are many "cloud disk" services around, many of them are free. The Dropbox.com based cloud disk is very convenient because it maintains the local cache, so the interaction with GiT is very fast. You just need to remember to allow it the time to synchronize the data.&lt;br /&gt;
&lt;br /&gt;
Before moving forward with my example, I assume that you have installed the Windows Git and Tortoise Git on your Windows machine. I also assume that you have used Git for other stuff, for example at your work, so you are generally familiar with synchronizing your own Git repository against the server.&lt;br /&gt;
&lt;br /&gt;
So here are some very straight forward steps to do.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;On your DropBox, create a folder which has the name of your repository. For now I will call it MyRepo&lt;/li&gt;
&lt;li&gt;From your explorer go inside MyRepo&lt;/li&gt;
&lt;li&gt;Right click and select "Git create repository here..."&lt;/li&gt;
&lt;li&gt;A dialog box will appear with a box that says "Make it bare." You need to click that check box and OK.&lt;/li&gt;
&lt;li&gt;On &amp;nbsp;any other local disk, I assume you already have your project Git that you want to synchronize.&lt;/li&gt;
&lt;li&gt;Go your local project Git folder.&lt;/li&gt;
&lt;li&gt;Right click on the folder from the&amp;nbsp;Explorer&amp;nbsp;and select Tortoise Git, and select Settings submenu&lt;/li&gt;
&lt;li&gt;On the dialog box navigate down to the Git node and select the Remote sub node.&lt;/li&gt;
&lt;li&gt;You are likely to have the "origin" as the remote repository, but you may have others. Select whichever one you would like to connect it to the one on the Dropbox.&lt;/li&gt;
&lt;li&gt;On the URL box, type in the path on the dropbox containing the bare bone repo you have just created. For example, C:\Users\Manabu\Dropbox\MyRepo&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;Now you can synchronize between your repo and the one on the Dropbox.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fixing the Lost Overlay Icons&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Go to&amp;nbsp;&lt;a href="http://www.sitepoint.com/missing-tortoisesvn-file-status-overlay-icons/"&gt;http://www.sitepoint.com/missing-tortoisesvn-file-status-overlay-icons/&lt;/a&gt;&amp;nbsp;for more information. But the key for this is to go to&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22px;"&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22px;"&gt;and then remove anything you don't need above and beyond 11 total that's allowed.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 22px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-5651893756392590943?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/17GN4EPlK64" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/5651893756392590943/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=5651893756392590943" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/5651893756392590943?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/5651893756392590943?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/17GN4EPlK64/how-to-use-your-dropboxcom-folder-as.html" title="How To Use Your DropBox.COM Folder As a Git Repository with Tortoise Git" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/07/how-to-use-your-dropboxcom-folder-as.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcNRHszeSp7ImA9WhdSFE4.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-9115701520569245309</id><published>2011-07-23T08:14:00.000-07:00</published><updated>2011-07-23T08:14:55.581-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-23T08:14:55.581-07:00</app:edited><title>Do and Don’ts of Email</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/e-UQGAef0-Xg6b8C5Ok4a16FCV4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e-UQGAef0-Xg6b8C5Ok4a16FCV4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/e-UQGAef0-Xg6b8C5Ok4a16FCV4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e-UQGAef0-Xg6b8C5Ok4a16FCV4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;!--StartFragment--&gt;  &lt;br /&gt;
&lt;div class="MsoNormal"&gt;While I am on the email topic from my previous post, I would like to pass on some of the things that made my email in work more effective. You may want to read some of my tips.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Consider Your Subject Line is Being Like a Tweet&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Pack in as much useful information in the Subject line. I consider the subject line the Tweet area to contain almost the “body” of the message. This works because most people actually don’t read all email messages. They look at the subject line list and decide whether they will read the message or not.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Start Your Subject Line with the Name of Your Recipient&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Again, compare these lines of subjects&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Cambria; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;1.&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;“Tonight’s Dinner Plan”&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Cambria; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;2.&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;“Want Join us for a dinner?”&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Cambria; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;3.&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;“John Let’s Have a Dinner at French Landry at 6”&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Which do you think is most effective? To me, it is the third one. If you read the subject line #3, you almost don’t need to read the body of the email. And I know you will click the email to read on.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Start Your Subject Line with a Verb&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Your email will be more effective if you start your subject line more in the “Call for Action” style.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Consider the following examples,&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo2; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Cambria; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;1.&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;“Blood Donation Drive This Afternoon”&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo2; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Cambria; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;2.&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;“Donate Your Blood This Afternoon!”&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Do Not Send Additional Messages in a Quick Succession&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;My experience is that if you do that the recipients will only read either the first or the last message and they ignore the rest. &lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Carefully Time When To Send a Message&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;This is a bit tricky, but you need to know when your recipient will read your email message.&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;Most people have their email client set so that the most recent one would appear on top and messages are downloaded automatically. They usually scan only the top 10-20 lines of subject lines on their email clients. So if your message does not make it in that top 10 at the time they are reading, then you might as well consider the message lost.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Another strategy is actually just save it in your draft folder, phone call the recipient and then during the conversation mention to the person you have just send an email.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Typical times people read messages include;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;The first thing in the morning&lt;/div&gt;&lt;div class="MsoNormal"&gt;During or just after lunch&lt;/div&gt;&lt;div class="MsoNormal"&gt;Just after dinner&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;You may want to start tracking the most effective time with respect to your important recipients.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Limit The Message Body Size to One Screen&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;People are busy (even if they really are not) they can only devote about 1 min of their time to read a message. If you wrote a message that do not fit in one screen then they tend stop reading it, moving on to the next one and never come back to your message.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Organize the Email For The Recipient&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;You have been frustrated with people who repeatedly ask you to send the same email message over and over again. It is not entirely the recipient’s fault; it is that the email is difficult to manage. Over time you will learn who would be asking for repeats, and in that case, make a CC copy of it on your end, put the copy in a folder with the recipient’s name on it. Then you can quickly re-send.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Use The Phone and Voicemail&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;If you are dealing with some emotional stuff such as one of you being frustrated, angry or extremely happy etc., then call the person up, or at least use the voicemail to leave your live message. Unless you are a NY Times Best Seller author, it is much easier to convey your emotions via voice. Talk to the person live!&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;!--EndFragment--&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-9115701520569245309?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/rWdSBD-qWg4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/9115701520569245309/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=9115701520569245309" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/9115701520569245309?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/9115701520569245309?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/rWdSBD-qWg4/do-and-donts-of-email.html" title="Do and Don’ts of Email" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/07/do-and-donts-of-email.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcHRnY6fSp7ImA9WhdSE0w.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-8174983449730849661</id><published>2011-07-21T21:47:00.000-07:00</published><updated>2011-07-21T21:47:17.815-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-21T21:47:17.815-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Essay" /><title>So What’s So Wrong About Email?</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AXzxJWMOd0sh4jIwLjhMD67gC9g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AXzxJWMOd0sh4jIwLjhMD67gC9g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AXzxJWMOd0sh4jIwLjhMD67gC9g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AXzxJWMOd0sh4jIwLjhMD67gC9g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;!--StartFragment--&gt;  &lt;br /&gt;
&lt;div class="MsoNormal"&gt;Everyone uses email, even if we asked them not to. I ask people to write issues into our issue tracking system. I ask people not to do attachments, instead upload them to our Google Docs and send links in the email to the document, even then people continue to attach documents, and when it comes to dealing with people outside of our organization, they don’t want to log into Basecamp account we provided, they claim they often cannot see Docs shared on the Google Docs…&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;Some people in my company think I am the search engine and send emails to me essentially the query to our KB or to the Google.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;So what’s wrong with all these? Why can’t they use email for all of the above? It is super convenient to write about a product issue and send an email to someone whom you think can handle. Attachments are one of the best file transfer protocol there is, and I can push files to just about anyone without thinking about FTP or user accounts and passwords.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;I am starting to think, can we get rid of the web, and we only use the email? It is an extreme thinking but can such a technology possible?&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;How would I go about to make this happen in a more realistic way? I think that the future email engines would contain a search engine front-end, a lot more statistics driven choice of automated answers, intelligent filters. This sounds awfully a lot like how Gmail works, for example, and I think they are doing a great job.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Email as the Search Engine:&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;I would like the search engine to already scan the KB or other places I designate based on the content I received and also the prior usage or response pattern, and suggests &lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;possible responses I may have already written. I often get, “send me the server specifications PDF” email several times a quarter from the same person. I would like to tell the email system, next time this happens, just auto generate a reply. I then do not have to repeat myself. &lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;I am experimenting with this using the “canned” response on Gmail but that’s not very smart yet, and it fires unnecessary responses.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Email as a File Version Control System&lt;/b&gt;:&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;If the email works a bit more like GiT and automatically aggregate the versions of different attachments that come by, and when I look for the attachments, it can give me a list of all versions, this will solve the problem of versions in attachments. This will also bring down the size of the in-box as duplicate files would be normalized.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Email as an Issue Tracking System&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Gmail does this fairly well now, perhaps if I tag an email as an issue to track, then all of the related email messages will be visible by the team that I designate as a separate in-box where other people can respond, and workflow tag such as In Progress, Solved are also easy to put in. Assigning an issue is a snap then, I just forward the email to the person.&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Email as a Knowledgebase&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;May be I can tag some email as a knowledge and the next time I am writing on some topic, dynamic search would be performed to either suggest a response that I already wrote, or other similar email messages I have written in the past.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Most or all of the above can become possible without changing the existing email infrastructure. They are about how email servers are implemented, so it will not break the rest of the world, we do not have to change the behaviors of any of the people I am dealing with now.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;!--EndFragment--&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-8174983449730849661?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/nzsNgcqNOWk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/8174983449730849661/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=8174983449730849661" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/8174983449730849661?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/8174983449730849661?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/nzsNgcqNOWk/so-whats-so-wrong-about-email.html" title="So What’s So Wrong About Email?" /><author><name>Manabu Tokunaga</name><uri>https://profiles.google.com/110096954126778198377</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/-QXj3jOPUdCs/AAAAAAAAAAI/AAAAAAAABqs/UbJXRmyLBRA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://devnote.stokemaster.com/2011/07/so-whats-so-wrong-about-email.html</feedburner:origLink></entry></feed>

