Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

EP The referenced file is not allowed on this page

Posted on by 3,061

Woke up this morning to this error out of EP:

pastedimage1601995567475v1.png

I'm not sure what the problem here is.

  • Michele Lemmi Profile Picture
    Michele Lemmi 10 on at
    RE: EP The referenced file is not allowed on this page

    Hi! Solved same iusse with editing the web.config file as you suggested, thanks so much! Michele

    [quote user="bRradlyJames"]

    Woke up this morning to this error out of EP:

    pastedimage1601995567475v1.png

    I'm not sure what the problem here is.

    [/quote]
  • Khurshid Wali Profile Picture
    Khurshid Wali 922 on at
    RE: EP The referenced file is not allowed on this page

    Hi Logger,

    No, I haven't tried that yet.

    Let me know if you find the solution to SSRS Report problem.

  • Logger Profile Picture
    Logger 60 on at
    RE: EP The referenced file is not allowed on this page

    Hi, Khurshid Wali.

    Did you run "SharePoint 2013 Products Configuration Wizard" after install sharepoint security updates ? It is necessary and can fix some bugs.

  • Suggested answer
    Khurshid Wali Profile Picture
    Khurshid Wali 922 on at
    RE: EP The referenced file is not allowed on this page

    Hi Logger,

    I have fixed this issue through Andre Ghazaleh verified answer.

    But my SSRS report issue is still there.

    Solution: I haven't upgraded my client's production environment.

  • Logger Profile Picture
    Logger 60 on at
    RE: EP The referenced file is not allowed on this page

    Put this here to help google to find this very useful thread.

    The referenced file '/_layouts/ep/EPSecurityControl.ascx' is not allowed on this page. EP - AX 2012

  • Logger Profile Picture
    Logger 60 on at
    RE: EP The referenced file is not allowed on this page

    Hi.

    Khurshid Wali, thank you, for your reply.

    Did you find solution ?

  • Khurshid Wali Profile Picture
    Khurshid Wali 922 on at
    RE: EP The referenced file is not allowed on this page

    Hi Andre Ghazaleh,

    Thank you for your reply,

    I am not doing this task in the production environment. My production is working fine without any updates.

    I have two test servers A & B. both EP suddenly stops working recently.

    After adding PageParserPath Entry. both started working.

    Now EP's RDP reports are working fine in A and stuck  loading on B

    Then I noticed that B has more security updates than A. 

    pastedimage1602499956626v1.png

    Marked updates are only available on server B.

    Reports might be not working due to some other reason. 

    -> I did not get any error on event viewer

    -> same RDP reports are working fine on the Report Server and Ax 2012.

    That is why I want to uninstall these extra updates.

    regards,

    Khurshid Wali

  • Suggested answer
    Andre Ghazaleh Profile Picture
    Andre Ghazaleh 870 on at
    RE: EP The referenced file is not allowed on this page

    It's not a simple task to "Uninstall" a Sharepoint CU , it's not just about clicking an uninstall button.  I don't recommend you do it in a production environment, because a SharePoint  CU updates the SharePoint files on SharePoint servers and the schemas and configuration of the databases. So to "uninstall" the CU you have to deal with both. If you don't have a backup of your DBs and checkpoints of your VMs state before the update this is gonna be a risky and tedious task.

    For the future don't install Sharepoint updates directly to your production before testing it in a test environment ,  and don't install the update if you don't know exactly the changes it will make to your system.

    Now back to your problem, if you whitelisted the web controls , the reports should work. And your problem might be caused by something other than the CU.

    Check your Event Viewer to diagnose the issue before taking any actions especially if this is a production environment, also try to install the update in a test VM and see if you get same problem and if you do try to solve it first there.

    Regards

  • Khurshid Wali Profile Picture
    Khurshid Wali 922 on at
    RE: EP The referenced file is not allowed on this page

    Hi Andre Ghazaleh,

    Yes, I have added PageParserPath Entry. Reports are still not working on my test server.

    Now I want to remove these update and test. How to Uninstall these Sharepoint Foundation updates?

    there is no uninstall option for sharepoint security updates. I am using Windows Server 2012 R2 Standard

    I will update here after uninstalling these updates.

    pastedimage1602483942694v1.png

  • Suggested answer
    Andre Ghazaleh Profile Picture
    Andre Ghazaleh 870 on at
    RE: EP The referenced file is not allowed on this page

    Hi Khurshid wali,

    The update will cause some ghosted pages in Microsoft SharePoint not to render ,so your web controls reports will fail to render.

    Did you add the PageParserPath entry? It should whitelist all controls.

    Regards

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans