Copied to clipboard

Flag this post as spam?

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


  • MuirisOG 382 posts 1284 karma points
    Jul 17, 2017 @ 10:50
    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 6132 posts 23951 karma points MVP 7x admin c-trib
    Jul 17, 2017 @ 10:54
    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 382 posts 1284 karma points
    Jul 17, 2017 @ 11:20
    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 2054 posts 7100 karma points c-trib
    Jul 17, 2017 @ 15:03
    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 382 posts 1284 karma points
    Jul 17, 2017 @ 15:25
    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