FCKeditor IIS upload picture hint does not have permission workaround

Source: Internet
Author: User
Tags file upload

fckeditor.net2.6.3 upload picture, picture file upload is successful, but is in FCK not return upload picture address, IE script hint "no permission", looked for a long time finally found the problem.

Analyze problems


Remove the folder read-only option, look again, or display a read-only team supplement 2011-03-23 10:16
Does the computer have permission for you to use the user is not an administrator

Workaround:
Open the "FredCK.FCKeditorV2.vs2005.csproj" item in the downloaded "Fckeditor.net_2.6.3.zip"
Again, open Filebrowser-> FileWorkerBase.cs 118.
The original code:

Response.Write (@) (function () {var d=document.domain;while (true) {Try{var a=window.top.opener.document.domain;break ;} catch (e) {};d =d.replace (?:. | $)/, '); if (d.length==0) Break;try{document.domain=d;} catch (e) {break;}}}) ();" );


To be replaced by:

Response.Write (@) (function () {var d=document.domain;while (true) {Try{var a=window.top.opener.document.domain;break ;} catch (e) {};d =d.replace (?:. | $)/, '); if (d.length==0) Break;try{}catch (e) {break;}}}) ();");

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.