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

<channel>
	<title>Rounded Corners</title>
	<atom:link href="http://roundedcorners.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://roundedcorners.wordpress.com</link>
	<description>Because soft-d&#039;s want more than right-angles</description>
	<lastBuildDate>Tue, 19 Jul 2011 16:36:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='roundedcorners.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Rounded Corners</title>
		<link>http://roundedcorners.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://roundedcorners.wordpress.com/osd.xml" title="Rounded Corners" />
	<atom:link rel='hub' href='http://roundedcorners.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Html validation fails for JavaScript &#8216;&lt;&#8217;</title>
		<link>http://roundedcorners.wordpress.com/2011/06/04/html-validation-fails-for-javascript/</link>
		<comments>http://roundedcorners.wordpress.com/2011/06/04/html-validation-fails-for-javascript/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 07:22:32 +0000</pubDate>
		<dc:creator>Naeem</dc:creator>
				<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[W3C]]></category>

		<guid isPermaLink="false">http://roundedcorners.wordpress.com/?p=219</guid>
		<description><![CDATA[The following piece of JavaScript failed the online validator: if (x &#60; y) { alert('fail'); } Now changed to: if (!(x &#62;= y)) { alert('pass'); } http://www.w3.org/TR/xhtml1/#C_4<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=219&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following piece of JavaScript failed the online validator:</p>
<pre>if (x &lt; y) { alert('fail'); }</pre>
<p>Now changed to:</p>
<pre>if (!(x &gt;= y)) { alert('pass'); }</pre>
<p><a href="http://www.w3.org/TR/xhtml1/#C_4">http://www.w3.org/TR/xhtml1/#C_4</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundedcorners.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundedcorners.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundedcorners.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundedcorners.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundedcorners.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundedcorners.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundedcorners.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundedcorners.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundedcorners.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundedcorners.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundedcorners.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundedcorners.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundedcorners.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundedcorners.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=219&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundedcorners.wordpress.com/2011/06/04/html-validation-fails-for-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf0d5203378b77147e0b377309e4c6e2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">naeem</media:title>
		</media:content>
	</item>
		<item>
		<title>MSExam 70-448 Part 5: KPI Trend Expression correction</title>
		<link>http://roundedcorners.wordpress.com/2011/05/22/msexam-70-448-part-5-kpi-trend-expression-correction/</link>
		<comments>http://roundedcorners.wordpress.com/2011/05/22/msexam-70-448-part-5-kpi-trend-expression-correction/#comments</comments>
		<pubDate>Sun, 22 May 2011 20:43:30 +0000</pubDate>
		<dc:creator>Naeem</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[70-448]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://roundedcorners.wordpress.com/?p=221</guid>
		<description><![CDATA[Seems like the following trend expression isn&#8217;t quite correct in Chapter 6 &#62; Lesson 2 &#62; Exercise 2. ([Measures].[Reseller Sales Amount] -  ([Order Date].[Calendar].PrevMember, [Measures].[Reseller Sales Amount]))/ [Measures].[Reseller Sales Amount] [Order Date] should be [Date] as previously there were instructions to rename [Order Date] as [Date]. This one is correct: ([Measures].[Reseller Sales Amount] -  ([Date].[Calendar].PrevMember, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=221&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Seems like the following trend expression isn&#8217;t quite correct in Chapter 6 &gt; Lesson 2 &gt; Exercise 2.</p>
<pre>([Measures].[Reseller Sales Amount] - 
([Order Date].[Calendar].PrevMember, [Measures].[Reseller Sales Amount]))/
[Measures].[Reseller Sales Amount]</pre>
<p>[Order Date] should be [Date] as previously there were instructions to rename [Order Date] as [Date]. This one is correct:</p>
<pre>([Measures].[Reseller Sales Amount] - 
([Date].[Calendar].PrevMember, [Measures].[Reseller Sales Amount]))/
[Measures].[Reseller Sales Amount]</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundedcorners.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundedcorners.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundedcorners.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundedcorners.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundedcorners.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundedcorners.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundedcorners.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundedcorners.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundedcorners.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundedcorners.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundedcorners.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundedcorners.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundedcorners.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundedcorners.wordpress.com/221/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=221&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundedcorners.wordpress.com/2011/05/22/msexam-70-448-part-5-kpi-trend-expression-correction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf0d5203378b77147e0b377309e4c6e2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">naeem</media:title>
		</media:content>
	</item>
		<item>
		<title>MSExam 70-448 Part 4: Additional resources</title>
		<link>http://roundedcorners.wordpress.com/2011/05/17/msexam-70-448-part-4-additional-resources/</link>
		<comments>http://roundedcorners.wordpress.com/2011/05/17/msexam-70-448-part-4-additional-resources/#comments</comments>
		<pubDate>Tue, 17 May 2011 02:50:15 +0000</pubDate>
		<dc:creator>Naeem</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[70-448]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://roundedcorners.wordpress.com/?p=216</guid>
		<description><![CDATA[SSIS Best Practices<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=216&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="SSIS Best Practises by Arshad Ali" href="http://www.mssqltips.com/tip.asp?tip=1840">SSIS Best Practices</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundedcorners.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundedcorners.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundedcorners.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundedcorners.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundedcorners.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundedcorners.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundedcorners.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundedcorners.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundedcorners.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundedcorners.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundedcorners.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundedcorners.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundedcorners.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundedcorners.wordpress.com/216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=216&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundedcorners.wordpress.com/2011/05/17/msexam-70-448-part-4-additional-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf0d5203378b77147e0b377309e4c6e2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">naeem</media:title>
		</media:content>
	</item>
		<item>
		<title>MSExam 70-448 Part 3: Chapter 4 dtExecUI</title>
		<link>http://roundedcorners.wordpress.com/2011/05/17/msexam-70-448-part-3-chapter-4-dtexecui/</link>
		<comments>http://roundedcorners.wordpress.com/2011/05/17/msexam-70-448-part-3-chapter-4-dtexecui/#comments</comments>
		<pubDate>Tue, 17 May 2011 02:44:58 +0000</pubDate>
		<dc:creator>Naeem</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[70-448]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://roundedcorners.wordpress.com/?p=213</guid>
		<description><![CDATA[Seeing this error? &#8221;Could not find stored procedure &#8216;msdb.dbo.sp_dts_listpackages&#8217;&#8221; Solution: Run the correct version of the dtExecUI tool, in SQL2008 this stored procedure was renamed from the above to sp_ssis_listpackages. The correct path to the 2008 version of dtExecUI is C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=213&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Seeing this error? &#8221;Could not find stored procedure &#8216;msdb.dbo.sp_dts_listpackages&#8217;&#8221;</p>
<p><a href="http://roundedcorners.files.wordpress.com/2011/05/dtexecui-2005-error.png"><img class="size-medium wp-image-214 alignnone" title="dtExecUI 2005 Error" src="http://roundedcorners.files.wordpress.com/2011/05/dtexecui-2005-error.png?w=300&#038;h=86" alt="Screen shot of dtExecUI 2005 error" width="300" height="86" /></a></p>
<p>Solution: Run the correct version of the dtExecUI tool, in SQL2008 this stored procedure was renamed from the above to sp_ssis_listpackages.</p>
<p>The correct path to the 2008 version of dtExecUI is C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundedcorners.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundedcorners.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundedcorners.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundedcorners.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundedcorners.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundedcorners.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundedcorners.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundedcorners.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundedcorners.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundedcorners.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundedcorners.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundedcorners.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundedcorners.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundedcorners.wordpress.com/213/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=213&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundedcorners.wordpress.com/2011/05/17/msexam-70-448-part-3-chapter-4-dtexecui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf0d5203378b77147e0b377309e4c6e2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">naeem</media:title>
		</media:content>

		<media:content url="http://roundedcorners.files.wordpress.com/2011/05/dtexecui-2005-error.png?w=300" medium="image">
			<media:title type="html">dtExecUI 2005 Error</media:title>
		</media:content>
	</item>
		<item>
		<title>MSExam 70-448 Part 2: Chapter 1 query wrong</title>
		<link>http://roundedcorners.wordpress.com/2011/04/05/msexam-70-448-part-2-chapter-1-query-wrong/</link>
		<comments>http://roundedcorners.wordpress.com/2011/04/05/msexam-70-448-part-2-chapter-1-query-wrong/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 19:32:44 +0000</pubDate>
		<dc:creator>Naeem</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[70-448]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://roundedcorners.wordpress.com/?p=209</guid>
		<description><![CDATA[Page 52 of the self paced training kit asks you to use the following query: select convert(nvarchar(15),SC.AccountNumber) as CustomerAlternateKey,  C.Title, C.FirstName, C.MiddleName, C.LastName, C.Suffix, C.EmailAddress, C.AddressLine1, C.AddressLine2, D.BirthDate, D.MaritalStatus, D.YearlyIncome, D.DateFirstPurchase, D.Gender, D.TotalChildren, D.NumberChildrenAtHome, D.Education, D.Occupation, D.HomeOwnerFlag, D.NumberCarsOwned  from Sales.vIndividualCustomer C inner join Sales.Customer SC on C.BusinessEntityID = SC.PersonID inner join Sales.vIndividualDemographics D on C.BusinessEntityID = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=209&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Page 52 of the <a href="http://www.microsoft.com/learning/en/us/Book.aspx?ID=13112&amp;locale=en-us">self paced training kit</a> asks you to use the following query:</p>
<pre>select convert(nvarchar(15),SC.AccountNumber) as CustomerAlternateKey, 
C.Title, C.FirstName, C.MiddleName, C.LastName, C.Suffix,
C.EmailAddress, C.AddressLine1, C.AddressLine2, D.BirthDate,
D.MaritalStatus, D.YearlyIncome, D.DateFirstPurchase, D.Gender,
D.TotalChildren, D.NumberChildrenAtHome, D.Education,
D.Occupation, D.HomeOwnerFlag, D.NumberCarsOwned 
from Sales.vIndividualCustomer C inner join Sales.Customer SC
on C.BusinessEntityID = SC.PersonID
inner join Sales.vIndividualDemographics D
on C.BusinessEntityID = D.BusinessEntityID</pre>
<p><em>It didn&#8217;t work for me , however this did (BusinessEntityID column replaced with CustomerID in the joins):</em></p>
<pre>select convert(nvarchar(15),SC.AccountNumber) as CustomerAlternateKey,
C.Title, C.FirstName, C.MiddleName, C.LastName, C.Suffix,
C.EmailAddress, C.AddressLine1, C.AddressLine2, D.BirthDate,
D.MaritalStatus, D.YearlyIncome, D.DateFirstPurchase, D.Gender,
D.TotalChildren, D.NumberChildrenAtHome, D.Education,
D.Occupation, D.HomeOwnerFlag, D.NumberCarsOwned 
from Sales.vIndividualCustomer C inner join Sales.Customer SC
on C.CustomerID = SC.CustomerID
inner join Sales.vIndividualDemographics D
on C.CustomerID = D.CustomerID</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundedcorners.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundedcorners.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundedcorners.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundedcorners.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundedcorners.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundedcorners.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundedcorners.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundedcorners.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundedcorners.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundedcorners.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundedcorners.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundedcorners.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundedcorners.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundedcorners.wordpress.com/209/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=209&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundedcorners.wordpress.com/2011/04/05/msexam-70-448-part-2-chapter-1-query-wrong/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf0d5203378b77147e0b377309e4c6e2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">naeem</media:title>
		</media:content>
	</item>
		<item>
		<title>MSExam 70-448 Part 1: Getting started</title>
		<link>http://roundedcorners.wordpress.com/2011/04/02/msexam-70-448-part-1-getting-started/</link>
		<comments>http://roundedcorners.wordpress.com/2011/04/02/msexam-70-448-part-1-getting-started/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 12:52:02 +0000</pubDate>
		<dc:creator>Naeem</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[70-448]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://roundedcorners.wordpress.com/?p=199</guid>
		<description><![CDATA[There are many resources floating around with details of what you need, I wanted to collate, summarise and present them in a short format here. Here&#8217;s your checklist: Install Visual Studio 2008 (Professional or above) Install SQL Server 2008 Developer edition R2 (Detailed hardware requirements) Here are the sample databases you&#8217;ll need on CodePlex.com AdventureWorks [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=199&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are many resources floating around with details of what you need, I wanted to collate, summarise and present them in a short format here. Here&#8217;s your checklist:</p>
<ul>
<li>Install Visual Studio 2008 (Professional or above)</li>
<li>Install SQL Server 2008 Developer edition R2 (<a href="http://technet.microsoft.com/en-us/library/ms143506.aspx">Detailed hardware requirements</a>)</li>
<li>Here are the <a href="http://msftdbprodsamples.codeplex.com/">sample databases</a> you&#8217;ll need on <a href="http://www.codeplex.com">CodePlex.com</a>
<ul>
<li><a href="http://msftdbprodsamples.codeplex.com/releases/view/55926">AdventureWorks 2008 Relational Databases</a></li>
<li>AdventureWorks 2008 SSAS database (couldn&#8217;t find it)</li>
<li><a href="http://msftrsprodsamples.codeplex.com/wikipage?title=SS2008!AdventureWorks%20Sample%20Reports&amp;referringTitle=Home&amp;ProjectName=msftrsprodsamples">AdventureWorks SSRS Reports</a></li>
</ul>
</li>
</ul>
<p>I used the <a href="http://www.microsoft.com/learning/en/us/Book.aspx?ID=13112&amp;locale=en-us">MCTS Self-Paced Training Kit (Exam 70-448): Microsoft® SQL Server® 2008 &#8211; Business Intelligence Development and Maintenance</a>. Buy it, it helps. Good, you&#8217;ve got it now:</p>
<ul>
<li>Install the practice files</li>
<li>Install the practice tests</li>
<li>Use the eBook &amp; glossary supplied on the disk</li>
</ul>
<p>Now you&#8217;re ready to go.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundedcorners.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundedcorners.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundedcorners.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundedcorners.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundedcorners.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundedcorners.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundedcorners.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundedcorners.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundedcorners.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundedcorners.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundedcorners.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundedcorners.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundedcorners.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundedcorners.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=199&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundedcorners.wordpress.com/2011/04/02/msexam-70-448-part-1-getting-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf0d5203378b77147e0b377309e4c6e2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">naeem</media:title>
		</media:content>
	</item>
		<item>
		<title>Content page controls cleared after updating Master page controls</title>
		<link>http://roundedcorners.wordpress.com/2011/01/07/content-page-controls-cleared-after-updating-master-page-controls/</link>
		<comments>http://roundedcorners.wordpress.com/2011/01/07/content-page-controls-cleared-after-updating-master-page-controls/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 12:20:02 +0000</pubDate>
		<dc:creator>Naeem</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://roundedcorners.wordpress.com/?p=192</guid>
		<description><![CDATA[It seems like accessing a Master page&#8217;s controls before they have loaded will clear out the ContentPlaceHolders thereby not show content specified in a content page. This is my scenario. I put a public property (bodycssclass) on my content page which I set in the following way: &#60;%@ Page MasterPageFile="MyMaster.master" bodycssclass="home" ... %&#62; public class [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=192&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It seems like accessing a Master page&#8217;s controls before they have loaded will clear out the ContentPlaceHolders thereby not show content specified in a content page.</p>
<p>This is my scenario. I put a public property (bodycssclass) on my content page which I set in the following way:</p>
<pre>&lt;%@ Page MasterPageFile="MyMaster.master" bodycssclass="home" ... %&gt;
<pre>    public class PageBase : System.Web.UI.Page
    {
        public string BodyCssClass
        {
            get;
            set
            {
                MasterPageBase mpbCurrent = this.Master as MasterPageBase;
                mpbCurrent.BodyCssClass = BodyCssClass;
            }
        }
    }</pre>
</pre>
<p>This public property then sets a public property on the master page.  The public property on the master page modifies some of it controls, it seems like this causes a problem. The content page simply shows blank areas where content has been defined in asp:Content tags. I think it may something to do with accessing Master page controls before the Master page OnLoad event has fired. For reference here is the order of page events:</p>
<pre>Page.OnPreInit()
UserControl.OnInit()
MasterPage.OnInit()
Page.OnInit()
Page.OnInitComplete()
Page.OnLoad()
MasterPage.OnLoad() (I must have been setting my property before this step)
UserControl.OnLoad()
Page.OnLoadComplete()
Page.OnPreRender()
MasterPage.OnPreRender()
UserControl.OnPreRender()
Page.OnPreRenderComplete()
Page.OnSaveStateComplete()
UserControl.OnUnload()
MasterPage.OnUnload()
Page.OnUnload()</pre>
<p><strong>Solution</strong></p>
<p>The Content page inherits from a common base page which saves the value defined and processes it later like so:</p>
<pre>    public class PageBase : System.Web.UI.Page
    {
        public string BodyCssClass
        {
            get;
            set;
        }

        protected override void OnLoadComplete(EventArgs e)
        {
            MasterPageBase mpbCurrent = this.Master as MasterPageBase;
            mpbCurrent.BodyCssClass = BodyCssClass;

            base.OnLoadComplete(e);
        }
    }</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundedcorners.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundedcorners.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundedcorners.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundedcorners.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundedcorners.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundedcorners.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundedcorners.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundedcorners.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundedcorners.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundedcorners.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundedcorners.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundedcorners.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundedcorners.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundedcorners.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=192&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundedcorners.wordpress.com/2011/01/07/content-page-controls-cleared-after-updating-master-page-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf0d5203378b77147e0b377309e4c6e2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">naeem</media:title>
		</media:content>
	</item>
		<item>
		<title>Error when loading DMBL: could not retrieve the current project</title>
		<link>http://roundedcorners.wordpress.com/2011/01/06/could-not-retrieve-the-current-project/</link>
		<comments>http://roundedcorners.wordpress.com/2011/01/06/could-not-retrieve-the-current-project/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 10:55:38 +0000</pubDate>
		<dc:creator>Naeem</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://roundedcorners.wordpress.com/?p=186</guid>
		<description><![CDATA[Tried to open up my dmbl (containing my linq-to-sql objects) file and Visual Studio threw up a dialog saying that &#8220;a validation error occured please resolve and then try to re-open the file, see the error list for more details.&#8221; The error list contained the following helpful message: could not retrieve the current project Solution: Launch [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=186&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tried to open up my dmbl (containing my linq-to-sql objects) file and Visual Studio threw up a dialog saying that &#8220;a validation error occured please resolve and then try to re-open the file, see the error list for more details.&#8221;</p>
<p>The error list contained the following helpful message: <em>could not retrieve the current project</em></p>
<p>Solution: Launch Visual Studio with the following command <strong>devenv /ResetSkipPkgs</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundedcorners.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundedcorners.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundedcorners.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundedcorners.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundedcorners.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundedcorners.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundedcorners.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundedcorners.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundedcorners.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundedcorners.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundedcorners.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundedcorners.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundedcorners.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundedcorners.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=186&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundedcorners.wordpress.com/2011/01/06/could-not-retrieve-the-current-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf0d5203378b77147e0b377309e4c6e2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">naeem</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving to Windows 7</title>
		<link>http://roundedcorners.wordpress.com/2010/08/17/moving-to-windows-7/</link>
		<comments>http://roundedcorners.wordpress.com/2010/08/17/moving-to-windows-7/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 09:23:27 +0000</pubDate>
		<dc:creator>Naeem</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[IIS 7]]></category>
		<category><![CDATA[Visual Studio 2008 SP1]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://roundedcorners.wordpress.com/?p=172</guid>
		<description><![CDATA[I&#8217;ve just had my development machine rebuilt making the move from Windows XP to Windows 7. Here are some of the problems I&#8217;ve faced and solved trying to re-open a ASP.NET 3.5 web application. Missing IIS Components There are three: IIS 6 Metabase and IIS 6 Configuration Compatibility ASP.NET Windows Authentication And they&#8217;re solved by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=172&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just had my development machine rebuilt making the move from Windows XP to Windows 7. Here are some of the problems I&#8217;ve faced and solved trying to re-open a ASP.NET 3.5 web application.</p>
<h2><strong>Missing IIS Components</strong></h2>
<p><a href="http://roundedcorners.files.wordpress.com/2010/08/iis-config-error.png"><img class="alignnone size-full wp-image-173" title="IIS Config Error" src="http://roundedcorners.files.wordpress.com/2010/08/iis-config-error.png?w=468&#038;h=313" alt="A list of missing IIS components" width="468" height="313" /></a></p>
<p>There are three:</p>
<ol>
<li>IIS 6 Metabase and IIS 6 Configuration Compatibility</li>
<li>ASP.NET</li>
<li>Windows Authentication</li>
</ol>
<p>And they&#8217;re solved by selecting &#8220;Turn Windows features on or off&#8221; from Control Panel &gt; Programs and enabling the following options (highlighted in yellow):</p>
<p><a href="http://roundedcorners.files.wordpress.com/2010/08/iis-config.png"><img class="alignnone size-full wp-image-174" title="IIS Config" src="http://roundedcorners.files.wordpress.com/2010/08/iis-config.png?w=450&#038;h=756" alt="Options that need enabling" width="450" height="756" /></a></p>
<h2><strong>Web.config errors</strong></h2>
<p>Now attempting to run to the application I got <em>&#8220;The requested page cannot be accessed because the related configuration data for the page is invalid. There is a duplicate &#8216;system.web.extensions/scripting/scriptResourceHandler&#8217; section defined.&#8221;</em></p>
<p>The problem here is that the virtual directory is set to run in a .NET 4 application pool, this one is easy to fix. Select the virtual directory, in the Actions pane on the right-hand side select Basic Settings. Now click the Select button alongside Application pool and select the Classic .Net AppPool.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundedcorners.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundedcorners.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundedcorners.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundedcorners.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundedcorners.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundedcorners.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundedcorners.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundedcorners.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundedcorners.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundedcorners.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundedcorners.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundedcorners.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundedcorners.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundedcorners.wordpress.com/172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=172&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundedcorners.wordpress.com/2010/08/17/moving-to-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf0d5203378b77147e0b377309e4c6e2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">naeem</media:title>
		</media:content>

		<media:content url="http://roundedcorners.files.wordpress.com/2010/08/iis-config-error.png" medium="image">
			<media:title type="html">IIS Config Error</media:title>
		</media:content>

		<media:content url="http://roundedcorners.files.wordpress.com/2010/08/iis-config.png" medium="image">
			<media:title type="html">IIS Config</media:title>
		</media:content>
	</item>
		<item>
		<title>Compiling Dynamic Data Futures 3.5 SP1 in .NET 4</title>
		<link>http://roundedcorners.wordpress.com/2010/05/14/compiling-dynamic-data-futures-3-5-sp1-in-net-4/</link>
		<comments>http://roundedcorners.wordpress.com/2010/05/14/compiling-dynamic-data-futures-3-5-sp1-in-net-4/#comments</comments>
		<pubDate>Fri, 14 May 2010 19:44:17 +0000</pubDate>
		<dc:creator>anazzubair</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[ASP.NET 4]]></category>
		<category><![CDATA[Dynamic Data]]></category>
		<category><![CDATA[Dynamic Data Futures]]></category>

		<guid isPermaLink="false">http://roundedcorners.wordpress.com/?p=152</guid>
		<description><![CDATA[I use a custom ORM framework at work. Dynamic Data 4 requires Linq to SQL or Entity Framework to work out of the box. The way to work around this is to use DynamicObjectDataSource, available as part of Dynamic Data Futures VS2008 SP1 release on CodePlex. I downloaded and compiled the project in .NET framework [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=152&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I use a custom ORM framework at work. Dynamic Data 4 requires Linq to SQL or Entity Framework to work out of the box. The way to work around this is to use <a href="http://blogs.msdn.com/davidebb/archive/2008/06/18/using-asp-net-dynamic-data-with-objectdatasource.aspx" target="_blank">DynamicObjectDataSource</a>, available as part of <a href="http://aspnet.codeplex.com/releases/view/14475" target="_blank">Dynamic Data Futures VS2008 SP1</a> release on CodePlex. I downloaded and compiled the project in .NET framework 4. I got the following error:</p>
<p><em>The type or namespace name &#8216;NORTHWNDModel&#8217; could not be found (are you missing a using directive or an assembly reference?) </em></p>
<p>The error is easily removed by deleting NORTHWNDModel and identifying the ObjectContext as NORTHWNDEntities. The namespaces for the model were changed a result of the conversion to the new framework. The next error was in Enumeration_Filter class:</p>
<p><em>The call is ambiguous between the following methods or properties: &#8216;Microsoft.Web.DynamicData.DynamicDataFutures.GetEnumType<br />
(System.Web.DynamicData.MetaColumn)&#8217; and &#8216;System.Web.DynamicData.DynamicDataExtensions.GetEnumType<br />
(System.Web.DynamicData.MetaColumn)&#8217; </em></p>
<p>The code:</p>
<pre><code>
private Type EnumType {
    get {
        if (_enumType == null) {
            _enumType = Column.GetEnumType();
        }
        return _enumType;
    }
}
</code></pre>
<p>GetEnumType is an extension method. I resolved this call to DynamicDataFutures.GetEnumType as follows:</p>
<pre><code>
_enumType = Microsoft.Web.DynamicData.DynamicDataFutures
                                      .GetEnumType(Column);
</code></pre>
<p>The project compiled after resolving this error. I decided to test the DynamicDataClientSite by starting the Northwind Service and then browsing Default.aspx in a browser. This gave the following run-time exception:</p>
<p><em>Can&#8217;t find To column for column &#8216;ParentForInsert&#8217;<em>.</em></em></p>
<p>When I reloaded the page, the error changed to:</p>
<p><em>There are no accessible tables. Make sure that at least one data model is  registered in Global.asax and scaffolding is enabled or implement custom  pages.</em></p>
<p>The model context <em>NorthwindClientEntities</em> is registered in the Global.asax.cs file. The error changed on reload because the context is registered only once on Application_Start when the Cassini web server starts up. Further requests to the web server gives the second error. To debug, I had to restart the server after every debug session. The source of the error lay in DataServiceModelProvider which used reflection to filter out the entity classes from the object context class properties by checking whether the property type has generic arguments.</p>
<pre><code>
public DataServiceModelProvider(Type contextType, Uri serviceRoot) {
    if (contextType == null) throw
                 new ArgumentNullException("contextType");
    if (serviceRoot == null) throw
                 new ArgumentNullException("serviceRoot");

    this.ContextType = contextType;
    this._serviceRoot = serviceRoot;

    object context = CreateContext();
    ContextType = context.GetType();

    var tables = new Collection();

    foreach (PropertyInfo prop in ContextType.GetProperties()) {
        if (prop.PropertyType.GetGenericArguments().Length != 1)
            continue;

        tables.Add(new DataServiceTableProvider(this, prop));
    }

    _tables = new ReadOnlyCollection(tables);

    foreach (var table in tables) {
        ((DataServiceTableProvider)table).Initialize();
    }
}
</code></pre>
<p>The problem was that NorthwindClientEntities derive from DataServiceContext which has its own properties <em>Links</em> and <em>Entities</em> that are of generic type. These two get added into the table collection and cause the exception. I modified the code to exclude inherited properties:</p>
<pre><code>
foreach (PropertyInfo prop in ContextType.GetProperties()) {
   if (prop.PropertyType.GetGenericArguments().Length != 1
                         || prop.DeclaringType != ContextType)
      continue;
   tables.Add(new DataServiceTableProvider(this, prop));
}
</code></pre>
<p>This solved the problem and I got the DataService and the client site working:</p>
<p><a href="http://roundedcorners.files.wordpress.com/2010/05/dataservice.jpg"><img class="alignnone size-medium wp-image-163" title="DataService" src="http://roundedcorners.files.wordpress.com/2010/05/dataservice.jpg?w=300&#038;h=168" alt="" width="300" height="168" /></a></p>
<p>I then turned my attention to the DynamicDataFuturesSample and tried to run the Default.aspx page, which gave me the following Parser Error:</p>
<p><em>The server tag &#8216;asp:DynamicHyperLink&#8217; is ambiguous. Please modify the associated  registration that is causing ambiguity and pick a new tag prefix.</em></p>
<p>The reason for this and the previous error is that .NET 4 comprises its own version of some of the components of the Futures sample; in this case, DynamicHyperLink. The DynamicDataFutures project is referenced in the sample with &#8216;asp&#8217; prefix. This can be changed in the web.config in the system.web &gt; pages &gt; controls element and then using the new prefix in the sample. Or, just remove the DynamicHyperLink class from the Futures project and use the .NET 4 version. I wanted to stick to the Futures components; so I changed the name of the class instead and use the new class name in the sample using search and replace.</p>
<p>The sample worked:</p>
<p><a href="http://roundedcorners.files.wordpress.com/2010/05/futuressample.jpg"><img class="alignnone size-medium wp-image-165" title="FuturesSample" src="http://roundedcorners.files.wordpress.com/2010/05/futuressample.jpg?w=300&#038;h=168" alt="" width="300" height="168" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundedcorners.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundedcorners.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundedcorners.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundedcorners.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundedcorners.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundedcorners.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundedcorners.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundedcorners.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundedcorners.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundedcorners.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundedcorners.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundedcorners.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundedcorners.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundedcorners.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundedcorners.wordpress.com&amp;blog=8114233&amp;post=152&amp;subd=roundedcorners&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundedcorners.wordpress.com/2010/05/14/compiling-dynamic-data-futures-3-5-sp1-in-net-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62e6fa8488c26ff7c7f600899456417f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anazzubair</media:title>
		</media:content>

		<media:content url="http://roundedcorners.files.wordpress.com/2010/05/dataservice.jpg?w=300" medium="image">
			<media:title type="html">DataService</media:title>
		</media:content>

		<media:content url="http://roundedcorners.files.wordpress.com/2010/05/futuressample.jpg?w=300" medium="image">
			<media:title type="html">FuturesSample</media:title>
		</media:content>
	</item>
	</channel>
</rss>
