关于FCKeditor的问题
admin 发表于 2010-04-21 | 来源:互联网 | 阅读:

崩溃。
在百度搜了半天,也做了半天。就是不行。
下了两个文件。一个文件夹,一个dll(bin里),也加载了;
运行后:

鈥?WebSite2鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆?hr width=100% size=1 color=silver>
HTTP 閿欒 404 – Not Found銆?/i> 

——————————————————————————–
鐗堟湰淇℃伅: ASP.NET Development Server 8.0.0.0 

这是什么错误?大家帮看看

已经有13 个评论
  1. my159 说:

    关键你要知道是什么产生的错误,有可能不是fck呢/

  2. wtaxum 说:

    HTML code
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" validateRequest="false" %>

    <%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
    <title>无标题页</title>
    </head>
    <body>
    <form id="form1" runat="server">
    <div>
    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server">
    </FCKeditorV2:FCKeditor>

    </div>
    </form>
    </body>
    </html>

  3. xjhuc05 说:

    关键你要知道是什么产生的错误,有可能不是fck呢/很简单的页面 ,只有fck。。。

  4. forestyaser 说:

    有两个呢啊 ,一个安装下,另一个你放到你的bin下

  5. forestyaser 说:

    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server">   </FCKeditorV2:FCKeditor>他有两个属性, 应该是必须设置的。 如果没有设置或者你没有把fck相关的文件放到项目下都会出现这个错误的。,

  6. cxjasx 说:

    有两个呢啊 ,一个安装下,另一个你放到你的bin下恩,一个文件夹放在根目录下,一个房bin里 ,我这样做了。

  7. mikeyao210 说:

    validateRequest="false" 这个还有个C# code
    private bool CheckAuthentication()
    {
    // WARNING : DO NOT simply return "true". By doing so, you are allowing
    // "anyone" to upload and list the files in your server. You must implement
    // some kind of session validation here. Even something very simple as…
    //
    // return ( Session[ "IsAuthorized" ] != null && (bool)Session[ "IsAuthorized" ] == true );
    //
    // … where Session[ "IsAuthorized" ] is set to "true" as soon as the
    // user logs in your system.
    return true; //原来这里是 false;不过还是建议看看上面的警告
    }

    也改了。

  8. awaywind 说:

    文件夹一定要是英文的,不能有中文名

  9. waterskin 说:

    文件夹一定要是英文的,不能有中文名没有中文的。。。

  10. 风子 说:

    用CKeditor更简单点。

  11. wuwei04 说:

    问题没解决,我只好用了freetextbox不过,还是谢谢大家。

  12. yyyy6 说:

    1,在VS中添加“选择项”加载在此文件夹的Bin下FredCK.FCKeditorV2.dll2,在你的网站的web.config的 <appSettings>枝节中加入  <appSettings>   <add key="FCKeditor:BasePath" value=http://topic.csdn.net/u/20100329/12/"~/fckeditor/"/>   <add key="FCKeditor:UserFilesPath" value=http://topic.csdn.net/u/20100329/12/"~/userfiles/"/>   </appSettings>3,在项目文件夹下拷入文件夹fckeditor.4,将已经加载到vs工具箱的在线编译器拖放到你想要的页面位置,页面运行加载后便会出现如下效果图

  13. boysee 说:

    这个很好做的,我刚才测试了一下,挺方便的

我要评论

评论功能因故关闭!

请加入我们的QQ群一起参与讨论:群号59400482(500人超级群)


返回首页 | 关于我们 | 联系我们 | 广告合作 | 网站地图 | 友情链接 | 版权声明