﻿<?xml version="1.0" encoding="utf-8"?><rss 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:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - .Net 4.0 issue with IIS 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Net-40-issue-with-IIS-7/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>.Net 4.0 issue with IIS 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Net-40-issue-with-IIS-7/</link><pubDate>Thu, 16 Jun 2011 22:50:25 GMT</pubDate><dc:creator>lili</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you're using Framework 4, so when you deploy and convert your application, you need to set the Application Pool to ASP.NET v4.0. If you set to DefaultAppPool, it will be used for Framework 2. That's what cause the error. Here I attach a video for more detail.&lt;/p&gt;
&lt;p&gt;Hope it helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lili&lt;/p&gt;</description></item><item><title>.Net 4.0 issue with IIS 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Net-40-issue-with-IIS-7/</link><pubDate>Thu, 16 Jun 2011 10:48:44 GMT</pubDate><dc:creator>schau</dc:creator><description>&lt;p&gt;Hi Lili,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I'm using ms visual 2010, so it should be using .net 4.  also, i'm using webgrid 7.  Any ideas how as I need to use the targetFramework = "4.0".  When I take it out, I get assemblies dependecies issues as I'm using webgrid 7. thanks for your help.&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;</description></item><item><title>.Net 4.0 issue with IIS 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Net-40-issue-with-IIS-7/</link><pubDate>Wed, 15 Jun 2011 23:13:24 GMT</pubDate><dc:creator>lili</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to check the Framework version that you use because in the Version Information written that you're using Framework 2, not 4. If you're using Framework 2, you could try to remove the targetFramewok = "4.0" from the tag. &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lili&lt;/p&gt;</description></item><item><title>.Net 4.0 issue with IIS 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Net-40-issue-with-IIS-7/</link><pubDate>Wed, 15 Jun 2011 11:55:10 GMT</pubDate><dc:creator>schau</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm getting this error when I published my website:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;
&lt;h1&gt;Server Error in '/' Application. &lt;hr width="100%" style="color: silver; font-size: 9px" /&gt;&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;Configuration Error&lt;/i&gt; &lt;/h2&gt;
&lt;p&gt;&lt;span style="font-family: arial, helvetica, geneva, sunsans-regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Parser Error Message: &lt;/b&gt;Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table width="100%" bgcolor="#ffffcc"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;code&gt;&lt;pre&gt;Line 14: 
Line 15:   &amp;lt;system.web&amp;gt;
&lt;span style="color: red"&gt;Line 16:     &amp;lt;compilation debug="false" strict="false" explicit="true" targetFramework="4.0" /&amp;gt;
&lt;/span&gt;Line 17: 
Line 18:     &amp;lt;authentication mode="Forms"&amp;gt;&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family: verdana"&gt;Source File: &lt;/span&gt;&lt;/b&gt;C:\inetpub\wwwroot\web.config&lt;b&gt;&lt;span style="font-family: verdana"&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/span&gt;&lt;/b&gt;16 &lt;br /&gt;&lt;br /&gt;
&lt;hr width="100%" style="color: silver; font-size: 9px" /&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-family: verdana"&gt;Version Information:&lt;/span&gt;&lt;/b&gt; Microsoft .NET Framework Version:2.0.50727.3619; ASP.NET Version:2.0.50727.3618 &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;My server is windows 2008, IIS7.  Anyone know how I can fix this issue?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
Steve&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;!-- 
[ConfigurationErrorsException]: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. (C:\inetpub\wwwroot\web.config line 16)
   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)
[HttpException]: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. (C:\inetpub\wwwroot\web.config line 16)
   at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
   at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
--&gt; 
</description></item></channel></rss>