<?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;CE8NR344fyp7ImA9WhRUEUo.&quot;"><id>tag:blogger.com,1999:blog-33899248</id><updated>2012-01-21T11:08:16.037-08:00</updated><category term="Python" /><category term="Windows XP" /><category term="NTFS" /><category term="re" /><category term="Windows 2003" /><category term="DataGridView" /><category term="Windows 2008 Server" /><category term="SharePoint Services 3.0" /><category term="CISCO" /><category term="mountpoint" /><category term="SQL 2008" /><category term="SQL" /><category term="Image" /><category term="Visual Studio 2005" /><category term="SQL 2005" /><category term="Encryption" /><category term="SurroundSCM" /><category term="iPhone 3G" /><category term="Visual Studio 2010" /><category term="Leopard" /><category term="ASP.NET" /><category term="HP LaserJet" /><category term="VPN" /><category term="Module" /><category term="Connection String" /><category term="Visual Studio 2008" /><category term="DataSet Designer" /><category term="QuickTime" /><category term="Amazon EC2" /><category term="Building" /><category term="WMI" /><category term="5505" /><category term="Git" /><category term="ROR" /><category term="Python 2.6" /><category term="ASA" /><category term="FTP" /><category term="Networking" /><category term="Mac" /><category term="Storage" /><category term="IDLE" /><category term="Ruby on Rails" /><category term="auto completion" /><category term="InsertAfter" /><category term="Domain Controller" /><category term="regular express" /><category term=".MySCMServerInfo" /><category term="Dropbox" /><category term=".NET 2.0" /><category term="ATT Tilt" /><category term="Windows 7" /><category term="iDisk" /><category term="ActiveDirectory" /><category term="GoToMeeting" /><category term="Seapine" /><category term="emacs" /><category term="me.com" /><category term="ASA 5510" /><category term="Essay" /><category term="Macinotsh" /><category term="ASP.NET 2.0 TableAdapter" /><category term="MSMQ" /><category term="Share" /><category term="XML" /><category term="ASA 5505 7.2" /><category term="XmlDocument" /><category term="Casting" /><category term="XmlElement" /><category term="XPathIterator" /><category term="Mirroring" /><category term="CISCO ASA 5510" /><category term="C#" /><category term="regex" /><category term="PythonWin" /><category term="Tortoise Git" /><category term="VoIP" /><category term="Mobile Me" /><category term="Snapshots" /><category term="etc\hosts" /><category term="XPath" /><category term="DotNetNuke" /><category term="Nortel BSR-222 VPN Configuration" /><category term="IIS 6" /><category term="mount point" /><category term="C# mode" /><category term="Certificate" /><category term="Authentication" /><category term="Career Advise" /><category term="EventViewer" /><category term="Passive" /><category term="XmlNode" /><category term="Autocompletion" /><category term=".NET" /><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>122</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;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;C0EASXY8eSp7ImA9WhRQFk4.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-4709903422051218147</id><published>2011-12-11T11:21:00.001-08:00</published><updated>2011-12-11T11:27:28.871-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-11T11:27:28.871-08: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/Do4fPUD6VZ3tQNE6YWEiIO-6gnY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Do4fPUD6VZ3tQNE6YWEiIO-6gnY/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/Do4fPUD6VZ3tQNE6YWEiIO-6gnY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Do4fPUD6VZ3tQNE6YWEiIO-6gnY/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;
&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;DEYHQX04fSp7ImA9WhRQEU0.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-5395212202937318000</id><published>2011-12-05T09:22:00.001-08:00</published><updated>2011-12-05T09:28:50.335-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-05T09:28:50.335-08:00</app:edited><title>LINQ To XML Tips</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Mkh3kW8YwpML6b2bjO5tcAuqTXY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Mkh3kW8YwpML6b2bjO5tcAuqTXY/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/Mkh3kW8YwpML6b2bjO5tcAuqTXY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Mkh3kW8YwpML6b2bjO5tcAuqTXY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
Use XElement instead of XDocument&lt;br /&gt;
&lt;br /&gt;
I misunderstood that it is usually the XElement that is all 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,&lt;br /&gt;
 &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt; Do "var x = XElement.Load("file") instead of XDocument.Load()&lt;/li&gt;
&lt;li&gt;You can also do x.Save("file") as well.&lt;/li&gt;
&lt;/ul&gt;
And you can query against element directly.&lt;br /&gt;
&lt;br /&gt;
var rows = from y in x.Elements where f.Name == "book" select y;&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;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><entry gd:etag="W/&quot;D0INR389eip7ImA9WhdaE0k.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-2456327662981962911</id><published>2011-07-18T17:40:00.000-07:00</published><updated>2011-10-22T21:53:16.162-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-22T21:53:16.162-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DotNetNuke" /><category scheme="http://www.blogger.com/atom/ns#" term="Module" /><title>DotNetNuke 5 Module Development Tips with Visual Studio 2010</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZsS-adu__YbwbGR-qgwNFNPtBmU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZsS-adu__YbwbGR-qgwNFNPtBmU/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/ZsS-adu__YbwbGR-qgwNFNPtBmU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZsS-adu__YbwbGR-qgwNFNPtBmU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;I am jotting down some things I need to remember to know when starting a new C# DotNetNuke module development using the Starter Kit, most of the steps are described elsewhere, notably&lt;a href="http://www.sipidcode.com/post/DotNetNuke-5-module-development-tutorial-part-1-The-tools.aspx"&gt; HERE&lt;/a&gt;, but sometimes they contain &amp;nbsp;wrong information in the original text that you need to dig through the user comments to find out the solution. Also there are a few key things I need to remember to do every time.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Local IIS is a Must for a Newbee DNN Module Developer&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Install the base DNN in the local IIS and get that going completely first. It will complicate less for module development as it will need to look up images and other resources in the directory structure.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Where To Store The Project?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The best place seems to be within the DesktopModules folder, create a project directly in there. Then all the references are good to go. By the way, target your project to .NET 3.5&lt;br /&gt;
&lt;br /&gt;
Be sure to uncheck Create Solution Folder box when creating a project in this manner.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;What To Type into The&amp;nbsp;Assembly&amp;nbsp;Name and Default Namespace?&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Type in the same info on both field by replacing YourCompany in the Assembly Name part with what you do, and then copy and paste that to the Default Namespace. This is for C#. I don't know VB at all so I will leave that up to you for VB.&lt;/li&gt;
&lt;li&gt;Do not do a Globally Replace of YourCompany to whatever. See below!&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Do Not Globally Replace YourCompany With Your Real Company&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
You will get the following type of error message from Edit....ascx.deginer.cs &amp;nbsp;if you immediately try to compile the project.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;DotNetNuke Error 11 'System.Web.UI.UserControl' does not contain a definition for 'Text'&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;The reason why this happened was that global::DotNetNuke.UI. classes was&amp;nbsp;&lt;/span&gt;inadvertently&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&amp;nbsp;changed by the Visual Studio to&amp;nbsp;global::System.Web.UI&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How To Replace YourCompany&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Note that order in which this is done is very important. Do not do these in out of sequence.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Make a backup copy of the module project folder so that if you mess these steps, you can get them back.&lt;/li&gt;
&lt;li&gt;Open any of the classes in the control. And on the Namespace, right click over YourCompany and use the Refractor menu to change this to whatever you like.&lt;/li&gt;
&lt;li&gt;Open the Manifiest file (the one that ends with .dnn). On this one Replace YourCompany. with empty string. This fixes the install folder name from YourCompany.YourModule (make sure that the path does match with how you created your module root directory in the DesktopModules folder.&lt;/li&gt;
&lt;li&gt;Save everything.&lt;/li&gt;
&lt;li&gt;Make a backup copy of this folder again.&lt;/li&gt;
&lt;li&gt;You can now Quick Replace the rest of the files containing YourCompany (for example SQL Provider files). Use the Quick Replace at the Solution level.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;b&gt;Configure the Project's IIS&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Next Configure the Project to Use the Local IIS Server so that images, controls and other resources in your development environment. Otherwise, your design surface will have errors. Also if any of the controls on the design surface errors out with a COM error, that means you probably did not follow my previous steps to refactor the classes properly which swapped the controls to the system default ones (not DotNetNuke.UI.Control ones), and ended up globally replacing YourCompany in the classes. You need to start over the project and follow the steps.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Open the project property&lt;/li&gt;
&lt;li&gt;Select the Web tab on the left.&lt;/li&gt;
&lt;li&gt;Select "Use Local IIS Server"&lt;/li&gt;
&lt;li&gt;In the project URL, point it to the URL of your project within the DesktopModules folder. For example,&amp;nbsp;http://localhost/DNN/DesktopModules/MT3 would be that I have the module project named MT3, and I have installed the DNN root at localhost/DNN&lt;/li&gt;
&lt;li&gt;Click Override application URL and type in the base URL for the DNN, for example, on my machine it is&amp;nbsp;http://localhost/DNN&lt;/li&gt;
&lt;li&gt;This will also create web.config files in the folder which will interfere with the module loading. Rename it to xweb.config just in case you need it in the future.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;b&gt;Debugging&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
If everything is set right and the DNN itself is a debug version then you can attach to the IIS process w3wp.exe locally and you should be able to set a breakpoint in the project. I will write more as I find out how to do this a bit better without needing to rebuild the DNN from the source.&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-2456327662981962911?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/hAvWlJs2NrA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/2456327662981962911/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=2456327662981962911" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/2456327662981962911?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/2456327662981962911?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/hAvWlJs2NrA/dotnetnuke-5-module-development-tips.html" title="DotNetNuke 5 Module Development Tips with Visual Studio 2010" /><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/dotnetnuke-5-module-development-tips.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YMQX0yfyp7ImA9WhdaE0k.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-606139264888703632</id><published>2011-07-10T22:16:00.000-07:00</published><updated>2011-10-22T21:46:20.397-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-22T21:46:20.397-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="GoToMeeting" /><category scheme="http://www.blogger.com/atom/ns#" term="Macinotsh" /><title>GoToMeeting Mac - Microphone Level Adjustment Annoying You?</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2gf-3b4LBDebLOD1YjhcHpU0pQo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2gf-3b4LBDebLOD1YjhcHpU0pQo/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/2gf-3b4LBDebLOD1YjhcHpU0pQo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2gf-3b4LBDebLOD1YjhcHpU0pQo/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;
Every time I start GoToMeeting on my Mac, the microphone level adjusts to a very low level, and you'd need to open the System Preferences to re-adjust this level. You would want to get a single click solution to fix this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Use the Automator and create an level adjust applet. It is quite easy to do.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt; On the spotlight search on top right of your finder, type in Automator to locate it.&lt;/li&gt;
&lt;li&gt;Click on the Automator to launch it.&lt;/li&gt;
&lt;li&gt;Choose Application (and begin creating an application)&lt;/li&gt;
&lt;li&gt;Select Utilities from the Libraries&lt;/li&gt;
&lt;li&gt;Select Adjust Computer Volume&lt;/li&gt;
&lt;li&gt;Adjust the Input Volume slider to the level you like.&lt;/li&gt;
&lt;li&gt;Save the Application it creates.&lt;/li&gt;
&lt;li&gt;Put it on the desktop or somewere you can readily click it.&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-606139264888703632?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/QmuenpDsAwo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/606139264888703632/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=606139264888703632" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/606139264888703632?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/606139264888703632?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/QmuenpDsAwo/gotomeeting-mac-michrophone-level.html" title="GoToMeeting Mac - Microphone Level Adjustment Annoying You?" /><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/gotomeeting-mac-michrophone-level.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYFSHw6eCp7ImA9WhZaEU0.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-4358590113795360800</id><published>2011-06-13T14:09:00.000-07:00</published><updated>2011-06-26T08:45:19.210-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-26T08:45:19.210-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C# mode" /><category scheme="http://www.blogger.com/atom/ns#" term="emacs" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><title>Emacs csharp (C#) Mode Installation and Automatic Enable with Auto Hook on Windows</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SpwDcGh9kR0aUQ-PrYeAA1hktK8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SpwDcGh9kR0aUQ-PrYeAA1hktK8/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/SpwDcGh9kR0aUQ-PrYeAA1hktK8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SpwDcGh9kR0aUQ-PrYeAA1hktK8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;I like the editor in Visual Studio but when it comes to do some&amp;nbsp;repetitious&amp;nbsp;editing, for example, writing code to insert or update database fields based on some pattern, it is a lot easier to do cut-paste-search-replace with Emacs than the GUI based editor by recording some macros.&lt;br /&gt;
&lt;br /&gt;
So I do often use Emacs. And now we have the csharp mode available, the environment is quite nice.&lt;br /&gt;
&lt;br /&gt;
I am not an Elsip hacker so by the time I need to do something more internal with Emacs, I usually forgotten what I did the last time. So in order to save my own time in the future, for example, to duplicate what I have done on my home PC with another one somewhere, this article will help me do this. Perhaps you also may want to do the same thing.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Be sure that your emacs is installed at your C:\Program Files\ directory, for example, C:\Program Files\emacs.23.2 Unless you know a whole lot more about Emacs (in which case you should not be reading this), it is not correct to install it anywhere else, because the load-path really only points to that directory.&lt;/li&gt;
&lt;li&gt;First, download the csharp mode Lisp code. You can Google for it as to where. But I got one from the Emacs Wiki under&lt;a href="http://www.emacswiki.org/emacs/csharp-mode.el"&gt; csharp-mode.el&amp;nbsp;&lt;/a&gt;&amp;nbsp;Clicking this link will give you the content of the Elisp, so I would copy this into a suitable text editor (for some reasons, I tend to use Notepad for this sort of things.) then Save As csharp-mode.el&lt;/li&gt;
&lt;li&gt;Copy csharp-mode.el to site-lisp directory in your emacs installation. If the directory does not exist, I'd say it's OK to make one there.&lt;/li&gt;
&lt;li&gt;Next, go to your Windows user home directory (at very top, above Documents), then create a .emacs file. The easiest way to do this by far is to create one from Emacs. Notepad does not allow creating files that start with a period. Just Control-X F and type in ~/.emacs &amp;nbsp; NOTE: On Windows 7, your home directory for .emacs is usually c:\Users\&lt;username&gt;/AppData\Roaming\ &amp;nbsp;If you used emacs to edit this, emacs will know this.&lt;/username&gt;&lt;/li&gt;
&lt;li&gt;Now cut and past the following lines of Elisp. I have added a bonus hook to enable HTML editing mode for aspx and ascx below. Save the file, re-launch emacs and you are good to go.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;div&gt;(autoload 'csharp-mode "csharp-mode" "C# Mode" t)&lt;/div&gt;&lt;div&gt;(setq auto-mode-alist (append '(("\\.cs$" . csharp-mode))&lt;/div&gt;&lt;div&gt;auto-mode-alist))&lt;/div&gt;&lt;div&gt;(setq auto-mode-alist (append '(("\\.aspx$" . html-mode))&lt;/div&gt;&lt;div&gt;auto-mode-alist))&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;(setq auto-mode-alist (append '(("\\.ascx$" . html-mode))&lt;/div&gt;&lt;div&gt;auto-mode-alist))&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-4358590113795360800?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/PdtDnl-tBZs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/4358590113795360800/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=4358590113795360800" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/4358590113795360800?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/4358590113795360800?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/PdtDnl-tBZs/emacs-cshap-mode-installation-and.html" title="Emacs csharp (C#) Mode Installation and Automatic Enable with Auto Hook on Windows" /><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/06/emacs-cshap-mode-installation-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIAQHwyfCp7ImA9WhZaE08.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-292450242069222677</id><published>2011-06-12T22:29:00.000-07:00</published><updated>2011-06-28T21:09:01.294-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-28T21:09:01.294-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DotNetNuke" /><category scheme="http://www.blogger.com/atom/ns#" term="Building" /><title>Building DotNetNuke 5.6.2 Source with Visual Studio 2010 Professional</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9I_gWCmCC485MzBnEYSVIEChh8w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9I_gWCmCC485MzBnEYSVIEChh8w/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/9I_gWCmCC485MzBnEYSVIEChh8w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9I_gWCmCC485MzBnEYSVIEChh8w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;This weekend, I have finally decided to download the DotNetNuke Community Edition source code and decided to build it with Visual Studio 2010 Professional Edition.&lt;br /&gt;
&lt;br /&gt;
It took several trial and errors so I am going to write down what has worked, mainly so that the next time I will remember how I did it and worked.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;If you are on Windows 7 (and should be), be sure to permanently enable the Visual Studio to run as Administrator. This will save a lot of time re-running it as DNN projects install and configure IIS 7 and that requires an elevated privilege.&amp;nbsp;If I tell you to just open the &amp;nbsp;privilege&amp;nbsp;setting is in the Property of the Shortcut, then you know how to set this up even if you have not done that before. Still not making sense?&amp;nbsp;See this&amp;nbsp;&lt;a href="http://technet.microsoft.com/en-us/magazine/ff431742.aspx"&gt;Technet KB Article&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Make sure you have a working SMTP server. You will most likely need to setup an email address then a password which is usually needed for modern SMTP servers.&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;U&lt;/b&gt;nzip it to Some Simple Directory, like C:\DNN &amp;nbsp;You will be editing the solution file pointing to this new location. When the solution loads, it will create a Virtual Dir on IIS 7 (that means you have to install IIS 7&amp;nbsp;beforehand&lt;/li&gt;
&lt;li&gt;Add Web Management Tools -&amp;gt; IIS 6 Management Compatibility -&amp;gt; IIS Management Console AND IIS Metabase and IIS 6 configuration compatibility&lt;/li&gt;
&lt;li&gt;Under the World Wide Web Services -&amp;gt; Application Development Features, ASP.NET should be added.&lt;/li&gt;
&lt;li&gt;Make a first backup copy of the Unzipped version to somewhere safe. You will likely mess up the next step and will likely accidentally launch the solution (.sln) file before the required hand-edit,and corrupt it beyond repair.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Don't Launch the Solution File yet.&lt;/span&gt;&lt;/b&gt; You need to hand-edit it first.&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;Text Edit the Web Root name (the line that has http: in it) to something short and sweet like http://localhost/dnn &amp;nbsp;&lt;/li&gt;
&lt;li&gt;To make sure you don't do an accidental start of the project, edit the solution file using Notepad by starting the Notepad then do the File-&amp;gt;Open.&lt;/li&gt;
&lt;li&gt;Go and find any places that has E:\blah\blah on it, and make the change that correspond to where you put the unzipped directory.&lt;/li&gt;
&lt;li&gt;But don't change where it says VirtualPath that will break the loading of the web project.&lt;/li&gt;
&lt;li&gt;If none of the above is making any sense to you, then definitely make a backup of the solution file before you do anything &amp;nbsp;and ask someone who might know.&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;On IIS if you don't have one create an Application Pool to .NET 4.0 Framework&lt;/li&gt;
&lt;li&gt;Set the Application Pool User to Network Service. This can be done in the Advanced property menu. It is a lot simpler for me to use the Network Service than something else especially on a local develop machine. By default the Application Pool it uses is the Default Application Pool.&lt;/li&gt;
&lt;li&gt;Give Full R/W permission to Network Service for the entire DNN tree.&lt;/li&gt;
&lt;li&gt;Backup the DNN Directory to Another Directory. If you (are likely to) fail after the following steps any work you have done won't go to waste.&lt;/li&gt;
&lt;li&gt;Now you can launch the Solution, and let it build. This should go smoothly.&lt;/li&gt;
&lt;li&gt;Create a Database&lt;/li&gt;
&lt;li&gt;Create a login account for the database on the SQL (Express) server and assign the dbo capability to the account.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Copy development.config to web.config&lt;/li&gt;
&lt;li&gt;Set the web project as the startup (this should be indicated as the URL you specified when you edited the solution file.)&lt;/li&gt;
&lt;li&gt;Go to IIS Admin and make sure that the Virtual Directory is pointing at "Website" directory within &amp;nbsp;the &amp;nbsp;DNN development directory tree and assign the Application Pool that is running the .NET Framework 4.0&lt;/li&gt;
&lt;li&gt;Then start the the debug session of the web project.&lt;/li&gt;
&lt;li&gt;If everything compiles fine and the web site runs OK, then exit the Visual Studio, make a backup copy of the entire directory. In fact, you should always do this before a major change to your project, such as adding or removing a project. It is also a big time saver to back up your DNN database prior to making a major change to the DNN configuration, such as adding or removing a module.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;b&gt;Failure Recovery&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;The initial debug run goes exactly like installing a brand new site. If the startup jams during SQL script part, then without a hesitation, drop the database and create a fresh one. There will be some unfinished stored procedure or other stuff dangling and it won't install the second time.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
Teralic Installation Issues during setup: I ignored this issue and the site is working fine. I will report if there will be issues.&lt;br /&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-292450242069222677?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/T_PhaTQuI3U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/292450242069222677/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=292450242069222677" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/292450242069222677?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/292450242069222677?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/T_PhaTQuI3U/building-dotnetnuke-526.html" title="Building DotNetNuke 5.6.2 Source with Visual Studio 2010 Professional" /><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/06/building-dotnetnuke-526.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQDQ34_eyp7ImA9WhZRFk4.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-1148356160139162016</id><published>2011-04-12T12:26:00.000-07:00</published><updated>2011-04-12T12:26:12.043-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-12T12:26:12.043-07:00</app:edited><title>LINQ To SQL DatabaseContext Insertion Memory Bloat &amp; Clearing the Cache</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oWTKfyKQn8r7DsppLezgeWTWRuE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oWTKfyKQn8r7DsppLezgeWTWRuE/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/oWTKfyKQn8r7DsppLezgeWTWRuE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oWTKfyKQn8r7DsppLezgeWTWRuE/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 inserted a huge number of records using the InsertOnSubmit(row) call, and you have ran out of memory in your .NET program using LINQ TO SQL technique.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Cause&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The DatabaseContext caches all previously inserted rows.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
There are many articles on the net using the Reflection locate the internal ClearCache then call it. This is not the intended use of the DatabaseContext object. It is a light-weight object and thus, you should simply dispose a object and create a new one. In my situation after a few thousand consecutive insertions, I dispose (i.e., new the object into the variable&amp;nbsp;previously&amp;nbsp;held the old context object.) This is also significantly more efficient way of clearing the cache held.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-1148356160139162016?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/UnhDMJEL2tk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/1148356160139162016/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=1148356160139162016" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/1148356160139162016?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/1148356160139162016?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/UnhDMJEL2tk/linq-to-sql-databasecontext-insertion.html" title="LINQ To SQL DatabaseContext Insertion Memory Bloat &amp; Clearing the Cache" /><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/04/linq-to-sql-databasecontext-insertion.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IFRX87fSp7ImA9Wx9UFEQ.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-3524057685740230447</id><published>2011-02-11T22:23:00.000-08:00</published><updated>2011-02-11T23:25:14.105-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-11T23:25:14.105-08:00</app:edited><title>Installing Drupal 7.0 Experience on Joyent SmartMachine</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4yBibdUEpBa2J2nuNg4mLlLZVZY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4yBibdUEpBa2J2nuNg4mLlLZVZY/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/4yBibdUEpBa2J2nuNg4mLlLZVZY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4yBibdUEpBa2J2nuNg4mLlLZVZY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;This is a quick note to myself regarding the installation of Drupal 7 on Joyent SmartMachine&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Creating the database and user is done from the Webmin-&amp;gt;Servers-&amp;gt;MySQL_Database_Server. &amp;nbsp;Be sure that the you give the select, create, drop and insert permission to the mySQL user that you will give to Drupal&lt;/li&gt;
&lt;li&gt;SSH Login as the admin user then sudo bash&lt;/li&gt;
&lt;li&gt;The content of the drupal tar goes into /home/&lt;your site="" user=""&gt;/web/public so in other words in that directory, you should have install.php&lt;/your&gt;&lt;/li&gt;
&lt;li&gt;PDO may be disabled (it was in my case). To enable it, edit /opt/local/etc/php.ini and uncomment pdo.so and pdo_mysel.so uncomment to mean to remove the semicolon.&lt;/li&gt;
&lt;li&gt;From the shell reboot the machine by tying in "reboot" &amp;nbsp;This will activate the PDO (there are other ways to do this, this is one of the quick ways to do it.)&lt;/li&gt;
&lt;li&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-3524057685740230447?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/cLgIwf_QZww" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/3524057685740230447/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=3524057685740230447" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/3524057685740230447?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/3524057685740230447?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/cLgIwf_QZww/installing-drupal-70-experience-on.html" title="Installing Drupal 7.0 Experience on Joyent SmartMachine" /><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/02/installing-drupal-70-experience-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8NR34-eyp7ImA9WhRUEUo.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-296658931860911941</id><published>2011-02-06T09:42:00.000-08:00</published><updated>2012-01-21T11:08:16.053-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-21T11:08:16.053-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="XmlDocument" /><category scheme="http://www.blogger.com/atom/ns#" term="XML" /><title>Annoyed by: System.Xml: The node to be inserted is from a different document context?</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YM-5NhIJChXa0B7UOkaeqURV-i0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YM-5NhIJChXa0B7UOkaeqURV-i0/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/YM-5NhIJChXa0B7UOkaeqURV-i0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YM-5NhIJChXa0B7UOkaeqURV-i0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;&amp;nbsp;Symptom:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You try to copy one or more XML Nodes (usually elements though) from one XMLDocument and another, and you get the following error:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana,Helvetica,Arial,sans-serif; font-size: 13px; line-height: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div style="text-align: center;"&gt;
&lt;b&gt;System.Xml: The node to be inserted is from a different document context.&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;My Fix, Hint:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;(Note from 1/21/2012: Try using the XDocument class and LINQtoXML, it's much easier to deal with!) &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
There is an official way to fix this using clone, import and InsertBefore or After. But that's too difficult to figure out, in my case I still get the above mentioned exceptions. I often do not know which node to insert (you are supposed to find the parent node then insert) or afraid to insert something at a wrong node level.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Rather than wasting a whole lot of time, I do this entirely in text using StringBuilder and such. You will find the following methods very handy.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;XmlNode.OuterXML&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;This contains the Text representation of XML including the node itself and all of the children.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;XmlNode.InnerXML&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;This contains the Text representation of XML node of all its children.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
You know that you can build up a string using StringBuilder.Append(string) you can form the basis for the new XML document which some of the node data copied from another XML document &lt;i&gt;WITHOUT&lt;/i&gt; having any issues with copies being prohibited between two documents.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
As an added bonus, you can see exactly the new XML document being formed since it is in the string form.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Once you form the destination XML, there is a handy function LoadXML(string), and you are back to have the new XMLDocument. There absolutely is no need to create a StringReader or stream of any kind.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: helvetica,arial,freesans,clean,sans-serif; font-size: 11px; line-height: 14px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: helvetica,arial,freesans,clean,sans-serif; font-size: 11px; line-height: 14px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style="font-family: 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 12px; font: normal normal normal 12px/normal Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; line-height: 1.4em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;div class="line" id="LC762" style="line-height: 1.4em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: helvetica,arial,freesans,clean,sans-serif; font-size: 11px; line-height: 14px;"&gt;&lt;span class="n" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;XmlDocument&lt;/span&gt; &lt;span class="n" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;xd&lt;/span&gt; &lt;span class="p" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;=&lt;/span&gt; &lt;span class="k" style="font-weight: bold; line-height: 1.4em; margin: 0px; padding: 0px;"&gt;new&lt;/span&gt; &lt;span class="n" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;XmlDocument&lt;/span&gt;&lt;span class="p" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="line" id="LC763" style="line-height: 1.4em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: helvetica,arial,freesans,clean,sans-serif; font-size: 11px; line-height: 14px;"&gt;&lt;span class="n" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;var&lt;/span&gt; &lt;span class="n" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;sx&lt;/span&gt; &lt;span class="p" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;=&lt;/span&gt; &lt;span class="n" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;sDoc&lt;/span&gt;&lt;span class="p" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;.&lt;/span&gt;&lt;span class="n" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;ToString&lt;/span&gt;&lt;span class="p" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="line" id="LC764" style="line-height: 1.4em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: helvetica,arial,freesans,clean,sans-serif; font-size: 11px; line-height: 14px;"&gt;&lt;span class="n" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;xd&lt;/span&gt;&lt;span class="p" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;.&lt;/span&gt;&lt;span class="n" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;LoadXml&lt;/span&gt;&lt;span class="p" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;(&lt;/span&gt;&lt;span class="n" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;sx&lt;/span&gt;&lt;span class="p" style="line-height: 1.4em; margin: 0px; padding: 0px;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Hope I gave you enough hint here, but if you need a more complete coding example, please post a comment and next time I come back here I will write one up for you.&lt;br /&gt;
&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33899248-296658931860911941?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/d4-HoFypxIg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/296658931860911941/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=296658931860911941" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/296658931860911941?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/296658931860911941?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/d4-HoFypxIg/annoyed-by-systemxml-node-to-be.html" title="Annoyed by: System.Xml: The node to be inserted is from a different document context?" /><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/02/annoyed-by-systemxml-node-to-be.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ANSXw5eyp7ImA9WhdaE0k.&quot;"><id>tag:blogger.com,1999:blog-33899248.post-5822639364258937971</id><published>2010-08-19T17:46:00.001-07:00</published><updated>2011-10-22T21:56:38.223-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-22T21:56:38.223-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Snapshots" /><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2" /><category scheme="http://www.blogger.com/atom/ns#" term="Image" /><title>Notes on Amazon EC2 Image Creation Fails for Windows Machines</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wt-hysnQufk019hTDeW417LQGy8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wt-hysnQufk019hTDeW417LQGy8/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/wt-hysnQufk019hTDeW417LQGy8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wt-hysnQufk019hTDeW417LQGy8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;Disclaimer: &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This is my notes on the topic and not necessarily a complete solution. In fact, probably it contains some very inaccurate information (but you can help to rectify this via your comments.)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This article also pertains to EBS Backed Windows EC2 running instances. &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
One of the things all of us should do is that once we have a stable machine running, we'd want to save the image of it so that if, for some reason, we completely trash the running image, we have something to go back to without spending a lot of time putting the machine back from the scratch.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Obviously I have tried this with varying degree of success and information on this is scattered around the Amazon AWS forums and on the web. The most common of the errors would be that the Image creation begins and then after a long while it says "Failed" but without much explanations why. Some people on the net are saying the success rate is 40%. I was actually relieved to find this because I thought it was just me that's suffering this much failure rate!&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The Amazon documentation is not very clear to me as to what and how to do these things. It seems to require you have gained some more "under-the-hood" knowledge of this. And as a just a casual user of the system I expect that I should not need to learn everything to use it.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In addition to that as a "basic" user, I don't get any direct support from Amazon. That's at least $100/mo or much more for silver or gold support privilege even in these kind of the situations when the failure (even just to explain what to do) is on their side.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I also highly suggest you install Elasticfox on your browser. Since the following descriptions will be based on how I'd do things on Elasticfox.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;My Findings on Creating a Copy of Running Image&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;To do this on Elasticfox, go to the Instances list, right click and select Create Images (AMI) item.&lt;/li&gt;
&lt;li&gt;Many people reported that when creating a copy from the running image, it will stop and restart the instance. This does happen. Worse yet, it will be stopped for the entire duration of when it is taking the snapshot, depending, this could be 10s of minutes.  You'd probably want to schedule a down time. I should have done this just as soon as I have created the initial instance before went into production. Elasticfox does have a menu item not to reboot the instance I have not yet tried this.&lt;/li&gt;
&lt;li&gt;Some people say it has to be a Running instance, but that seems to be not true. I can image from a stopped instance as well and I have made images successfully this way via Elasticfox. In fact, that has more success rate than doing it on a running instance.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Some of The Issues I Have Discovered That Cause Failures&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Again, copying the running instance will cause a restart, so be prepared for the downtime.&lt;/li&gt;
&lt;li&gt;If you have already stopped the instance, it is at least more likely the imaging will succeed. A few caveats on this are that, at least in my case, the Elastic IP will get disassociated with the instance as shutting down the instance will&amp;nbsp;detach&amp;nbsp;the Elastic IP (wish they did not, at least for a short time), and also the machine's local addresses will change after restarting.  This means that if you are locally pointing systems, for example, SQL, then the that address have to be re-configured in each application. &lt;/li&gt;
&lt;li&gt;Processes like SQL or other high I/O or CPU consumer items should be stopped. In fact, you should pare down the services to essentials (like SQL, agents, browser etc.) before taking the image copy. The one exception to this is not to stop the Amazon's EC2 services that came with the original Windows image whichever they exist.&lt;/li&gt;
&lt;li&gt;If you have other volumes mounted that also leads to a failure. Stop all services and applications you don't need to be running then dismount any "drives" and then make the image copy. This seems not be an issue if you are imaging a stopped instance.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Well, good luck and if you find this article correct or wrong, please let me know in the comments so that I can actually improve it.&lt;/div&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-5822639364258937971?l=devnote.stokemaster.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/StokemasterDevelopmentNote/~4/xDublKY_6pI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://devnote.stokemaster.com/feeds/5822639364258937971/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33899248&amp;postID=5822639364258937971" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/5822639364258937971?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33899248/posts/default/5822639364258937971?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/StokemasterDevelopmentNote/~3/xDublKY_6pI/notes-on-amazon-ec2-image-creation.html" title="Notes on Amazon EC2 Image Creation Fails for Windows Machines" /><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/2010/08/notes-on-amazon-ec2-image-creation.html</feedburner:origLink></entry></feed>

