<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Alex Duggleby&#039;s Palace of Words</title>
	<atom:link href="http://alexduggleby.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexduggleby.com</link>
	<description>Just me, you and a cup of tea...</description>
	<lastBuildDate>Fri, 06 Jan 2012 11:50:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='alexduggleby.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/a297256c30fa504ea70fac7a821aa90f?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Alex Duggleby&#039;s Palace of Words</title>
		<link>http://alexduggleby.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://alexduggleby.com/osd.xml" title="Alex Duggleby&#039;s Palace of Words" />
	<atom:link rel='hub' href='http://alexduggleby.com/?pushpress=hub'/>
		<item>
		<title>How do I run dotLess on embedded resources? or How to embed .less files in assemblies?</title>
		<link>http://alexduggleby.com/2011/12/28/how-do-i-run-dotless-on-embedded-resources/</link>
		<comments>http://alexduggleby.com/2011/12/28/how-do-i-run-dotless-on-embedded-resources/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 18:41:38 +0000</pubDate>
		<dc:creator>Alex Duggleby</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dotless]]></category>
		<category><![CDATA[less]]></category>

		<guid isPermaLink="false">http://alexduggleby.com/?p=381</guid>
		<description><![CDATA[I&#8217;m in the process of creating one central library for future ASP.NET libraries that will do all the setup and wiring of the infrastructure and also deliver core files (e.g. Twitter Bootstrap CSS + JS). In .NET Assemblies non-code (i.e. content files, such as .less files) can be embedded by changing the build action on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=381&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m in the process of creating one central library for future ASP.NET libraries that will do all the setup and wiring of the infrastructure and also deliver core files (e.g. Twitter Bootstrap CSS + JS). In .NET Assemblies non-code (i.e. content files, such as .less files) can be embedded by changing the build action on the file to &#8220;Embedded Resource&#8221;.</p>
<p>Accessing file contents is easy once you remember that the filename is prefixed with the Namespace. So if you embed the file foo.txt in a Directory &#8220;bar&#8221; of a project configured with the default namespace &#8220;companydll&#8221; then the embedded resource will have the filename &#8220;companydll.bar.foo.txt&#8221;.</p>
<p>Simply pass that to the GetManifestResourceStream method and read the contents as follows:</p>
<p><pre class="brush: csharp;">
public string GetFileContents(string file)
{
  using (Stream stream = this.GetType().Assembly
                             .GetManifestResourceStream(file))
  using (StreamReader reader = new StreamReader(stream))
  {
    return reader.ReadToEnd();
  }
}
</pre></p>
<p>So far so good. You can create MVC controller methods that load files from the manifest resource stream &#8211; just remember to always check the request file against a whitelist of allowed files.</p>
<p>In my case I embedded some .less files and wanted to deliver those to the browser. Working with less in ASP.NET projects couldn&#8217;t be easier. The <a href="http://www.dotlesscss.org/">dotlesscss</a> project provides the engine for transforming less to css (and it can even be added using nuget). You simply add an HttpHandler and all .less requests are automatically parsed. But in my case I needed to run the less parser on files from the manifest. So basically I have a string in memory and not a real file path. The problem is the less parser provided by dotlesscss needs a file path to the .less file in order to import referenced files.</p>
<p>I started out by looking at IsolatedFileStorage as a temporary store for the .less files which I could pass to the engine, but there is only a <a href="http://msmvps.com/blogs/angelhernandez/archive/2008/10/04/retrieving-file-path-from-isolatedstorage.aspx">private reflection hack to get to the real path of a file in IsolatedFileStorage</a>, so I kept looking for something better. After a git clone of the dotlesscss source I produced this neat (and in retrospect very simple) solution to this problem. You can simply override the file provider for the less engine and read the files from the manifest stream.</p>
<p><pre class="brush: csharp;">
public class DotLessEmbedded : IFileReader
{
 private LessEngine m_lessEngine;
 private string m_filesNamespace;

 public DotLessEmbedded(string filesNamespace)
 {
    m_filesNamespace = filesNamespace;
    if (!m_filesNamespace.EndsWith(&quot;.&quot;))
      m_filesNamespace += &quot;.&quot;;
    m_lessEngine = new LessEngine();
    m_lessEngine.Parser.Importer.FileReader = this;
  }

  public string TransformToCss(string file)
  {
    return m_lessEngine.TransformToCss(GetFileContents(file), file);
  }

  public string GetFileContents(string fileName)
  {
    using (Stream stream = this.GetType().Assembly
          .GetManifestResourceStream(m_filesNamespace + fileName))
    using (StreamReader reader = new StreamReader(stream))
    {
      return reader.ReadToEnd();
    }
  }
}
</pre></p>
<p>(Remember to reference and import dotless.Core.Input and dotless.Core.)</p>
<p>With this class you can simply transform any embedded less file by using:</p>
<p><pre class="brush: csharp;">
var dotLess = new DotLessEmbedded(&quot;Web.Core.Assets.Bootstrap&quot;);
var out = dotLess.TransformToCss(&quot;bootstrap.less&quot;);
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexduggleby.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexduggleby.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexduggleby.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexduggleby.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexduggleby.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexduggleby.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexduggleby.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexduggleby.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexduggleby.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexduggleby.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexduggleby.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexduggleby.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexduggleby.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexduggleby.wordpress.com/381/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=381&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexduggleby.com/2011/12/28/how-do-i-run-dotless-on-embedded-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gidion</media:title>
		</media:content>
	</item>
		<item>
		<title>Office 365: &#8220;Your data will be deleted in 1 day(s)&#8221; &#8211; Or how to scare the **** out of customers</title>
		<link>http://alexduggleby.com/2011/10/13/office-365-your-data-will-be-deleted-in-1-days-or-how-to-scare-the-out-of-customers/</link>
		<comments>http://alexduggleby.com/2011/10/13/office-365-your-data-will-be-deleted-in-1-days-or-how-to-scare-the-out-of-customers/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 08:28:30 +0000</pubDate>
		<dc:creator>Alex Duggleby</dc:creator>
				<category><![CDATA[Online Services]]></category>
		<category><![CDATA[Customer Support]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office365]]></category>

		<guid isPermaLink="false">http://alexduggleby.com/?p=365</guid>
		<description><![CDATA[Everyone knows a good psycho thriller always involves some kind of countdown. It really increases the suspense. Microsoft seem to have adopted a similar tactic, which is great at first glance. After all they are warning you that your DATA WILL BE DELETED. Definitely something I want to know about and constantly be reminded of if I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=365&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://alexduggleby.files.wordpress.com/2011/10/o365deletion.png"><img class="aligncenter size-full wp-image-366" style="border-color:initial;border-style:initial;" title="o365deletion" src="http://alexduggleby.files.wordpress.com/2011/10/o365deletion.png?w=500&#038;h=443" alt="" width="500" height="443" /></a></p>
<p>Everyone knows a good psycho thriller always involves some kind of countdown. It really increases the suspense. Microsoft seem to have adopted a similar tactic, which is great at first glance. After all they are warning you that your <span style="color:#000000;">DATA WILL BE DELETED</span>. Definitely something I want to know about and constantly be reminded of if I don&#8217;t take action (<em>no sarcasm here actually</em>!).</p>
<p>Trial users of Office 365 will have received numerous emails from the time the trial ends until 30 days (+15 days grace period as far as I can see) after that telling them to buy a license. Ok, sounds reasonable. People may have signed up for the trial and forgotten about purchasing real licenses and nobody wants to lose their data. In my case I signed up for the trial, got hooked and bought the licenses probably a couple of days after that. So my license panel reads:</p>
<p><a href="http://alexduggleby.files.wordpress.com/2011/10/o365lics.png"><img class="aligncenter size-full wp-image-367" style="border-color:initial;border-style:initial;" title="o365lics" src="http://alexduggleby.files.wordpress.com/2011/10/o365lics.png?w=500&#038;h=86" alt="" width="500" height="86" /></a></p>
<p>It was my understanding that as long as &#8220;Assigned&#8221; licenses &lt;= &#8220;Valid&#8221; licenses then everything is fine. I could let those expired licenses simply expire.</p>
<p>Now I&#8217;m not easily irritated and assume that the Office 365 Portal simply forgot to do the math and just sends those warning whenever trial licenses are in your account. But an assumption won&#8217;t be enough for customers asking the same question, so let me reassure myself and them.</p>
<p>First of all I really appreciate that the warning email is not sent from a &#8220;noreply@microsoft.com&#8221; &#8211; it actually goes to msonlineservicesteam@microsoftonline.com. Awesome, that&#8217;s a +1 over Google Services (where asking questions per email is apparently a no-no).</p>
<p>Quickly fired off a reply asking what the warning will do in my scenario. This was back at the beginning of September. A couple of days ago I got the &#8220;7 day warning&#8221;. I again sent an email reminding them they had left my email unanswered and asking what to do. Still no reply. WTF? I did pay my subscription didn&#8217;t I?</p>
<p>I know there is a great forum (and I have received helpful information there before about technical issues) but this is a financial/licensing (and usually confidential - especially for customers) issue which I&#8217;m not going to post on a public forum &#8211; that&#8217;s why I am a paying customer and expect answers to questions like these via email. Sadly I don&#8217;t even know if my email was ignored, deleted or is still in progress, because I didn&#8217;t get any answer at all. Not even one of those <em>kind</em> automated emails thanking you for your email.</p>
<p>Dear Microsoft. Don&#8217;t be a faceless monster in the cloud and try to:</p>
<ul>
<li>Answer emails (especially if I am paying and especially if &#8220;DATA WILL BE DELETED&#8221;)</li>
<li>Implement some form of ticketing so that I at least know my issue arrived and is being looked at by someone.</li>
<li>Or simply don&#8217;t send out warning emails if my data is not really in jeopardy.</li>
</ul>
<div>All I can do at the moment is wait for tomorrow and hope our data is safe (and of course run a backup tonight).</div>
<div>UPDATE 2011-10-18</div>
<div>For anybody who finds this and is worried what really happens. The deadline went by and as I had suspected it was just an overanxious e-mailer and in reality as long as &#8220;purchased licenses&#8221; &gt;= &#8220;assigned licenses&#8221; then you are fine. No data was lost, no customers were upset. Just a case of bad communication.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexduggleby.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexduggleby.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexduggleby.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexduggleby.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexduggleby.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexduggleby.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexduggleby.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexduggleby.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexduggleby.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexduggleby.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexduggleby.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexduggleby.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexduggleby.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexduggleby.wordpress.com/365/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=365&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexduggleby.com/2011/10/13/office-365-your-data-will-be-deleted-in-1-days-or-how-to-scare-the-out-of-customers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gidion</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2011/10/o365deletion.png" medium="image">
			<media:title type="html">o365deletion</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2011/10/o365lics.png" medium="image">
			<media:title type="html">o365lics</media:title>
		</media:content>
	</item>
		<item>
		<title>Office 365 does not allow more than 16 character passwords or &#8220;Why, why, why???&#8221;</title>
		<link>http://alexduggleby.com/2011/07/18/office-365-does-not-allow-more-than-16-character-passwords-or-why-why-why/</link>
		<comments>http://alexduggleby.com/2011/07/18/office-365-does-not-allow-more-than-16-character-passwords-or-why-why-why/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 12:37:06 +0000</pubDate>
		<dc:creator>Alex Duggleby</dc:creator>
				<category><![CDATA[Online Services]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://alexduggleby.com/?p=343</guid>
		<description><![CDATA[Since my first article about a financial institution&#8217;s policy on password length I&#8217;ve encountered a couple of examples. All of which were not really worse than the one I had mentioned before but today I was happily signing up for Microsoft&#8217;s new online services offering and was prompted to change my password (n.b. I was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=343&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since my first article about a financial institution&#8217;s policy on password length I&#8217;ve encountered a couple of examples. All of which were not really worse than the one I had mentioned before but today I was happily signing up for Microsoft&#8217;s new online services offering and was prompted to change my password (n.b. I was in the trial). I whip out my Keypass, make an entry and get presented with the following:</p>
<p><a href="http://alexduggleby.files.wordpress.com/2011/07/office365no161.jpg"><img class="aligncenter size-full wp-image-346" title="office365no16b" src="http://alexduggleby.files.wordpress.com/2011/07/office365no161.jpg?w=500&#038;h=279" alt="" width="500" height="279" /></a></p>
<p>&nbsp;</p>
<p>Why oh why would you ever put a maximum length on the password field? Even if the database size is a concern (really?) would it make sense to bump the limit to something much longer like 100 or 200 characters. Even the default security setting for KeyPass (which I&#8217;m sure many people use) is longer than 16 characters.</p>
<p>I may be Microsoft-friendly and it won&#8217;t keep me from using the service, but come on Microsoft. Ask the guys who wrote the (ludicrously long) method: <a href="http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.hashpasswordforstoringinconfigfile(v=vs.71).aspx">HashPasswordForStoringInConfigFile</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexduggleby.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexduggleby.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexduggleby.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexduggleby.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexduggleby.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexduggleby.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexduggleby.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexduggleby.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexduggleby.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexduggleby.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexduggleby.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexduggleby.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexduggleby.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexduggleby.wordpress.com/343/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=343&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexduggleby.com/2011/07/18/office-365-does-not-allow-more-than-16-character-passwords-or-why-why-why/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gidion</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2011/07/office365no161.jpg" medium="image">
			<media:title type="html">office365no16b</media:title>
		</media:content>
	</item>
		<item>
		<title>Lessons learned from using the Facebook Like button</title>
		<link>http://alexduggleby.com/2011/07/01/lessons-learned-from-using-the-facebook-like-button/</link>
		<comments>http://alexduggleby.com/2011/07/01/lessons-learned-from-using-the-facebook-like-button/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 09:15:21 +0000</pubDate>
		<dc:creator>Alex Duggleby</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Like]]></category>

		<guid isPermaLink="false">http://alexduggleby.com/?p=334</guid>
		<description><![CDATA[I recently launched a side project with some friends and wanted to use Facebook &#8220;Likes&#8221; as a simple voting mechanism (and viral marketing tool of course). The page (plug: http://threelikes.com) gives you a link every day in one of three categories. Basically a simplistic cure for information overload from all those social aggregator/news sites. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=334&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently launched a side project with some friends and wanted to use Facebook &#8220;Likes&#8221; as a simple voting mechanism (and viral marketing tool of course). The page (plug: <a href="http://threelikes.com">http://threelikes.com</a>) gives you a link every day in one of three categories. Basically a simplistic cure for information overload from all those social aggregator/news sites. I wanted to include a Facebook Like button beneath each link in each category so people could vote on it. Simple enough you would think. Facebook provides a little wizard for creating the buttons and it didn&#8217;t take long to figure out how to customize the url that was being liked.</p>
<p>Each link has the format threelikes.com/date/category so people go to the sites via us (for statistics purposes and so people can share the link &#8211; we bought 3lik.es for that purpose). Being a <a href="http://webtrends.about.com/od/twitter/a/301-redirect-url-shorteners.htm">good internet citizen</a> (and in order not to comply with <a href="http://www.google.com/support/webmasters/bin/answer.py?answer=93633">Google &#8220;law&#8221;</a>) I decided to implement a permanent redirect (HTTP 301) for redirecting to the actual destination site.</p>
<p>Next up I started testing the &#8220;liking&#8221;. At first everything looked great, the site was appearing on my wall. But wait, no reference to our site. Turns out Facebook respects 301 redirects. This makes sense (why would you store or show the &#8220;old&#8221; link that is redirecting) but is not optimal for us. Apart from not contributing to our viral marketing it actually defies the purpose of including it: the voting. My first test suddenly displayed &#8220;400 people like this&#8221; which was great but only on the surface. Because my short link was redirecting to the much bigger destination site it was displaying the likes from the destination site on my page. This distorts the voting results.</p>
<p>So my solution was to return a client site (META refresh) redirect from an intermediate page. This is not perfect (and if anyone has a different idea please ping me) but it achieves what I wanted. People click like and the information (title and a short description) we provide appears alongside our own url. When people click they briefly see the intermediate page (unstyled in order to reduce page load) and are then redirected to the main page. Worked great, except for the times when it didn&#8217;t.</p>
<p>I&#8217;ll spare you all the dirty details of debugging the like button, but the most important parts are:</p>
<ul>
<li>Check you have all the required open graph meta tags in your page and choose the right og:type (in my case the redirect page is article not website &#8211; read about the difference <a href="https://developers.facebook.com/docs/opengraph/">here</a>).</li>
<li>Check the url you are liking in Facebooks lint: <a href="https://developers.facebook.com/tools/lint/">https://developers.facebook.com/tools/lint/</a></li>
<li>If and only if there are no errors, click once with your real account (do it too often and your urls start to get blocked and the error message is hard to find!)</li>
<li>You can test a bit more by using Facebook test users (available via developers.facebook.com).</li>
</ul>
<p>Some things I will think about in the future is: (1) using a iframe or standard frame (2) finding a way to use server side redirect but customize the Facebook Like url to point to us</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexduggleby.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexduggleby.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexduggleby.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexduggleby.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexduggleby.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexduggleby.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexduggleby.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexduggleby.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexduggleby.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexduggleby.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexduggleby.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexduggleby.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexduggleby.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexduggleby.wordpress.com/334/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=334&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexduggleby.com/2011/07/01/lessons-learned-from-using-the-facebook-like-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gidion</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint: Why won&#8217;t you let me delete a column? A case of &#8220;Cannot complete this action.&#8221;</title>
		<link>http://alexduggleby.com/2011/05/17/sharepoint-why-wont-you-let-me-delete-a-column-a-case-of-cannot-complete-this-action/</link>
		<comments>http://alexduggleby.com/2011/05/17/sharepoint-why-wont-you-let-me-delete-a-column-a-case-of-cannot-complete-this-action/#comments</comments>
		<pubDate>Tue, 17 May 2011 17:29:23 +0000</pubDate>
		<dc:creator>Alex Duggleby</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[ContentType]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://alexduggleby.com/?p=318</guid>
		<description><![CDATA[Today I deployed a custom SharePoint column and list definition to our productive systems and added some extra columns to test some functionality. I then wanted to delete them again. Boom: ASP.net Error page. ULS told me: &#8220;Cannot complete this action. Please try again.&#8220;. Suffice to say: Trying again did not help. Fired up the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=318&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I deployed a custom SharePoint column and list definition to our productive systems and added some extra columns to test some functionality. I then wanted to delete them again. Boom: ASP.net Error page. ULS told me: &#8220;<strong>Cannot complete this action. Please try again.</strong>&#8220;. Suffice to say: Trying again did not help.</p>
<p>Fired up the all-might Powershell and tried deleting the column from there:</p>
<p><code>PS C:\swFiles\DualConsult.SharePoint.SecretsList\Scripts&gt; $field.Delete()<br />
Exception calling "Delete" with "0" argument(s): "Cannot complete this action.<br />
Please try again."<br />
At line:1 char:14<br />
+ $field.Delete &lt;&lt;&lt;&lt; ()<br />
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException<br />
    + FullyQualifiedErrorId : DotNetMethodException</code></p>
<p>Nothing obvious turned up in ye grande search engine so I had a look what was different about this list and other lists. Turns out I had created a custom content type for the list and it was the only <strong>content type</strong> on the list (the standard &#8220;item&#8221; content type wasn&#8217;t part of the definition). Since I had used this pattern before I didn&#8217;t suspect anything wrong, but since I was stuck I went ahead and added the &#8220;item&#8221; content type.</p>
<div id="attachment_319" class="wp-caption aligncenter" style="width: 510px"><a href="http://alexduggleby.files.wordpress.com/2011/05/mossdelcol.png"><img src="http://alexduggleby.files.wordpress.com/2011/05/mossdelcol.png?w=500&#038;h=134" alt="SharePoint 2010 - List Content Types" title="SharePoint 2010 - List Content Types" width="500" height="134" class="size-full wp-image-319" /></a><p class="wp-caption-text">SharePoint 2010 - List Content Types</p></div>
<p>Tried deleting the columns again and voila it worked. Interesting side note: Once I removed the &#8220;item&#8221; content type again, I could delete the second column I had created without any problems as well. SharePoint, you are strange. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexduggleby.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexduggleby.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexduggleby.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexduggleby.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexduggleby.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexduggleby.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexduggleby.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexduggleby.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexduggleby.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexduggleby.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexduggleby.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexduggleby.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexduggleby.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexduggleby.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=318&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexduggleby.com/2011/05/17/sharepoint-why-wont-you-let-me-delete-a-column-a-case-of-cannot-complete-this-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gidion</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2011/05/mossdelcol.png" medium="image">
			<media:title type="html">SharePoint 2010 - List Content Types</media:title>
		</media:content>
	</item>
		<item>
		<title>Tech-Ed 2010 Berlin &#8211; Was it worth it? A definitive Yes, but!</title>
		<link>http://alexduggleby.com/2010/11/14/tech-ed-2010-berlin-was-it-worth-it-a-definitive-yes-but/</link>
		<comments>http://alexduggleby.com/2010/11/14/tech-ed-2010-berlin-was-it-worth-it-a-definitive-yes-but/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 09:23:18 +0000</pubDate>
		<dc:creator>Alex Duggleby</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[tech-ed developers]]></category>
		<category><![CDATA[TechEd]]></category>
		<category><![CDATA[TechEd-Developers]]></category>
		<category><![CDATA[techeddevelopers]]></category>
		<category><![CDATA[TEE10]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://alexduggleby.com/?p=285</guid>
		<description><![CDATA[Tech-Ed 2010 is over and next year I will have to once again ask myself is it worth it? Standing at the Messe&#8217;s train station with around 3k other delegates (the other 3k at the taxi stand) I have no chance to board the first train that arrives, so as I wait for the next one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=285&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tech-Ed 2010 is over and next year I will have to once again ask myself is it worth it? Standing at the Messe&#8217;s train station with around 3k other delegates (the other 3k at the taxi stand) I have no chance to board the first train that arrives, so as I wait for the next one I reflect a little.</p>
<p>To take away my summary, I will be coming back and it will still be one of the major events of the year. But Tech-Ed has lost some of its magic. Let me break that down into Content, Contacts and Context.</p>
<h3>Content</h3>
<p>The most important part of any conference (for me at least) is content. Different points of view, shiny new technology and buckets full of inspiration. Looking back the three big topics for me (both from my enterprise day-job and start-up dream world) were: <strong>OData, Sharepoint in the Cloud and </strong>(as always)<strong> process experience</strong> from those grandmasters of development.</p>
<p>Know-How and stories from CapGemini and the always entertaining <a href="http://www.stephenforte.net/">Stephen Forte</a> once again reminded me that where I work we have come so far from our early days but still have a long way to go. It is a never ending journey in a constantly changing field.</p>
<p>SharePoint is always interesting and the new <a href="http://office365.microsoft.com">Office 365</a> (the service formerly known as BPOS) offering brings SharePoint 2010 into the cloud. Azure was a hot topic and a couple of sessions tried to build a bridge between the cloud and SharePoint. What was presented seemed like early prototypes and not production ready yet, but we may soon see some ShareAzure or AzurePoint solutions utilizing the best of both worlds. A highlight was the chance to talk to <a href="http://community.zevenseas.com/Blogs/Daniel">Daniel McPherson</a> (<a href="http://twitter.com/#!/danmc">Twitter @danmc</a>) about his upcoming SharePoint AppStore. It&#8217;s in beta at the moment and already great for the current BPOS offering. Can&#8217;t wait to see how it evolves and hopefully you&#8217;ll see some of my products there soon.</p>
<p>Last but not least OData. Before I came to Berlin I thought it was rather uninteresting. It took until the last session of the conference by (Austria&#8217;s own) <a href="http://blogs.msdn.com/b/mszcool/">Mario Szpuszta</a> to really get my fired up about the possibilities. Together with the next Entity Framework (coming in Q1) and AppFabric I see a lot of potential to change (and simplify) some major parts of our standard architecture approach.</p>
<p>Finally Windows Phone 7 was the sexy topic of the conference. Sadly not for me since I&#8217;m not interested in consumer apps (yet) and the Enterprise story has been pushed to the next release. So that&#8217;s a topic for next year. (But it is a neat phone&#8230;)</p>
<h3>Contacts</h3>
<p>I was coming to Berlin expecting to see only a small group of fellow Austrians but I heard the group was larger than last year. But Tech-Ed is about the people you don&#8217;t meet so often. I enjoyed roaming the exhibition halls and technical learning center. The Microsoft product teams and invited guests were helpful, interested and just know their stuff. I wouldn&#8217;t mind visiting just the tlc every couple of months to talk with those guys about current (high-level, but they know the details too) issues. I&#8217;m usually not a big fan of exhibitions, but I visited almost every stand on the first day (during the Keynote) and got all the answers I was looking for and some others too.</p>
<h3>Context</h3>
<p>Up until now I have mostly praise for the conference. Sadly the context has been on a decline since I visited my first Tech-Ed in Barcelona. Each year recession has hit the conference and this year was no exception. Costs are cut at all ends. There was the lunch bag affair of &#8217;08 (2 warm meals and 3 lunch bags on first, last and country drink day) and this year&#8217;s <a href="http://twitter.com/#!/buetti/status/2116857670664194">Turnbeutelbag</a> drama. After talking with some Microsoft representatives it is clear that the conference is costly (even though it was sold out) and to be able to put on the show every year without making more loss that the year before they have to shave off some of the bonus material. I understand but I hope Tech-Ed finds back to it&#8217;s glory days. The event team improves the experience as best they can every year: the Berlin Messe is a labyrinth and the navigation was drastically improved this year, registration was swift, WIFI was very good and snacks were plenty.</p>
<p><em>To all who went and all who will be going, I hope to see you next year. Thanks everybody and stealing one of the lesser known <a href="http://imaginecup.com/competitions/software">Microsoft slogans</a>: &#8220;Create Software &#8211; Change the World&#8221;. (What a dramatic ending&#8230;)</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexduggleby.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexduggleby.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexduggleby.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexduggleby.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexduggleby.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexduggleby.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexduggleby.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexduggleby.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexduggleby.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexduggleby.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexduggleby.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexduggleby.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexduggleby.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexduggleby.wordpress.com/285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=285&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexduggleby.com/2010/11/14/tech-ed-2010-berlin-was-it-worth-it-a-definitive-yes-but/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gidion</media:title>
		</media:content>
	</item>
		<item>
		<title>Visio 2010 Background Layers &#8211; Hooray; Copying them crops the image &#8211; Boo</title>
		<link>http://alexduggleby.com/2010/07/05/visio-2010-background-layers-hooray-copying-them-crops-the-image-boo/</link>
		<comments>http://alexduggleby.com/2010/07/05/visio-2010-background-layers-hooray-copying-them-crops-the-image-boo/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 08:35:06 +0000</pubDate>
		<dc:creator>Alex Duggleby</dc:creator>
				<category><![CDATA[Did you know?]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Clipboard]]></category>
		<category><![CDATA[Cropping]]></category>
		<category><![CDATA[Problem]]></category>
		<category><![CDATA[Visio]]></category>
		<category><![CDATA[Visio2010]]></category>

		<guid isPermaLink="false">http://alexduggleby.com/?p=269</guid>
		<description><![CDATA[Visio crops/cuts off parts of the page when you copy and paste a page with a background.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=269&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just recently discovered background layers in Visio (yes I&#8217;m ashamed it took so long and may refrain from calling me a Visio power user for a couple of weeks). Anyhow, if you don&#8217;t know about them yourself, create a new page in a visio document, right-click on the page and go to &#8220;Page Setup&#8221;. Simply set the page to &#8220;Background&#8221; and then go the page you want to have as a foreground. Again &#8220;Page Setup&#8221; and select the Background page you just created. Voila.</p>
<p>But I just ran into something annoying in Visio 2010 (may actually also happen in versions before 2010, but I just noticed in 2010). If you copy a complete page (=pressing Ctrl-C while nothing on the page is selected) and you have a background layer, Visio gets confused and messes up the copied image. It crops the image, makes it smaller somehow or whatever &#8211; but it&#8217;s definetely messed up. Continue for a quick-fix.</p>
<h2>Steps to reproduce the issue</h2>
<p>1. Create a background (set the page to &#8220;Background&#8221; in Right-click &gt; Page Setup &gt; Type).<br />
<a href="http://alexduggleby.files.wordpress.com/2010/07/visio2bg1.png"><img class="aligncenter size-medium wp-image-271" title="visio2bg1" src="http://alexduggleby.files.wordpress.com/2010/07/visio2bg1.png?w=252&#038;h=300" alt="" width="252" height="300" /></a><br />
2. Create a foreground page with that background and copy it.<br />
<a href="http://alexduggleby.files.wordpress.com/2010/07/visio1fg.png"><img class="aligncenter size-medium wp-image-270" title="visio1fg" src="http://alexduggleby.files.wordpress.com/2010/07/visio1fg.png?w=252&#038;h=300" alt="" width="252" height="300" /></a><br />
3. Paste into your favorite paint application.</p>
<p><a href="http://alexduggleby.files.wordpress.com/2010/07/visio3paint.png"><img class="aligncenter size-medium wp-image-273" title="visio3paint" src="http://alexduggleby.files.wordpress.com/2010/07/visio3paint.png?w=300&#038;h=178" alt="" width="300" height="178" /></a><br />
You see there are margins of the image missing. Don&#8217;t know why, but I only found one way of fixing it.</p>
<h2>Fixing it</h2>
<p>1. Create a large canvas (ideally filled with white and a white line &#8211; here in yellow just for demonstration purposes) on the background page which spans the complete page.</p>
<p><a href="http://alexduggleby.files.wordpress.com/2010/07/visio4.png"><img class="aligncenter size-medium wp-image-274" title="visio4" src="http://alexduggleby.files.wordpress.com/2010/07/visio4.png?w=252&#038;h=300" alt="" width="252" height="300" /></a><br />
2. Copy and paste as before and voila the page is complete.</p>
<p><a href="http://alexduggleby.files.wordpress.com/2010/07/visio5.png"><img class="aligncenter size-medium wp-image-275" title="visio5" src="http://alexduggleby.files.wordpress.com/2010/07/visio5.png?w=300&#038;h=178" alt="" width="300" height="178" /></a></p>
<p>This is not as bad a fix as it seems, because the large yellow canvas is not selectable (like anything on the background) in the foreground pages.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexduggleby.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexduggleby.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexduggleby.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexduggleby.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexduggleby.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexduggleby.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexduggleby.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexduggleby.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexduggleby.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexduggleby.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexduggleby.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexduggleby.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexduggleby.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexduggleby.wordpress.com/269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=269&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexduggleby.com/2010/07/05/visio-2010-background-layers-hooray-copying-them-crops-the-image-boo/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gidion</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2010/07/visio2bg1.png?w=252" medium="image">
			<media:title type="html">visio2bg1</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2010/07/visio1fg.png?w=252" medium="image">
			<media:title type="html">visio1fg</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2010/07/visio3paint.png?w=300" medium="image">
			<media:title type="html">visio3paint</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2010/07/visio4.png?w=252" medium="image">
			<media:title type="html">visio4</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2010/07/visio5.png?w=300" medium="image">
			<media:title type="html">visio5</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint PeoplePicker is not displaying any AD Users? or &#8220;Why can&#8217;t I add user permissions in WSS?&#8221;</title>
		<link>http://alexduggleby.com/2010/05/21/why-sharepoint-peoplepicker-displays-no-ad-users-or-why-cant-i-add-user-permissions-in-wss/</link>
		<comments>http://alexduggleby.com/2010/05/21/why-sharepoint-peoplepicker-displays-no-ad-users-or-why-cant-i-add-user-permissions-in-wss/#comments</comments>
		<pubDate>Fri, 21 May 2010 12:14:00 +0000</pubDate>
		<dc:creator>Alex Duggleby</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[NETLOGON]]></category>
		<category><![CDATA[People Picker]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://alexduggleby.com/?p=259</guid>
		<description><![CDATA[Today I was assigned an incident where the SharePoint administrators could not add permissions to a WSS site for a specific Active Directory user. The problem was the People Picker was not displaying any users &#8211; it just said &#8220;User not found&#8221; regardless of which substring I entered (and I ensured the substring was present [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=259&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I was assigned an incident where the SharePoint administrators could not add permissions to a WSS site for a specific Active Directory user. The problem was the People Picker was not displaying any users &#8211; it just said &#8220;User not found&#8221; regardless of which substring I entered (and I ensured the substring was present in an existing Active Directory user&#8217;s name).</p>
<p>There are a couple of resources on the net for:</p>
<ul>
<li>People Picker only shows a partial list of AD users</li>
<li>People Picker only shows a list of AD in specific OUs</li>
<li>People Picker has a bad day and just doesn&#8217;t like you today</li>
</ul>
<p>But none applied to or solved my problem, my PP didn&#8217;t show any error, it just didn&#8217;t find any users.</p>
<p>One clue was that directly after the installation it actually worked and since then &#8220;nothing had changed&#8221;. Two existing users that were added after installation were still in the PeoplePicker cache, so I confirmed that it must have worked at some time in the past.</p>
<p>In Event Viewer I searched for errors during of shortly after my searched, but nothing obvious appeared. I then filtered for only &#8220;errors and warnings&#8221; and those that happened after the installation date and (apart from the classic <a href="http://www.wictorwilen.se/Post/Fix-the-SharePoint-DCOM-10016-error-on-Windows-Server-2008-R2.aspx" target="_blank">DCOM permissions errors under a 2008 R2 installation</a>) it showed me that about 6 days after installation the server started having NETLOGON errors along the lines of &#8220;Computer could not be authorized.&#8221; This continued until today. Turns out for some reason the computer account of the server in Active Directory got screwed up and after</p>
<ul>
<li>detaching the server from the domain</li>
<li>manually deleting the computer account in Active Direcotry</li>
<li>and rejoining the server to the domain</li>
</ul>
<p>everything worked again as usual.</p>
<p>HTH, Alex</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexduggleby.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexduggleby.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexduggleby.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexduggleby.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexduggleby.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexduggleby.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexduggleby.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexduggleby.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexduggleby.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexduggleby.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexduggleby.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexduggleby.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexduggleby.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexduggleby.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=259&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexduggleby.com/2010/05/21/why-sharepoint-peoplepicker-displays-no-ad-users-or-why-cant-i-add-user-permissions-in-wss/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gidion</media:title>
		</media:content>
	</item>
		<item>
		<title>Big&gt;Days and StudentBig&gt;Days 2009 &#8211; Session Files</title>
		<link>http://alexduggleby.com/2009/04/02/bigdays_studentbigdays_sessionfiles/</link>
		<comments>http://alexduggleby.com/2009/04/02/bigdays_studentbigdays_sessionfiles/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 16:27:24 +0000</pubDate>
		<dc:creator>Alex Duggleby</dc:creator>
				<category><![CDATA[Academic]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[MSP]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alexduggleby.com/?p=251</guid>
		<description><![CDATA[Microsoft Big&#62;Days and Student Big&#62;Days are almost over and I haven&#8217;t uploaded my slides and source yet. For the Microsoft Big&#62;Days you can find all our source code and much more at http://www.codeplex.com/bigdays09. All my session files at the Student Big&#62;Days: &#8220;ASP.NET MVC with SharpArchitecture&#8221; are available on SkyDrive. Have fun, thanks for attending. Any [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=251&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Microsoft Big&gt;Days and Student Big&gt;Days are almost over and I haven&#8217;t uploaded my slides and source yet. For the Microsoft Big&gt;Days you can find all our source code and much more at <a href="http://www.codeplex.com/bigdays09">http://www.codeplex.com/bigdays09</a>.</p>
<p>All my session files at the Student Big&gt;Days: &#8220;ASP.NET MVC with SharpArchitecture&#8221; are available on <a href="http://cid-8e9963932ac1f048.skydrive.live.com/browse.aspx/%c3%96ffentlich/StudentBigDays09">SkyDrive</a>.</p>
<p>Have fun, thanks for attending. Any questions, feel free to contact me!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexduggleby.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexduggleby.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexduggleby.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexduggleby.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexduggleby.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexduggleby.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexduggleby.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexduggleby.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexduggleby.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexduggleby.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexduggleby.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexduggleby.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexduggleby.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexduggleby.wordpress.com/251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=251&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexduggleby.com/2009/04/02/bigdays_studentbigdays_sessionfiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gidion</media:title>
		</media:content>
	</item>
		<item>
		<title>Only secure passwords please, but no special characters, symbols or spaces please.</title>
		<link>http://alexduggleby.com/2009/03/13/only-secure-passwords-please-but-no-special-characters-symbols-or-spaces-please/</link>
		<comments>http://alexduggleby.com/2009/03/13/only-secure-passwords-please-but-no-special-characters-symbols-or-spaces-please/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 21:48:04 +0000</pubDate>
		<dc:creator>Alex Duggleby</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://alexduggleby.com/?p=240</guid>
		<description><![CDATA[There are a lot of these personal finance planners online, most recently lil&#8217; mint.com has become the darling of the techcrunch crowd. They all make life so easy by pulling my transactions from my bank account, credit cards etc. But am I the only one who really thinks that passing on my online banking details [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=240&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are a lot of these personal finance planners online, most recently lil&#8217; <a href="http://www.mint.com">mint.com</a> has become the darling of the techcrunch crowd. They all make life so easy by pulling my transactions from my bank account, credit cards etc. But am I the only one who really thinks that passing on my online banking details to a these sites is just a little bit dangerous or even crazy? Sure, they all guarantee that they are safe because they are using SSL (book tip: read <a href="http://www.webhackingexposed.com/">http://www.webhackingexposed.com/</a>). Most of them don&#8217;t store your username and password, which actually means they pass on your details to some other financial service provider which -of course- is way cooler. But this service really made me chuckle (the sort of &#8220;harhar &#8230; har &#8230; WTF?&#8221; chuckle)</p>
<p>The <a href="http://www.mvelopes.com/mvelopes/common_questions.php">FAQ</a>:</p>
<p><img class="aligncenter size-full wp-image-239" title="web11" src="http://alexduggleby.files.wordpress.com/2009/03/web11.png?w=500&#038;h=134" alt="web11" width="500" height="134" />The registration page:</p>
<p><img class="aligncenter size-full wp-image-238" title="pwd21" src="http://alexduggleby.files.wordpress.com/2009/03/pwd21.png?w=500&#038;h=265" alt="pwd21" width="500" height="265" /></p>
<p>Maybe I&#8217;ve become overconscious for security topics since I started working for <a href="http://www.securityresearch.at">www.securityresearch.at</a> but if you want to avoid a mistake like this on your app give us a call&#8230; I&#8217;m not handing out my bank details on any terms but at least our team can help you reach state-of-the-art levels of security.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexduggleby.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexduggleby.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexduggleby.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexduggleby.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexduggleby.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexduggleby.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexduggleby.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexduggleby.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexduggleby.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexduggleby.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexduggleby.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexduggleby.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexduggleby.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexduggleby.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexduggleby.com&amp;blog=1972306&amp;post=240&amp;subd=alexduggleby&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexduggleby.com/2009/03/13/only-secure-passwords-please-but-no-special-characters-symbols-or-spaces-please/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gidion</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2009/03/web11.png" medium="image">
			<media:title type="html">web11</media:title>
		</media:content>

		<media:content url="http://alexduggleby.files.wordpress.com/2009/03/pwd21.png" medium="image">
			<media:title type="html">pwd21</media:title>
		</media:content>
	</item>
	</channel>
</rss>
