I also got this error when I accidently copied an older version of web.config into the application directory which resulted in there being two web.config files in the folder. Once I deleted the older version, everything worked fine again.
Hi! I have only one Web.config in my compiled app. I converted virtual directory to application and after that browser stopped showing anything. What can I do in this case?
HenrikBergst...
Member
8 Points
10 Posts
Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond a...
Jan 06, 2011 11:48 AM|LINK
I got the problem when converting from VS2008->VS2010.
VS created a backup folder with a copy of web.config.
Always check if you have several web.configin the project. That could be the problem.
eduardoms
Member
2 Points
2 Posts
Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond a...
Apr 06, 2011 09:38 AM|LINK
Hi Ranganh,
I need to read your solution to this problem, but I can't see the configuration you wrote, the square is empty, Could you check, please.
Thank you very much
eyoung1945
Member
2 Points
1 Post
Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond a...
Apr 26, 2011 04:27 PM|LINK
I also got this error when I accidently copied an older version of web.config into the application directory which resulted in there being two web.config files in the folder. Once I deleted the older version, everything worked fine again.
bhupalb
Participant
777 Points
160 Posts
Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond a...
Jun 16, 2011 05:06 AM|LINK
hi thanks alot i am getting error but i did not fond answer ,
finally u given clear idea about tags what we can use in sub folder 's web.config file.
i tested my application by placing authentication in the sub folders web.config and it is giving error
now i resolved by placing only authorizationin sub web.config file.
Thanks
B Bhupal
aleksandrs.s...
Member
17 Points
6 Posts
Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond a...
Jul 26, 2011 08:20 AM|LINK
Hi! I have only one Web.config in my compiled app. I converted virtual directory to application and after that browser stopped showing anything. What can I do in this case?