Troubleshooting: "Section registered as allowDefinition='MachineToApplication' beyond application level" error when trying to open the asmx in a web page

This error occurs if the API is running in a virtual directory instead of an application. Convert the virtual directory to an application in IIS.

It could also occur if there are multiple web.config files.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×