When I upload my MVC 4 project to my WebServer, I saw that all my CSS and JavaScript references that I put on BundleConfig wasn't loaded to the page, instead this, appears on my rendered page the following path
<link rel="stylesheet" href="fw14/Content/css?v=kSepHHq11FdR1tRAJySyLFezI3fwYIn7a12kdamDI-w1">
In localhost works fine,
BundleConfig
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/fw14/Content/css/san.css",
"~/fw14/Content/css/bootstrap.css"
));
My application are in
wwwroot/fw14/
When I open the <link>
when is rendered, I can saw this
<h2>403 - Forbidden: Access is denied.</h2>
<h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>
I think this weird, because I have permission to upload all my project, but the system can't saw the folders?
In my IIS, SislocPool is the name of my AppPool, and runs in NetworkService credentials
I also try put the following line in my Web.Config
<modules runAllManagedModulesForAllRequests="true"/>