App_Themes CSS gives 404

Vote:
 

I get 404 on App_Themes/Default files like CSS etc.
Strange thing is that site is running exact same code as another site on another server - same Web.config and episerver.config.

Path is verified in episerver.config and pointing to existing files under:
C:\Program Files\EPiServer\CMS\6.1.379.0\Application\App_Themes\Default

In Web.config I have this:

 <location path="App_Themes/Default">
  </location>

    

Any idea?

#80495
Jan 23, 2014 15:48
Vote:
 

I have this in episerver.config:

      <add name="App_Themes_Default" virtualPath="~/App_Themes/Default/" physicalPath="C:\Program Files\EPiServer\CMS\6.1.379.0\application\App_Themes\Default" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />

    

#80496
Jan 23, 2014 15:49
Vote:
 

You are missing the handler in Web.config:

<location path="App_Themes/Default">
    <system.webServer>
      <handlers>
        <clear/>
        <add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      </handlers>
    </system.webServer>
  </location>

    

#80512
Jan 23, 2014 18:51
Vote:
 

I have the same issue. 

Happen just sometimes, my settings are the same.

#89827
Aug 27, 2014 9:10
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.