<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>// do something here &#187; Hardware adventures</title>
	<atom:link href="http://www.dosomethinghere.com/category/hardware-adventures/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dosomethinghere.com</link>
	<description>Turning impossibilities into 1s and 0s professionally since 0&#120;07C1</description>
	<lastBuildDate>Fri, 20 Jan 2012 20:07:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>I Want My MP3</title>
		<link>http://www.dosomethinghere.com/2011/07/22/i-want-my-mp3/</link>
		<comments>http://www.dosomethinghere.com/2011/07/22/i-want-my-mp3/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 01:39:02 +0000</pubDate>
		<dc:creator>BP</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Hardware adventures]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.dosomethinghere.com/?p=817</guid>
		<description><![CDATA[Please take a look at the two electronic devices in the following picture: One of these devices plays the MP3 files that I ripped in iTunes from CDs that I own, and one of these devices does not. (The Joe Satriani pick is included just to give you an idea of the size of the device [...]]]></description>
			<content:encoded><![CDATA[<p>Please take a look at the two electronic devices in the following picture:</p>
<p><a href="http://www.dosomethinghere.com/wp-content/uploads/2011/07/P1010567.jpg"><img class="aligncenter size-full wp-image-820" title="Electronic devices" src="http://www.dosomethinghere.com/wp-content/uploads/2011/07/P1010567.jpg" alt="Electronic devices" width="500" height="456" /></a></p>
<p>One of these devices plays the MP3 files that I ripped in iTunes from CDs that I own, and one of these devices does not. (The Joe Satriani pick is included just to give you an idea of the size of the device on the left.)</p>
<p>I think you can see where I am going here with this one. The cheapo flimsy extra-white Kube MP3 player on the left plays the MP3 files just swimmingly. Conversely, this is not exactly what I am expecting to see when I go to the music player on my shiny new Samsung Droid Charge from Verizon:</p>
<p><a href="http://www.dosomethinghere.com/wp-content/uploads/2011/07/SC20110721-155018.png"><img class="aligncenter size-full wp-image-821" title="Android screen shot" src="http://www.dosomethinghere.com/wp-content/uploads/2011/07/SC20110721-155018.png" alt="Android screen shot" width="360" height="600" /></a></p>
<p>Anybody have any ideas? If I reboot the device, the MP3 files play for a while, and then it goes back to the wonderful &#8220;Sorry, the player does not support this type of audio file&#8221; message. Also, I have no intention of uninstalling the Twitter app. I use the Twitter app and I am not sure if it would even go away if I tried to uninstall it. (I have tried repeatedly to uninstall &#8220;Let&#8217;s Golf&#8221; from the device, but alas each time I uninstall it, it shows back up again.)</p>
<p>If you would like to follow along with this on the Verizon support board, please feel free&#8230;</p>
<p><a href="http://community.vzw.com/t5/DROID-Charge-by-Samsung/MP3-files-will-not-play/m-p/598470" target="_blank">MP3 files will not play</a></p>
<p>Unfortunately, you would need to sign up for a forum account to contribute. If you have something to add, please feel free to click the Comment link just below this post.</p>
<p>BTW, Happy Pi Approximation Day. July 22, 22 divided by 7 is 3.142857 (decimal pattern then repeats), which is as close to pi as you can get with a fraction made up of a numerator and denominator that are reasonbly small.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dosomethinghere.com/2011/07/22/i-want-my-mp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Win32 EXE to service in Windows Server 2008</title>
		<link>http://www.dosomethinghere.com/2011/02/24/win32-exe-to-service-in-windows-server-2008/</link>
		<comments>http://www.dosomethinghere.com/2011/02/24/win32-exe-to-service-in-windows-server-2008/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 17:55:55 +0000</pubDate>
		<dc:creator>BP</dc:creator>
				<category><![CDATA[Hardware adventures]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.dosomethinghere.com/?p=664</guid>
		<description><![CDATA[We had a server meltdown happen here earlier this week, and as part of the collateral damage, an automated order processing application that has been running since 2004 has been off-line. This application was written in VB6 with a minimal user interface, and as such, I have always remoted into the server, started the program [...]]]></description>
			<content:encoded><![CDATA[<p>We had a server meltdown happen here earlier this week, and as part of the collateral damage, an automated order processing application that has been running since 2004 has been off-line. This application was written in VB6 with a minimal user interface, and as such, I have always remoted into the server, started the program up on the server and left it open, and then just closed my remote desktop application, which left the session open and running.</p>
<p>We wanted to change this to make it a bit more reliable, which means Windows service. Unfortunately, the application does not have the correct hooks in it that make it be able to be seen as a service. (I could create a service with the EXE name as the target, and the EXE would run when I started up the service, but it would soon crash as service manager could not find something it was looking for.)</p>
<p>After a little bit of digging, I found some suggestions on using the srvany.exe application as a shell to launch my application, and I must say it seems to work marvelously. Here is the link where I found the solution:</p>
<p><a href="http://social.technet.microsoft.com/Forums/en-US/winserverMigration/thread/98a97aee-c62b-4683-94ab-3777899cf7de/" target="_blank">Application as a Service &#8220;srvany.exe&#8221; in Windows Server 2008</a></p>
<p>Here are the important steps from the article above (in case it relocates or disappears):</p>
<ol>
<li>At the time of this posting, there is no Windows Server 2008 Resource Kit Tools, so get the &#8220;srvany.exe &#8221; from the &#8220;Windows Server 2003 Resource Kit Tools &#8221; and copy it to a suitable location on your Win2008 server (e.g. C:\Windows\System32\ ).</li>
<li>Use &#8220;sc &#8221; to create a new service that launches &#8220;srvany &#8221; (e.g. sc create MyService binPath= C:\Windows\System32\srvany.exe DisplayName= &#8220;My Custom Service&#8221; )</li>
<li>Using RegEdit : create a &#8220;Parameters &#8221; key for your service (e.g. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService\Parameters\ )</li>
<li>Using RegEdit : within the newly created &#8220;Parameters &#8221; key , create a string value called &#8220;Application &#8221; and enter the full path to the application you are wanting to run as a service.  (No quotes required.)</li>
</ol>
<p>In the article linked above, keep in mind that Parameters is misspelled at the end of item #3, I have corrected it in my item #3 above. Other than that, it seems to be working great.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dosomethinghere.com/2011/02/24/win32-exe-to-service-in-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Code 39</title>
		<link>http://www.dosomethinghere.com/2011/02/10/code-39/</link>
		<comments>http://www.dosomethinghere.com/2011/02/10/code-39/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 21:55:45 +0000</pubDate>
		<dc:creator>BP</dc:creator>
				<category><![CDATA[Hardware adventures]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.dosomethinghere.com/?p=647</guid>
		<description><![CDATA[Did you ever get the dreaded &#8220;Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)&#8221; message in your Device Manager for your DVD/CD-ROM drive? This happened to a computer here at our office, and it did this for both the internal drive and for an external [...]]]></description>
			<content:encoded><![CDATA[<p>Did you ever get the dreaded &#8220;Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)&#8221; message in your Device Manager for your DVD/CD-ROM drive?</p>
<p>This happened to a computer here at our office, and it did this for both the internal drive and for an external USB drive that we hooked up to it as well.</p>
<p>Well, to solve the problem, we found this link and ran a neat little automated program from Microsoft that went in and fixed up the drivers for both the internal and external drives.</p>
<p><a href="http://support.microsoft.com/mats/cd_dvd_drive_problems" target="_blank">Your CD or DVD drive can&#8217;t read or write media</a></p>
<p>Very cool. This was way easier than some of the other solutions that we were seeing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dosomethinghere.com/2011/02/10/code-39/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rack mounted server&#8230;  Strap mounted server&#8230;  Same difference.</title>
		<link>http://www.dosomethinghere.com/2010/08/16/rack-mounted-server-strap-mounted-server-same-difference/</link>
		<comments>http://www.dosomethinghere.com/2010/08/16/rack-mounted-server-strap-mounted-server-same-difference/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 23:32:55 +0000</pubDate>
		<dc:creator>BP</dc:creator>
				<category><![CDATA[Hardware adventures]]></category>
		<category><![CDATA[What were they thinking?]]></category>
		<category><![CDATA[Funny stuff]]></category>

		<guid isPermaLink="false">http://www.dosomethinghere.com/?p=580</guid>
		<description><![CDATA[While the set up pictured below was not our equipment, I am still kind of glad that our servers are not hosted at this facility any longer.]]></description>
			<content:encoded><![CDATA[<p>While the set up pictured below was not our equipment, I am still kind of glad that our servers are not hosted at this facility any longer.</p>
<p><a href="http://www.dosomethinghere.com/wp-content/uploads/2010/08/strap_mounted.jpg"><img class="alignnone size-full wp-image-581" title="strap_mounted" src="http://www.dosomethinghere.com/wp-content/uploads/2010/08/strap_mounted.jpg" alt="" width="270" height="630" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dosomethinghere.com/2010/08/16/rack-mounted-server-strap-mounted-server-same-difference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Droid tethering with PdaNet</title>
		<link>http://www.dosomethinghere.com/2010/06/27/droid-tethering-with-pdanet/</link>
		<comments>http://www.dosomethinghere.com/2010/06/27/droid-tethering-with-pdanet/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 01:17:49 +0000</pubDate>
		<dc:creator>BP</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Hardware adventures]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.dosomethinghere.com/?p=549</guid>
		<description><![CDATA[By the way, I forgot to mention that while John and I were on our Codestock trip, I got tired of hoping beyond hope that the 2.2 Froyo update would appear on my Verizon Droid and purchased a license for the PdaNet software for Android. (I have a great fear of open wi-fi access points.) [...]]]></description>
			<content:encoded><![CDATA[<p>By the way, I forgot to mention that while John and I were on our Codestock trip, I got tired of hoping beyond hope that the 2.2 Froyo update would appear on my Verizon Droid and purchased a license for the PdaNet software for Android. (I have a great fear of open wi-fi access points.)</p>
<p>It worked flawlessly with both the Mac OS X and Windows 7 operating systems on my BootCamp MacBook Pro. Nice job June Fabrics. Here is a link to their Android product:</p>
<p><a href="http://junefabrics.com/android/index.php" target="_blank">PdaNet Android tethering</a></p>
<p>The demo of the software will run for 14 days, and then it will start blocking secure web sites. Also, you install a client application on your Windows or Macintosh computer that you need to run, along with running the PdaNet application on your device and activating the USB or Bluetooth mode. I did not try the Bluetooth mode, I just brought my Droid USB cable and communicated that way.</p>
<p>I highly recommend the software for Droid owners who need an internet connection on their laptop while on the go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dosomethinghere.com/2010/06/27/droid-tethering-with-pdanet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 runs extremely hot on MacBook Pro with Boot Camp 3.1</title>
		<link>http://www.dosomethinghere.com/2010/04/19/windows-7-runs-extremely-hot-on-macbook-pro-with-boot-camp-3-1/</link>
		<comments>http://www.dosomethinghere.com/2010/04/19/windows-7-runs-extremely-hot-on-macbook-pro-with-boot-camp-3-1/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 17:39:36 +0000</pubDate>
		<dc:creator>BP</dc:creator>
				<category><![CDATA[Hardware adventures]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Boot Camp]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.dosomethinghere.com/?p=510</guid>
		<description><![CDATA[I was having some issues with the Windows XP installation in Boot Camp on my MacBook Pro, so I decided to turn it into a Windows 7 machine. Unfortunately, the machine ended up running incredibly hot, even though I was booting it up and not really doing anything processing intensive on the machine. As it [...]]]></description>
			<content:encoded><![CDATA[<p>I was having some issues with the Windows XP installation in Boot Camp on my MacBook Pro, so I decided to turn it into a Windows 7 machine.</p>
<p>Unfortunately, the machine ended up running incredibly hot, even though I was booting it up and not really doing anything processing intensive on the machine.</p>
<p>As it turns out, I found that other users had some luck by enabling the Powermizer mode of their Nvidia GeForce 8600M GT internal graphics card. This would scale back the GPU processing and allow the idle fan speed of about 2000 RPM to properly cool the MacBook Pro.</p>
<p><span style="color: #ff0000;"><strong>As is the case with any registry hacks, edits or low level driver manipulation, you can quite easily do more harm than good. Please follow my advice at your own risk.</strong></span></p>
<p>Alas, there is no setting that I could find for this in the newest 64-bit Windows drivers for the Nvidia GeForce 8600M GT internal graphics card in my MacBook Pro.  After a little digging, I found that I could add the following DWORD values to my registry to enable a lower power mode:</p>
<ul>
<li>PerfLevelSvc (0&#215;00003333)</li>
<li>PowerMizerEnable (0&#215;00000001)</li>
<li>PowerMizerLevel (0&#215;00000001)</li>
<li>PowerMizerLevelAC (0&#215;00000001)</li>
</ul>
<p>The key that these values were added to was HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\{FIND_YOUR_GUID}\0000. You will have to find the GUID to use in the key above, just look at all of the 0000 keys inside of the Video key for the one that has a whole mess of values in the right hand pane, this will likely be it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dosomethinghere.com/2010/04/19/windows-7-runs-extremely-hot-on-macbook-pro-with-boot-camp-3-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-Tech Sony replacement keyboard woes</title>
		<link>http://www.dosomethinghere.com/2010/03/19/e-tech-sony-replacement-keyboard-woes/</link>
		<comments>http://www.dosomethinghere.com/2010/03/19/e-tech-sony-replacement-keyboard-woes/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 16:34:09 +0000</pubDate>
		<dc:creator>BP</dc:creator>
				<category><![CDATA[Hardware adventures]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.dosomethinghere.com/?p=491</guid>
		<description><![CDATA[For many years, I faithfully used a Sony Vaio VGN-FS742/W notebook computer. This computer was an absolute workhorse, and I never had a problem with it, despite using it heavily for software development as well as the usual e-mail and web surfing activities. After I let my brother and his family use the computer, an unfortunate [...]]]></description>
			<content:encoded><![CDATA[<p>For many years, I faithfully used a Sony Vaio VGN-FS742/W notebook computer. This computer was an absolute workhorse, and I never had a problem with it, despite using it heavily for software development as well as the usual e-mail and web surfing activities.</p>
<p>After I let my brother and his family use the computer, an unfortunate incident occurred that involved the cosmetic destruction of the B key on the keyboard. The key worked, but the tabs that held the platform that the keycap sits on broke off, so the B key stuck out higher than the rest of the keys on the keyboard. Unsightly, yes, but still functional.</p>
<p>Alas, my brother had to have a functional and flat keyboard, so I began the process of looking to find a replacement keyboard for a computer that was 5+ years old. The Sony part number for this keyboard is 147915321, and it must be the same keyboard on all VGN-FS series Vaio notebooks.</p>
<p>The first thing that I found was that I was more than likely going to have to buy a used keyboard and hope that it worked just fine. So I ordered one from the E-Tech eStore. The keyboard arrived well packaged, and after I installed it, I tested every single key on the keyboard and found that all of the keys worked except for the V key.</p>
<p>At this point, I should have requested an RMA for a refund, but I mistakenly requested a replacement. After sending the first keyboard back and getting the second keyboard, the situation got worse, as on the 2nd keyboard, quite a few more keys were not working. And of course, at this point my return request for a refund was rejected, as E-Tech is claiming that their keyboards are all tested, and that I check my equipment for failure.</p>
<p>So, as a response, I created this little rant video showing that my equipment is fine:</p>
<p><a href="http://www.youtube.com/watch?v=A_c1hBj2MG0">httpv://www.youtube.com/watch?v=A_c1hBj2MG0</a></p>
<p>As I said in the video, I cannot see how they could have tested the keyboard fully, since my hardware seems to work fine with my old keyboard with the B key tabs broken. I am guessing that their replacement keyboards are all pulls from computers that are dropped off at the computer recycling, and for the particular keyboards that I received, the reason the computer was at the recycling center was that some of the keys stopped working.</p>
<p>By the way, congrats to the Ohio Bobcats.  Big win last night.</p>
<p><strong>UPDATE</strong>: I still haven&#8217;t heard anything from <a href="http://e-techsiliconvalley.com/store/" target="_blank">E-Tech eStore</a> (if you click on the link, try not to get creeped out by the ad on the right with the weirdly moving eyes) regarding my appeal of their RMA request denial. Thanks to Tai Tran (eBay seller ID <a href="http://myworld.ebay.com/ttni/" target="_blank">ttni</a>) who came through with a perfectly working replacement keyboard.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dosomethinghere.com/2010/03/19/e-tech-sony-replacement-keyboard-woes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sansa e250 database rebuild</title>
		<link>http://www.dosomethinghere.com/2010/03/02/sansa-e250-database-rebuild/</link>
		<comments>http://www.dosomethinghere.com/2010/03/02/sansa-e250-database-rebuild/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 02:54:48 +0000</pubDate>
		<dc:creator>BP</dc:creator>
				<category><![CDATA[Hardware adventures]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.dosomethinghere.com/?p=480</guid>
		<description><![CDATA[For some reason, my Sandisk Sansa e250 MP3 player was stubbornly refusing to acknowledge the music that I was copying to it. I tried just about everything I could think of short of formatting the device to get it to see my folders in the Music folder. My device has the latest version 1 firmware [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason, my Sandisk Sansa e250 MP3 player was stubbornly refusing to acknowledge the music that I was copying to it. I tried just about everything I could think of short of formatting the device to get it to see my folders in the Music folder. My device has the latest version 1 firmware upgrade, and I have tried to use both MSC and MTP mode to copy folders to the device, all to no avail.</p>
<p>Finally, I found out that I could force the device to do a database rebuild by doing the following steps, which should work on any Sansa e200 series MP3 player with the version 1 firmware:  <strong>(WARNING:  Please do not do this if you are worried about making your device inoperable.  There is always a risk that this will happen when you start futzing with the system files.)</strong></p>
<ul>
<li>Go into the Settings screen and scroll to USB mode, and set it to MSC</li>
<li>Connect the device to the computer</li>
<li>Once the device mounts as a drive on your computer, browse to the device, look for the System folder, and the Data folder in that folder</li>
<li>Delete the file called PP5000.DAT</li>
<li>Disconnect the device</li>
</ul>
<p>Once you disconnect, the device will restart, and it should refresh the database. If you prefer MTP mode, make sure to go back into the settings to change it back.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dosomethinghere.com/2010/03/02/sansa-e250-database-rebuild/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some people use QWERTY, some Dvorak, but I use TVQUIZ</title>
		<link>http://www.dosomethinghere.com/2009/09/09/some-people-use-qwerty/</link>
		<comments>http://www.dosomethinghere.com/2009/09/09/some-people-use-qwerty/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 00:22:13 +0000</pubDate>
		<dc:creator>BP</dc:creator>
				<category><![CDATA[Hardware adventures]]></category>
		<category><![CDATA[Team building]]></category>
		<category><![CDATA[Prankery]]></category>

		<guid isPermaLink="false">http://www.dosomethinghere.com/?p=282</guid>
		<description><![CDATA[Are you looking for something silly and not too sinister to pull on a coworker who takes a week&#8217;s vacation on the beach while you are stuck in the office dealing with customers having issues with the vacationer&#8217;s product? And did I mention the week in question is one of the busiest weeks of the [...]]]></description>
			<content:encoded><![CDATA[<p>Are you looking for something silly and not too sinister to pull on a coworker who takes a week&#8217;s vacation on the beach while you are stuck in the office dealing with customers having issues with the vacationer&#8217;s product? And did I mention the week in question is one of the busiest weeks of the year for our company?</p>
<p>Here&#8217;s what I did to his keyboard:</p>
<p><img title="0828091358" src="http://www.dosomethinghere.com/wp-content/uploads/2009/09/0828091358.jpg" alt="0828091358" width="576" height="768" /></p>
<p>He had to rearrange a few of the keys to make it workable again, as this Dell keyboard has different shapes of the keycaps for the different rows of the keyboard. This took me about 10 minutes, and was much cheaper and quicker than wrapping everything in his office in aluminum foil.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dosomethinghere.com/2009/09/09/some-people-use-qwerty/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>System.MissingMethodException error in System.Data.SqlServerCe</title>
		<link>http://www.dosomethinghere.com/2009/07/16/system-missingmethodexception-error-in-system-data-sqlserverce/</link>
		<comments>http://www.dosomethinghere.com/2009/07/16/system-missingmethodexception-error-in-system-data-sqlserverce/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 00:33:47 +0000</pubDate>
		<dc:creator>BP</dc:creator>
				<category><![CDATA[Hardware adventures]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Windows Mobile]]></category>
		<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://www.dosomethinghere.com/?p=172</guid>
		<description><![CDATA[After getting the new development machine up and running for the most part, I started once again to work on the web and client projects that we are going balls to the wall to get finished. And of course, a roadblock was hit. On the Windows Mobile client, I got through most of the requisite [...]]]></description>
			<content:encoded><![CDATA[<p>After getting the new development machine up and running for the most part, I started once again to work on the web and client projects that we are going balls to the wall to get finished.</p>
<p>And of course, a roadblock was hit. On the Windows Mobile client, I got through most of the requisite re-referencing and compile errors that inevitably pop up when doing something like this. This client uses the Microsoft Synchronization Services to sync it&#8217;s local SQL Server Compact Edition database to our central SQL Server database.</p>
<p>When trying to create a new ServerSyncProviderProxy, the following error is being thrown:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">System.MissingMethodException: File or assembly name 'System.Data.SqlServerCe,
Version=3.5.1.0, Culture=neutral, PublicKeyToken=3BE235DF1C8D2AD3', or one of
its dependencies, was not found.</pre></div></div>

<p>After much headbanging, trial and error on both the 5.0 and 6.0 emulator and on an actual device, Google and Server Overflow searching, and staring at the code, we finally figured out what the problem was. As it turns out, I must have installed the SQL Server Compact Edition Service Pack 1 on my previous machine, and those references were saved and somehow survived in the project. On my new machine, there was a version of SQL Server Compact Edition that was installed by some component (Visual Studio 2008, Windows Mobile SDK, etc.), so to me everything looked OK. However, after installing the SQL Server Compact Edition SP1 on the computer, the error magically went away on the emulator.</p>
<p>As an aside, I tried to put the code on the handheld that it had not worked on previously, and it still did not work. After inspecting the error output, which was different, I found that I needed to redeploy the new SQL Server Compact Edition SP1 Windows Mobile sqlce.ppc.wce5.armv4i.CAB file on the device, unpack it (which overwrote the previous SQL Server CE files on the device), and then all was well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dosomethinghere.com/2009/07/16/system-missingmethodexception-error-in-system-data-sqlserverce/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

