visual studio - ASP Error 0131: Parent Path is not allowed -


i'm trying run asp classic application on visual studio 2013 , iis express. i'm getting following error when running 1 page:

active server pages error 'asp 0131' disallowed parent path ../.. include file '../file.inc' cannot contain '..' indicate parent directory. 

i've researched issue online , found out problem related ../ disabled default. solution proposed allow parent path. while solution discouraged security reasons, moreover, don't have administrative privileges make such changes.

is there way solve problem doesn't involve allowing parent path?

yes, alternative use include virtual directive, have update paths root of virtual directory

include virtual '/file.inc' 

or

include virtual '/folder/file.inc' 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -