<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://dotnetdeveloper.co.uk/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>DotNetDeveloper</title><link>http://dotnetdeveloper.co.uk/blogs/</link><description>Bits o this Bits o that</description><dc:language>en-US</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Planet X - TV Film and Game merchandise and memorabilia</title><link>http://dotnetdeveloper.co.uk/blogs/personal/archive/2010/08/23/planet-x-tv-film-and-game-merchandise-and-memorabilia.aspx</link><pubDate>Mon, 23 Aug 2010 14:12:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:166</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Visit these guys for great merchandise and cool products&lt;/p&gt;
&lt;p&gt;&lt;a title="Planet X Bobble Heads" href="http://www.planet-x.co.uk/"&gt;Planet-X&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and these for cool bobble head&lt;/p&gt;
&lt;p&gt;&lt;a title="Bobble Heads UK" href="http://www.bobbleheadsuk.co.uk/"&gt;&amp;nbsp;Bobble Heads UK&lt;/a&gt;&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=166" width="1" height="1"&gt;</description></item><item><title>The best email regular expression i've ever found :)</title><link>http://dotnetdeveloper.co.uk/blogs/aspnet/archive/2010/06/11/the-best-email-regular-expression-i-ve-ever-found.aspx</link><pubDate>Fri, 11 Jun 2010 07:48:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:161</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;ok so regular expressions arent really my thing. I do use them them for validation but usually end up using them for simple things like order number formats, invoice numbers etc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anyway i had occasion to validate email address&amp;#39;s again and after a lot of searching came up with this bad boy regular expression and though i&amp;#39;d put it on here if nothing else for my information as i intend to use it again.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;so enough said here it is :)&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;^(([\w-]+\.)+[\w-]+|([a-zA-Z]{1}|[\w-]{2,}))@((([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])){1}|([a-zA-Z]+[\w-]+\.)+[a-zA-Z]{2,4})$ 
&lt;p&gt;now if you have a mind to find out what all this stuff&amp;nbsp;is doing&amp;nbsp;beyond the basics check out the original post which can be found &lt;a title="Here" href="http://www.codeproject.com/KB/recipes/EmailRegexValidator.aspx" target="_blank"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;/font&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=161" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/email/default.aspx">email</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/regular+expression/default.aspx">regular expression</category></item><item><title>Changing company data for sage.</title><link>http://dotnetdeveloper.co.uk/blogs/aspnet/archive/2010/05/05/changing-company-data-for-sage.aspx</link><pubDate>Wed, 05 May 2010 14:45:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:116</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Ok so you&amp;#39;ve set sage up with company data on your local machine and now you want to share data with others or amend the data. &lt;/p&gt;
&lt;p&gt;To change the company data directory &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;open up explorer&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;goto C:\Documents and Settings\All Users\Application Data\Sage\Accounts\&amp;lt;Version&amp;gt; 2009 etc etc&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Open up Company file with Notepad&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Amend the directory stored in there following the existing format&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;there&amp;nbsp;we go now you have changed your company data.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=116" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/changing/default.aspx">changing</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/company+data/default.aspx">company data</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/sage/default.aspx">sage</category></item><item><title>WebDav creating draft email in Exchange </title><link>http://dotnetdeveloper.co.uk/blogs/aspnet/archive/2010/04/20/webdav-creating-draft-email-in-exchange.aspx</link><pubDate>Tue, 20 Apr 2010 11:16:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:115</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;this bloody thing took me ages to work out and in the end i didnt :)&lt;/p&gt;
&lt;p&gt;Google came to the rescue after loads of searching to provide me with a working sample which im now sharing.&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:#0000ff;"&gt;private&lt;/span&gt; &lt;span style="COLOR:#0000ff;"&gt;void&lt;/span&gt; SaveToDrafts()&lt;br /&gt;{&lt;br /&gt;&lt;span style="COLOR:#0000ff;"&gt;try&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// TODO: Replace with the name of the computer that is running Exchange 2000.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; strServer = &lt;span style="COLOR:#006080;"&gt;&amp;quot;ExchServe&amp;quot;&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// TODO: Replace with the sender&amp;#39;s alias.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; strSenderAlias = &lt;span style="COLOR:#006080;"&gt;&amp;quot;sender&amp;quot;&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// TODO: Replace with the recipient&amp;#39;s e-mail address.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; strTo = &lt;span style="COLOR:#006080;"&gt;&amp;quot;recipient@example.com&amp;quot;&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; strSubject = &lt;span style="COLOR:#006080;"&gt;&amp;quot;Save to Drafts using HttpWebRequest&amp;quot;&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; strBody = &lt;span style="COLOR:#006080;"&gt;&amp;quot;Hello World&amp;quot;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; sUri;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sUri = &lt;span style="COLOR:#006080;"&gt;&amp;quot;http://&amp;quot;&lt;/span&gt; + strServer + &lt;span style="COLOR:#006080;"&gt;&amp;quot;/Exchange/&amp;quot;&lt;/span&gt; + strSenderAlias;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sUri = sUri + &lt;span style="COLOR:#006080;"&gt;&amp;quot;/Drafts/Testxxxxxxxxx.eml&amp;quot;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Uri myUri = &lt;span style="COLOR:#0000ff;"&gt;new&lt;/span&gt; System.Uri(sUri);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWebRequest HttpWRequest = (HttpWebRequest)WebRequest.Create(myUri);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; sQuery=&lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Set the credentials.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NetworkCredential myCred = &lt;span style="COLOR:#0000ff;"&gt;new&lt;/span&gt; NetworkCredential(&lt;span style="COLOR:#006080;"&gt;@&amp;quot;DomainName\User&amp;quot;&lt;/span&gt;, &lt;span style="COLOR:#006080;"&gt;&amp;quot;Password&amp;quot;&lt;/span&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CredentialCache MyCredentialCache = &lt;span style="COLOR:#0000ff;"&gt;new&lt;/span&gt; CredentialCache();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyCredentialCache.Add(myUri, &lt;span style="COLOR:#006080;"&gt;&amp;quot;Basic&amp;quot;&lt;/span&gt;, myCred);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWRequest.Credentials = MyCredentialCache;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Set the headers.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWRequest.Headers.Add(&lt;span style="COLOR:#006080;"&gt;&amp;quot;Translate&amp;quot;&lt;/span&gt;, &lt;span style="COLOR:#006080;"&gt;&amp;quot;f&amp;quot;&lt;/span&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWRequest.ContentType = &lt;span style="COLOR:#006080;"&gt;&amp;quot;message/rfc822&amp;quot;&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWRequest.ContentLength = sQuery.Length;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;//Set the request timeout to 5 minutes.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWRequest.Timeout = 300000;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Set the request method.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWRequest.Method = &lt;span style="COLOR:#006080;"&gt;&amp;quot;PUT&amp;quot;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Store the data in a byte array.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;byte&lt;/span&gt;[] ByteQuery = System.Text.Encoding.ASCII.GetBytes(sQuery);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWRequest.ContentLength = ByteQuery.Length;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stream QueryStream = HttpWRequest.GetRequestStream();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// write the data to be posted to the Request Stream&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QueryStream.Write(ByteQuery, 0, ByteQuery.Length);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QueryStream.Close();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Send the request and get the response.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWebResponse HttpWResponse = (HttpWebResponse)HttpWRequest.GetResponse();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Get the Status code.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;int&lt;/span&gt; iStatCode = (&lt;span style="COLOR:#0000ff;"&gt;int&lt;/span&gt;)HttpWResponse.StatusCode;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Get the request headers.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; sReqHeaders = HttpWRequest.Headers.ToString();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Read the response stream.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stream strm = HttpWResponse.GetResponseStream();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamReader sr = &lt;span style="COLOR:#0000ff;"&gt;new&lt;/span&gt; StreamReader(strm);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; sText = sr.ReadToEnd();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(&lt;span style="COLOR:#006080;"&gt;&amp;quot;Response:&amp;quot;&lt;/span&gt;+ sText);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Close the stream.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strm.Close();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Clean up.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myCred = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyCredentialCache = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWRequest = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWResponse = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QueryStream = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strm = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sr = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SetToSubjectBody(sUri);&lt;br /&gt;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;catch&lt;/span&gt; (Exception ex)&lt;br /&gt;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(ex.Message);&lt;br /&gt;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR:#0000ff;"&gt;private&lt;/span&gt; &lt;span style="COLOR:#0000ff;"&gt;void&lt;/span&gt; SetToSubjectBody(&lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; itemURL)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWebRequest request;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWebResponse response;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;byte&lt;/span&gt;[] bytes;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;string&lt;/span&gt; format = &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;?xml version=\&amp;quot;1.0\&amp;quot;?&amp;gt;&amp;lt;g:propertyupdate xmlns:g=\&amp;quot;DAV:\&amp;quot; xmlns:m=\&amp;quot;urn:schemas:httpmail:\&amp;quot; xmlns:z=\&amp;quot;urn:schemas:mailheader:\&amp;quot;&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;g:set&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;g:prop&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;z:to&amp;gt;a@a.com&amp;lt;/z:to&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;m:subject&amp;gt;This is a test mail&amp;lt;/m:subject&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;m:textdescription&amp;gt;This is a test mail&amp;lt;/m:textdescription&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;/g:prop&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;/g:set&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;g:remove&amp;gt;&amp;quot;&lt;/span&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;g:prop&amp;gt;&amp;lt;m:date/&amp;gt;&amp;lt;/g:prop&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;/g:remove&amp;gt;&amp;quot;&lt;/span&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + &lt;span style="COLOR:#006080;"&gt;&amp;quot;&amp;lt;/g:propertyupdate&amp;gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; request = (HttpWebRequest)HttpWebRequest.Create(itemURL);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Set the credentials.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NetworkCredential myCred = &lt;span style="COLOR:#0000ff;"&gt;new&lt;/span&gt; NetworkCredential(&lt;span style="COLOR:#006080;"&gt;@&amp;quot;DomainName\User&amp;quot;&lt;/span&gt;, &lt;span style="COLOR:#006080;"&gt;&amp;quot;Password&amp;quot;&lt;/span&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CredentialCache MyCredentialCache = &lt;span style="COLOR:#0000ff;"&gt;new&lt;/span&gt; CredentialCache();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyCredentialCache.Add(&lt;span style="COLOR:#0000ff;"&gt;new&lt;/span&gt; System.Uri(itemURL), &lt;span style="COLOR:#006080;"&gt;&amp;quot;Basic&amp;quot;&lt;/span&gt;, myCred);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; request.Credentials = MyCredentialCache;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Set the headers.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; request.ContentType = &lt;span style="COLOR:#006080;"&gt;&amp;quot;text/xml&amp;quot;&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; request.Method = &lt;span style="COLOR:#006080;"&gt;&amp;quot;PROPPATCH&amp;quot;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Store the data in a byte array.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bytes = Encoding.UTF8.GetBytes(format);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; request.ContentLength = bytes.Length;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Get the Request Stream&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;using&lt;/span&gt; (Stream requestStream = request.GetRequestStream())&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// write the data to be posted to the Request Stream&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; requestStream.Write(bytes, 0, bytes.Length);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; requestStream.Close();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Send the request and get the response.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; response = (HttpWebResponse)request.GetResponse();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Get the Status code.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;int&lt;/span&gt; intStatus = (&lt;span style="COLOR:#0000ff;"&gt;int&lt;/span&gt;)response.StatusCode;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;if&lt;/span&gt; (intStatus &amp;gt;= 200 &amp;amp;&amp;amp; intStatus &amp;lt; 300)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(&lt;span style="COLOR:#006080;"&gt;&amp;quot;Success!&amp;quot;&lt;/span&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#0000ff;"&gt;else&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(&lt;span style="COLOR:#006080;"&gt;&amp;quot;Failure Code:&amp;quot;&lt;/span&gt; + intStatus.ToString());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; response.Close();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#008000;"&gt;// Clean up.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; myCred = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyCredentialCache = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; response = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; request = &lt;span style="COLOR:#0000ff;"&gt;null&lt;/span&gt;;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;original post can be found here&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/akashb/archive/2008/10/06/8978425.aspx"&gt;http://blogs.msdn.com/akashb/archive/2008/10/06/8978425.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;which pretty much goes the route of creating a draft email then using a proppatch (edit) command to change the properties afterwards.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This sample works so thanks for that.&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=115" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/draft+email/default.aspx">draft email</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/exchange/default.aspx">exchange</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/email/default.aspx">email</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/exchange+2003/default.aspx">exchange 2003</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/webdav/default.aspx">webdav</category></item><item><title>Recreating a Sage ODBC Connection / DSN</title><link>http://dotnetdeveloper.co.uk/blogs/aspnet/archive/2010/04/15/recreating-a-sage-odbc-connection-dsn.aspx</link><pubDate>Thu, 15 Apr 2010 08:24:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:114</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Not sure which versions this works for but definately for SageLine50 v15, if you need to recreate a ODBC connection on a server that doesnt have sage on or just recreate the dsn anyway you can find a setup program sage have installed for you at this location&lt;/p&gt;
&lt;p&gt;C:\Program Files\Sage\Accounts\ODBC32&lt;/p&gt;
&lt;p&gt;this will install the sage odbc drivers enablindg you to make a new odbc connection&lt;/p&gt;
&lt;p&gt;I used this to create a dsn connection for a server which is connecting to a shared drive with sage installed but which didnt have sage installed on itself.&lt;/p&gt;
&lt;p&gt;Hopefully this will help somebody out and stop them searching too much.&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=114" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/Sage+Line50+v15/default.aspx">Sage Line50 v15</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/ODBC+Connection+_2F00_+System+DSN+_2F00_+Drivers/default.aspx">ODBC Connection / System DSN / Drivers</category></item><item><title>prevent saving changes that require the table to be re-created</title><link>http://dotnetdeveloper.co.uk/blogs/sqlserver/archive/2010/03/17/prevent-saving-changes-that-require-the-table-to-be-re-created.aspx</link><pubDate>Wed, 17 Mar 2010 13:33:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:110</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Came across this annoying error message in Sql 2008 twice now.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;both times i&amp;#39;d forgotten how to remedy it so this time i&amp;#39;m putting this on my site :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;To fix this in Management Studio, go to Tools -&amp;gt; Options then go to the Designer Page and uncheck &amp;quot;Prevent saving changes that require table re-creation&amp;quot;.&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=110" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sqlserver/archive/tags/Sql+2008/default.aspx">Sql 2008</category><category domain="http://dotnetdeveloper.co.uk/blogs/sqlserver/archive/tags/Messages/default.aspx">Messages</category><category domain="http://dotnetdeveloper.co.uk/blogs/sqlserver/archive/tags/Sql2008/default.aspx">Sql2008</category><category domain="http://dotnetdeveloper.co.uk/blogs/sqlserver/archive/tags/Saving+Changes/default.aspx">Saving Changes</category></item><item><title>Bobble Heads UK</title><link>http://dotnetdeveloper.co.uk/blogs/personal/archive/2009/12/27/bobble-heads-uk.aspx</link><pubDate>Sun, 27 Dec 2009 11:39:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:104</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;In my spare time I have created and marketed (to a certain degree)&amp;nbsp;a Bobble Head site, partly because&amp;nbsp;I like them and find them fun and entertaining, partly fuelled by the fact I think there is a market for them in the uk which is mostly untapped.&lt;/p&gt;
&lt;p&gt;You can find this site at&amp;nbsp;@&amp;nbsp;&amp;nbsp;&lt;a title="Bobbleheads uk" href="http://www.bobbleheadsuk.co.uk/"&gt;Bobbleheads UK&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I aim to sell all the latest Bobble heads mostly imported from america and hope to become a hub for the collectors of these great bobble head toys.&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=104" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/personal/archive/tags/Bobble+Heads+UK/default.aspx">Bobble Heads UK</category></item><item><title>Oh whats occuring</title><link>http://dotnetdeveloper.co.uk/blogs/personal/archive/2009/12/27/oh-whats-occuring.aspx</link><pubDate>Sun, 27 Dec 2009 11:34:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:103</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;So its been some time since I last posted about myself personally. A lot has happened and I thought it was about time I updated for the sake of it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;As the recession rumbles on I have found myself made redundant along with a further 100 people and half of the IT team. After a lengthy drawn out but ultimately legal period and I found myself out on my ear in early December.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Whilst this is perfect for enjoying christmas its not so great for earning looking for jobs.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The IT market around Manchester seems to be a bit strange at the moment, normally once you stick your CV around with the agencies you are bombarded with phone calls consistently until you throw your phone away (always buy a cheap one first lol). This time this was not the case and I had to work hard to find a new position with the wages I wanted.&lt;/p&gt;
&lt;p&gt;If anybody has a position to offer me let me know :)&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=103" width="1" height="1"&gt;</description></item><item><title>Sql Server - Outputting a table as an xml File</title><link>http://dotnetdeveloper.co.uk/blogs/sqlserver/archive/2009/11/24/sql-server-outputting-a-table-as-an-xml-file.aspx</link><pubDate>Tue, 24 Nov 2009 09:39:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:98</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I had a need to do this recently and came across the following sql which you can run in analyser&lt;/p&gt;
&lt;p&gt;select * from tablename for &lt;span class="hilite5"&gt;XML&lt;/span&gt; RAW, ROOT (&amp;#39;root&amp;#39;), ELEMENTS XSINIL&lt;/p&gt;
&lt;p&gt;This will output your table and contents as XML within a single result and you just need to put this into an xml file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Hopefully this will help somebody out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=98" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sqlserver/archive/tags/Sql+2005/default.aspx">Sql 2005</category><category domain="http://dotnetdeveloper.co.uk/blogs/sqlserver/archive/tags/Sql+Table+to+XML/default.aspx">Sql Table to XML</category><category domain="http://dotnetdeveloper.co.uk/blogs/sqlserver/archive/tags/XML+File+Conversion/default.aspx">XML File Conversion</category></item><item><title>cryptographic failure while signing assembly</title><link>http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2009/08/26/cryptographic-failure-while-signing-assembly.aspx</link><pubDate>Wed, 26 Aug 2009 13:13:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:94</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The problem is that you cannot delete a key and you cannot add the key as you do not have access to the key to delete it and the .NET framework cannot add it because of constraints on the StrongName data store.&lt;br /&gt;&lt;br /&gt;The solution is to give yourself access to C:\Documents and Settings\AllUsers\ApplicationData\Microsoft\Crypto\RSA\MachineKeys\&lt;/p&gt;
&lt;ol&gt;
&lt;div&gt;
&lt;li&gt;Browse to c:\Documents and Settings\AllUsers\ApplicationData\Microsoft\Crypto\RSA\MachineKeys 
&lt;li&gt;Grant rights to &lt;span style="FONT-STYLE:italic;"&gt;Adminstrators&lt;/span&gt;, or whatever group you are in 
&lt;li&gt;Take Ownership of this folder (click Advanced under Security, and then click the Ownership tab at the top) &lt;/li&gt;&lt;/div&gt;&lt;/ol&gt;
&lt;p&gt;This worked all fine for me see how you get along.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=94" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Error+Messages/default.aspx">Error Messages</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Visual+Studio+2008/default.aspx">Visual Studio 2008</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Error+8013141C/default.aspx">Error 8013141C</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Asp.Net/default.aspx">Asp.Net</category></item><item><title>How to connect to MICROSOFT##SSEE</title><link>http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2009/08/21/how-to-connect-to-microsoft-ssee.aspx</link><pubDate>Fri, 21 Aug 2009 09:49:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:93</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&amp;nbsp;if your struggling with this&amp;nbsp;connecting to Microsoft##SSEE&amp;nbsp;I&amp;nbsp;followed the steps below and hey presto all working.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Open SQL Server Configuration Manager&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click on protocols for Microsoft##SSEE &amp;gt; Properties&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Set Hide Instance to &amp;quot;No&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Enable Named Pipes&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Finally Reset the SQL Server 2005 Embedded Edition (Microsoft##SSEE) service&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;now all being well you will be able to access this server&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=93" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Sql+Server+2005/default.aspx">Sql Server 2005</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/MICROSOFT_23002300_SSEE/default.aspx">MICROSOFT##SSEE</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Connecting/default.aspx">Connecting</category></item><item><title>Sharepoint Template ID's</title><link>http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2009/07/07/sharepoint-template-id-s.aspx</link><pubDate>Tue, 07 Jul 2009 10:08:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:89</guid><dc:creator>Steve</dc:creator><slash:comments>8</slash:comments><description>&lt;p&gt;hope these are useful for somebody.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Template ID = 0&lt;br /&gt;&amp;nbsp; Desc: This template is used for initializing a new site.&lt;br /&gt;&amp;nbsp; Title: Global template&lt;br /&gt;&amp;nbsp; Name: GLOBAL#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 1&lt;br /&gt;&amp;nbsp; Desc: A site for teams to quickly organize, author, and share information. It provides a document library, and lists for managing announcements, calendar items, tasks, and discussions.&lt;br /&gt;&amp;nbsp; Title: Team Site&lt;br /&gt;&amp;nbsp; Name: STS#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 1&lt;br /&gt;&amp;nbsp; Desc: A blank site for you to customize based on your requirements.&lt;br /&gt;&amp;nbsp; Title: Blank Site&lt;br /&gt;&amp;nbsp; Name: STS#1&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 1&lt;br /&gt;&amp;nbsp; Desc: A site for colleagues to work together on a document. It provides a document library for storing the primary document and supporting files, a tasks list for assigning to-do items, and a links list for resources related to the document.&lt;br /&gt;&amp;nbsp; Title: Document Workspace&lt;br /&gt;&amp;nbsp; Name: STS#2&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 2&lt;br /&gt;&amp;nbsp; Desc: A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda, meeting attendees, and documents.&lt;br /&gt;&amp;nbsp; Title: Basic Meeting Workspace&lt;br /&gt;&amp;nbsp; Name: MPS#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 2&lt;br /&gt;&amp;nbsp; Desc: A blank meeting site for you to customize based on your requirements.&lt;br /&gt;&amp;nbsp; Title: Blank Meeting Workspace&lt;br /&gt;&amp;nbsp; Name: MPS#1&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 2&lt;br /&gt;&amp;nbsp; Desc: A site for meetings that track status or make decisions. It provides lists for creating tasks, storing documents, and recording decisions.&lt;br /&gt;&amp;nbsp; Title: Decision Meeting Workspace&lt;br /&gt;&amp;nbsp; Name: MPS#2&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 2&lt;br /&gt;&amp;nbsp; Desc: A site to plan social occasions. It provides lists for tracking attendees, providing directions, and storing pictures of the event.&lt;br /&gt;&amp;nbsp; Title: Social Meeting Workspace&lt;br /&gt;&amp;nbsp; Name: MPS#3&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 2&lt;br /&gt;&amp;nbsp; Desc: A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda and meeting attendees in addition to two blank pages for you to customize based on your requirements.&lt;br /&gt;&amp;nbsp; Title: Multipage Meeting Workspace&lt;br /&gt;&amp;nbsp; Name: MPS#4&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 3&lt;br /&gt;&amp;nbsp; Desc: A site for central administration. It provides Web pages and links for application and operations management.&lt;br /&gt;&amp;nbsp; Title: Central Admin Site&lt;br /&gt;&amp;nbsp; Name: CENTRALADMIN#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 4&lt;br /&gt;&amp;nbsp; Desc: A site for a community to brainstorm and share ideas. It provides Web pages that can be quickly edited to record information and then linked together through keywords&lt;br /&gt;&amp;nbsp; Title: Wiki Site&lt;br /&gt;&amp;nbsp; Name: WIKI#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 9&lt;br /&gt;&amp;nbsp; Desc: A site for a person or team to post ideas, observations, and expertise that site visitors can comment on.&lt;br /&gt;&amp;nbsp; Title: Blog&lt;br /&gt;&amp;nbsp; Name: BLOG#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 7&lt;br /&gt;&amp;nbsp; Desc: A site to centrally manage documents in your enterprise.&lt;br /&gt;&amp;nbsp; Title: Document Center&lt;br /&gt;&amp;nbsp; Name: BDR#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 14483&lt;br /&gt;&amp;nbsp; Desc: This template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site prevents records from being modified after they are added to the repository.&lt;br /&gt;&amp;nbsp; Title: Records Center&lt;br /&gt;&amp;nbsp; Name: OFFILE#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 14483&lt;br /&gt;&amp;nbsp; Desc: This template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site prevents records from being modified after they are added to the repository.&lt;br /&gt;&amp;nbsp; Title: Records Center&lt;br /&gt;&amp;nbsp; Name: OFFILE#1&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 40&lt;br /&gt;&amp;nbsp; Desc: This template creates a site for administering shared services&lt;br /&gt;&amp;nbsp; Title: Shared Services Administration Site&lt;br /&gt;&amp;nbsp; Name: OSRV#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 20&lt;br /&gt;&amp;nbsp; Desc: This template is obsolete.&lt;br /&gt;&amp;nbsp; Title: SharePoint Portal Server Site&lt;br /&gt;&amp;nbsp; Name: SPS#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 21&lt;br /&gt;&amp;nbsp; Desc: This web template defines a Personal Space for an individual participating on a SharePoint Portal.&lt;br /&gt;&amp;nbsp; Title: SharePoint Portal Server Personal Space&lt;br /&gt;&amp;nbsp; Name: SPSPERS#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 22&lt;br /&gt;&amp;nbsp; Desc: A site for delivering personalized views, data, and navigation from this site collection into My Site. It includes personalization specific Web Parts and navigation that is optimized for My Site sites.&lt;br /&gt;&amp;nbsp; Title: Personalization Site&lt;br /&gt;&amp;nbsp; Name: SPSMSITE#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 30&lt;br /&gt;&amp;nbsp; Desc: This template is obsolete.&lt;br /&gt;&amp;nbsp; Title: Contents area Template&lt;br /&gt;&amp;nbsp; Name: SPSTOC#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 31&lt;br /&gt;&amp;nbsp; Desc: This template is obsolete.&lt;br /&gt;&amp;nbsp; Title: Topic area template&lt;br /&gt;&amp;nbsp; Name: SPSTOPIC#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 32&lt;br /&gt;&amp;nbsp; Desc: This template is obsolete.&lt;br /&gt;&amp;nbsp; Title: News Site&lt;br /&gt;&amp;nbsp; Name: SPSNEWS#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 39&lt;br /&gt;&amp;nbsp; Desc: A blank site for expanding your Web site and quickly publishing Web pages. Contributors can work on draft versions of pages and publish them to make them visible to readers. The site includes&amp;nbsp; document and image libraries for storing Web publishing assets.&lt;br /&gt;&amp;nbsp; Title: Publishing Site&lt;br /&gt;&amp;nbsp; Name: CMSPUBLISHING#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 53&lt;br /&gt;&amp;nbsp; Desc: This template creates a site for publishing Web pages on a schedule, with workflow features enabled.&amp;nbsp; By default, only Publishing subsites can be created under this site. A Document and Picture Library are included for storing Web publishing assets.&lt;br /&gt;&amp;nbsp; Title: Publishing Site&lt;br /&gt;&amp;nbsp; Name: BLANKINTERNET#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 53&lt;br /&gt;&amp;nbsp; Desc: This template creates the Press Releases subsite for an Internet-facing corporate presence website.&lt;br /&gt;&amp;nbsp; Title: Press Releases Site&lt;br /&gt;&amp;nbsp; Name: BLANKINTERNET#1&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 53&lt;br /&gt;&amp;nbsp; Desc: A site for publishing Web pages on a schedule by using approval workflows. It includes document and image libraries for storing Web publishing assets. By default, only sites with this template can be created under this site.&lt;br /&gt;&amp;nbsp; Title: Publishing Site with Workflow&lt;br /&gt;&amp;nbsp; Name: BLANKINTERNET#2&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 33&lt;br /&gt;&amp;nbsp; Desc: A site for publishing news articles and links to news articles. It includes a sample news page and an archive for storing older news items.&lt;br /&gt;&amp;nbsp; Title: News Site&lt;br /&gt;&amp;nbsp; Name: SPSNHOME#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 34&lt;br /&gt;&amp;nbsp; Desc: A site for listing and categorizing important sites in your organization. It includes different views for categorized sites, top sites, and a site map.&lt;br /&gt;&amp;nbsp; Title: Site Directory&lt;br /&gt;&amp;nbsp; Name: SPSSITES#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 36&lt;br /&gt;&amp;nbsp; Desc: This template is obsolete.&lt;br /&gt;&amp;nbsp; Title: Community area template&lt;br /&gt;&amp;nbsp; Name: SPSCOMMU#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 38&lt;br /&gt;&amp;nbsp; Desc: A site for creating, managing, and delivering Web pages, dashboards, and key performance indicators that communicate metrics, goals, and business intelligence information.&lt;br /&gt;&amp;nbsp; Title: Report Center&lt;br /&gt;&amp;nbsp; Name: SPSREPORTCENTER#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 47&lt;br /&gt;&amp;nbsp; Desc: A starter site hierarchy for an intranet divisional portal. It includes a home page, a News site, a Site Directory, a Document Center, and a Search Center with Tabs. Typically, this site has nearly as many contributors as&amp;nbsp; readers and is used to host team sites.&lt;br /&gt;&amp;nbsp; Title: Collaboration Portal&lt;br /&gt;&amp;nbsp; Name: SPSPORTAL#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 50&lt;br /&gt;&amp;nbsp; Desc: A site for delivering the search experience. The welcome page includes a search box with two tabs: one for general searches, and another for searches for information about people. You can add and customize tabs to focus on other search scopes or result types.&lt;br /&gt;&amp;nbsp; Title: Search Center with Tabs&lt;br /&gt;&amp;nbsp; Name: SRCHCEN#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 51&lt;br /&gt;&amp;nbsp; Desc: This template creates a profile site that includes page layout with zones&lt;br /&gt;&amp;nbsp; Title: Profiles&lt;br /&gt;&amp;nbsp; Name: PROFILES#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 52&lt;br /&gt;&amp;nbsp; Desc: A starter site hierarchy for an Internet-facing site or a large intranet portal. This site can be customized easily with distinctive branding. It includes a home page, a sample press releases subsite, a Search Center, and a login page. Typically, this site has many more readers than contributors, and it is used to publish Web pages with approval workflows.&lt;br /&gt;&amp;nbsp; Title: Publishing Portal&lt;br /&gt;&amp;nbsp; Name: BLANKINTERNETCONTAINER#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 54&lt;br /&gt;&amp;nbsp; Desc: A site used for hosting personal sites (My Sites) and the public People Profile page. This template needs to be provisioned only once per Shared Service Provider, please consult the documentation for details.&lt;br /&gt;&amp;nbsp; Title: My Site Host&lt;br /&gt;&amp;nbsp; Name: SPSMSITEHOST#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 90&lt;br /&gt;&amp;nbsp; Desc: A site for delivering the search experience. The site includes pages for search results and advanced searches.&lt;br /&gt;&amp;nbsp; Title: Search Center&lt;br /&gt;&amp;nbsp; Name: SRCHCENTERLITE#0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Template ID = 90&lt;br /&gt;&amp;nbsp; Desc: The Search Center template creates pages dedicated to search. The main welcome page features a simple search box in the center of the page. The template includes a search results and an advanced search page. This Search Center will not appear in navigation.&lt;br /&gt;&amp;nbsp; Title: Search Center&lt;br /&gt;&amp;nbsp; Name: SRCHCENTERLITE#1&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=89" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Template+IDs/default.aspx">Template IDs</category></item><item><title>Visual Studio 2008 Design mode crashes</title><link>http://dotnetdeveloper.co.uk/blogs/aspnet/archive/2009/05/11/visual-studio-2008-design-mode-crashes.aspx</link><pubDate>Mon, 11 May 2009 13:28:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:86</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Just noticed today that my visual studio crashes when I try and go into design mode.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not honestly sure what causes this problem as I dont use this VM very often however i think its linked to either Office 2007 or Visual Studio 2008 SP1.&lt;/p&gt;
&lt;p&gt;as a fix I manually removed the Visual Studio 2008 Web Authoring Component and then re-added from my Visual Studio CD&lt;/p&gt;
&lt;p&gt;you can find the exe file within then WCU\WebDesignerCore\ folder&lt;/p&gt;
&lt;p&gt;This fixed the problem for me hopefully it will for you also.&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=86" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/VS2008/default.aspx">VS2008</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/Crashes/default.aspx">Crashes</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/Web+Authoring+Compnent/default.aspx">Web Authoring Compnent</category></item><item><title>Adding case resolution types to case resolution form</title><link>http://dotnetdeveloper.co.uk/blogs/mscrm/archive/2009/05/08/adding-to-case-resolution-type-to-case-resolution.aspx</link><pubDate>Fri, 08 May 2009 09:03:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:84</guid><dc:creator>Steve</dc:creator><slash:comments>4</slash:comments><description>&lt;p&gt;&amp;nbsp;not having done this before on our installation this took me a few minutes to figure out.&lt;/p&gt;
&lt;p&gt;obviously as its a drop down field its a picklist which needs editing but it&amp;#39;s not in the Case/Incident resolution entity.&lt;/p&gt;
&lt;p&gt;The picklist can actually be found within the Case entity.&lt;/p&gt;
&lt;p&gt;If you select the Status Code entity and change the state dropdown from the right of the screen from Active to Resolved you will see the text list will change to show the Case Resolution picklist.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=84" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/MS+CRM+3.0/default.aspx">MS CRM 3.0</category><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/entity/default.aspx">entity</category><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/Case+Resolution+Type/default.aspx">Case Resolution Type</category></item><item><title>Workflows and Working Days</title><link>http://dotnetdeveloper.co.uk/blogs/mscrm/archive/2009/04/29/workflows-and-working-days.aspx</link><pubDate>Wed, 29 Apr 2009 14:48:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:79</guid><dc:creator>Steve</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi on a few posts on the MS CRM dynamics forum&amp;nbsp;I commented on a solution for working out due dates taking into account weekends and holidays etc.&lt;/p&gt;
&lt;p&gt;This is the solution&amp;nbsp;I came up with which has been working for the last x months without any issues (as far as i&amp;#39;m aware). This is based on the task entity creation event and basically picks up the Creation Date and the Due date and calculates the difference between them and then changes the due date (assuming a user inputs the number of days till the task should be completed which will generate a due date automatically - could be tweaked&amp;nbsp;I know) to be a working date taking into account any company / official holidays (if rules have been entered into the Business Closures entity Settings &amp;gt; Business Closures). The code should be transferable between many implementations but is used very specifically at the moment as above.&lt;/p&gt;
&lt;p&gt;As far as&amp;nbsp;I am aware it has been tested quite&amp;nbsp;thouroughly with exception to the Business Closures which our company don&amp;#39;t use at the moment.&lt;/p&gt;
&lt;p&gt;These belong in my case within a workflow assembly (maybe called WorkflowAssembly.DLL like mine) and are used within the workflow manager.&lt;/p&gt;
&lt;p&gt;/// &amp;lt;summary&amp;gt;&lt;br /&gt;///&amp;nbsp; Change Due Date used by workflow required by task.&lt;br /&gt;/// &amp;lt;/summary&amp;gt;&lt;br /&gt;/// &amp;lt;param name=&amp;quot;caller&amp;quot;&amp;gt;string&amp;lt;/param&amp;gt;&lt;br /&gt;/// &amp;lt;param name=&amp;quot;creationDate&amp;quot;&amp;gt;DateTime&amp;lt;/param&amp;gt;&lt;br /&gt;/// &amp;lt;param name=&amp;quot;dueDate&amp;quot;&amp;gt;DateTime&amp;lt;/param&amp;gt;&lt;br /&gt;&amp;nbsp;/// &amp;lt;returns&amp;gt;DateTime&amp;lt;/returns&amp;gt;&lt;br /&gt;public DateTime ChangeDueDate(string caller, DateTime creationDate, DateTime dueDate)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlDocument xDoc = new XmlDocument();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xDoc.LoadXml(caller);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlNodeList nodes = xDoc.SelectNodes(&amp;quot;caller/userid&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (nodes.Count &amp;gt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // setup service&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using (CrmService service = CrmSdkProxy.InstantiateService(new Guid(nodes[0].InnerXml.ToString())))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // get difference between duedate and creation date&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeSpan ts = dueDate - creationDate;&lt;/p&gt;
&lt;p&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; return ReturnWorkingDate(creationDate, ts.Days, service);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // if theres any problems return standard due date.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return dueDate;&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;/// &amp;lt;summary&amp;gt;&lt;br /&gt;/// Accepts a date,number of days to skip and a crmservice instance&lt;br /&gt;/// &amp;lt;/summary&amp;gt;&lt;br /&gt;/// &amp;lt;param name=&amp;quot;date&amp;quot;&amp;gt;DateTime&amp;lt;/param&amp;gt;&lt;br /&gt;/// &amp;lt;param name=&amp;quot;numberOfWorkingDays&amp;quot;&amp;gt;Integer&amp;lt;/param&amp;gt;&lt;br /&gt;/// &amp;lt;param name=&amp;quot;service&amp;quot;&amp;gt;CRMService&amp;lt;/param&amp;gt;&lt;br /&gt;/// &amp;lt;returns&amp;gt;DateTime&amp;lt;/returns&amp;gt;&lt;br /&gt;public DateTime ReturnWorkingDate(DateTime date, int numberOfWorkingDays, CrmService service)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (numberOfWorkingDays &amp;gt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date = date.AddDays(1);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // if today is not a day included in the business closure calendar or else move on a day&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (IsBusinessWorkingDay(date, service))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // if today is not saturday or sunday else move on a day&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!IsWeekend(date))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // this is a working day&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; numberOfWorkingDays--;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // returns the date advanced by x number of working days&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return date;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;private static bool IsBusinessWorkingDay(DateTime dueDate, CrmService service)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // setup working variables&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool workingDay = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string guidString = string.Empty;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // create fetchxml&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringBuilder fetchXML = new StringBuilder();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;fetch mapping=&amp;#39;logical&amp;#39;&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;entity name=&amp;#39;calendar&amp;#39;&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;attribute name=&amp;#39;calendarid&amp;#39;/&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;filter type=&amp;#39;and&amp;#39;&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;nbsp;&amp;lt;condition attribute=&amp;#39;isshared&amp;#39; operator=&amp;#39;eq&amp;#39; value=&amp;#39;1&amp;#39;/&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;/filter&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;filter type=&amp;#39;and&amp;#39;&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;nbsp;&amp;lt;condition attribute=&amp;#39;name&amp;#39; operator=&amp;#39;eq&amp;#39; value=&amp;#39;Business Closure Calendar&amp;#39;/&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;/filter&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;/entity&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;/fetch&amp;gt;&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // perform fetch&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string returnXML = service.Fetch(fetchXML.ToString());&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // setup xml document for return xml&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlDocument xDoc = new XmlDocument();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xDoc.LoadXml(returnXML);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlNodeList nodes = xDoc.SelectNodes(&amp;quot;resultset/result/calendarid&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // if theres a calendar returned from the fetch then handle it&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (nodes.Count &amp;gt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // get Business closures calendar Guid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; guidString = nodes[0].InnerXml.ToString();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // create calendar Guid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Guid calGuid = new Guid(guidString);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // return all calendar columns for this calendar (just need calendarrules)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; calendar cal = (calendar)service.Retrieve(EntityName.calendar.ToString(), calGuid, new AllColumns());&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // for each rule within the calendarrules collection&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (calendarrule cl in cal.calendarrules)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Convert start and end date to DateTime&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime holStartDate = Convert.ToDateTime(cl.effectiveintervalstart.Value.ToString());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime holEndDate = Convert.ToDateTime(cl.effectiveintervalend.Value.ToString());&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // check if the date passed in is within the startdate / enddate of holidays via rules&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (DateTime.Compare(dueDate, holStartDate) &amp;gt; 0 &amp;amp;&amp;amp; DateTime.Compare(dueDate, holEndDate) &amp;lt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; workingDay = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return workingDay;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;private static bool IsBusinessWorkingDay(DateTime dueDate, CrmService service)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // setup working variables&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool workingDay = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string guidString = string.Empty;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // create fetchxml&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringBuilder fetchXML = new StringBuilder();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;fetch mapping=&amp;#39;logical&amp;#39;&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;entity name=&amp;#39;calendar&amp;#39;&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;attribute name=&amp;#39;calendarid&amp;#39;/&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;filter type=&amp;#39;and&amp;#39;&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;nbsp;&amp;lt;condition attribute=&amp;#39;isshared&amp;#39; operator=&amp;#39;eq&amp;#39; value=&amp;#39;1&amp;#39;/&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;/filter&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;filter type=&amp;#39;and&amp;#39;&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;nbsp;&amp;lt;condition attribute=&amp;#39;name&amp;#39; operator=&amp;#39;eq&amp;#39; value=&amp;#39;Business Closure Calendar&amp;#39;/&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;/filter&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;/entity&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fetchXML.Append(&amp;quot;&amp;lt;/fetch&amp;gt;&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // perform fetch&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string returnXML = service.Fetch(fetchXML.ToString());&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // setup xml document for return xml&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlDocument xDoc = new XmlDocument();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xDoc.LoadXml(returnXML);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlNodeList nodes = xDoc.SelectNodes(&amp;quot;resultset/result/calendarid&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // if theres a calendar returned from the fetch then handle it&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (nodes.Count &amp;gt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // get Business closures calendar Guid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; guidString = nodes[0].InnerXml.ToString();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // create calendar Guid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Guid calGuid = new Guid(guidString);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // return all calendar columns for this calendar (just need calendarrules)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; calendar cal = (calendar)service.Retrieve(EntityName.calendar.ToString(), calGuid, new AllColumns());&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // for each rule within the calendarrules collection&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (calendarrule cl in cal.calendarrules)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Convert start and end date to DateTime&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime holStartDate = Convert.ToDateTime(cl.effectiveintervalstart.Value.ToString());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime holEndDate = Convert.ToDateTime(cl.effectiveintervalend.Value.ToString());&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // check if the date passed in is within the startdate / enddate of holidays via rules&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (DateTime.Compare(dueDate, holStartDate) &amp;gt; 0 &amp;amp;&amp;amp; DateTime.Compare(dueDate, holEndDate) &amp;lt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; workingDay = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return workingDay;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;now that the above code has been compiled into a your workflow assembly to utilise the assembly you also need to add the function to the workflow config file which is located at C:\Program Files\Microsoft CRM\Server\bin\assembly&lt;/p&gt;
&lt;p&gt;&amp;lt;method name=&amp;quot;Change Due Date&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;assembly=&amp;quot;WorkflowAssembly.dll&amp;quot; typename=&amp;quot;WorkflowAssembly.DateTimeFunctions&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;methodname=&amp;quot;ChangeDueDate&amp;quot; timeout=&amp;quot;7200&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;group=&amp;quot;Date and time functions&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;parameter name=&amp;quot;Caller&amp;quot; datatype=&amp;quot;caller&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;parameter name=&amp;quot;Creation Date&amp;quot; datatype=&amp;quot;datetime&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;parameter name=&amp;quot;DueDate&amp;quot; datatype=&amp;quot;datetime&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;result datatype=&amp;quot;datetime&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/method&amp;gt;&lt;/p&gt;
&lt;p&gt;Open up the file and and paste the above into it. Basically its just a function definition which shows which class/methods within the dll are used and what parameters are expected.&lt;/p&gt;
&lt;p&gt;Once you&amp;#39;ve copied over the&amp;nbsp;DLL&amp;nbsp;to C:\Program Files\Microsoft CRM\Server\bin\assembly and edited the workflow.config file within the same location reset IIS and the MSCRM Workflow Service.&lt;/p&gt;
&lt;p&gt;Now if all is going well when you go into Workflow Manager and select the workflow you wish to use this functionality in. ( I used this in a task workflow which when the task was created automatically would change the due date to a working day x days in the future). &lt;/p&gt;
&lt;p&gt;Goto insert action --&amp;gt; Call Assembly --&amp;gt; Date Time Functions --&amp;gt; Change Due Date and select the function&lt;/p&gt;
&lt;p&gt;&lt;img height="449" alt="Figure 1" src="http://dotnetdeveloper.co.uk/photos/mscrm/images/80/original.aspx" width="532" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;Figure 1&lt;/p&gt;
&lt;p&gt;Click on the newly created function within the workspace and a new screen will popup (as per Figure 2). Double click the parameter called Creation Date and populate (as shown in figure 3), repeat for due date.&lt;/p&gt;
&lt;p&gt;&lt;img height="222" alt="Figure 2" src="http://dotnetdeveloper.co.uk/photos/mscrm/images/81/original.aspx" width="417" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;Figure 2&lt;/p&gt;&lt;img height="286" alt="Figure 2" src="http://dotnetdeveloper.co.uk/photos/mscrm/images/82/original.aspx" width="467" border="0" /&gt; 
&lt;p&gt;Figure 3&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Well its my longest post yet and may well not be very clear (rushed it out in work) so if you have any questions or need anything clarifying give me a shout. Hopefully it will help somebody.&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=79" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/MS+CRM+3.0/default.aspx">MS CRM 3.0</category><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/Workflow+_2B00_+Working+Hours/default.aspx">Workflow + Working Hours</category><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/Bank+holidays/default.aspx">Bank holidays</category><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/Workflow+Assembly/default.aspx">Workflow Assembly</category><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/Business+Closures/default.aspx">Business Closures</category></item><item><title>Hiding fields when not in edit mode</title><link>http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2009/03/25/hiding-fields-when-not-in-edit-mode.aspx</link><pubDate>Wed, 25 Mar 2009 15:52:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:76</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;I had a need to&amp;nbsp;&amp;nbsp;hide several fields when&amp;nbsp;I wasn&amp;#39;t in&amp;nbsp;edit mode on a page&amp;nbsp;and spent an awfully long amount of time trying various methods. In the end its easy but only because i bumped into another one of Andrew Connells ancient posts.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;basically i added some fields which i would enter an image url to be used as a dynamic background image within a page instance.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;This can be achieved by using the &lt;strong&gt;EditModePanel&lt;/strong&gt; control which can be found within SPD under &lt;strong&gt;SharePoint Controls / Server Controls&lt;/strong&gt; &lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;simply drop the control on the page and put any fields you want to hide within the control.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;This only works on publishing pages.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Andrews original post can be found &lt;a class="" title="Here" href="http://www.andrewconnell.com/blog/archive/2006/12/23/5535.aspx" target="_blank"&gt;here&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=76" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/EditModePanel/default.aspx">EditModePanel</category></item><item><title>The Underlying connection was closed: Unable to connect to the remote server</title><link>http://dotnetdeveloper.co.uk/blogs/mscrm/archive/2009/03/24/the-underlying-connection-was-closed-unable-to-connect-to-the-remote-server.aspx</link><pubDate>Tue, 24 Mar 2009 09:32:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:75</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Had this tip sent to me earlier not sure what the original source is but it works so im passing it on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Underlying connection was closed: Unable to connect to the remote server this error is a problem due to running out of TCP ports. You can minimize or eliminate this problem by setting the following registry keys on the Microsoft CRM Server(s). This is typically seen in scenarios with Microsoft CRM when the server is under high user load or more typically when it is under high load from a Bulk import or a Microsoft CRM SDK application that is importing thousands of records into the application. Note that these are both REGDWORD Keys and the values should be set as decimal values.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;HKLM\Software\CurrentControlSet\Services\TCPIP\Parameters&lt;/p&gt;
&lt;p&gt;Create a new REGDWORD value named MaxUserPort with a value of 65534.&lt;/p&gt;
&lt;p&gt;Also create a new REGDWORD value named TcpTimedWaitDelay with a value of 30. What this means is that we now have a total of 65534 TCP ports available and that they will recycle for use again after 30 seconds. This compares to the default of 5000 ports and a TcpTimedWaitDelay default of 240 (4 min).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=75" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/MSCRM+3.0/default.aspx">MSCRM 3.0</category></item><item><title>Sharepoint Development - Tools of the trade</title><link>http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2009/02/24/sharepoint-development-tools-of-the-trade.aspx</link><pubDate>Tue, 24 Feb 2009 12:49:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:73</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I thought it might be useful to some for me to list the tools i use regularly within my SharePoint development environment and exactly what I use them for.&lt;/p&gt;
&lt;p&gt;In time maybe the list will shrink / expand and is no particular order.&lt;/p&gt;
&lt;p&gt;&lt;a class="" title="STSDEV" href="http://www.codeplex.com/stsdev" target="_blank"&gt;STSDEV&lt;/a&gt;&amp;nbsp;- is an application which creates SharePoint solutions and projects to help with&amp;nbsp;deployment and development.&lt;/p&gt;
&lt;p&gt;&lt;a class="" title="SharePoint Manager 2007" href="http://www.codeplex.com/spm" target="_blank"&gt;SharePoint Manager 2007&lt;/a&gt;&amp;nbsp;- I have tended to use this to snoop around the inner working of a site (You can view&amp;nbsp;practically every property within&amp;nbsp;SharePoint)&amp;nbsp;. You can amend settings but in all honesty it&amp;#39;s not recommended. A colleague insists he melted his entire site with it &amp;lt;/me shrugs&amp;gt;.&amp;nbsp;Use carefully&amp;nbsp;:)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a class="" title="MOSS Feature Generator" href="http://www.codeplex.com/mossfeaturegenerator" target="_blank"&gt;MOSS Feature&amp;nbsp;Generator&lt;/a&gt; - I like this application so much. It doesn&amp;#39;t do anything big or clever but its simple and does what it says on a tin. I use this to export any&amp;nbsp;created Content Types / Columns / Fields&amp;nbsp;(created within the SharePoint UI) and export them out to be included in my STSDEV projects. It looks like it also does lists&amp;nbsp;and their templates also but&amp;nbsp;I haven&amp;#39;t used it for this.&lt;/p&gt;
&lt;p&gt;&lt;a class="" title="U2U CAML Query Builder" href="http://www.u2u.be/res/Tools/CamlQueryBuilder.aspx" target="_blank"&gt;U2U CAML Query Builder&lt;/a&gt; - Great little visual CAML query tool for building CAML querys to be included in your views etc.&lt;/p&gt;
&lt;p&gt;&lt;a class="" title="Imtech ListInstance Generator" href="http://www.codeplex.com/imtech/Release/ProjectReleases.aspx?ReleaseId=18164" target="_blank"&gt;Imtech List Generator&lt;/a&gt;&amp;nbsp;- Might be useful to some. Generates list instance XML for inclusion within your projects. Useful if you can&amp;#39;t be bothered to generate GUID&amp;#39;s and are not so sure about list templated ID&amp;#39;s etc.&lt;/p&gt;
&lt;p&gt;Hopefully this small list will be useful to some.&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=73" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/STSDev/default.aspx">STSDev</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/U2U+CAML+Query+Builder/default.aspx">U2U CAML Query Builder</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/SharePoint+utilities/default.aspx">SharePoint utilities</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Imtech+List+Generator/default.aspx">Imtech List Generator</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Sharepoint+tools/default.aspx">Sharepoint tools</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/SharePoint+manager/default.aspx">SharePoint manager</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/MOSS+Feature+Generator/default.aspx">MOSS Feature Generator</category></item><item><title>Opening list links in a new window</title><link>http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2009/02/20/opening-list-links-in-a-new-window.aspx</link><pubDate>Fri, 20 Feb 2009 10:47:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:72</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;There is a&amp;nbsp;few posts about this on the internet. &lt;/p&gt;
&lt;p&gt;seems as usual with SharePoint there is a few ways to do this. This is one way which they can be done, The others are by editing a listview within SharePoint Designer right clicking on the list and select dataform XSLT or similar and editing the xsl and saving and &lt;a class="" title="this method" href="http://mindsharpblogs.com/Todd/archive/2005/08/16/654.aspx" target="_blank"&gt;this method&lt;/a&gt; by Todd Bleeker. &lt;/p&gt;
&lt;p&gt;have a read and see what you think.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Editing List Schema&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is a fairly simple process once you know how this is a quick guide on how to do it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Add a new boolean column to your list something along the lines of &amp;quot;Open In New Window&amp;quot;.&lt;/p&gt;
&lt;p&gt;open up your &amp;quot;schema XML&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;down at the bottom of your&amp;nbsp;schema file there is a &amp;lt;Fields&amp;gt; node open this up and copy paste the code below &lt;/p&gt;
&lt;p&gt;edit the following area&amp;#39;s&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;URLToOpen&lt;/font&gt; - the name of the URL field you want to use to generate the new link&lt;/p&gt;
&lt;p&gt;OpenInNewWindow - The name of the field you created as a the boolean value to decide if to open in a new window or not&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Field&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Type&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Computed&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ReadOnly&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;TRUE&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;NewUrlLink&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;DisplayName&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;URL&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;DisplayNameSrcField&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;URL&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;AuthoringInfo&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;open in new window&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;FieldRefs&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;FieldRef&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;URLToOpen&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;FieldRef&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;OpenInNewWindow&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;FieldRefs&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;DisplayPattern&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;HTML&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;![CDATA[&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&amp;lt;A HREF=&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;]]&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;HTML&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Column&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;URLToOpen&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;HTMLEncode&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;TRUE&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;HTML&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;![CDATA[&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;]]&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;HTML&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Switch&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Expr&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Column&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;OpenInNewWindow&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Expr&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Case&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Value&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;1&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;HTML&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;![CDATA[&lt;/font&gt;&lt;font color="#808080" size="2"&gt; target=&amp;quot;_blank&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;]]&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;HTML&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Case&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Switch&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;HTML&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;![CDATA[&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;]]&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;HTML&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Switch&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Expr&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Column2&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;URLToOpen&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Expr&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Case&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Value&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Column&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;URLToOpen&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;HTMLEncode&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;TRUE&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Case&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Default&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Column2&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;URLToOpen&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;HTMLEncode&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;TRUE&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Default&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Switch&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;HTML&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;![CDATA[&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&amp;lt;/A&amp;gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;]]&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;HTML&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;DisplayPattern&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;br /&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Field&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt; 
&lt;p&gt;ok with that done now you can just use that computed column within your schema xml as a valid field.&lt;/p&gt;&amp;nbsp;just add that field in the &amp;lt;ViewFields&amp;gt; part of your view ie : &lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;FieldRef&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;NewUrlLink&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; /&amp;gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;This is a simplified&amp;nbsp;rundown of the process based on my experiences with this.&amp;nbsp;check out&amp;nbsp;Andrew Connells blog if you need more information Andrews Connell&amp;#39;s post&amp;nbsp;can be found&amp;nbsp;&lt;a class="" title="Here" href="http://www.andrewconnell.com/blog/articles/SharepointLinksListOpenInNewWindow.aspx" target="_blank"&gt;here&lt;/a&gt; and has more detail then mine.&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=72" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Lists/default.aspx">Lists</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Computed+Columns/default.aspx">Computed Columns</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Link+Lists/default.aspx">Link Lists</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Open+In+New+Window/default.aspx">Open In New Window</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Schema.XML/default.aspx">Schema.XML</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/List+Schema/default.aspx">List Schema</category></item><item><title>Deploying Custom Lists with STSDEV</title><link>http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2009/02/18/deploying-custom-lists-with-stsdev.aspx</link><pubDate>Wed, 18 Feb 2009 13:06:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:70</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This is only a quick and dirty post as I&amp;#39;m really busy atm. This is obviously the most basic tutorial explaining how to quickly and easily take your&amp;nbsp; lists from within sharepoint and make them deployable (I&amp;#39;m using &lt;a class="" title="STSDEV" href="http://www.codeplex.com/stsdev2008" target="_blank"&gt;STSDEV&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Firstly create your list within the Sharepoint as normal.&lt;/p&gt;
&lt;p&gt;Open Sharepoint Solution Generator&lt;/p&gt;
&lt;p&gt;Enter your site details,select the list you want to deploy and save into a folder on your desktop. &lt;/p&gt;
&lt;p&gt;This generates a stand alone project for deploying this list if this is what you want.&lt;/p&gt;
&lt;p&gt;To embed in a larger project&lt;/p&gt;
&lt;p&gt;Copy the 4 ASPX files and the Schema.XML files into your project and place them in a listfolder (eg: &amp;quot;My List&amp;quot;)&lt;/p&gt;
&lt;p&gt;Edit the &amp;quot;Elements.XML&amp;quot; and copy the contents from the &amp;quot;ListDefinition.XML&amp;quot; file into it.&lt;/p&gt;
&lt;p&gt;Open up the &amp;quot;Feature.XML&amp;quot; and add the following &lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;!--&lt;/font&gt;&lt;font color="#008000" size="2"&gt; Lists &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;--&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ElementFile&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Location&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;My List\schema.xml&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; 
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ElementFile&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Location&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;My List\AllItems.aspx&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/p&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ElementFile&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Location&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;My List\DispForm.aspx&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ElementFile&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Location&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;My List\NewForm.aspx&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; 
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ElementFile&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Location&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;My List\EditForm.aspx&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;finally within your &amp;quot;Elements.XML&amp;quot; add the following making sure to change the feature ID and generate a new Guid for the List Instance ID&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ListInstance&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Id&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;874CE39B-0E8A-40c6-B284-36679BD5CC33&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;FeatureId&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;314CAAC1-7E0D-4FAE-921C-30EEC7D7302A&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;TemplateType&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;100&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Title&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Press Releases&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Description&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Press Releases&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Url&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Lists/Press Releases&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; /&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Take note of the Template Type, this should match between the template and the instance. There are a fair few different template types however Solution Generator should export the correct type for you.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;for other types have a look here if you need too. &lt;a class="" title="Other Template Types" href="http://sharepointkb.wordpress.com/2008/08/26/sharepoint-list-template-ids-registrationids-list-template-type-ids/%20target="&gt;Other Template Types&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Now you should have your deployable list&lt;/p&gt;
&lt;p&gt;hopefully this will be useful as a starting point for somebody.&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=70" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Deployment/default.aspx">Deployment</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Lists/default.aspx">Lists</category></item><item><title>Microsoft CRM 5.0 Features</title><link>http://dotnetdeveloper.co.uk/blogs/mscrm/archive/2009/02/11/microsoft-crm-5-0-features.aspx</link><pubDate>Wed, 11 Feb 2009 12:34:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:68</guid><dc:creator>Steve</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;If you&amp;#39;re interested to know what will be the key features of the future Microsoft Dynamics CRM 5.0, originally pulled from &lt;a href="http://blogs.msdn.com/ukcrm/archive/2008/11/10/what-s-new-in-crm5.aspx"&gt;Simon Hutson&amp;#39;s post&lt;/a&gt;&amp;nbsp;and now removed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;finally found this listed on &lt;a class="" title="Stefano Demliani&amp;#39;s Site" href="http://demiliani.com/blog/archive/2008/11/11/6526.aspx" target="_blank"&gt;Stefano Demiliani&amp;#39;s Site&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Remember that the next Microsoft CRM version is actually planned for release late 2009/early 2010 (there&amp;#39;s not a codename now), so this is a really first preview.&lt;/p&gt;
&lt;p&gt;This is the Simon&amp;#39;s feature list (cross posted here):&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;New Features For End Users&lt;/u&gt;&lt;/strong&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Enhanced Navigation&lt;/strong&gt; - I guess it was inevitable, but CRM5 uses the same &amp;quot;Fluent UI&amp;quot; (aka the Ribbon) as Office 2007. This new &amp;quot;command bar&amp;quot; replaces the CRM 4.0 &amp;quot;tool bars&amp;quot; at the top of each page, and is context sensitive. In addition, the &amp;quot;command bar&amp;quot; is fully customizable and you can add your own buttons much like you can with ISV.Config file today. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_2.png"&gt;&lt;img height="101" alt="CRM5 Ribbon (Account)" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb.png" width="504" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_4.png"&gt;&lt;img height="99" alt="CRM5 Ribbon (Contact)" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_1.png" width="504" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Incidentally, something that isn&amp;#39;t discussed but appears on the ribbon is the &amp;quot;Add to Queue&amp;quot; command, from which I can only surmise that you will be add any entity (including custom entities) to a Queue. 
&lt;li&gt;&lt;strong&gt;Single Page Forms&lt;/strong&gt; - The form model in CRM 4.0 made use of tabs to divide a form into multiple pages. In CRM5 tabs are displayed in the same way as section, with each form just having a single, scrolling page. As you can see from the navigation page of an Account entity, tabs are now displayed as a series of &amp;quot;quick access&amp;quot; navigation shortcuts under the &amp;quot;Information&amp;quot; link. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_6.png"&gt;&lt;img height="105" alt="CRM5 Tabs" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_2.png" width="107" border="0" /&gt;&lt;/a&gt; 
&lt;li&gt;&lt;strong&gt;Data Filtering&lt;/strong&gt; - One often requested feature is the ability to filter data in grids, much like Excel. Now you can navigate to the &amp;quot;DataView&amp;quot;, click the &amp;quot;Filter&amp;quot; command, and you can perform your own in-line filtering. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_12.png"&gt;&lt;img height="192" alt="CRM5 Data Filtering" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_5.png" width="504" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Again, although not explicitly stated, it looks as though you can quickly save your filters as a View, as well as setting your own Default View. 
&lt;li&gt;&lt;strong&gt;In-line Visualizations&lt;/strong&gt; - Although not Business Intelligence in the true sense of the phrase, CRM5 allows you to visualize numeric data using in-line charts. This is not SQL Server Reporting Services, but looks very much like the .NET charting solution from Dundas. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_14.png"&gt;&lt;img height="273" alt="CRM5 In-Line Visualizations" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_6.png" width="504" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The charts themselves are drill-through enabled and you can select a number of different chart formats such as Bar, Column, Funnel, Line, Pie &amp;amp; Scatter. 
&lt;li&gt;&lt;strong&gt;Team Ownership&lt;/strong&gt; - Entities in CRM 4.0 were either User Owned or Organisation Owned. Now Team Owned entities are added in CRM5, and integrated into the role-based security model. 
&lt;li&gt;&lt;strong&gt;Native SharePoint Integration&lt;/strong&gt; - Integration with Windows SharePoint Services for document management, which includes site and document library provisioning, document metadata, item security, and check-in/check-out capabilities. 
&lt;li&gt;&lt;strong&gt;Unstructured Relationships&lt;/strong&gt; - The next generation of &amp;quot;set regarding&amp;quot; and &amp;quot;relationship roles&amp;quot; functionality, allowing you to define ad-hoc relationships between any two entities.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;New Features For Administrators&lt;/u&gt;&lt;/strong&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Flexible Form Layout&lt;/strong&gt; - We now have much more flexibility in how forms are laid out, for example, we can position sections side-by-side, as well as field labels on top, left or right of each field. Best of all, we can now configure &amp;quot;In-Line Sub-Grids&amp;quot; for child records, so a combination of IFrames &amp;amp; JScript is no longer required to make this work. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_20.png"&gt;&lt;img height="302" alt="CRM5 Form Layout" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_9.png" width="504" border="0" /&gt;&lt;/a&gt; 
&lt;li&gt;&lt;strong&gt;Filtered Lookups&lt;/strong&gt; - One of the most requested features has finally made it into the product. Whilst customizing the form, you can choose a pre-defined view or better still you can filter by a related lookup on the same form. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_32.png"&gt;&lt;img height="389" alt="CRM5 Filtered Lookups" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_15.png" width="339" border="0" /&gt;&lt;/a&gt; 
&lt;li&gt;&lt;strong&gt;Form Headers &amp;amp; Footers&lt;/strong&gt; - Now that all tabs, sections and fields appear on a single, scrolling form, it is quite possible the form will get become quite long and you will end up scrolling up and down more often to find the information you require. In order to make the most commonly required visible at all times, you can now place these fields in a header or footer so that they will always be displayed regardless of the scrolling. 
&lt;li&gt;&lt;strong&gt;Solution Management&lt;/strong&gt; - With CRM 4.0, you had to implement a manual process when customizing your solution, to make sure that you didn&amp;#39;t overwrite previous customizations, or disrupt any 3rd party ISV solutions. In CRM5 we had now added the concept of solutions. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_26.png"&gt;&lt;img height="116" alt="CRM5 Customizations - Solutions" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_12.png" width="504" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;A solution is a defined set of entity customizations, workflows, e-mail templates, security roles, plug-ins etc. that can be managed as a single unit. Each solution is version controlled so presumably your can have multiple versions of the same solution installed, and roll-back to a previous version if necessary. &lt;br /&gt;You can also define solution dependencies where one solution can only be installed if another solution is also installed. For example, you might have a base solution for your whole organisation, with a departmental specific solution built on top of it. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_28.png"&gt;&lt;img height="303" alt="CRM5 Solutions - Publishers" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_13.png" width="504" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Namespace collision is avoided by defining publishers, with each publisher having a unique namespace. This avoids the common issue where the default namespace &amp;quot;new_&amp;quot; is used for all customizations, leading to potential namespace conflicts. &lt;br /&gt;One final plus point is that you can now specify which attributes will be exported as part of a solution, rather than having no choice but to export the whole entity. 
&lt;li&gt;&lt;strong&gt;Multiple Option Sets&lt;/strong&gt; - Otherwise known as &amp;quot;Global Picklists&amp;quot;, you can define these at the solution level, and re-use them across multiple entities. 
&lt;li&gt;&lt;strong&gt;Drag &amp;amp; Drop Form Editor&lt;/strong&gt; - One of the most time consuming customization tasks in CRM 4.0 is the form design. Every time you want to add, remove or re-position tabs, sections and attributes, you have to go through a multi-click process. With CRM5, you can now drag and drop all elements of a form, speeding up the process considerably &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_30.png"&gt;&lt;img height="234" alt="CRM5 Drag &amp;amp; Drop Form Editor" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_14.png" width="504" border="0" /&gt;&lt;/a&gt; 
&lt;li&gt;&lt;strong&gt;Audit&lt;/strong&gt; - Although not explicitly mentioned during the sessions, I spotted an &amp;quot;auditing&amp;quot; setting on the attribute designer form, allowing you to turn auditing on or off. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_34.png"&gt;&lt;img height="375" alt="CRM5 Audit" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_16.png" width="504" border="0" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;New Features For Developers&lt;/u&gt;&lt;/strong&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Custom Code Sandbox&lt;/strong&gt; - There is a new server role for running custom plug-in code and custom workflow activities without requiring full trust. This means that it will be possible to run custom code in the CRM Online environment and achieve true parity between On-Premise, Partner-Hosted and Microsoft-Hosted deployments. 
&lt;li&gt;&lt;strong&gt;Plug-In Transaction Support&lt;/strong&gt; - In CRM 4.0 you could register a plug-in to run either before (pre-event) or after (post-event) the CRM platform operation. However, you were not able to run as part of the transaction itself, so you had to right your own compensation logic in the event the CRM platform operation failed. CRM5 addresses this limitation, and you can now choose to register you plug-in as part of the platform operation. The CRM5 plug-in registration tool has been modified to support this. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_36.png"&gt;&lt;img height="269" alt="CRM5 Plug-In Transaction Support" src="http://blogs.msdn.com/blogfiles/ukcrm/WindowsLiveWriter/WhatsNewInMicrosoftDynamicsCRM5_A9D7/image_thumb_17.png" width="504" border="0" /&gt;&lt;/a&gt; 
&lt;li&gt;&lt;strong&gt;Automatic Plug-In Profiling&lt;/strong&gt; - CRM5 will keep track of how a plug-in is executing, what resources it consumes, if it is causing unexpected exceptions and whether or not it is violating security constraints. If a particular plug-in fails a number of times it is automatically disabled from executing, helping to maintain system integrity.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I want to add here only that also the CRM Workflow side will be improved a lot and the WF usage will be extended. &lt;/p&gt;
&lt;p&gt;Do you remember how many times we&amp;#39;ve asked the Team to have filtered lookups? So natural request I think... In CRM 5.0 we&amp;#39;ll have this feature!! &lt;a title="" href="http://demiliani.com/blog/archive/2008/11/11/6526.aspx#"&gt;&lt;img src="http://messenger.msn.it/Resource/emoticons/regular_smile.gif" border="0" alt="" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;I have also a personal request: I hope on improvements regarding data import and data migration. CRM 4.0 helps a lot on data migration but it&amp;#39;s not always so easy to migrate large amount of data from a custom system to CRM (due to the import processes that sometimes are &amp;quot;freezing&amp;quot;).&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=68" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/Features/default.aspx">Features</category><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/Microsoft+CRM+5.0/default.aspx">Microsoft CRM 5.0</category><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/Microsoft+Dynamics+5.0/default.aspx">Microsoft Dynamics 5.0</category><category domain="http://dotnetdeveloper.co.uk/blogs/mscrm/archive/tags/MSCRM+5/default.aspx">MSCRM 5</category></item><item><title>Enabling the GAC File structure through explorer</title><link>http://dotnetdeveloper.co.uk/blogs/aspnet/archive/2008/11/18/enabling-the-gac-file-structure-through-explorer.aspx</link><pubDate>Tue, 18 Nov 2008 10:51:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:65</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Open RegEdit&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Right click in the viewer and add a new Binary Value &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Name your new Binary value DisableCacheViewer &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Double click your new entry and given it a value of 1 with Base Hexadecimal &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click OK &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Navigate to C:\WINDOWS\assembly &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;You should see the contents of the folder as sub folders, not the standard GAC Viewer&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;haven&amp;#39;t tried but&amp;nbsp;I read this solution also&lt;/p&gt;
&lt;p&gt;Run the following command at the command line or in your login script:&lt;/p&gt;
&lt;p&gt;subst l: c:\windows\assembly&lt;/p&gt;
&lt;p&gt;Now if you go to c:\windows\assembly you get the good old functionality, but if you go to l: you get the directory structure.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=65" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/GAC/default.aspx">GAC</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/Directory+Structure/default.aspx">Directory Structure</category><category domain="http://dotnetdeveloper.co.uk/blogs/aspnet/archive/tags/GAC+File+Structure/default.aspx">GAC File Structure</category></item><item><title>Symbols cannot be loaded sharepoint issues</title><link>http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2008/11/18/symbols-cannot-be-loaded-sharepoint-issues.aspx</link><pubDate>Tue, 18 Nov 2008 10:43:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:64</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Seems there is a billion posts on this but not one of them helped me enough to fix this problem in the end i think it came down to blind luck and finding out the relevance of STSDev not building a pdb file unless you build your project with the debug build solution configuration selected.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anyhow this is how i finally managed to get my debugger working within sharepoint with STSDev.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Select Debug build solution configuration&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;build solution&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Reset IIS&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;copy dll and pdb file into the gac (assembly\gac_msil\&amp;lt;assembly-name&amp;gt;\&amp;lt;version&amp;gt;\&amp;lt;assembly-name&amp;gt;)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;deploy the feature&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;** for information i have used&amp;nbsp;&lt;a class="" title="this" href="http://dotnetdeveloper.co.uk/controlpanel/blogs/posteditor.aspx?SelectedNavItem=Posts&amp;amp;sectionid=11&amp;amp;postid=65" target="_blank"&gt;this&lt;/a&gt; gac registry tweak to enable me to see the full gac structure&lt;/p&gt;
&lt;p&gt;This finally worked for me and i am now able to debug.&lt;br /&gt;&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=64" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Debugger/default.aspx">Debugger</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Symbols+not+loaded/default.aspx">Symbols not loaded</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/STSDev/default.aspx">STSDev</category></item><item><title>The "Microsoft.Build.Tasks.Delete" task could not be loaded from the assembly</title><link>http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2008/11/04/the-quot-microsoft-build-tasks-delete-quot-task-could-not-be-loaded-from-the-assembly.aspx</link><pubDate>Tue, 04 Nov 2008 11:31:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:61</guid><dc:creator>Steve</dc:creator><slash:comments>0</slash:comments><description>&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;The &amp;quot;Microsoft.Build.Tasks.Delete&amp;quot; task could not be loaded from the assembly C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll. Could not load file or assembly &amp;#39;file:///C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll&amp;#39; or one of its dependencies. The system cannot find the file specified. Confirm that the &amp;lt;UsingTask&amp;gt; declaration is correct, and that the assembly and all its dependencies are available.&lt;/span&gt;&amp;nbsp; 
&lt;p&gt;just a quick post in response to this error message.&lt;/p&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Edit the following files.&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;...\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3.5\Workflow.Targets&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;...\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3\Workflow.Targets&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&amp;nbsp;and remove the following line if it is in there&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&amp;lt;UsingTask TaskName=&amp;quot;Microsoft.Build.Tasks.Delete&amp;quot; AssemblyFile=&amp;quot;$(MSBuildBinPath)\Microsoft.Build.Tasks.dll&amp;quot; /&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=61" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/trouble+shooting/default.aspx">trouble shooting</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Build.Tasks.Delete/default.aspx">Build.Tasks.Delete</category></item><item><title>Code blocks are not allowed in this file</title><link>http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2008/10/10/code-blocks-are-not-allowed-in-this-file.aspx</link><pubDate>Fri, 10 Oct 2008 09:06:00 GMT</pubDate><guid isPermaLink="false">86eca113-8d7a-4e3e-acb1-20f766f1d10b:60</guid><dc:creator>Steve</dc:creator><slash:comments>6</slash:comments><description>&lt;p&gt;&lt;strong&gt;Parser Error Message: &lt;/strong&gt;Code blocks are not allowed in this file.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Recieved this error when trying to add some code blocks into my sharepoint site, obviously Asp.NET pages can use code blocks so it had to be SharePoint blocking somehow.&lt;/p&gt;
&lt;p&gt;Turns out SharePoint disables the ability to create server-side script by default, you have to turn it on. You do that in the web.config file, in the configuration/SharePoint/PageParserPaths configuration section add the following code making sure to amend the virtual paths as you see fit.&lt;/p&gt;
&lt;p&gt;As you can see below&amp;nbsp;I allow access to my masterpage directory to allow page layouts to use code blocks and the pages directory.&lt;/p&gt;
&lt;p&gt;&amp;lt;PageParserPath VirtualPath=&amp;quot;/_catalogs/masterpage/*&amp;quot; CompilationMode=&amp;quot;Always&amp;quot; AllowServerSideScript=&amp;quot;true&amp;quot; IncludeSubFolders=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;PageParserPath VirtualPath=&amp;quot;/pages/*&amp;quot; CompilationMode=&amp;quot;Always&amp;quot; AllowServerSideScript=&amp;quot;true&amp;quot; IncludeSubFolders=&amp;quot;true&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;That should now enable the code blocks within your aspx page.&lt;/p&gt;&lt;img src="http://dotnetdeveloper.co.uk/aggbug.aspx?PostID=60" width="1" height="1"&gt;</description><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/WSS+3.0/default.aspx">WSS 3.0</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/tags/trouble+shooting/default.aspx">trouble shooting</category></item></channel></rss>