ASP.Net wont launch - IIS error because it's not in root? -
i have asp.net solution have checked out of svn. have saved under c:\inetpub\solution-name\. file trying launch in c:\inetpub\solution-name\trunk\project-name\default.aspx. when access via browser http://localhost/solution-name/trunk/project-name/, following error:
server error in '/' application. 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 253: </controls> line 254: </pages> line 255: <rolemanager enabled="true" cacherolesincookie="true" defaultprovider="aspnetsqlroleprovider"> line 256: <providers> line 257: <clear/> i think problem might have directory structure of files. don't want change structure need able have multiple solutions under inetpub, etc.
is there iis configuration fix this?
you need create virtual directory each asp.net project in iis. if on iis7+ can right click on folder , click on "convert application". create virtual directory can right-click on website in iis, , select "add virtual directory".
Comments
Post a Comment