Weird behaviour linking to media from RTE


Using Latest EPiServer 8 i'm having the following problem. 

In the media the client uploaded a pdf (genericFile).

Now he wants to link to the it in a RichText field (RTE). 

He creates the link to the file without problem. When opening the link on the front-end it's blank. 

The link on the front-end it to http://localhost/globalassets/factsheets/2015/accountancy-bachelor-2015.pdf

If i inspect the url to the pdf in the RTE (code) the link is to: http://localhost/EPiServer/CMS/Content/globalassets/factsheets/2015/accountancy-bachelor-2015.pdf 

Opening the last url works, but why does it render as the not working url?

Basically the same thing is happing when adding an image to the RTE. In the CMS i see the image, but on the front-end it's broken.. 

http://localhost/EPiServer/CMS/Content/globalassets/afbeeldingen/test_images/436.jpg  (works)

http://localhost/globalassets/afbeeldingen/test_images/436.jpg (doesn't work)

THanks in advance!

Jul 01, 2015 17:44



<modules runAllManagedModulesForAllRequests="true">

was the answer.. for others with this problem.

Jul 02, 2015 11:51
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.