I have uploaded my web application on server but am getting this error. Please help!!!
Code
Server Error in '/' Application.
Configuration Error
Description: 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.Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Code |


Krishna GaradRank #191 · 12.8K reputationPosted Feb 13, 2011, 11:53 PM EST
Vijay YadavRank #1,637 · 943 reputationPosted Feb 14, 2011, 1:17 AM EST
Thanks for your reply and you are right i have uploaded all the files under one folder in root directory i.e. this problem has come but when i take all the files outside that subfolder it works fine. But i want to put it in subfolder so that i can upload multiple web application on the same server.
Krishna GaradRank #191 · 12.8K reputationPosted Feb 14, 2011, 1:38 AM EST
MainTitle Directory
SubFolder1()
Sub web.confige
SubFolder2()
Sub web.confige
.
.
.
Root Web.confige file
MainTitle Directory might be many different titles.
Amit ChoudharyRank #145 · 15.8K reputationPosted Feb 14, 2011, 1:52 AM EST
This problem basically occurs having multiple web.config file in the project. Check for it if you have multiple web.config then please double check the content of second web.config it should not have duplicate attributes to the first one in your root.
Thanks.
Please mark "Do you like this post"? if it helps you
Vijay YadavRank #1,637 · 943 reputationPosted Feb 14, 2011, 2:02 AM EST
and @Amit thanks to you also but there is only one web.config if any suggestion please help!!!
Krishna GaradRank #191 · 12.8K reputationPosted Feb 14, 2011, 2:05 AM EST
Suthish NairRank #92 · 22.8K reputationPosted Feb 15, 2011, 9:52 PM EST