<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>ASP.NET MVC Storefront Starter Kit</title><link>http://forums.asp.net/1165.aspx</link><description>This forum is for any and all questions pertaining to the ASP.NET MVC Storefront Starter Kit. The Storefront  is a sample ASP.NET MVC Commerce application which was developed using Test-driven Development, Inversion of Control (IoC), and Dependency Injection.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>NullReferenceException on linq extensions to html helper</title><link>http://forums.asp.net/thread/2985957.aspx</link><pubDate>Thu, 05 Mar 2009 21:56:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2985957</guid><dc:creator>joepo5</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2985957.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2985957</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;I have read the posts about nullreference exceptions having to do with routing issues but none of these apply to me. I am running on IIS 7.0 but still get this error in some storefront code.&lt;/p&gt;&lt;p&gt;This line in ProductDisplay.ascx is throwing a NullReferenceException when the controller attempts to render this view.&lt;br /&gt;I know that the issue is not Model.ProductCode because I can replace with any string literal and same exception. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;a href=&amp;quot;&amp;lt;%= Html.BuildUrlFromExpression&amp;lt;CatalogController&amp;gt;(x =&amp;gt; x.Show(Model.ProductCode)) %&amp;gt;&amp;quot;&amp;nbsp; &lt;/p&gt;&lt;p&gt;If anyone has any idea about this, I would sincerely appreciate it. I don&amp;#39;t know how to go about debugging this.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;-Joe&lt;/p&gt;&lt;p&gt;IIS 7.0 (Vista)&lt;br /&gt;ASP.NET MVC RC 2&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>