崩溃。
在百度搜了半天,也做了半天。就是不行。
下了两个文件。一个文件夹,一个dll(bin里),也加载了;
运行后:鈥?WebSite2鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆?hr width=100% size=1 color=silver>
HTTP 閿欒 404 - Not Found銆?/i> --------------------------------------------------------------------------------
鐗堟湰淇℃伅: ASP.NET Development Server 8.0.0.0 这是什么错误?大家帮看看
在百度搜了半天,也做了半天。就是不行。
下了两个文件。一个文件夹,一个dll(bin里),也加载了;
运行后:鈥?WebSite2鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆?hr width=100% size=1 color=silver>
HTTP 閿欒 404 - Not Found銆?/i> --------------------------------------------------------------------------------
鐗堟湰淇℃伅: ASP.NET Development Server 8.0.0.0 这是什么错误?大家帮看看
<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>
很简单的页面 ,只有fck
</FCKeditorV2:FCKeditor>他有两个属性, 应该是必须设置的。 如果没有设置或者你没有把fck相关的文件放到项目下
都会出现这个错误的。,
还有个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;不过还是建议看看上面的警告
}
也改了。
不过,还是谢谢大家。
2,在你的网站的web.config的 <appSettings>枝节中加入
<appSettings>
<add key="FCKeditor:BasePath" value="~/fckeditor/"/>
<add key="FCKeditor:UserFilesPath" value="~/userfiles/"/>
</appSettings>
3,在项目文件夹下拷入文件夹fckeditor.
4,将已经加载到vs工具箱的在线编译器拖放到你想要的页面位置,页面运行加载后便会出现如下效果图