<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4307295830837702057</id><updated>2012-02-23T01:42:31.533-08:00</updated><category term='VBScript'/><category term='C#'/><category term='Flash'/><category term='Joomla'/><category term='Globe Tattoo'/><category term='PrestaShop'/><category term='C# ASP.NET'/><category term='FTP'/><category term='QTP'/><category term='C# WCF'/><category term='SQL Server'/><category term='Visual Studio 2010 Ultimate'/><category term='Windows Server 2003'/><category term='SVN'/><category term='Windows Explorer'/><category term='IIS'/><category term='Dynamics CRM'/><category term='Silverlight'/><category term='RDP'/><category term='Infragistics'/><category term='AJAX Control Toolkit'/><category term='Photoshop'/><title type='text'>A Stray Alien</title><subtitle type='html'>&lt;b&gt;PLEASE BUY ME A &lt;u&gt;BEER&lt;/u&gt; BY CLICKING ONE GOOGLE ADVERT IF YOU FIND A USEFUL SOLUTION !&lt;/b&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>47</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-8593058220466789208</id><published>2012-02-23T01:42:00.000-08:00</published><updated>2012-02-23T01:42:31.553-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Globe Tattoo'/><title type='text'>Globe Tattoo:Constantly Switches Between 3G and HSDPA</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Globe Tattoo constantly switches rapidly between 3G and HSDPA which means you end up with a poor connection.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Run this BATch file in the background which keeps Globe constantly attached to "HSDPA Globe"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: blue;"&gt;cd\&lt;br /&gt;:start&lt;br /&gt;ping -n 1 -l 1000 google.com.au&lt;br /&gt;ping -n 1 -w 1000 10.0.0.0&lt;br /&gt;ping -n 2 127.0.0.1&lt;br /&gt;ping -n 1 -w 1000 10.0.0.0&lt;br /&gt;goto start&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-8593058220466789208?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/8593058220466789208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2012/02/globe-tattoo-constantly-switches.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/8593058220466789208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/8593058220466789208'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2012/02/globe-tattoo-constantly-switches.html' title='Globe Tattoo:&lt;br/&gt;Constantly Switches Between 3G and HSDPA'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-4574491521184535735</id><published>2012-02-21T23:50:00.001-08:00</published><updated>2012-02-21T23:51:52.067-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Joomla'/><title type='text'>Joomla:You Add a DOCX File But a ZIP File Downloads Instead</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;You upload a DOCX file into Joomla but upon clicking it from the actual site, a ZIP file is downloaded instead.&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;This is a MIME issue at the CPanel level.&amp;nbsp; To fix, go to CPanel and find the "MIME Types" option probably under "Advanced".&amp;nbsp; Click MIME Types.&amp;nbsp; In "MIME Type" enter &lt;strong&gt;application/vnd.openxmlformats-officedocument.wordprocessingml.document&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;In "Extension(s)" enter docx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Press "Add" button&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-4574491521184535735?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/4574491521184535735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2012/02/joomla-you-add-docx-file-but-zip-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4574491521184535735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4574491521184535735'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2012/02/joomla-you-add-docx-file-but-zip-file.html' title='Joomla:&lt;br/&gt;You Add a DOCX File But a ZIP File Downloads Instead'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-4293125802462063572</id><published>2012-02-15T15:52:00.000-08:00</published><updated>2012-02-15T15:52:10.142-08:00</updated><title type='text'>Globe Tattoo: "You can't connect before register an available network."</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;You've bought a Globe Tattoo prepay USB stick but when you try to connect using the Globe Tattoo Broadband software, you receive the error message:&amp;nbsp; &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;"You can't connect before register an available network."&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;In the Tattoo software, go to&amp;nbsp; Tools / Options&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;Choose "Network" on the tree&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;Make sure "Network Type" setting is "3G Only"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;Click "Registration Mode" tab&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;Choose "Manual search and register" radio button&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;Press "REFRESH" button&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;Choose a GLOBE operator then "Register" button&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;This has to be done each time the USB key is plugged in.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;Note: If I am lucky enough to connect to Globe HSDPA then I get a good consistent download of 350KB/s (yes, KiloBYTES)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-4293125802462063572?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/4293125802462063572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2012/02/globe-tattoo-you-cant-connect-before.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4293125802462063572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4293125802462063572'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2012/02/globe-tattoo-you-cant-connect-before.html' title='Globe Tattoo: &quot;You can&apos;t connect before register an available network.&quot;'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-215391399083270806</id><published>2011-11-22T02:56:00.000-08:00</published><updated>2011-11-22T02:56:42.128-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><title type='text'>IIS:Unable to Generate a Temporary Class</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Your ASP.NET application reports &lt;br /&gt;"Unable to generate a temporary class (result=1)"&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;In IIS set your Application Pool for your app to be the appropriate .NET framework and set Application Pool=DefaultAppPool&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-215391399083270806?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/215391399083270806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2011/11/iis-unable-to-generate-temporary-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/215391399083270806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/215391399083270806'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2011/11/iis-unable-to-generate-temporary-class.html' title='IIS:&lt;br/&gt;Unable to Generate a Temporary Class'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-7651040655730761099</id><published>2011-09-30T18:11:00.000-07:00</published><updated>2011-09-30T18:12:14.854-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PrestaShop'/><title type='text'>PrestaShop:Changing Domain Name on your PrestaShop install</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;You've installed Prestashop and set it up but realised you have to change the Prestashop domain name&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;u&gt;Updating your database&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Log into cPanel, then go to "PHPMyAdmin" and log into your PrestaShop database. Go to the table "ps_configuration" and locate the records for PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL. Change these to the new domain name. Check the configuration table for any other entries that contain the old domain name and change accordingly.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;u&gt;Updating your config settings&lt;/u&gt;&lt;br /&gt;Via FTP or the file manager in cPanel, modify the PHP file /config/settings.inc.php. Look for the entry for PS_BASE_URI__ and modify as necessary. For a shop located in the root, it should read:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: blue; font-size: x-small;"&gt;?123 // &amp;lt;![CDATA[ define('__PS_BASE_URI__', '/'); // &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;u&gt;Updating SEO-friendly URLs&lt;/u&gt;&lt;br /&gt;Delete (or rename) the .htaccess file on your site. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;In your PrestaShop admin, you now need to re-generate the SEO URLs with the new domain name. Log into your PS admin, then go to "tools-&amp;gt;generate-&amp;gt;generate .htaccess". &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;u&gt;Enabling SSL&lt;/u&gt;&lt;br /&gt;If your site has a full SSL Certificate, then you can also enable this via your PrestaShop admin under "Preferences page -&amp;gt; Enable SSL: Yes".&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Note that PrestaShop won't work with our Shared SSL as the SEO URLs rewrite rules don't work with the server paths. For PS shops, you either need to have a Dedicated IP &amp;amp; your own Full SSL Certificate or you need to disable SSL.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-7651040655730761099?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/7651040655730761099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2011/09/prestashop-changing-domain-name-on-your.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/7651040655730761099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/7651040655730761099'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2011/09/prestashop-changing-domain-name-on-your.html' title='PrestaShop:&lt;br/&gt;Changing Domain Name on your PrestaShop install'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-4140708826672166951</id><published>2011-09-15T20:19:00.000-07:00</published><updated>2011-09-15T20:20:19.755-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FTP'/><title type='text'>FTPExtended features supported</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Trying to connect via FTP stops on the following message, then unable to connect:&lt;br /&gt;&lt;span style="background-color: white; color: blue;"&gt;211-Extended features supported:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;I changed a few settings at the same time so I don't know exactly which one solved the problem, but I solved it like this:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;- Goto the Properties for the connection in SmartFTP&lt;br /&gt;- Open "FTP" in the tree&lt;br /&gt;- Click "Connection" on the tree&lt;br /&gt;- In the "Connection" page, set "Send FEAT" to "Disable";&amp;nbsp; set "Mode" to "Active Mode (PORT)"; set "Force PASV IP" to "Enable". Everything else is set to default&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-4140708826672166951?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/4140708826672166951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2011/09/ftp-extended-features-supported.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4140708826672166951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4140708826672166951'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2011/09/ftp-extended-features-supported.html' title='FTP&lt;br/&gt;Extended features supported'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-2017054033509979191</id><published>2011-08-27T02:30:00.000-07:00</published><updated>2011-08-27T02:32:37.108-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010 Ultimate'/><title type='text'>Visual Studio 2010 Serial Number</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;You quickly need Visual Studio 2010 on your live server to very infrequently debug rare issues but without paying for a licence.&lt;/span&gt;&lt;br /&gt;&lt;div closure_uid_rd4t3c="136"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;div closure_uid_rd4t3c="141"&gt;&lt;span closure_uid_rd4t3c="167" style="font-size: x-small;"&gt;(Full solution here:&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;a href="http://www.viprasys.org/vb/1886411-post2.html" target="_blank"&gt;&lt;span closure_uid_227a58="128" style="font-size: x-small;"&gt;http://www.viprasys.org/vb/1886411-post2.html&lt;/span&gt;&lt;/a&gt;)&lt;/div&gt;&lt;br /&gt;&lt;div closure_uid_rd4t3c="175"&gt;&lt;span style="font-size: x-small;"&gt;Download and Install Visual Studio 2010 Ultimate trial from Microsoft site: &lt;/span&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=12187" target="_blank"&gt;&lt;span style="font-size: x-small;"&gt;http://www.microsoft.com/download/en/details.aspx?id=12187&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Once installed, go to Control Panel -&amp;gt; Programs and Features, locate and highlight Microsoft Visual Studio 2010 Ultimate installation, and click on Uninstall/Change button.&lt;/span&gt;&lt;br /&gt;&lt;div closure_uid_rd4t3c="166"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span closure_uid_rd4t3c="159" style="font-size: x-small;"&gt;A Visual Studio setup maintenance screen should be shown. After clicking Next button, an option to enter a valid serial number to upgrade product license is available. Enter the key &lt;strong&gt;&lt;span style="color: red;"&gt;YCFHQ9DWCYDKV88T2TMHG7BHP&lt;/span&gt;&lt;/strong&gt;, and click on Activate button. No re-installation required.&lt;/span&gt;&lt;br /&gt;&lt;div closure_uid_rd4t3c="158"&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;em&gt;Note:&amp;nbsp; Obviously, purchase Visual Studio for your main dev environment.&amp;nbsp; This is for those rare situations where you quickly need to debug an issue that is only occurring on your server.&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div closure_uid_rd4t3c="140"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-2017054033509979191?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/2017054033509979191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2011/08/visual-studio-2010-serial-number.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/2017054033509979191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/2017054033509979191'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2011/08/visual-studio-2010-serial-number.html' title='Visual Studio 2010 Serial Number'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-3936878611238231402</id><published>2011-08-19T08:24:00.000-07:00</published><updated>2011-08-19T08:24:08.728-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Photoshop'/><title type='text'>Photoshop:Create a Transparent Gradient</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span closure_uid_ro4rfk="165" style="font-size: x-small;"&gt;You need to create a transparent gradient for an image in Photoshop &lt;/span&gt;&lt;div closure_uid_ro4rfk="147"&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;div closure_uid_ro4rfk="166"&gt;&lt;span closure_uid_ro4rfk="164" style="font-size: x-small;"&gt;Create a photoshop file with two layers - one blank and the other containing the image to be made transparent.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;Select the image's layer.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;Click the Add layer mask icon at the bottom of the layers palette.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;A layer mask is created in the image layer.&lt;/span&gt;&lt;/li&gt;&lt;li closure_uid_ro4rfk="167"&gt;&lt;span style="font-size: x-small;"&gt;Select the gradient tool and apply a black/white gradient to the image layer&lt;/span&gt;&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-3936878611238231402?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/3936878611238231402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2011/08/photoshop-create-transparent-gradient.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3936878611238231402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3936878611238231402'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2011/08/photoshop-create-transparent-gradient.html' title='Photoshop:&lt;br/&gt;Create a Transparent Gradient'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-9030758966790348072</id><published>2011-08-15T00:55:00.000-07:00</published><updated>2011-08-15T00:55:05.127-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Joomla'/><title type='text'>Joomla:Insert an iframe into a Joomla Article</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span closure_uid_691qni="159" style="font-size: x-small;"&gt;You need to insert an iframe into a Joomla Article&lt;/span&gt; &lt;div closure_uid_691qni="124"&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div closure_uid_691qni="164"&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;div closure_uid_691qni="132"&gt;&lt;span style="font-size: x-small;"&gt;Go to Admin Page =&amp;gt; Extensions=&amp;gt;Modules Manager=&amp;gt; New and then Choose wrapper&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div closure_uid_691qni="132"&gt;&lt;span style="font-size: x-small;"&gt;Fill out the usual iFrame parameters on the right-hand-side in "Module Parameters"&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div closure_uid_691qni="132"&gt;&lt;span style="font-size: x-small;"&gt;On the left-hand-side where it asks for "Details", go to the field "Position" and TYPE something into the box (don't choose from the dropdown).&amp;nbsp; e.g. type "user201"&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div closure_uid_691qni="132"&gt;&lt;span style="font-size: x-small;"&gt;Go back to your article&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div closure_uid_691qni="132"&gt;&lt;span style="font-size: x-small;"&gt;Enter this into the appropriate area of your article:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong closure_uid_691qni="137"&gt;{loadposition user201}&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-9030758966790348072?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/9030758966790348072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2011/08/joomla-insert-iframe-into-joomla.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/9030758966790348072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/9030758966790348072'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2011/08/joomla-insert-iframe-into-joomla.html' title='Joomla:&lt;br/&gt;Insert an iframe into a Joomla Article'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-6557272073699128304</id><published>2011-04-16T21:28:00.000-07:00</published><updated>2011-04-16T21:28:08.616-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Explorer'/><title type='text'>Windows Explorer:Thumbnail View Not Showing Filename</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Windows Explorer shows thumbnails but not displaying filename.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Go to a folder with thumbnails.&amp;nbsp; Go to "View" and select "Tiles".&amp;nbsp; Go back to "View" and this time hold SHIFT key while selecting Thumbnails view.&amp;nbsp; Filenames in Windows Explorer thumbnail view will now always show.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-6557272073699128304?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/6557272073699128304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2011/04/windows-explorer-thumbnail-view-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/6557272073699128304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/6557272073699128304'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2011/04/windows-explorer-thumbnail-view-not.html' title='Windows Explorer:&lt;br/&gt;Thumbnail View Not Showing Filename'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-7508418742017929177</id><published>2011-02-19T19:27:00.000-08:00</published><updated>2011-02-19T19:27:23.835-08:00</updated><title type='text'>Center a Div in IE</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;You can center an HTML&amp;nbsp;Div in every browser except IE.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;As far as I'm aware, you have to create two divs.&amp;nbsp; Make everything in the outer div centered and make the inner div left aligned.&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&amp;lt;div style="width:100%;background-color:#ff0000;text-align:center;"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;div style="width:300px; margin:0 auto;background-color:#00ff00;text-align:left"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;YOUR CONTENT HERE&lt;br /&gt;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-7508418742017929177?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/7508418742017929177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2011/02/center-div-in-ie.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/7508418742017929177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/7508418742017929177'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2011/02/center-div-in-ie.html' title='Center a Div in IE'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-6081507864971463146</id><published>2011-01-23T22:21:00.000-08:00</published><updated>2011-01-23T22:21:25.187-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Server 2003'/><category scheme='http://www.blogger.com/atom/ns#' term='RDP'/><title type='text'>How To Connect To Your Previous RDP Session</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;You somehow lost RDP connection to your Windows Server 2003 machine but when you try to connect to the old session, Windows 2003 instead starts a new second session.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;To connect back to the old previous RDP session without starting a new one, try the following:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;1) Save an RDP file with the connection details on your desktop with Remote Desktop Connection (e.g. MyServer.rdp)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;2) Create a BATch file on your desktop containing the following script:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: x-small;"&gt;C:\WINDOWS\system32\mstsc.exe "C:\Documents and Settings\&lt;span style="color: red;"&gt;YOUR_USER_NAME&lt;/span&gt;\Desktop\&lt;span style="color: red;"&gt;MyServer.rdp&lt;/span&gt;" /Console&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Remember to switch "&lt;span style="color: red;"&gt;YOUR_USER_NAME&lt;/span&gt;" for whatever your username is on your local PC, and "&lt;span style="color: red;"&gt;MyServer.rdp&lt;/span&gt;" to whatever you named your RDP file on the desktop.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Running the batch file will reconnect you to your previous RDP session.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-6081507864971463146?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/6081507864971463146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2011/01/how-to-connect-to-your-previous-rdp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/6081507864971463146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/6081507864971463146'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2011/01/how-to-connect-to-your-previous-rdp.html' title='How To Connect To Your Previous RDP Session'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-1611068122977782536</id><published>2011-01-21T01:35:00.000-08:00</published><updated>2011-01-21T01:35:41.951-08:00</updated><title type='text'>CheapDomain.com.au Does Not Forward Emails</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;You setup email forwarding with CheapDomain.com.au but it doesn't work&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;CheapDomain.com.au can not handle forwarding to certain non-popular email extensions such as .NAME (e.g. &lt;/span&gt;&lt;a href="mailto:John@Smith.name"&gt;&lt;span style="font-size: x-small;"&gt;John@Smith.name&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;).&amp;nbsp; Give CheapDomain.com.au a simple standard email address to forward to such as a .COM&lt;/span&gt; &lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-1611068122977782536?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/1611068122977782536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2011/01/cheapdomaincomau-does-not-forward.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1611068122977782536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1611068122977782536'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2011/01/cheapdomaincomau-does-not-forward.html' title='CheapDomain.com.au Does Not Forward Emails'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-6916386888979943396</id><published>2010-12-29T21:14:00.000-08:00</published><updated>2010-12-29T21:14:11.096-08:00</updated><title type='text'>Failure Notice with New Godaddy Email Accounts</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;You setup a new free email account with GoDaddy and all seems well until you try to send an email to it.&amp;nbsp; Your test email to your new email account bounces with an error similar to:&lt;br /&gt;&lt;span style="color: blue;"&gt;"failure notice" from MAILER-DAEMON@smtpauth11.prod.mesa1.secureserver.net&lt;br /&gt;"Remote host said: 550 #5.1.0 Address rejected"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;This appears to be a long-standing problem with GoDaddy and Asia Pacific.&amp;nbsp; When you setup your free email with GoDaddy, you would been given the option to host in United States, Europe, or Asia-Pacific (AP).&amp;nbsp; If you setup with Asia Pacific, your email account will not work and you will receive the above problem.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;You have to wipe your email account and start again.&amp;nbsp; Use another "Free email with domain" Credit but this time choosing "United States" from the "Setup Free Account" instead of "Asia Pacific".&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-6916386888979943396?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/6916386888979943396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2010/12/failure-notice-with-new-godaddy-email.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/6916386888979943396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/6916386888979943396'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2010/12/failure-notice-with-new-godaddy-email.html' title='Failure Notice with New Godaddy Email Accounts'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-498014878552125853</id><published>2010-10-25T21:21:00.000-07:00</published><updated>2010-10-25T21:21:50.576-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><title type='text'>Silverlight:Silverlight Works In IE but Blank Page in Firefox</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Your Silverlight works nicely in Internet Explorer but only displays a blank white page in Firefox (and maybe Chrome)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;There is nothing wrong with the Silverlight application. The problem simply involves how Firefox treats the DIV tag with sizing in the HTML file that launches the XAP file.&amp;nbsp; Without going into detail, my solution is to use the following HTML to wrap your XAP:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;/span&gt;&lt;a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/span&gt;&lt;/a&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;lt;html xmlns="&lt;/span&gt;&lt;a href="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;http://www.w3.org/1999/xhtml&lt;/span&gt;&lt;/a&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;" &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;http://astrayalien.blogspot.com/&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style type="text/css"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; html, body &lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 100%;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; overflow: auto;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; body {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #silverlightControlHost {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 100%;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align:center;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/style&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript" src="Silverlight.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function onSilverlightError(sender, args) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var appSource = "";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (sender != null &amp;amp;&amp;amp; sender != 0) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&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; appSource = sender.getHost().Source;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&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="color: blue; font-size: xx-small;"&gt;&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="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var errorType = args.ErrorType;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var iErrorCode = args.ErrorCode;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (errorType == "ImageError" || errorType == "MediaError") {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&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; return;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&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="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var errMsg = "Unhandled Error in Silverlight Application " +&amp;nbsp; appSource + "\n" ;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errMsg += "Code: "+ iErrorCode + "&amp;nbsp;&amp;nbsp;&amp;nbsp; \n";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errMsg += "Category: " + errorType + "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \n";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errMsg += "Message: " + args.ErrorMessage + "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \n";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (errorType == "ParserError") {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&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; errMsg += "File: " + args.xamlFile + "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \n";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&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; errMsg += "Line: " + args.lineNumber + "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \n";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&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; errMsg += "Position: " + args.charPosition + "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \n";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&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="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (errorType == "RuntimeError") {&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="color: blue; font-size: xx-small;"&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; if (args.lineNumber != 0) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&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; errMsg += "Line: " + args.lineNumber + "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \n";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&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; errMsg += "Position: " +&amp;nbsp; args.charPosition + "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \n";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&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; errMsg += "MethodName: " + args.methodName + "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \n";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&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="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Error(errMsg);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;form id="form1" runat="server" style="height:100%"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="silverlightControlHost"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name="source" value="&lt;strong&gt;&lt;span style="color: red; font-size: small;"&gt;YOUR_SILVERLIGHT_APPLICATION_FILENAME_HERE.xap&lt;/span&gt;&lt;/strong&gt;"/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name="onError" value="onSilverlightError" /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name="background" value="white" /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name="minRuntimeVersion" value="4.0.50401.0" /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name="autoUpgrade" value="true" /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a href="&lt;/span&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=149156&amp;amp;v=4.0.50401.0"&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;http://go.microsoft.com/fwlink/?LinkID=149156&amp;amp;v=4.0.50401.0&lt;/span&gt;&lt;/a&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;" style="text-decoration:none"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img src="&lt;/span&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=161376"&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;http://go.microsoft.com/fwlink/?LinkId=161376&lt;/span&gt;&lt;/a&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;" alt="Get Microsoft Silverlight" style="border-style:none"/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object&amp;gt;&amp;lt;iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/form&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;/span&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-size: 78%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-498014878552125853?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/498014878552125853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2010/10/silverlight-silverlight-works-in-ie-but.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/498014878552125853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/498014878552125853'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2010/10/silverlight-silverlight-works-in-ie-but.html' title='Silverlight:&lt;br/&gt;Silverlight Works In IE but Blank Page in Firefox'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-4407721467108422674</id><published>2010-05-29T00:19:00.000-07:00</published><updated>2010-05-29T00:22:52.480-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL Server:Stored Procs Rounding Decimals</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;SQL Server Stored Procedures are rounding decimal numbers to the nearest whole number.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;In your stored procedure, change the input parameter from just 'decimal' to 'decimal(9,3)' or whatever the exact length of your decimal field.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-4407721467108422674?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/4407721467108422674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2010/05/sql-server-stored-procs-rounding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4407721467108422674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4407721467108422674'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2010/05/sql-server-stored-procs-rounding.html' title='SQL Server:&lt;br/&gt;Stored Procs Rounding Decimals'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-4227658822535896994</id><published>2010-04-08T04:18:00.000-07:00</published><updated>2010-04-08T04:21:34.652-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# WCF'/><title type='text'>C# WCF:Found Multiple X.509 Certificates</title><content type='html'>&lt;p&gt;&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;While using secure WCF, you receive the error message:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;Found multiple X.509 certificates using the following search criteria: StoreName 'My', StoreLocation 'LocalMachine', FindType 'FindBySubjectName', FindValue 'Whatever'. Provide a more specific find value.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;To see a list of your certificates, perform the following:&lt;br /&gt;&lt;br /&gt;- Command prompt&lt;br /&gt;- type: mmc&lt;br /&gt;- File / Add Remove Snap-In&lt;br /&gt;- Press "Add" button&lt;br /&gt;- Select "Certicates"&lt;br /&gt;- Press "Add"&lt;br /&gt;- Select "Computer Account"&lt;br /&gt;- Next&lt;br /&gt;- Select "Local Computer"&lt;br /&gt;- "Finish"&lt;br /&gt;- "Close" popup&lt;br /&gt;- "OK" (on "Add/Remove Snap-in" window)&lt;br /&gt;- In the tree, open up Console Root / Certificates (Local Computer) / Personal&lt;br /&gt;- Select "Certificates" node&lt;br /&gt;- You'll see multiple records of your certificate&lt;br /&gt;- Delete all but one of your certificate entries&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-4227658822535896994?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/4227658822535896994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2010/04/c-wcf-found-multiple-x509-certificates.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4227658822535896994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4227658822535896994'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2010/04/c-wcf-found-multiple-x509-certificates.html' title='C# WCF:&lt;br/&gt;Found Multiple X.509 Certificates'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-6203060291295932722</id><published>2010-04-06T00:49:00.000-07:00</published><updated>2010-04-06T00:56:58.356-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='AJAX Control Toolkit'/><title type='text'>C# ASP.NET:"The assembly with display name 'VJSharpCodeProvider' failed to load"</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You are using C# yet you receive an error message regarding Visual J#:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;The assembly with display name 'VJSharpCodeProvider' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 2. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.&lt;br /&gt;File name: 'VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;I searched high and low to find where VJSharpCodeProvider was being referenced but to no avail. I deduced that AJAX Toolkit wanted J# so in the end I solved the problem by installing the Visual J# Version 2.0 runtime available &lt;a href="http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=F72C74B3-ED0E-4AF8-AE63-2F0E42501BE1&amp;amp;displaylang=en" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-6203060291295932722?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/6203060291295932722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2010/04/c-aspnet-assembly-with-display-name.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/6203060291295932722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/6203060291295932722'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2010/04/c-aspnet-assembly-with-display-name.html' title='C# ASP.NET:&lt;br/&gt;&quot;The assembly with display name &apos;VJSharpCodeProvider&apos; failed to load&quot;'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-747368512758030966</id><published>2010-03-23T00:57:00.000-07:00</published><updated>2010-03-23T01:02:39.281-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL Server:Transfer a Few Tables</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You need to transfer just a few tables, including data, from a database on one machine to a database on another. The only available weapon is "SQL Server Management Studio EXPRESS", and you don't have enough time to research other programs.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This is my solution though I'm sure there are better ways.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Firstly, we are going to create a new database on the source machine and only copy the tables we are interested in. This is achieved thus:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;In SQL Server Management Studio Express create a brand new empty database, e.g. "CopyOfMyDatabase"&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Run this script for each table you want to copy. Note that the table structure will also get created for you for free:&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3366ff;"&gt;SELECT * INTO CopyOfMyDatabase.dbo.TableYouAreInterestedIn FROM MyOriginalDatabase.dbo.TableYouAreInterestedIn&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Once all your tables are copied across to "CopyOfMyDatabase", backup "CopyOfMyDatabase" to a BAK file on disk&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Secondly, we are going to import the BAK file to your destination machine: &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Copy the BAK file to your other machine (the Destination machine)&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;In SQL Server Management Studio Express, RESTORE the BAK file to a new database which will create a database called "CopyofMyDatabase"&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Finally, we are going to bring across the data into our final database, "MyDestinationDatabase": &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Delete the tables of interest from your Destination Database (backup database first)&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Run this script for each table you want to copy:&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3366ff;"&gt;SELECT * INTO MyDestinationDatabase.dbo.TableYouAreInterestedIn FROM CopyOfMyDatabase.dbo.TableYouAreInterestedIn&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Remember to delete the BAK files and "CopyOfMyDatabase" from both machines.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-747368512758030966?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/747368512758030966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2010/03/sql-server-transfer-few-tables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/747368512758030966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/747368512758030966'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2010/03/sql-server-transfer-few-tables.html' title='SQL Server:&lt;br/&gt;Transfer a Few Tables'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-8356185570126589270</id><published>2010-03-23T00:50:00.000-07:00</published><updated>2010-03-23T00:53:06.639-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL Server:Timeout Expired</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Running a query in "SQL Server Management Studio" results in the error message "Timeout expired"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;In SQL Server Management Studio, choose TOOLS / OPTIONS&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Left-click "Designers" in the tree&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;In the option "Override connection string time-out value for table", change it to something huge like 600 or more.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-8356185570126589270?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/8356185570126589270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2010/03/sql-server-timeout-expired.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/8356185570126589270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/8356185570126589270'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2010/03/sql-server-timeout-expired.html' title='SQL Server:&lt;br/&gt;Timeout Expired'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-3197098981081971815</id><published>2010-03-23T00:41:00.000-07:00</published><updated>2010-03-23T00:54:11.855-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL Server:Reduce Size of LDF File</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The LDF log file for your SQL Server database is too large and you want to delete it.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt; &lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Select your database&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Right-click and select Tasks / Detach&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Press OK&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Use Windows Explorer to navigate to the log file folder and rename or delete your LDF file (e.g. MyDatabase.ldf)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Right-click Databases&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Attach / Add&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Add your database, highlight the log file and click the 'Remove' button. This means you only attach your MDF file&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-3197098981081971815?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/3197098981081971815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2010/03/sql-server-reduce-size-of-ldf-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3197098981081971815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3197098981081971815'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2010/03/sql-server-reduce-size-of-ldf-file.html' title='SQL Server:&lt;br/&gt;Reduce Size of LDF File'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-3614009824687664148</id><published>2010-01-28T22:11:00.000-08:00</published><updated>2010-01-28T22:27:18.840-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# ASP.NET'/><title type='text'>C# ASP.NET:FileUpload &amp; "Internet Explorer Cannot Display the Webpage"</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;A form which uses the FileUpload control displays the error message "&lt;em&gt;Internet Explorer cannot display the webpage&lt;/em&gt;" when you attempt to upload a file.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;There is an automatic 4 megabyte limit imposed upon the FileUpload control. To allow larger files to be uploaded, a change is required to your Web.Config file. In the &amp;#60;system.web&amp;#62; section of Web.Config, add this line: &lt;span style="color:#3366ff;"&gt;&amp;#60;httpRuntime maxRequestLength="10000"&amp;#62; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;10000 will allow the user to upload files up to around 10 megabytes.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-3614009824687664148?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com' title='C# ASP.NET:&lt;hr/&gt;FileUpload &amp; &quot;Internet Explorer Cannot Display the Webpage&quot;'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/3614009824687664148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2010/01/c-aspnet-fileupload-internet-explorer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3614009824687664148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3614009824687664148'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2010/01/c-aspnet-fileupload-internet-explorer.html' title='C# ASP.NET:&lt;hr/&gt;FileUpload &amp; &quot;Internet Explorer Cannot Display the Webpage&quot;'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-4454583977547295125</id><published>2009-12-16T21:54:00.000-08:00</published><updated>2009-12-16T21:58:33.955-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL Server:SELECT with NULL Never Returns Rows</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Performing a SELECT with a NULL field always returns no data. For example:&lt;br /&gt;&lt;span style="color:#6666cc;"&gt;SELECT * FROM customer WHERE surname=null&lt;/span&gt;&lt;br /&gt;will never return any records even where there is null surname data.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The ANSI_NULLS setting needs to be set to OFF before running your SQL:&lt;br /&gt;&lt;span style="color:#6666cc;"&gt;SET ANSI_NULLS OFF&lt;br /&gt;SELECT * FROM customer WHERE surname=null&lt;br /&gt;&lt;/span&gt;The above will now return all customers who do not have a surname.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-4454583977547295125?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='SQL Server:&lt;br/&gt;SELECT with NULL Never Returns Rows'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/4454583977547295125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/12/sql-server-select-with-null-never.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4454583977547295125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4454583977547295125'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/12/sql-server-select-with-null-never.html' title='SQL Server:&lt;br/&gt;SELECT with NULL Never Returns Rows'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-3038073321582545534</id><published>2009-12-15T13:10:00.000-08:00</published><updated>2009-12-15T13:20:37.044-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Flash:Disable Flash For Specific Sites</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Certain websites download too much Flash video/junk to your machine whilst you are browsing the site.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;For Internet Explorer, add the website to the Restricted Zone (Tools / Internet Options / Security Options / Restricted Sites / Sites). Add the entire site (e.g. http://www.smh.com.au)&lt;br /&gt;&lt;br /&gt;For Firefox, download an add-on called 'no script' (I have not tried this one)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-3038073321582545534?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='Flash:&lt;hr/&gt;Disable Flash For Specific Sites'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/3038073321582545534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/12/flash-disable-flash-for-specific-sites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3038073321582545534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3038073321582545534'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/12/flash-disable-flash-for-specific-sites.html' title='Flash:&lt;hr/&gt;Disable Flash For Specific Sites'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-9083519413898022528</id><published>2009-09-06T21:20:00.001-07:00</published><updated>2009-10-07T13:00:26.828-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL Server:Removing a Log File</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;The SQL Server 2005 log file for a particular database is large and requires removal.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Launch and login to SQL Management Studio&lt;/li&gt;&lt;li&gt;Right-click database&lt;/li&gt;&lt;li&gt;Click Detach&lt;/li&gt;&lt;li&gt;Tick 'Update Statistics'&lt;/li&gt;&lt;li&gt;Tick 'Drop Connections'&lt;/li&gt;&lt;li&gt;Click OK&lt;/li&gt;&lt;li&gt;Find Log file and delete it&lt;/li&gt;&lt;li&gt;Right-click server in SQL Management Studio&lt;/li&gt;&lt;li&gt;Click Attach&lt;/li&gt;&lt;li&gt;Click Add&lt;/li&gt;&lt;li&gt;Locate MDF&lt;/li&gt;&lt;li&gt;Select LDF file in bottom grid&lt;/li&gt;&lt;li&gt;Click Remove&lt;/li&gt;&lt;li&gt;Click OK&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-9083519413898022528?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='SQL Server:&lt;br/&gt;Removing a Log File'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/9083519413898022528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/09/sql-server-removing-log-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/9083519413898022528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/9083519413898022528'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/09/sql-server-removing-log-file.html' title='SQL Server:&lt;br/&gt;Removing a Log File'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-2871856336233105271</id><published>2009-08-21T17:41:00.000-07:00</published><updated>2009-10-07T13:03:24.385-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL Server:Import Foreign Characters from DAT File</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;Importing data into SQL Server 2005 from a DAT file loses the special foreign characters from foreign words such as &lt;em&gt;Agnières-en-Dévoluy&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;The field types in the SQL table can remain as &lt;em&gt;varchar&lt;/em&gt; (no need for nvarchar). To import foreign characters, you must specify 'Widechar' as your DataFileType and a CodePage. For example:&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#3333ff;"&gt;BULK INSERT yourtable FROM 'c:\yourdata.dat'&lt;br /&gt;WITH (&lt;br /&gt;DATAFILETYPE = 'widechar',&lt;br /&gt;FIELDTERMINATOR='',&lt;br /&gt;CODEPAGE = '1252')&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-2871856336233105271?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='SQL Server:&lt;br/&gt;Import Foreign Characters from DAT File'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/2871856336233105271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/08/sql-server-import-foreign-characters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/2871856336233105271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/2871856336233105271'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/08/sql-server-import-foreign-characters.html' title='SQL Server:&lt;br/&gt;Import Foreign Characters from DAT File'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-3562977094355171944</id><published>2009-06-27T19:07:00.000-07:00</published><updated>2009-10-07T13:00:09.384-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# ASP.NET'/><title type='text'>C# ASP.NET: Setting Minimum Length for TextBox</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You need the user to enter a minimum length number of characters for an ASP.NET textbox.&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Use a &lt;strong&gt;RegularExpressionValidator&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Set &lt;strong&gt;ControlToValidate&lt;/strong&gt; to the textbox&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Set ValidationExpression to &lt;strong&gt;\S{8,20}&lt;/strong&gt; (minlength 8 characters; maxlength 20)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-3562977094355171944?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='C# ASP.NET: &lt;/br&gt;Setting Minimum Length for TextBox'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/3562977094355171944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/06/c-aspnet-setting-minimum-length-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3562977094355171944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3562977094355171944'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/06/c-aspnet-setting-minimum-length-for.html' title='C# ASP.NET: &lt;/br&gt;Setting Minimum Length for TextBox'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-1092085544653725547</id><published>2009-04-15T19:53:00.000-07:00</published><updated>2009-10-07T12:59:57.593-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SVN'/><title type='text'>SVN:Tortoise Import Fails At Random</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;When importing files into the SVN repository, some files will upload but then you receive the error message “&lt;strong&gt;at least one property change failed&lt;/strong&gt;”.  SVN rolls back the uploads and removes your files from the repository.  It fails after a certain number of megabytes have been uploaded.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This is due to an old version of the SVN server where a bug exists in Neon.  If your I.T department won't update the SVN server, try this:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Do NOT use the standard “Import…” method.  Instead, launch &lt;strong&gt;Tortoise Repo-Browser&lt;/strong&gt; and &lt;strong&gt;drag&lt;/strong&gt; directories from &lt;strong&gt;Windows Explorer&lt;/strong&gt; in to &lt;strong&gt;Repo-Browser&lt;/strong&gt; directly.  Ignore the warning and continue.  Repo-Browser will &lt;strong&gt;appear to hang&lt;/strong&gt;, potentially for several hours if the upload is large.  &lt;strong&gt;Do not interrupt Repo-Browser&lt;/strong&gt;.  Though it looks dead it is in fact busy uploading the files.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-1092085544653725547?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='SVN:&lt;br&gt;Tortoise Import Fails At Random'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/1092085544653725547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/04/svn-tortoise-import-fails-at-random.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1092085544653725547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1092085544653725547'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/04/svn-tortoise-import-fails-at-random.html' title='SVN:&lt;br&gt;Tortoise Import Fails At Random'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-5478130522423426103</id><published>2009-04-14T22:39:00.000-07:00</published><updated>2009-10-07T12:59:44.875-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# ASP.NET'/><title type='text'>C# ASP.NET:Control Loses Css After Adding RunAt="server"</title><content type='html'>&lt;b&gt;Problem&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;In your markup, you add a simple RUNAT="server" to your control only to see the control disappear or lose it's css style&lt;br /&gt;&lt;br /&gt;e.g. Changing &lt;strong&gt;div id="OrangeBox"&lt;/strong&gt; to &lt;strong&gt;div id="OrangeBox" runat="server"&lt;/strong&gt; will cause your div to stop using the CSS.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The reason is that C# ASP.NET changes the DIV's ID on-the-fly once the RUNAT/server attribute is applied. "OrangeBox" will get renamed to something like "ctl00_OrangeBox" which means the CSS lookup reference is now broken as there won't be a corresponding "ctl00_OrangeBox" entry in your CSS file.&lt;br /&gt;&lt;br /&gt;The solution is to stop using ID to link to your CSS and instead add a specific CLASS attribute to your DIV.&lt;br /&gt;&lt;br /&gt;This will work:&lt;br /&gt;&lt;strong&gt;div id="OrangeBox" runat="server" &lt;u&gt;class="OrangeBox"&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;div id="OrangeBox"&gt;&lt;div id="OrangeBox" runat="server"&gt;&lt;div class="OrangeBox" id="OrangeBox" runat="server"&gt;&lt;div class="OrangeBox" id="OrangeBox" runat="server"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Change your CSS from:&lt;br /&gt;&lt;strong&gt;#OrangeBox{ ...style code...}&lt;/strong&gt;&lt;br /&gt;to&lt;br /&gt;&lt;strong&gt;DIV.OrangeBox{ ...style code...}&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;ASP.NET will still rename the ID but the CSS uses the CLASS attribute which won't get renamed. You can still access your ID from C# (e.g. OrangeBox.Visible=false)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&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/4307295830837702057-5478130522423426103?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='C# ASP.NET:&lt;br&gt;Control Loses Css After Adding RunAt=&quot;server&quot;'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/5478130522423426103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/04/aspnet-aspnet-control-loses-css-style.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/5478130522423426103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/5478130522423426103'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/04/aspnet-aspnet-control-loses-css-style.html' title='C# ASP.NET:&lt;br&gt;Control Loses Css After Adding RunAt=&quot;server&quot;'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-9207971199335719562</id><published>2009-02-16T18:55:00.000-08:00</published><updated>2009-10-07T12:59:31.402-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Photoshop'/><title type='text'>Photoshop:Creating a TGA/Targa Graphic with Background Transparency</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Saving a TGA (Targa) file in Photoshop CS2 removes any background transparency and replaces it with white.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Choose Select / Load Selection, press OK&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Click the Channels tab&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Press the little arrow in the circle. A dropdown menu will appear.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Choose New Channel, press OK&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The whole graphic will go black but you'll see the selection lines.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Choose the Paint Bucket tool and choose White foreground&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Fill the inside of the selection with pure white&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Go to the Layers tab and select the layer.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Now deselect (CTRL+D)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Save as 32-bit TGA format.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;Please note that when you load this TGA file back into Photoshop, it will still display with a pure white background. This is a problem with Photoshop. The actual TGA graphic has a proper transparent background and will display ok in most other applications (apart from Internet Explorer)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-9207971199335719562?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='Photoshop:&lt;br/&gt;Creating a TGA/Targa Graphic with Background Transparency'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/9207971199335719562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/02/photoshop-creating-tgatarga-graphic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/9207971199335719562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/9207971199335719562'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/02/photoshop-creating-tgatarga-graphic.html' title='Photoshop:&lt;br/&gt;Creating a TGA/Targa Graphic with Background Transparency'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-8672321574673068719</id><published>2009-01-21T22:23:00.000-08:00</published><updated>2009-10-07T12:59:20.430-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# ASP.NET'/><title type='text'>C# ASP.NET:User can hit Back button after FormsAuthentication.SignOut()</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;When using the ASP.NET Membership API, your code logs the user out the system with &lt;em&gt;FormsAuthentication.SignOut()&lt;/em&gt; yet the user can still hit the browsers &lt;strong&gt;Back&lt;/strong&gt; button and go to the previous (now unauthorised) page.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Do not delete the forms authentication cookie but &lt;strong&gt;expire&lt;/strong&gt; it. Use the following code to safely log a user out your system:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;&lt;span style="font-size:85%;"&gt;Session.Abandon();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Session.Contents.RemoveAll();&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3366ff;"&gt;&lt;span style="font-size:85%;"&gt;Session.Clear();&lt;br /&gt;FormsAuthentication.SignOut();&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3366ff;"&gt;&lt;span style="font-size:85%;"&gt;HttpContext.Current.User = null;&lt;br /&gt;// Important: This will clear the cookie cache so user can't hit back button &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#3366ff;"&gt;Response.Cookies[FormsAuthentication.FormsCookieName].Expires = DateTime.Now;&lt;br /&gt;FormsAuthentication.RedirectToLoginPage();&lt;/span&gt;&lt;span style="color:#33ccff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Additionally, stop the user typing in the URL of a different unauthorised page which has been cached by placing the following code in all your ASPX PageLoad methods (or easier still, put it in the Master Page OnLoad)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3366ff;"&gt;Response.Cache.SetCacheability(HttpCacheability.NoCache);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-8672321574673068719?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='C# ASP.NET:&lt;br/&gt;User can hit Back button after FormsAuthentication.SignOut()'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/8672321574673068719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/01/c-aspnet-user-can-hit-back-button-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/8672321574673068719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/8672321574673068719'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/01/c-aspnet-user-can-hit-back-button-after.html' title='C# ASP.NET:&lt;br/&gt;User can hit Back button after FormsAuthentication.SignOut()'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-3578709315772791030</id><published>2009-01-19T22:41:00.000-08:00</published><updated>2009-10-07T12:59:09.402-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# WCF'/><title type='text'>C# WCF:WCF Service Stops Responding</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Your WCF service stops responding after a constant number of successful calls. If you wait long enough, the following error message is received:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#666666;"&gt;&lt;em&gt;The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#666666;"&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You must close the connection to the WCF server on each use. Rather than using this code:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;QuoteServiceClient clientQuotes = new QuoteServiceClient();&lt;br /&gt;clientQuotes.GetSomeData();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Do this instead:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;using (QuoteServiceClient clientQuotes = new QuoteServiceClient())&lt;br /&gt;{&lt;br /&gt;clientQuotes.GetSomeData();&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-3578709315772791030?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='C# WCF:&lt;br/&gt;WCF Service Stops Responding'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/3578709315772791030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/01/c-wcf-service-stops-responding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3578709315772791030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/3578709315772791030'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/01/c-wcf-service-stops-responding.html' title='C# WCF:&lt;br/&gt;WCF Service Stops Responding'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-6636772945075726741</id><published>2009-01-19T21:37:00.000-08:00</published><updated>2009-10-07T13:04:11.157-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# ASP.NET'/><title type='text'>C# ASP.NET:System.Threading.ThreadAbortException</title><content type='html'>&lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The debugger or output window gives you the following runtime errors:&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;span style="font-size:85%;"&gt;A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll&lt;/span&gt;&lt;/em&gt; &lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;span style="font-size:85%;"&gt;An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You are most likely using &lt;strong&gt;Response.Redirect&lt;/strong&gt; or &lt;strong&gt;Server.Transfer&lt;/strong&gt; in your code. Fix the issue by passing &lt;strong&gt;false&lt;/strong&gt; in the Response.Redirect e.g. &lt;em&gt;Response.Redirect("YourPage.aspx", false);&lt;/em&gt;&lt;/span&gt;   &lt;span style="font-size:85%;"&gt;or calling &lt;strong&gt;Server.Execute&lt;/strong&gt; instead of &lt;strong&gt;Server.Transfer&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-6636772945075726741?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='C# ASP.NET:&lt;br/&gt;System.Threading.ThreadAbortException'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/6636772945075726741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/01/c-aspnet-systemthreadingthreadabortexce.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/6636772945075726741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/6636772945075726741'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/01/c-aspnet-systemthreadingthreadabortexce.html' title='C# ASP.NET:&lt;br/&gt;System.Threading.ThreadAbortException'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-5106438801552569029</id><published>2009-01-07T23:05:00.000-08:00</published><updated>2009-10-07T12:58:56.820-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C#:Floating Point Errors with Double</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Performing simple arithmetic with a &lt;strong&gt;double&lt;/strong&gt; type sometimes causes unexpected answers.  A recent example was the calculation &lt;strong&gt;7358.0 * 0.1&lt;/strong&gt; which should have returned 735.8 but instead returned &lt;strong&gt;735.80000000000007&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Do not use double.  Use &lt;strong&gt;decimal&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-5106438801552569029?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='C#:&lt;br/&gt;Floating Point Errors with Double'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/5106438801552569029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/01/c-floating-point-errors-with-double.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/5106438801552569029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/5106438801552569029'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/01/c-floating-point-errors-with-double.html' title='C#:&lt;br/&gt;Floating Point Errors with Double'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-8128716644927651080</id><published>2009-01-04T21:33:00.000-08:00</published><updated>2009-10-07T12:58:45.465-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# WCF'/><title type='text'>C# WCF:The underlying connection was closed</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;When attempting to return a &lt;strong&gt;DataTable&lt;/strong&gt; type via WCF, your client receives the error message &lt;em&gt;The underlying connection was closed: The connection was closed unexpectedly.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Any number of issues can generate this message but the one that worked for me was setting a name for the DataTable within your WCF service method.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;This won't work: return new DataTable();&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;This will work: &lt;strong&gt;return new DataTable("Name");&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;Remember to Update your web reference afterwards.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-8128716644927651080?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='C# WCF:&lt;br/&gt;The underlying connection was closed'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/8128716644927651080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2009/01/c-wcf-underlying-connection-was-closed.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/8128716644927651080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/8128716644927651080'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2009/01/c-wcf-underlying-connection-was-closed.html' title='C# WCF:&lt;br/&gt;The underlying connection was closed'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-1532564127774507674</id><published>2008-12-22T21:51:00.000-08:00</published><updated>2009-10-07T12:58:31.661-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBScript'/><category scheme='http://www.blogger.com/atom/ns#' term='QTP'/><title type='text'>QTP:Calling a C# DLL from QTP</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You quickly need the power of C# but from within QTP (HP QuickTest Professional) (or VBScript), maybe for calling encrypted WCF or for any other reason. You have to use QTP because a gun is being held to your head by the customer but you'd prefer to use a C# .NET DLL&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;u&gt;&lt;strong&gt;Build Box&lt;/strong&gt;&lt;br /&gt;&lt;/u&gt;&lt;br /&gt;Create a new C# &lt;strong&gt;Class Library&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Create a strong name key for your machine&lt;br /&gt;&lt;strong&gt;sn -k myKey.snk&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Copy &lt;strong&gt;myKey.snk&lt;/strong&gt; to the same folder as your source code&lt;br /&gt;&lt;br /&gt;Right-click on your project name under &lt;strong&gt;Solution Explorer&lt;/strong&gt; and choose &lt;strong&gt;Properties&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Under the &lt;strong&gt;Application&lt;/strong&gt; tab, press the &lt;strong&gt;Assembly Information...&lt;/strong&gt; button&lt;br /&gt;&lt;br /&gt;Check &lt;strong&gt;Make assembly COM-Visible&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Click the &lt;strong&gt;Signing&lt;/strong&gt; tab and check &lt;strong&gt;Sign the assembly&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Under &lt;strong&gt;Choose a strong name key file&lt;/strong&gt;, select &lt;strong&gt;Browse...&lt;/strong&gt; and navigate to &lt;strong&gt;myKey.snk&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You need a constructor for your class which takes no parameters and has the same name as your class.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3366ff;"&gt;using System;&lt;br /&gt;&lt;br /&gt;namespace AStray&lt;br /&gt;{&lt;br /&gt;public class Alien&lt;br /&gt;{&lt;br /&gt;private string sydneySuburb;&lt;br /&gt;&lt;br /&gt;// Totally Vital: Default constructor with no parameters so can be accessed from COM&lt;br /&gt;public Alien()&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public string GetSydneySuburb()&lt;br /&gt;{&lt;br /&gt;return sydneySuburb;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public void SetSydneySuburb(string newSydneySuburb)&lt;br /&gt;{&lt;br /&gt;sydneySuburb = newSydneySuburb;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(sorry about indentation - Blogger.com sux at this)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Client Box&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Copy the DLL from your server to the client&lt;br /&gt;&lt;br /&gt;Register the assembly with &lt;strong&gt;regasm&lt;/strong&gt;. To achieve this, navigate to c:\Windows\Microsoft.NET\Framework\v2.0.50727 (or equivalent framework/location)&lt;br /&gt;&lt;strong&gt;regasm /register c:\&lt;em&gt;YOUR PATH&lt;your&gt;&lt;/em&gt;\&lt;your&gt; &lt;em&gt;YOUR DLL&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Put the DLL into the GAC. You need to use GACUTIL.exe and there is a version which matches your .NET Framework version. The correct version of GACUTIL.exe may not exist on your client PC even if the .NET framework runtime is on there. Copy the entire directory and subdirectories (might be overkill, but worked for me) from your server c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin to somewhere on the client.&lt;br /&gt;&lt;strong&gt;gacutil /i c:\&lt;em&gt;YOUR PATH&lt;/em&gt;\&lt;em&gt;YOUR DLL&lt;your&gt;&lt;your&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Remember to run &lt;strong&gt;regasm&lt;/strong&gt; and &lt;strong&gt;gacutil&lt;/strong&gt; whenever you recompile the DLL&lt;br /&gt;&lt;br /&gt;Within QTP, run the following test VBScript:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;dim oAStrayAlien&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3366ff;"&gt;set oAStrayAlien = CreateObject("AStray.Alien")&lt;br /&gt;if err.number &lt;&gt; 0 then&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3366ff;"&gt;    msgbox "Error number " &amp;amp; Err.number &amp;amp; " creating AStrayAlien because " &amp;amp; Err.description&lt;br /&gt;else&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3366ff;"&gt;    msgbox "DLL found: " &amp;amp; Cstr(not(oAStrayAlien is nothing))&lt;br /&gt;    oAStrayAlien.SetSydneySuburb "Bondi"&lt;br /&gt;    msgbox "Sydney Suburb: " &amp;amp; oAStrayAlien.GetSydneySuburb&lt;br /&gt;end if&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-1532564127774507674?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='QTP:&lt;br/&gt;Calling a C# DLL from QTP'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/1532564127774507674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/12/qtp-calling-c-dll-from-qtp.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1532564127774507674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1532564127774507674'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/12/qtp-calling-c-dll-from-qtp.html' title='QTP:&lt;br/&gt;Calling a C# DLL from QTP'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-4861850943067004823</id><published>2008-12-21T17:58:00.000-08:00</published><updated>2009-10-07T12:58:19.439-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><title type='text'>IIS:Calling Web Service returns "The page cannot be found"</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;A web service application can be called from the local machine via &lt;strong&gt;localhost&lt;/strong&gt; but not from a different machine which receives the error "The page cannot be found".&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;In &lt;strong&gt;IIS&lt;/strong&gt;, select &lt;strong&gt;Web Service Extensions&lt;/strong&gt; in the tree on the left, select &lt;strong&gt;ASP.NET v2.0.50727&lt;/strong&gt; (or your equivalent ASP.NET version) and press the &lt;strong&gt;Allow&lt;/strong&gt; button.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-4861850943067004823?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='IIS:&lt;br/&gt;Calling Web Service returns &quot;The page cannot be found&quot;'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/4861850943067004823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/12/iis-calling-web-service-returns-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4861850943067004823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/4861850943067004823'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/12/iis-calling-web-service-returns-page.html' title='IIS:&lt;br/&gt;Calling Web Service returns &quot;The page cannot be found&quot;'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-1834463617363938483</id><published>2008-12-11T17:14:00.000-08:00</published><updated>2009-10-07T12:57:56.538-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Infragistics'/><title type='text'>Infragistics:Rotating Axis Labels</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;When using Infragistics ASP.NET UltraChart, the axis labels appear behind the chart when you set the orientation angle to 45 degrees:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_8I2E6K9EMcM/SUG9cE2aLiI/AAAAAAAAAAc/vOVs1g0pvXE/s1600-h/ultra1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5278708528290868770" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 192px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_8I2E6K9EMcM/SUG9cE2aLiI/AAAAAAAAAAc/vOVs1g0pvXE/s400/ultra1.jpg" border="0" /&gt;&lt;/a&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This is a quirky one. In the charts visual designer, expand &lt;strong&gt;Axis&lt;/strong&gt; / &lt;strong&gt;X&lt;/strong&gt; / &lt;strong&gt;Labels&lt;/strong&gt; and set &lt;strong&gt;Orientation&lt;/strong&gt; to &lt;strong&gt;Custom&lt;/strong&gt;, set &lt;strong&gt;OrientationAngle&lt;/strong&gt; to &lt;strong&gt;225&lt;/strong&gt; then set &lt;strong&gt;Flip&lt;/strong&gt; to &lt;strong&gt;True&lt;/strong&gt;. This will give you a 45 degree rotation (!) If setting this via C# code, try:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3366ff;"&gt;yourChart.Axis.X.Labels.OrientationAngle = 225;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;yourChart.Axis.X.Labels.Flip = true;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;yourChart.Axis.X.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Custom;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_8I2E6K9EMcM/SUG-1aa5ZnI/AAAAAAAAAAk/oOoYhwHn0C4/s1600-h/ultra2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5278710063089411698" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 273px" alt="" src="http://2.bp.blogspot.com/_8I2E6K9EMcM/SUG-1aa5ZnI/AAAAAAAAAAk/oOoYhwHn0C4/s400/ultra2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-1834463617363938483?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='Infragistics:&lt;br/&gt;Rotating Axis Labels'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/1834463617363938483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/12/infragistics-rotating-axis-labels.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1834463617363938483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1834463617363938483'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/12/infragistics-rotating-axis-labels.html' title='Infragistics:&lt;br/&gt;Rotating Axis Labels'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8I2E6K9EMcM/SUG9cE2aLiI/AAAAAAAAAAc/vOVs1g0pvXE/s72-c/ultra1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-323572217086116622</id><published>2008-12-03T13:41:00.000-08:00</published><updated>2009-10-07T13:05:15.537-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamics CRM'/><title type='text'>Dynamics CRM:Viewing Imported Custom Entity Generates "Guid should contain 32 digits"</title><content type='html'>&lt;strong&gt;Problem &lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;When I export any custom entity, no matter how simple it may be, from my dev environment to our server I get an error message when I attempt to view that entity.&lt;/span&gt; &lt;span style="font-size:85%;"&gt;Even if I create a basic entity and keep all defaults (i.e. I just give it a name), then export from my dev box, import to the server, and publish, I still end up with the same error message. &lt;/span&gt;&lt;span style="font-size:85%;"&gt;Therefore, there are no lookup fields or anything smart in the entity. I have attempted to import into an existing CRM instance and even created a brand new CRM instance. Error:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#666666;"&gt;&lt;span style="font-size:78%;"&gt;Microsoft CRM Error Report:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Error Description:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#666666;"&gt;&lt;span style="font-size:78%;"&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#666666;"&gt;&lt;span style="font-size:78%;"&gt;Error Details:Exception of type 'System.Web.HttpUnhandledException' was thrown.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#666666;"&gt;&lt;span style="font-size:78%;"&gt;Full Stack:[FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).] at System.Guid..ctor(String g) at Microsoft.Crm.Application.Controls.AppGrid.set_ViewId(String value) at Microsoft.Crm.Web.EntityHomePage.ConfigurePage() at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;br /&gt;[HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.] at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.analysttitandev__root_homepage_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Alternatively, you may receive the error message: "&lt;em&gt;You do not have sufficient privileges to open this Lookup dialog box&lt;/em&gt;", and you may also notice the icon next to your entity does not appear.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;I haven't found a full solution yet, even after asking on the Microsoft Dynamics forums, but I have come up with my own workaround. It's not nice but gets your system up-and-running again and that's all that counts when you've got a deadline to hit! After importing your entities, do the following: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;ul&gt;&lt;li&gt;Go to &lt;strong&gt;Customization / Customize Entities&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;Edit the problem entity &lt;/li&gt;&lt;li&gt;Add a new attribute, give it any old name, then &lt;strong&gt;Save and Close&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;Reselect the attribute you just created and delete it &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Save and Close&lt;/strong&gt; your Entity&lt;/li&gt;&lt;li&gt;Hit &lt;strong&gt;Publish&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;You should now be able to view your entity. You have to do the above steps for each and every one of your custom entities, remembering to &lt;u&gt;publish between each entity&lt;/u&gt; you change.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-323572217086116622?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='Dynamics CRM:&lt;br/&gt;Viewing Imported Custom Entity Generates &quot;Guid should contain 32 digits&quot;'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/323572217086116622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/12/dynamics-crm-viewing-imported-custom.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/323572217086116622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/323572217086116622'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/12/dynamics-crm-viewing-imported-custom.html' title='Dynamics CRM:&lt;br/&gt;Viewing Imported Custom Entity Generates &quot;Guid should contain 32 digits&quot;'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-1240008895601364794</id><published>2008-12-01T19:39:00.000-08:00</published><updated>2009-10-07T12:57:10.024-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamics CRM'/><title type='text'>Dynamics CRM:Can not Launch Deployment Manager</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;When launching Deployment Manager, you receive the error message "&lt;em&gt;Only the Deployment Administrators are able to use Deployment Manager. You are not a Deployment Administrator&lt;/em&gt;."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This is nothing to do with Active Directory. In Deployment Manager (Start / All Programs / Microsoft Dynamics CRM) , there is a list of Deployment Administrators. Any one of these people can make you a Deployment Administrator from within Deployment Manager if you ask politely.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;If you do not know who the Deployment Administrator is, see my other post entitled &lt;a href="http://astrayalien.blogspot.com/2008/12/dynamics-crm-how-to-find-out-who-is.html" target="_top"&gt;How to find out who is Deployment Administrator&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-1240008895601364794?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='Dynamics CRM:&lt;br/&gt;Can not Launch Deployment Manager'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/1240008895601364794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/12/dynamics-crm-can-not-launch-deployment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1240008895601364794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1240008895601364794'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/12/dynamics-crm-can-not-launch-deployment.html' title='Dynamics CRM:&lt;br/&gt;Can not Launch Deployment Manager'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-8517399277417579360</id><published>2008-12-01T19:33:00.000-08:00</published><updated>2009-10-07T12:56:51.780-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamics CRM'/><title type='text'>Dynamics CRM:How to find out who is Deployment Administrator</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;You can't launch Deployment Manager but need to track down who the Deployment Administrators are so one of them can add you to the Deployment Administrators list. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Open SQL Server Management Studio&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Expand database &lt;strong&gt;MSCRM_CONFIG&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Open table &lt;strong&gt;SystemUser&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The list of people appear who you can hassle to get you added as a Deployment Administrator from within Deployment Manager&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-8517399277417579360?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='Dynamics CRM:&lt;br/&gt;How to find out who is Deployment Administrator'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/8517399277417579360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/12/dynamics-crm-how-to-find-out-who-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/8517399277417579360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/8517399277417579360'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/12/dynamics-crm-how-to-find-out-who-is.html' title='Dynamics CRM:&lt;br/&gt;How to find out who is Deployment Administrator'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-2114707530494173389</id><published>2008-12-01T15:44:00.000-08:00</published><updated>2009-10-07T12:55:59.245-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamics CRM'/><title type='text'>Dynamics CRM:Removing Comma from an Int Field</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;When using an Int field to store a year, a comma is appearing in the number e.g. '1995' is displaying as '1,995'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Edit the entity's Form&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Choose "Form Properties"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Edit the "OnLoad" event&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Paste the following code and change field to your field name:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color:#3366ff;"&gt;&lt;span style="font-size:85%;"&gt;if (crmForm.all.new_yearofcompletion!=null &amp;amp;&amp;amp; crmForm.all.new_yearofcompletion.DataValue!=null)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;crmForm.all.new_yearofcompletion.value = crmForm.all.new_yearofcompletion.DataValue;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Save all those changes and go back to your form&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Select your int/date field&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Choose "Change Properties"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Select "Events" tab&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Select "onChange" and "Edit"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Paste the exact same code as above into this event&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-2114707530494173389?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='Dynamics CRM:&lt;br/&gt;Removing Comma from an Int Field'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/2114707530494173389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/12/dynamics-crm-removing-comma-from-int.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/2114707530494173389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/2114707530494173389'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/12/dynamics-crm-removing-comma-from-int.html' title='Dynamics CRM:&lt;br/&gt;Removing Comma from an Int Field'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-478625202676098920</id><published>2008-11-24T22:08:00.000-08:00</published><updated>2009-10-07T12:55:46.603-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# ASP.NET'/><title type='text'>C# ASP.NET:Membership Provider Exception once Published</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;When using the Membership Provider, after publishing to your live website,&lt;br /&gt;you may receive the following exception:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#666666;"&gt;&lt;em&gt;"The 'System.Web.Security.SqlMembershipProvider' requires a database&lt;br /&gt;schema compatible with schema version '1'. However, the current&lt;br /&gt;database schema is not compatible with this version. You may need to&lt;br /&gt;either install a compatible schema with aspnet_regsql.exe (available in&lt;br /&gt;the framework installation directory), or upgrade the provider to a&lt;br /&gt;newer version"&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You will need to re-run the SQL to regenerate the membership schema. The SQL files can be found in local directory c:\windir\Microsoft.NET\2.0xxxxxx\*.sql. Run the SQL files against your live website database.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-478625202676098920?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='C# ASP.NET:&lt;br/&gt;Membership Provider Exception once Published'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/478625202676098920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/11/c-aspnet-membership-provider-exception.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/478625202676098920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/478625202676098920'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/11/c-aspnet-membership-provider-exception.html' title='C# ASP.NET:&lt;br/&gt;Membership Provider Exception once Published'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-7655404845647114967</id><published>2008-11-24T21:49:00.000-08:00</published><updated>2009-10-07T12:55:32.696-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Infragistics'/><title type='text'>Infragistics:System.Security.SecurityException when Published</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;My C# ASP.NET application (with Infragistics) works fine on my local dev PC but falls over when published to my website with a Security Exception error message along the lines of "System.Security.SecurityException: That assembly does not allow partially trusted callers."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The problem occurs because the website is a partial trust environment and Infragistics normally requires additional rights to perform certain operations. Search your local drive Infragistics directory for a zip file containing the word "APTCA", an example would be C:\Program Files\Infragistics\NetAdvantage for .NET 2007 Vol. 3 CLR 2.0 \ASP.NET\APTCA\20073_ASP.NET_CLR2x_APTCA_Signed.zip&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Use the Infragistics files in this zip file instead of the default Infragistics DLLs.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Click &lt;/span&gt;&lt;a href="http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Web_ASP_NET_APTCA_Assemblies.html" target="_top"&gt;&lt;span style="font-size:85%;"&gt;here &lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;for a full APTCA explanation from Infragistics.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-7655404845647114967?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='Infragistics:&lt;br/&gt;System.Security.SecurityException when Published'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/7655404845647114967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/11/problem-my-c-asp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/7655404845647114967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/7655404845647114967'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/11/problem-my-c-asp.html' title='Infragistics:&lt;br/&gt;System.Security.SecurityException when Published'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-7614137168813432117</id><published>2008-11-24T20:50:00.000-08:00</published><updated>2009-10-07T12:55:18.549-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamics CRM'/><title type='text'>Dynamics CRM:Adding a New Report - "An error has occurred"</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;When you try to add a new report via Microsoft Dynamics CRM 4.0, you receive the following error message: &lt;em&gt;An error has occurred. Try this action again.&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The issue is that the data source of the report is a &lt;strong&gt;&lt;u&gt;SHARED&lt;/u&gt;&lt;/strong&gt; DATA SOURCE. Fix this by going to Visual Studio, then:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Open the report in Report Designer.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;On the Data tab, click the lookup button to the right of the Dataset list.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Click the lookup button to the right of the Data Source list.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Click to clear the Use shared data source reference check box.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Click Edit to the right of the Connection box.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Fill in connection info&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-7614137168813432117?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='Dynamics CRM:&lt;br/&gt;Adding a New Report - &quot;An error has occurred&quot;'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/7614137168813432117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/11/dynamics-crm-adding-new-report-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/7614137168813432117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/7614137168813432117'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/11/dynamics-crm-adding-new-report-error.html' title='Dynamics CRM:&lt;br/&gt;Adding a New Report - &quot;An error has occurred&quot;'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-7471497441573655038</id><published>2008-11-24T20:42:00.000-08:00</published><updated>2009-10-07T12:55:04.030-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX Control Toolkit'/><title type='text'>AJAX Toolkit:StackOverflowException error message</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;While using a control from the Ajax Toolkit, you receive an error complaining of a "StackOverflowException".&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Solution 1&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;You have a mis-spelling in a reference to another component. e.g. In the CalendarExtender, you may have mis-spelt the TargetControlID or PopupButtonID&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Solution 2&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;In the CalendarExtender, PoupButtonID is spelt correctly but is pointing to a generic HTML image control rather than a full-on ASPX ImageButton control &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-7471497441573655038?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='AJAX Toolkit:&lt;br/&gt;StackOverflowException error message'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/7471497441573655038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/11/ajax-toolkit-stackoverflowexception.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/7471497441573655038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/7471497441573655038'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/11/ajax-toolkit-stackoverflowexception.html' title='AJAX Toolkit:&lt;br/&gt;StackOverflowException error message'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4307295830837702057.post-1435959154378733078</id><published>2008-11-24T20:28:00.000-08:00</published><updated>2009-10-07T12:54:46.813-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX Control Toolkit'/><title type='text'>AJAX Toolkit:CalendarExtender Dates Displaying in mm/dd/yyyy Format</title><content type='html'>&lt;strong&gt;Problem&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Dates within a text box used by the CalendarExtender are always displaying in mm/dd/yyyy format even though I want to display with the current users date preference&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Add the following to your ASPX PAGE tag:&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-size:85%;color:#3366ff;"&gt;Culture="auto" UICulture="auto"&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Add the following to your SCRIPT MANAGER tag: &lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-size:85%;color:#3366ff;"&gt;EnableScriptGlobalization="true" EnableScriptLocalization="true"&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;color:#666666;"&gt;&lt;strong&gt;Did I solve your problem? Buy me a virtual beer by clicking one Google advert. Thanks!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#666666;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4307295830837702057-1435959154378733078?l=astrayalien.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://astrayalien.blogspot.com/' title='AJAX Toolkit:&lt;br/&gt;CalendarExtender Dates Displaying in mm/dd/yyyy Format'/><link rel='replies' type='application/atom+xml' href='http://astrayalien.blogspot.com/feeds/1435959154378733078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://astrayalien.blogspot.com/2008/11/ajax-calendarextender-dates-displaying.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1435959154378733078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4307295830837702057/posts/default/1435959154378733078'/><link rel='alternate' type='text/html' href='http://astrayalien.blogspot.com/2008/11/ajax-calendarextender-dates-displaying.html' title='AJAX Toolkit:&lt;br/&gt;CalendarExtender Dates Displaying in mm/dd/yyyy Format'/><author><name>A Stray Alien</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
