File upload --- doesn't

Last post 05-10-2006, 1:43 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  05-09-2006, 7:02 PM 19004

    File upload --- doesn't

    This is such a slick editor!
    But... I'm missing something.
     
    I'm trying to upload an image to my site.
    I have set the permissions in my upload directory to RW.
    I'm using (I think) CuteEditor_for_NET5.2
     
    The HTML tag is:
    <CE:Editor 
    id="body_HTML" 
    EditorWysiwygModeCss="../css/hp2.css" 
    AutoConfigure="Full_noform"
    SecurityPolicyFile="Admin.config" 
    text='<%# dsPage.FieldValue("body_HTML", Container) %>' 
    TextMode="MultiLine" 
    runat="server" 
    />
     The SecurityPolicyFile (~/CuteSoft_Client/CuteEditor/Configuration/SecurityAdmin.config) says, among other things,
     <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    ...
     <security name="MaxImageSize">20000</security>
    ...
     <security name="ImageGalleryPath">~/assets</security>
    ...
     <security name="MaxImageFolderSize">102400</security>
    ...
     <security name="AllowUpload">true</security>
     <security name="AllowModify">true</security>
     <security name="AllowRename">true</security>
     <security name="AllowDelete">true</security>
     <security name="AllowCopy">true</security>
     <security name="AllowMove">true</security> 
     <security name="AllowCreateFolder">true</security>
     <security name="AllowDeleteFolder">true</security>
     <security name="ImageFilters">
      <item>.jpg</item>
      <item>.jpeg</item>
      <item>.gif</item>
      <item>.png</item>
     </security>
    ...
     <security name="filenamePattern">^[a-zA-Z0-9\._-]+$</security>
    </configuration>
    Everything looks promising. When I click the "Insert Image" button, I'm seeing the correct directory and when I try to upload a new image it says "uploading" but then it says "Unable to upload file".
     
    If I rollover the upload button, I now see following hint.

     
    What have I done to deserve this?
     
    Thanks
     
    Doug
     
     
  •  05-10-2006, 1:43 PM 19023 in reply to 19004

    Re: File upload --- doesn't

    Doug,
     
    Thanks for the nice comment about Cute Editor.
     
    >>what have I done to deserve this?
     
    It looks like it's still a permission issue.
     
    Can you check your folder properties and make sure that the ACHINE}\ASPNET on IIS 5 or Network Service on IIS 6  has Read+Write permissions on this folder and its contents.
     
    If your application is impersonating via <identity impersonate="true"/>, please set the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user Read+Write permissions on this folder and its contents.
     
    Keep me posted

     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML