iis 7 - It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application leve -


have tried publish mvc app through visual studio iis server.

when trying run getting error:

configuration error  description: error occurred during processing of configuration file required service request. please review specific error details below , modify configuration file appropriately.   parser error message: error use section registered allowdefinition='machinetoapplication' beyond application level.  error can caused virtual directory not being configured application in iis.  source error:    line 20:     <httpruntime targetframework="4.5" /> line 21:     <!----> line 22:     <authentication mode="windows" /> line 23:     <authorization> line 24:       <!--<deny users="?" />--> 

there lot of articles around can't seem work out.

i have read when deploying through visual studio deploys web app no need convert, can't find option it.

the web.config in c:\inetpub\wwwroot\myapp\ , can't see others in views or other sub folders.

really stuck on this!


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -