AI OnAI Off
By the way, I've read related posts (but not exactly identical) and I have the following setting too:
<scanAssembly forceBinFolderScan="true" />
The problem is only in the CMS. On the website, there is no problem to get css and js-files.
What is your system.webServer element content for that location? I would try to enable failed request tracing in IIS and see maybe something interesting there..
Tracing gives the following summary:
Site | 2 |
---|---|
Process | 3340 |
Failure Reason | STATUS_CODE |
Trigger Status | 404 |
Final Status | 404 |
Time Taken | 0 msec |
Url | http://191.238.53.61:17000/UI/edit/CMS/javascript/editmodeshellintegration.js |
---|---|
App Pool | xxxxSiteAppPool_v4.0 |
Authentication | anonymous |
User from token | NT AUTHORITY\IUSR |
Activity ID | {00000000-0000-0000-A801-0080000000F5} |
Error & warning
ModuleName |
IIS Web Core |
Notification |
16 |
HttpStatus |
404 |
HttpReason |
Not Found |
HttpSubStatus |
0 |
ErrorCode |
2147942402 |
ConfigExceptionInfo |
|
Notification |
MAP_REQUEST_HANDLER |
ErrorCode |
The system cannot find the file specified. (0x80070002) |
Try to add following section to your location element:
<system.webServer>
<handlers>
<clear />
<add name="AssemblyResourceLoader-Integrated-4.0" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv4.0" />
<add name="WebServiceHandlerFactory-Integrated-4.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />
<add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer.Framework" />
</handlers>
</system.webServer>
Hello!
Something is crazy with css and js files for the CMS in Episerver 7. They are not reachable and I just get 404 not found when trying to reach them from my browser.
In EpiserverFramework.config, I have this code:
In web.config:
The files are at their location on the disk. The strange thing is that .aspx-files at the same location are returned but not css, js or txt-files.
For example:
I can browse the file system.aspx
I can't browse editmodeshellintegration.js.
I really need help, I have no clue about what I can do. Thx!!
Regards.