Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MuirisOG 251 posts 872 karma points
    4 days ago
    MuirisOG
    0

    App_Data\TEMP\PluginCache\umbraco-plugins.<myServerName>.list' is denied

    I'm trying to put a set of sites live and have hit this error every time a new site loads!

    Any help would be appreciated.

  • Alex Skrypnyk 3302 posts 10194 karma points mvp
    4 days ago
    Alex Skrypnyk
    100

    Hi MuirisOG

    Can you check folders permissions on your server?

    It should be like described here: https://our.umbraco.org/documentation/getting-started/setup/install/permissions

    Thanks,

    Alex

  • MuirisOG 251 posts 872 karma points
    4 days ago
    MuirisOG
    0

    Hi Alex,

    thanks for your reply.

    I've given the app pool identity permissions, and it seems to be working now.

    The only problem I've still got is the clash over the two files below

    umbraco-plugins.<myWebServer>.hash
    umbraco-plugins.<myWebServer>.list
    

    but I've been told I should put the code in my app_code folder into a class library.

    Do you know if there's a quick way to accomplish this in Umbraco?

    Thanks

    Muiris

  • Nicholas Westby 1544 posts 4966 karma points c-trib
    4 days ago
    Nicholas Westby
    1

    Do you know if there's a quick way to accomplish this in Umbraco?

    There's not much to it. Assuming you have a Visual Studio solution that contains your Umbraco website as a web application project, you simply add a new project (of type class library), then add a reference to it from your web application project.

    Say you have Acme.Website, you can create Acme.App with all the code from the App_Code folder, then reference Acme.App From Acme.Website.

  • MuirisOG 251 posts 872 karma points
    4 days ago
    MuirisOG
    0

    Nicholas

    that is exactly what I was looking for.

    I was in full panic mode this morning and my brain just could not engage on the best approach to this.

    Thanks

    Muiris

    PS These two links were invaluable!

    http://www.codeshare.co.uk/blog/how-to-move-your-code-out-of-the-controller-and-into-a-helper-class/

    https://www.youtube.com/watch?v=DWjbJiIUQdk

Please Sign in or register to post replies

Write your reply to:

Draft