FCKEditor 2.6.4 Asp.net上传文件没有权限解决
2010年07月05日
上传图片后页面左下脚出现脚本错误提示,点开可看到是"没有权限"的提示,并且上传窗口一直冻结在进度条状态,提示js错误,查看上传的文件夹,图片已经上传成功。 解决方法:
用vs打开原文件项目 源代码文件FileBrowser/FileWorkerBase.cs里找到这样一行代码: 源代码下载地址
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;}}})();" ); 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;}}})();" );
修改成: 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;}})();"); 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;} 后,重新编译,然后在项目里重新添加引用后,问题解决。
还有一点,如果使用asp.net 2.0和theme,
那么需要打开\editor\filemanager\upload\aspx\upload.aspx和\editor\filemanager\browser\default\connectors\asp x\connector.aspx文件,并且在第一行中加入Theme="" 。
附:修改后编译好的DLL文件下载地址[稳定版]:点此下载
今天使用出现了问题,作下笔记.转自:
http://www.cnblogs.com/wangpei/archive/2009/06/27/ 1512228.html
发表评论
-
《Windows 核心编程》 -- 内核对象 --札记
2012-01-20 10:13 967《Windows 核心编程》 -- 内核对象 --札记 20 ... -
SDK网络连接/多线程示例代码
2012-01-20 10:13 691SDK网络连接/多线程示例代码 2010年06月09日 ... -
多线程编程(一)――CreateThread
2012-01-20 10:13 975多线程编程(一)――Creat ... -
CWinThread类,以及和createthread API的区别
2012-01-20 10:13 976CWinThread类,以及和createthread API ... -
Flash务实主义(四)――Flash中的MVC
2012-01-19 15:13 621Flash务实主义(四)――Flash中的MVC 2011年 ... -
只学一点点:我的技术学习策略
2012-01-19 15:13 636只学一点点:我的技术学 ... -
Flash Flex 国际化问题解决方案大全
2012-01-19 15:13 1091Flash Flex 国际化问题解 ... -
flex 问题
2012-01-19 15:13 599flex 问题 2011年04月04日 ... -
一名优秀的Flex开发者需要知道的10样东西
2012-01-19 15:13 587一名优秀的Flex开发者需要知道的10样东西 2010年06 ... -
最全的文件扩展名大全(二)
2012-01-17 05:00 868最全的文件扩展名大全(二) 2010年11月13日 PD ... -
DirectUI 的初步分析
2012-01-17 05:00 871DirectUI 的初步分析 2011年05月04日 D ... -
什么软件支持什么格式
2012-01-17 05:00 808什么软件支持什么格式 ... -
eclipse工具使用技巧&关联Android源码
2012-01-17 05:00 853eclipse工具使用技巧&关联Android源码 ... -
FMS客户端ActionScript 语言的参考
2012-01-16 03:51 740FMS客户端ActionScript 语言 ... -
Learning Flash Media Server 3中文版-第4章之2/6
2012-01-16 03:51 661Learning Flash Media Server 3 ... -
fms远程共享对象
2012-01-16 03:51 718fms远程共享对象 2011年0 ... -
FMS/red5客户端信息对象
2012-01-16 03:51 1332FMS/red5客户端信息对象 2010年11月16日 ... -
FMS_api
2012-01-16 03:51 726FMS_api 2010年03月11日 //====== ...
相关推荐
推荐fckEditor HTML文本编辑器,压缩包里有fckeditor 源码,和.net动态支持库源码,引用编译FredCK.FCKeditorV2.vs2010.csproj 项目生成的DLL文件(可以根据需要自己修改动态库功能),然后结合fckeditor文件夹里...
fckeditor for asp.net原版太 大,此版针对asp.net修改后,留着自用。
fckeditor 2.6.4 完整版 fckeditor 2.6.4 完整版 编辑器
FCKeditor_2.6.4 and FCKeditor.Net_2.6.3 支持asp.net的文本编辑器,包含编辑器文件和。net支持控件
里面有说明文档,保证没有问题.本人已经在项目中测试过. 完全没问题
FCKEditor在asp.net中的用法,里面中的文档有详细说明~~
此文档全面总结了在ASP.NET中使用FCKEditor2.6.3所需要修改和注意的步骤,看了肯定让你豁然开朗(对初、中级的程序员来说)。
FCKeditor2.6.4使用说明 使用FCKeditor的人可以下来看看噢~
在ASP.NET下FCKeditor可运行的示例工程。 今天发现CSDN里有一个这样的工程,下来后发现文件不全!所以配完后发到这里与大家共享!
FCKeditor.Net_2.6.3.zip和FCKeditor-v2.6.3
.net FCKeditor2.6.4 修改版 支持浏览服务器 缩略图
请修改editor\filemanager\connectors\asp下的config.asp中的上传路径及function.asp中的相关水印设置。 压缩包中含22个插件,保存远程图片功能默认已装上。 有任何疑问请到...
NULL 博文链接:https://xiaopin.iteye.com/blog/423885
FCKeditor_2.6.6 + FCKeditor.Net_2.6.4 ,ASP.NET下用的文本编辑器。
已配置好的FCKeditor2.6.4最新版for .net。 下载可直接使用!
网站富文本编辑器Fckeditor在ASP.NET中应用源程序,如有不明白可以直接咨询我!我真诚的愿意与你们交流,共同进步。
最新FCKEditor(asp.net)实例,源码
FCKeditor.Net_2.6.4 .NET 开发源码
NULL 博文链接:https://kaig.iteye.com/blog/363825
FCKEditor Asp.net的精简后版本。