<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.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/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Publishing</title><link>http://forums.iis.net/1045.aspx</link><description>Discussion around anything related to publishing content on the IIS 7 web platform</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Failing to publish wep application due to providerOption element in web.config</title><link>http://forums.iis.net/thread/1908016.aspx</link><pubDate>Tue, 23 Jun 2009 19:25:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908016</guid><dc:creator>keithmo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908016.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1045&amp;PostID=1908016</wfw:commentRss><description>&lt;p&gt;Validation fails because the web.config conflicts with the FX_schema.xml file installed on the server. You need to update the schema file. I don&amp;#39;t know the exact process for this; I hope someone else will chime in with details.&lt;/p&gt;&lt;p&gt;You cannot disable web.config validation, and even if you could, it would be a very bad idea. If not for validation, the server would see the invalid web.config at run time and generate 500-level HTTP status codes until corrected. If this were to happen, the only way to correct the invalid web.config would be through some mechanism other than HTTP (local file system, SMB sharepoint, etc). &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Failing to publish wep application due to providerOption element in web.config</title><link>http://forums.iis.net/thread/1907949.aspx</link><pubDate>Tue, 23 Jun 2009 13:04:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907949</guid><dc:creator>mtanneryd</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907949.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1045&amp;PostID=1907949</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to publish my web application, using WebDav, to a windows web server 2008 x64 and it almost works. Request filtering is off so all files, except web.config,&amp;nbsp;are properly uploaded. Web.config fails to upload because the validation of the file fails. Looking in the logfile it says &amp;quot;Unrecognized element &amp;#39;providerOption&amp;#39;&amp;quot;. It seems to me as if, whoever is doing the validation, does not recognize the following section in my web.config:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;system.codedom&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;compilers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;compiler language=&amp;quot;c#;cs;csharp&amp;quot; extension=&amp;quot;.cs&amp;quot; type=&amp;quot;Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;quot; warningLevel=&amp;quot;4&amp;quot; compilerOptions=&amp;quot;/warnaserror-&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;providerOption name=&amp;quot;CompilerVersion&amp;quot; value=&amp;quot;v3.5&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/compiler&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/compilers&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/system.codedom&amp;gt;&lt;/p&gt;
&lt;p&gt;Any ideas on how to resolve this? Can the validation be disabled? Can the validator be forced to understand the above config section? After all, it is Microsoft generated...&lt;/p&gt;
&lt;p&gt;/Måns&lt;/p&gt;</description></item></channel></rss>