Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28504

IISExpress blocking access to App_Code folder

$
0
0

trying to run code examples from a user-created App_Code folder in site build...generates 404.8 code referencing access denied, pointing to the applicationHost.config or web.config files, neither of which has any elements listed under <hiddenSegments> tag...just a denial to the file extension ".rules", inside the <requestFiltering> element.  Having read a KB article stating that IIS blocks access to the App_Code folders for security measures...how does one get around this to use App_Code for generating classes for functions and @helpers used across multiple pages in a web site? I've checked every .config file I can find on my local machine, and none has a <hiddenSegments> tag specific to an App_Code folder/directory to edit.  Software/version info below:

Version 2.0

WebMatrix: 7.1.1692.0

 IIS Express: 8.0.8418.0

 .NET Framework: 4.0.30319.296 (RTMGDR.030319-2900)

Web Deploy: 7.1.1631.0

 SQL Server Compact: 4.0.8854.1

 Web Platform Installer: 7.1.1692.0

 ASP.NET Web Pages: 2.0.20715.0

 ASP.NET Web Pages: 1.0.20105.407

 


Viewing all articles
Browse latest Browse all 28504

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>