Opened 9 years ago

Closed 9 years ago

#14282 closed Bug (invalid)

Getting 'Access Denied' error when uploading images

Reported by: Swetha Owned by:
Priority: Normal Milestone:
Component: Server : ASP.Net Version: 3.6.2
Keywords: Cc:

Description

Steps to reproduce

  1. ckeditor full version is added to the solution's root folder
  2. custom upload file is created to upload the images

CKEDITOR.replace('<%=txtCkEditor.ClientID %>', { filebrowserImageUploadUrl: '/WebApplication1/Upload.ashx' });

  1. Getting the Access Denied error in ckeditor.js

Expected result == file uploaded to the folder and displayed in the editor

Actual result == Access Denied in ckeditor.js

Other details (browser, OS, CKEditor version, installed plugins) == IE, Windows7, 3.6.6.2, ckeditor full

Attachments (1)

error.tif (136.3 KB) - added by Swetha 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Swetha

Attachment: error.tif added

comment:1 Changed 9 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

You need newer CKEditor for uploads to work.

You have written you are using CKEditor for ASP.NET 3.6.6.2. Please bear in mind that you can update client side version to CKEditor 4.5.6.

Download CKEditor 3.6.6.2 for ASP.NET, unpack, go to your-ckeditor-aspnet-3.6.6.2-folder\_Samples and delete \ckeditor\ directory. Download FULL package for CKEditor 4.5.6 and extract it to \ckeditor\ directory. Next copy \ckeditor\ directory to your-ckeditor-aspnet-3.6.6.2-folder\_Samples.

In CKEditor 4.1 we have introduced ACF. You can read about it here: http://ckeditor.com/blog/Upgrading-to-CKEditor-4.1
http://ckeditor.com/blog/CKEditor-4.1-RC-Released
http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
http://docs.ckeditor.com/#!/api/CKEDITOR.filter-method-addTransformations
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-extraAllowedContent

If you plan to use content filter please note that CKEditor for ASP.NET 4.x is still under construction and to change ACF settings you would have to use config.js as it can’t be done from control level.

NOTE: IE11 is supported from CKEditor 4.3

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy