How to fix the error "It is an error to use a section registered as allowDefinition='MachineToApplication'
-
Hello, I have hosted my web application on the server. It works fine when i have one copy of the Website. My requirement to create multiple copies of websites in the sub directories. I need the same copy of web.config in my subdirectories as well. But when i access website from subdirectory i get the following error " It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level'" I know that i need to set the subdirectory as Virtual folder and if i do that in my local IIS it works. But how do i do this on the Web hosting server? Please help Thanks
-
Hello, I have hosted my web application on the server. It works fine when i have one copy of the Website. My requirement to create multiple copies of websites in the sub directories. I need the same copy of web.config in my subdirectories as well. But when i access website from subdirectory i get the following error " It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level'" I know that i need to set the subdirectory as Virtual folder and if i do that in my local IIS it works. But how do i do this on the Web hosting server? Please help Thanks
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me