xml - Section must only appear one per config file. See the help topic <location> for exceptions. what's wrong? -


i couldn't figure out what's wrong configuration file

here's configuration file

<!-- more information on how configure asp.net application, please visit http://go.microsoft.com/fwlink/?linkid=169433 --> <configuration> <system.web> <httpruntime targetframework="4.5"/> <sitemap defaultprovider="main">   <providers>     <add sitemapfile="mainmenu.sitemap"  name="mainmenu" type="system.web.xmlsitemapprovider"/>     <add sitemapfile="favourite.sitemap"  name="favourite" type="system.web.xmlsitemapprovider"/>     <add sitemapfile="mostview.sitemap"  name="mostview" type="system.web.xmlsitemapprovider"/>     <add sitemapfile="recentview.sitemap"  name="recentview" type="system.web.xmlsitemapprovider"/>   </providers> </sitemap> </system.web> <system.webserver> <defaultdocument enabled="true">   <files>     <clear />     <add value="login.aspx" />   </files> //it's here throw error </defaultdocument> </system.webserver> </configuration> 

it throws error @ line 25 (always @ line 25 have changed configuration)

anyone me??


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -