Erro related to iis
-
Have my web application...Install it using the .msi When I try to open the project(.csproj/.vbproj) Get the message box asking for conversion from VS2003 to VS 2005. Follow the steps..... you reach a screen which says "do wish to take back up (Yes or No)" If I select YES and once the code has finished conversion, I try to compile the same.. I am not able to do so as it gives following 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. " I have configured the virtual directory and also done the required settings to set it as an application in IIS. If I do not take the back up and proceed the conversion, I am able to compile it without any errors. Has anyone else faced with similar issues. Any help will be apreciated:)
-
Have my web application...Install it using the .msi When I try to open the project(.csproj/.vbproj) Get the message box asking for conversion from VS2003 to VS 2005. Follow the steps..... you reach a screen which says "do wish to take back up (Yes or No)" If I select YES and once the code has finished conversion, I try to compile the same.. I am not able to do so as it gives following 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. " I have configured the virtual directory and also done the required settings to set it as an application in IIS. If I do not take the back up and proceed the conversion, I am able to compile it without any errors. Has anyone else faced with similar issues. Any help will be apreciated:)
This error occurs when the compiler finds a web.config file with
MachineToApplication
settings that is not in the application's root folder. Check where you are storing the backup. If it is in a subdirectory under your website, move it somewhere else so you don't confuse the compiler.Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush