<?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>Tips &amp; Tricks</title><link>http://forums.asp.net/53.aspx</link><description>Cool code and exciting examples, provided by our members.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3570112.aspx</link><pubDate>Thu, 17 Dec 2009 05:21:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3570112</guid><dc:creator>apkumar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3570112.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3570112</wfw:commentRss><description>&lt;p&gt;Hi Harish, &lt;/p&gt;&lt;p&gt;Thanks a lot, I have resolved my Issue what you explained in your first point and met my requirement perfectly.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10x a lot to ASP.NET forums. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3543352.aspx</link><pubDate>Wed, 02 Dec 2009 09:32:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3543352</guid><dc:creator>Gadiputi sudhir</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3543352.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3543352</wfw:commentRss><description>&lt;p&gt;Thank u dude ,it help me a lot &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3541120.aspx</link><pubDate>Tue, 01 Dec 2009 07:56:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3541120</guid><dc:creator>mukeshbela</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3541120.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3541120</wfw:commentRss><description>&lt;p&gt;thanx a lot ranganh,&lt;/p&gt;&lt;p&gt;i also faced the same problem as above and the information which u gave has solved the problem very easily and the explanation is also simply superb &lt;/p&gt;&lt;p&gt;i have just commented the &amp;lt;!--&amp;lt;authentication mode=&amp;quot;Windows&amp;quot; /&amp;gt;--&amp;gt; in the web.config file of the sub folder in an application then every thing worked fine&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3525126.aspx</link><pubDate>Sat, 21 Nov 2009 05:03:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525126</guid><dc:creator>DnshPly9</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3525126.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3525126</wfw:commentRss><description>&lt;p&gt;Dear &amp;nbsp;the virtual directory is the directory that holds the application and is configured in IIS Server.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t have IIS installed on your Machine then first you need to install IIS from the Additional Windows Components in the Add or Remove Programs of the Control Panel.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After installing you will have to create a virtual directory in the Websites part of the IIS and then configure.&lt;/p&gt;
&lt;p&gt;This type of an error on which this whole thread is all about when you are trying to run any project that is precreated by someone (one common reason) and was configured by him in IIS and when you try to run the project is not configured to run on IIS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this helps&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DnshPly9&lt;/p&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3485741.aspx</link><pubDate>Fri, 30 Oct 2009 14:11:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3485741</guid><dc:creator>pgp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3485741.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3485741</wfw:commentRss><description>&lt;p&gt;Thanks Lunch2000,&lt;/p&gt;
&lt;p&gt;Your suggestion&amp;nbsp;worked for me.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3448808.aspx</link><pubDate>Thu, 08 Oct 2009 23:43:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3448808</guid><dc:creator>navyjax2</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3448808.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3448808</wfw:commentRss><description>&lt;p&gt;Or, if you have a subfolder in&amp;nbsp;Visual Studio project that shouldn&amp;#39;t be, or that you can consolidate into the main body of the project, you can remove it and the error will go away.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I wanted to compile my web site and check-in code to Visual Studio&amp;#39;s TFS, it gave me this error.&amp;nbsp; Turned out I forgot I&amp;nbsp;had put&amp;nbsp;in a subdirectory in my web site project that was just there for check-in purposes only - nothing to do with the compilation of the code.&amp;nbsp; When I took out that subfolder from the My Documents\Visual Studio 2005\WebSites\MyWebSite folder (not from the project in Visual Studio itself!), then did a build, it compiled fine.&amp;nbsp; I added the folder back with Visual Studio open&amp;nbsp;- Visual Studio recognized it by asking if I wanted to load the new content (I said Yes To All) and was able to check my code in.&amp;nbsp; Don&amp;#39;t know if this will apply or help anyone, but thought I&amp;#39;d give it a shot.&lt;/p&gt;
&lt;p&gt;-Tom&lt;/p&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3251857.aspx</link><pubDate>Tue, 23 Jun 2009 02:56:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3251857</guid><dc:creator>warnov</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3251857.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3251857</wfw:commentRss><description>&lt;p&gt;Perfect problem description and solution!&lt;/p&gt;
&lt;p&gt;Congratz!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I found this solution as a first result using Bing!!! &lt;img src="http://forums.asp.net/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;/p&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3178186.aspx</link><pubDate>Thu, 21 May 2009 11:55:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3178186</guid><dc:creator>jaiprakashv</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3178186.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3178186</wfw:commentRss><description>Thanks&lt;br /&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3124465.aspx</link><pubDate>Tue, 28 Apr 2009 10:37:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3124465</guid><dc:creator>jadavdinesh7</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3124465.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3124465</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;HI All&amp;nbsp; iam also facing the same problem but&amp;nbsp; i dint create any virtual directory for&amp;nbsp; my&amp;nbsp; web app&amp;nbsp; still iam getting the same error. iam not understanding y this error is coming any help wil b appreciated. i have download the program from the following&amp;nbsp; website if anyone wants to try they can try and tell me exactly wat is the&amp;nbsp; problem.&lt;/p&gt;&lt;p&gt;http://www.codeproject.com/KB/database/MySQLCsharp.aspx&lt;/p&gt;&lt;p&gt;thankq&lt;/p&gt;&lt;p&gt;Dinnu &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3057788.aspx</link><pubDate>Thu, 02 Apr 2009 12:01:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3057788</guid><dc:creator>geetanjli</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3057788.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3057788</wfw:commentRss><description>Well, neither scenario works for me. I moved my project 
&lt;a href="http://www.tutorialcasino.net"&gt;liste de casinos&lt;/a&gt; over to a new
machine. Set up the virtual directories but to no avail. I get the same
error. When I start without debugging, the app dies on the
authentication = windows line in the web config. I thought I could move
a project to a new machine, set up a virtual directory, and debug. No
such luck. Any insight?</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/3001469.aspx</link><pubDate>Thu, 12 Mar 2009 06:23:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3001469</guid><dc:creator>mukund_ji@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3001469.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=3001469</wfw:commentRss><description>&lt;p&gt;Thanks body to post such a helpful information&lt;img src="http://forums.asp.net/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;/p&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/2976357.aspx</link><pubDate>Mon, 02 Mar 2009 12:15:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2976357</guid><dc:creator>sangam100</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2976357.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=2976357</wfw:commentRss><description>&lt;p&gt;Hi &lt;a href="http://forums.asp.net/members/prabhatasp.aspx"&gt;prabhatasp&lt;/a&gt; ,&lt;/p&gt;
&lt;p&gt;The error [It is an error to use a section registered as allowDefinition=&amp;#39;MachineToApplication&amp;#39; beyond application level] does not occur only due to mis-configuration in web.config file.&amp;nbsp; The most important part we should care about is that the error mainly originates if we do not configure virtual directory. And you must notice that there is little bit difference in configuring virtual directory in vista thatn in xp. Please search and apply&amp;nbsp;the right method of publishing asp.net web project in asp.net.&lt;/p&gt;
&lt;p&gt;One more tip, is right version of asp.net enabled in your IIS? Please ensure this.&lt;/p&gt;
&lt;p&gt;Hope this helps. Please feel free to ask if any problem persists or if any help is required. Thanks.&lt;/p&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/2972679.aspx</link><pubDate>Sat, 28 Feb 2009 06:05:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2972679</guid><dc:creator>prabhatasp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2972679.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=2972679</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hi all,&lt;/p&gt;
&lt;p&gt;This is Prabhat here, I am getting an error on my
client vista machine when installing web setup while it installed and
execute successfully on my vista machine. I don&amp;#39;t know what is problem.
i am adding error detail below:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Parser Error Message:&lt;/b&gt; It
is an error to use a section registered as
allowDefinition=&amp;#39;MachinToApplication&amp;#39; beyound application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.&lt;/p&gt;
&lt;p&gt;As all of you are suggested, i try to check webconfig file but i have got there is only one config file in my root directory no other webconfig exists in sub folder. I can&amp;#39;t understand actually what&amp;#39;s problem is.&lt;/p&gt;
any one please help me. Thanks in advance.</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/2963561.aspx</link><pubDate>Tue, 24 Feb 2009 17:37:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2963561</guid><dc:creator>Ravina</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2963561.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=2963561</wfw:commentRss><description>&lt;p&gt;I had this problem too. In my sub directory web config file...i just commented out the following line:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;authentication&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;mode&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Windows&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Cheers,&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level</title><link>http://forums.asp.net/thread/2815226.aspx</link><pubDate>Wed, 17 Dec 2008 12:24:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2815226</guid><dc:creator>krishan murari</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2815226.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=53&amp;PostID=2815226</wfw:commentRss><description>&lt;p&gt;Thanks alot!&lt;/p&gt;
&lt;p&gt;I was also facing the same problem and your solution worked for me also.&lt;/p&gt;
&lt;p&gt;Great deal!&lt;/p&gt;
&lt;p&gt;Krishan&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>