Wednesday, October 26, 2022

Error Server Error in '/' Application. web.config - ASP.NET C# - Error to use a section registered as allowDefinition='MachineToApplication' beyond application level

 Error:- <sessionState timeout="40" mode="InProc"/>



Than go to that directory and roght click on it

> Click on convert to application.

reference:- www.tamilcodes.com/converting-virtual-directory-into-an-application-to-run-asp-net-in-iis/

or you can go to web.config and authentication section

reference:- https://stackoverflow.com/questions/10366874/net-configuration-error-allowdefinition-machinetoapplication-beyond-applicati

https://stackoverflow.com/questions/9300927/error-to-use-a-section-registered-as-allowdefinition-machinetoapplication-beyo


https://social.msdn.microsoft.com/forums/en-US/80937771-1bdd-4d24-83eb-c8bc011a7fa2/machinetoapplication-beyond-application-level?forum=aspconfiganddeploy

No comments:

Post a Comment