<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1328220115032695380</id><updated>2011-08-18T07:57:06.568+01:00</updated><category term='Web References'/><category term='Team System'/><category term='SSIS'/><category term='IIS'/><category term='ASP.NET'/><category term='SQL Server'/><title type='text'>Tony Sedgwick's Notebook</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1328220115032695380.post-2673564270075054647</id><published>2010-04-28T16:34:00.002+01:00</published><updated>2010-04-28T16:35:51.690+01:00</updated><title type='text'>Programming Entity Framework: Rough Cuts Version, Second Edition - O'Reilly Media</title><content type='html'>&lt;a href="http://oreilly.com/catalog/9781449382469"&gt;Programming Entity Framework: Rough Cuts Version, Second Edition - O'Reilly Media&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;try the O'Reilly rough cuts to see books in development&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1328220115032695380-2673564270075054647?l=tonysedgwick.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/2673564270075054647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1328220115032695380&amp;postID=2673564270075054647' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/2673564270075054647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/2673564270075054647'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/2010/04/programming-entity-framework-rough-cuts.html' title='Programming Entity Framework: Rough Cuts Version, Second Edition - O&amp;#39;Reilly Media'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1328220115032695380.post-4219120223292117896</id><published>2010-03-10T09:24:00.000Z</published><updated>2010-03-10T09:30:11.960Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Referencing ASP.NET Wizard Buttons</title><content type='html'>&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5eafd7f1-e3c3-4770-befd-4ccc56153ed8" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/aspnet" rel="tag"&gt;aspnet&lt;/a&gt;,&lt;a href="http://technorati.com/tags/wizard" rel="tag"&gt;wizard&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;When you use the StepType of Finish a Finish Button is automatically generated and its ID is “FinishButton”, e.g. the WizardStep looks like this:&lt;/p&gt;  &lt;pre class="code"&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon"&gt;asp&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: maroon"&gt;WizardStep &lt;/span&gt;&lt;span style="color: red"&gt;ID&lt;/span&gt;&lt;span style="color: blue"&gt;=&amp;quot;ConfirmWizardStep&amp;quot; &lt;/span&gt;&lt;span style="color: red"&gt;runat&lt;/span&gt;&lt;span style="color: blue"&gt;=&amp;quot;server&amp;quot; &lt;/span&gt;&lt;span style="color: red"&gt;Title&lt;/span&gt;&lt;span style="color: blue"&gt;=&amp;quot;Confirm&amp;quot; &lt;/span&gt;&lt;span style="color: red"&gt;StepType&lt;/span&gt;&lt;span style="color: blue"&gt;=&amp;quot;Finish&amp;quot;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Due to a business rule you may wish to disable the Finish button and to do this you would think that a FindControl on the WizardStep would work but it doesn’t as the Button is nested below many other tables/templates etc.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The method I used involved a custom recursive FindControl function as follows:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;  &lt;pre class="code"&gt;&lt;span style="color: blue"&gt;Dim &lt;/span&gt;finishButton &lt;span style="color: blue"&gt;As &lt;/span&gt;&lt;span style="color: #2b91af"&gt;Button &lt;/span&gt;= &lt;span style="color: blue"&gt;CType&lt;/span&gt;(FindControlRecursive(WizardControl, &lt;span style="color: #a31515"&gt;&amp;quot;FinishButton&amp;quot;&lt;/span&gt;), &lt;span style="color: #2b91af"&gt;Button&lt;/span&gt;)&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;  &lt;pre class="code"&gt;&lt;span style="color: blue"&gt;Public Shared Function &lt;/span&gt;FindControlRecursive(&lt;span style="color: blue"&gt;ByVal &lt;/span&gt;root &lt;span style="color: blue"&gt;As &lt;/span&gt;&lt;span style="color: #2b91af"&gt;Control&lt;/span&gt;, &lt;span style="color: blue"&gt;ByVal &lt;/span&gt;id &lt;span style="color: blue"&gt;As String&lt;/span&gt;) &lt;span style="color: blue"&gt;As &lt;/span&gt;&lt;span style="color: #2b91af"&gt;Control&lt;br /&gt;&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: blue"&gt;If &lt;/span&gt;root.ID = id &lt;span style="color: blue"&gt;Then&lt;br /&gt;                Return &lt;/span&gt;root&lt;br /&gt;            &lt;span style="color: blue"&gt;End If&lt;br /&gt;            Dim &lt;/span&gt;c &lt;span style="color: blue"&gt;As &lt;/span&gt;&lt;span style="color: #2b91af"&gt;Control&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: blue"&gt;For Each &lt;/span&gt;c &lt;span style="color: blue"&gt;In &lt;/span&gt;root.Controls&lt;br /&gt;                &lt;span style="color: blue"&gt;Dim &lt;/span&gt;t &lt;span style="color: blue"&gt;As &lt;/span&gt;&lt;span style="color: #2b91af"&gt;Control &lt;/span&gt;= FindControlRecursive(c, id)&lt;br /&gt;                &lt;span style="color: blue"&gt;If Not &lt;/span&gt;t &lt;span style="color: blue"&gt;Is Nothing Then&lt;br /&gt;                    Return &lt;/span&gt;t&lt;br /&gt;                &lt;span style="color: blue"&gt;End If&lt;br /&gt;            Next&lt;br /&gt;            Return Nothing&lt;br /&gt;&lt;br /&gt;Function&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1328220115032695380-4219120223292117896?l=tonysedgwick.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/4219120223292117896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1328220115032695380&amp;postID=4219120223292117896' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/4219120223292117896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/4219120223292117896'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/2010/03/referencing-aspnet-wizard-buttons.html' title='Referencing ASP.NET Wizard Buttons'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1328220115032695380.post-1937703719077325360</id><published>2009-10-06T13:57:00.001+01:00</published><updated>2009-10-06T13:58:32.100+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><title type='text'>SSIS Lookup Transformation with Date values</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;When comparing Oracle dates to SQL Server I have found that it only works when the Oracle and SQL dates are strings.&lt;/p&gt;  &lt;p&gt;Therefore in your Oracle query add a new column like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;TO_CHAR(SYSDATE,'DD/MM/YYYY') as DATE_STRING&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;then in your SQL Server query add a new column:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;CONVERT(VARCHAR(10), GETDATE(), 103) AS DATE_STRING&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;You can then map the columns in the Lookup Transform dialog.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1328220115032695380-1937703719077325360?l=tonysedgwick.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/1937703719077325360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1328220115032695380&amp;postID=1937703719077325360' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/1937703719077325360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/1937703719077325360'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/2009/10/ssis-lookup-transformation-with-date.html' title='SSIS Lookup Transformation with Date values'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1328220115032695380.post-2763725104321882213</id><published>2009-09-30T09:57:00.001+01:00</published><updated>2009-09-30T09:57:50.965+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><title type='text'>Using SSIS to connect to Oracle</title><content type='html'>&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a403603e-3e67-458f-816d-1d1c27dbaa57" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SSIS" rel="tag"&gt;SSIS&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;Using the OLE DB Data Source for Oracle you will most likely come across this warning/error message when setting up your OLE DB Data Source:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;The component reported the following warnings: &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;Warning at {EDFCB4B5-2102-4C54-8B8C-DC2362FDAB6B} [OLE DB Source [1]]: Cannot retrieve the column code page info from the OLE DB provider.&amp;#160; If the component supports the &amp;quot;DefaultCodePage&amp;quot; property, the code page from that property will be used.&amp;#160; Change the value of the property if the current string code page values are incorrect.&amp;#160; If the component does not support the property, the code page from the component's locale ID will be used.&lt;/font&gt; &lt;/p&gt;  &lt;p&gt;The fix is to exit the OLE DB Data Source and then examine its properties. Here you will find a AlwaysUseDefaultCodePage property. Set this to True and all will be good.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1328220115032695380-2763725104321882213?l=tonysedgwick.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/2763725104321882213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1328220115032695380&amp;postID=2763725104321882213' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/2763725104321882213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/2763725104321882213'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/2009/09/using-ssis-to-connect-to-oracle.html' title='Using SSIS to connect to Oracle'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1328220115032695380.post-7507377188711654496</id><published>2009-07-24T23:40:00.001+01:00</published><updated>2009-07-24T23:41:09.174+01:00</updated><title type='text'>asp:Menu does not render correctly in Chrome fix</title><content type='html'>&lt;p&gt;Just add this to your master page:&lt;/p&gt;  &lt;pre class="code"&gt;&lt;span style="color: blue"&gt;Protected Overloads Overrides Sub &lt;/span&gt;AddedControl(&lt;span style="color: blue"&gt;ByVal &lt;/span&gt;control &lt;span style="color: blue"&gt;As &lt;/span&gt;Control, &lt;span style="color: blue"&gt;ByVal &lt;/span&gt;index &lt;span style="color: blue"&gt;As Integer&lt;/span&gt;)&lt;br /&gt;        &lt;span style="color: blue"&gt;If &lt;/span&gt;Request.ServerVariables(&lt;span style="color: #a31515"&gt;&amp;quot;http_user_agent&amp;quot;&lt;/span&gt;).IndexOf(&lt;span style="color: #a31515"&gt;&amp;quot;Safari&amp;quot;&lt;/span&gt;, StringComparison.CurrentCultureIgnoreCase) &amp;lt;&amp;gt; -1 &lt;span style="color: blue"&gt;Then&lt;br /&gt;            Me&lt;/span&gt;.Page.ClientTarget = &lt;span style="color: #a31515"&gt;&amp;quot;uplevel&amp;quot;&lt;br /&gt;        &lt;/span&gt;&lt;span style="color: blue"&gt;End If&lt;br /&gt;        MyBase&lt;/span&gt;.AddedControl(control, index)&lt;br /&gt;    &lt;span style="color: blue"&gt;End Sub&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0a5d8700-fad2-472b-a254-1a48e8ecbca1" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Chrome" rel="tag"&gt;Chrome&lt;/a&gt;,&lt;a href="http://technorati.com/tags/asp%3aMenu" rel="tag"&gt;asp:Menu&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1328220115032695380-7507377188711654496?l=tonysedgwick.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/7507377188711654496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1328220115032695380&amp;postID=7507377188711654496' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/7507377188711654496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/7507377188711654496'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/2009/07/aspmenu-does-not-render-correctly-in.html' title='asp:Menu does not render correctly in Chrome fix'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1328220115032695380.post-2430209305073632786</id><published>2009-06-16T21:51:00.001+01:00</published><updated>2009-06-16T21:51:12.774+01:00</updated><title type='text'>AJAX Control Toolkit and DOCTYPE used</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I was adding Ajax functionality to an ‘old’ asp.net page and was stuck as to why the tab container control was rendering in an strange way, e.g.:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_MjfGU419s7o/SjgFuX6ik6I/AAAAAAAAAD0/qi5Pw8PAdd8/s1600-h/image%5B4%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_MjfGU419s7o/SjgFu6Nv9PI/AAAAAAAAAD4/84MaHJL0r-g/image_thumb%5B5%5D.png?imgmax=800" width="358" height="111" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;It turned out that the DOCTYPE was wrong. To fix the problem I changed from:&lt;/p&gt;  &lt;pre class="code"&gt;&lt;span style="color: blue"&gt;&amp;lt;!&lt;/span&gt;&lt;span style="color: #a31515"&gt;DOCTYPE &lt;/span&gt;&lt;span style="color: red"&gt;HTML PUBLIC &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;quot;-//W3C//DTD HTML 4.0 Transitional//EN&amp;quot;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;to&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;&amp;lt;!&lt;/span&gt;&lt;span style="color: #a31515"&gt;DOCTYPE &lt;/span&gt;&lt;span style="color: red"&gt;html PUBLIC &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;the control then rendered as expected:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_MjfGU419s7o/SjgFvCt_nHI/AAAAAAAAAD8/fzQuZTlW4hg/s1600-h/image%5B8%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_MjfGU419s7o/SjgFwHV1z1I/AAAAAAAAAEA/a9oVXxPccsA/image_thumb%5B10%5D.png?imgmax=800" width="244" height="102" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The xhtml doctype is added by default by visual studio so only a problem when enhancing &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:57acebbb-8ad6-4565-a800-0c844d07b45b" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/ajax" rel="tag"&gt;ajax&lt;/a&gt;,&lt;a href="http://technorati.com/tags/doctype" rel="tag"&gt;doctype&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;older code.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1328220115032695380-2430209305073632786?l=tonysedgwick.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/2430209305073632786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1328220115032695380&amp;postID=2430209305073632786' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/2430209305073632786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/2430209305073632786'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/2009/06/ajax-control-toolkit-and-doctype-used.html' title='AJAX Control Toolkit and DOCTYPE used'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_MjfGU419s7o/SjgFu6Nv9PI/AAAAAAAAAD4/84MaHJL0r-g/s72-c/image_thumb%5B5%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1328220115032695380.post-5629825915016486833</id><published>2009-03-18T10:14:00.001Z</published><updated>2009-03-18T10:43:42.053Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web References'/><title type='text'>Windows App Web References</title><content type='html'>&lt;p&gt;A simple one which can cause problems when deploying windows apps referencing web services.&lt;/p&gt;  &lt;p&gt;Make sure that you web service reference is setup using Dynamic URL Behaviour.&lt;/p&gt;  &lt;p&gt;You can see the effect of this in the Reference.vb Sub New, where it reads the path to the web reference from the app.config (as we would like to happen):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_MjfGU419s7o/ScDQUi1mw1I/AAAAAAAAADI/86kdsuDWuxA/s1600-h/image.png"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="155" alt="image" src="http://lh5.ggpht.com/_MjfGU419s7o/ScDJiRPDn8I/AAAAAAAAADM/JMLsrJzMaTo/image_thumb.png?imgmax=800" width="577" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This is defined as a property of the web reference:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_MjfGU419s7o/ScDJi2kHirI/AAAAAAAAADQ/x9fh-IhEm1w/s1600-h/image%5B2%5D.png"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="290" alt="image" src="http://lh3.ggpht.com/_MjfGU419s7o/ScDJjlGwBEI/AAAAAAAAADc/EweqaZYHZbk/image_thumb%5B2%5D.png?imgmax=800" width="229" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt; If you change the web service property URL Behaviour to Static the Reference.vb Sub New is automatically updated for you by Visual Studio and is then hard coded to your local development machine (not good):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_MjfGU419s7o/ScDJkDxxmaI/AAAAAAAAADg/TB3Qg_tO3Mk/s1600-h/image%5B1%5D.png"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="187" alt="image" src="http://lh3.ggpht.com/_MjfGU419s7o/ScDJkyo7-4I/AAAAAAAAADs/XV3Dyi8MzMw/image_thumb%5B1%5D.png?imgmax=800" width="486" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:f44a1e38-3f6d-40ee-a3a6-77e1fb5048dc" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/dynamic+web+reference" rel="tag"&gt;dynamic web reference&lt;/a&gt;,&lt;a href="http://technorati.com/tags/deployment" rel="tag"&gt;deployment&lt;/a&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1328220115032695380-5629825915016486833?l=tonysedgwick.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/5629825915016486833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1328220115032695380&amp;postID=5629825915016486833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/5629825915016486833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/5629825915016486833'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/2009/03/windows-app-web-references.html' title='Windows App Web References'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_MjfGU419s7o/ScDJiRPDn8I/AAAAAAAAADM/JMLsrJzMaTo/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1328220115032695380.post-627193737852259683</id><published>2008-08-06T19:30:00.001+01:00</published><updated>2009-03-18T10:30:18.012Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>get SQL Server Database Restore Dates</title><content type='html'>&lt;div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a6028711-ed38-44f2-aac6-d0b47e452012" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/sql+server" rel="tag"&gt;sql server&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;&lt;font face="Courier New" size="3"&gt;use msdb      &lt;br /&gt;select       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; DBRestored = destination_database_name,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; RestoreDate = restore_date,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; SourceDB = b.database_name,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; SourceFile = physical_name,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; BackupDate = backup_start_date       &lt;br /&gt;from RestoreHistory h join BackupSet b       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; on h.backup_set_id = b.backup_set_id       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; join BackupFile f       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; on f.backup_set_id = b.backup_set_id       &lt;br /&gt;order by RestoreDate&lt;/font&gt;&lt;/p&gt;  &lt;div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9a7cb178-2a29-485e-8b2f-9decc17cd07d" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/sql+server" rel="tag"&gt;sql server&lt;/a&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1328220115032695380-627193737852259683?l=tonysedgwick.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/627193737852259683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1328220115032695380&amp;postID=627193737852259683' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/627193737852259683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/627193737852259683'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/2008/08/get-sql-server-database-restore-dates.html' title='get SQL Server Database Restore Dates'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1328220115032695380.post-7195709668568327102</id><published>2008-05-19T17:30:00.001+01:00</published><updated>2009-03-18T10:29:29.460Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Team System'/><title type='text'>installing Team Foundation Server 2008</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;It took approx 2 days to get this installed! This is one install where you must read the docs before installing.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Had numerous errors during the install relating to security errors for the TFS user accounts and also, after aborted installs, had to manually delete files to get the install through.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;TIP: When you get errors read the msi log files carefully and you should be able to work out why it went wrong.&lt;/p&gt;  &lt;div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:8ba5b1f3-43d9-4173-b664-ae4898f5c9ce" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Team+Foundation+Server" rel="tag"&gt;Team Foundation Server&lt;/a&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1328220115032695380-7195709668568327102?l=tonysedgwick.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/7195709668568327102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1328220115032695380&amp;postID=7195709668568327102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/7195709668568327102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/7195709668568327102'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/2008/05/installing-team-foundation-server-2008.html' title='installing Team Foundation Server 2008'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1328220115032695380.post-7225690715711778003</id><published>2008-04-22T11:07:00.000+01:00</published><updated>2008-04-22T11:08:13.487+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><title type='text'>error starting IIS 0x8ffe2740</title><content type='html'>&lt;p&gt;Had been using the server built into visual studio 2008 but today needed to use IIS but when I went to start I got a weird error message:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/tonysedgwickpicasa/SA2yYi_yLvI/AAAAAAAAABc/5f8vrlJJBDU/image%5B2%5D.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="116" alt="image" src="http://lh3.ggpht.com/tonysedgwickpicasa/SA2yYy_yLwI/AAAAAAAAABo/J7qA6THOnGc/image_thumb.png" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Did some googling on this and found that the problem was related to another program using port 80. &lt;/p&gt;  &lt;p&gt;Using the tool &lt;a href="http://www.nirsoft.net/utils/cports.html" target="_blank"&gt;CurrPorts&lt;/a&gt; I was able to see that skype had used port 80 already, e.g.:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/tonysedgwickpicasa/SA2yZS_yLxI/AAAAAAAAABw/KpWyDv4DwtQ/clip_image002%5B4%5D.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="78" alt="clip_image002" src="http://lh3.ggpht.com/tonysedgwickpicasa/SA2yZy_yLyI/AAAAAAAAAB4/iZfAQWsDhoU/clip_image002_thumb%5B1%5D.jpg" width="289" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;To fix open Skype then Tools &amp;gt; Options &amp;gt; Advanced &amp;gt; Connection. Then untick Use Port 80 for incoming connections then re-start Skype.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You can then start IIS as port 80 is free again!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1328220115032695380-7225690715711778003?l=tonysedgwick.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonysedgwick.blogspot.com/feeds/7225690715711778003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1328220115032695380&amp;postID=7225690715711778003' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/7225690715711778003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1328220115032695380/posts/default/7225690715711778003'/><link rel='alternate' type='text/html' href='http://tonysedgwick.blogspot.com/2008/04/error-starting-iis.html' title='error starting IIS 0x8ffe2740'/><author><name>Tony</name><uri>http://www.blogger.com/profile/06713731812229907165</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/tonysedgwickpicasa/SA2yYy_yLwI/AAAAAAAAABo/J7qA6THOnGc/s72-c/image_thumb.png' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
