Storing images in DB works fine in VS, error on IIS

  •  03-20-2007, 1:24 AM

    Storing images in DB works fine in VS, error on IIS

    I followed the instructions to store images in DB. it is working ok in dev environment, but in testing environment (IIS6) it is giving me  the " CuteEditor needs read/write permission" error.
    This is the way that I set the properties for the editor

    txtEditor.Setting["CuteEditorFileStorageType"] = typeof(SqlFileStorage).AssemblyQualifiedName;
    txtEditor.Setting["DownFile"] = ResolveUrl("~/DownFile.Aspx");

    In dev env, i can store and upload images and view the dynamic images from db. In IIS, i cannot upload any files from image upload or galery.  Any ideas?

    Error is:

    An unhandled exception occurred:

    Message: CuteEditor needs read/write permission to the system temp folder. If your host doesn't allow such access, you can specify a different path by adding an entry to your Web.config file. <add key='CuteEditorTempPath' value='/mydirectory' />

    Stack Trace:

    at CuteEditor.Dialogs.InsertGalleryFrame.a(Object A_0, EventArgs A_1)

    at System.Web.UI.WebControls.Button.OnClick(EventArgs e)

    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)

    at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)

    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)

    at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)

    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems