Image Manager can edit but not Upload

2 posts, 0 answers
  1. Chad
    Chad avatar
    1 posts
    Member since:
    Aug 2013

    Posted 13 Oct 2015 Link to this post

    Image Manager can see files, folder, and files in folders. It can also edit any Image and save it successfully. Only problem is uploading. Always get "Access to path is denied" on production server. Local running everything works. Doesn't make sense that I can edit a file that already exists and save it as a new one, but I cannot upload one. Thanks for any help.


    I have a 2012 server, ApplicationPoolIdentity. Created a folder on the server and created a Virtual Directory to it. Gave Everyone Full permissions until I can get it working then will narrow down. Code to set path is here...


    string path = "~/emailAssets/" + "test";
                    DebugHandler.DebugMessage = "Checking and Creating Directory: " + path;
                        if (!Directory.Exists(Server.MapPath(path)))
                    catch { throw new Exception("Could not access or create Email Assets directory. Images and Documents will not be available"); }
                    string[] paths = new string[] { path };

                    // Setup RadEditor
                    tbBody.ImageManager.EnableAsyncUpload = true;
                    tbBody.ImageManager.ViewPaths = paths;
                    tbBody.ImageManager.UploadPaths = paths;
                    tbBody.ImageManager.DeletePaths = paths;

  2. Ianko
    Ianko avatar
    1509 posts

    Posted 15 Oct 2015 Link to this post

    Hi Chad,

    With the AsyncUpload enabled you should consider the temporary file created by the AsyncUpload control. Typically, it is defined to be generated in the App_Data folder of the app. Therefore, this folder should permissions for the application to write. 

    You can read more about that here—

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top