Support forums

Error 401 when i uploading file on a Sharepoint site

Last post 10-07-2010, 9:10 AM by Ggiry. 1 replies.
Sort Posts: Previous Next
  •  10-06-2010, 3:35 AM 64336

    Error 401 when i uploading file on a Sharepoint site


    I’m trying to integrate CuteEditor v6.6 on a Sharepoint 2007 Site, but i have a 401 error when i upload file.


    My environnment :
    • Windows Server 2003
    • IE 6.0
    • A Sharepoint Site deployed on IIS Site (C:\Inetpub\wwwroot\wss\VirtualDirectories\80) with a specific application pool logon with a specific user "Domain\MOSS_SYSSRV."
    • Integrated authentication
    What i've done:


    1. Install CuteEditor assembly and license file


    Copy the following files to your application bin folder.
    • CuteEditor.dll
    • CuteEditor.ImageEditor.dll
    • NetSpell.SpellChecker.dll
    • CuteEditor.lic

    Copy the following files to the GAC.

    • CuteEditor.dll
    2. Copy CuteEditor Client files on sharepoint webapp directory: C:\Inetpub\wwwroot\wss\VirtualDirectories\80\CuteSoft_Client
    3. Add Uploader httpModule to web.config's httpModules list
    4. Add CuteEditor to an ASP.NET page
    5. Change windows rights onC:\Inetpub\wwwroot\wss\VirtualDirectories\80\uploads  to set my pool application user  full control rights
    6. Change IIS rights onC:\Inetpub\wwwroot\wss\VirtualDirectories\80\uploads to allow Read/Write on this directory
    6. Change web.config to add:
     <SafeControl Assembly="CuteEditor,Version=,Culture=Neutral,PublicKeyToken=3858aa6802b1223a" Namespace="CuteEditor" TypeName="*" Safe="True" />
    <add assembly="CuteEditor,Version=,Culture=Neutral,PublicKeyToken=3858aa6802b1223a" />

    What i get ?

    When i try to upload an Image i get a authentication window and then this error: Flash : The upload task is interrupted! http 401
    The solution ?
    I read that i can change upload type but how ?
    Other solution .
    Filed under: , ,
  •  10-07-2010, 9:10 AM 64348 in reply to 64336

    Re: Error 401 when i uploading file on a Sharepoint site

    Solution from Eric in LiveSupport: to change Upload Flash type to Iframe Type
    Please open CuteSoft_Client\CuteEditor\Dialogs\InsertImage.aspx and modify the following code:
    <CE:Uploader id="InputFile" runat="server"></CE:Uploader>
     <CE:Uploader id="InputFile" runat="server" UploadType="Iframe"></CE:Uploader>
    And it's now working
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems