为什么FreeTextBox在本地上可以运行,在服务器会不行下面是错误代码
FreeTextBox has not been correctly installed. To install FreeTextBox either:
(1) add a reference to FtbWebResource.axd in web.config:
<system.web>
<httpHandlers>
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
</httpHandlers>
</system.web>(2) Save the FreeTextBox image and javascript files to a location on your website and set up FreeTextBox as follows
<FTB:FreeTextBox id="FreeTextBox1" SupportFolder="ftbfileslocation" JavaScriptLocation="ExternalFile" ButtonImagesLocation="ExternalFile" ToolbarImagesLocation="ExternalFile" ButtonImagesLocation="ExternalFile" runat="server" />
FreeTextBox has not been correctly installed. To install FreeTextBox either:
(1) add a reference to FtbWebResource.axd in web.config:
<system.web>
<httpHandlers>
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
</httpHandlers>
</system.web>(2) Save the FreeTextBox image and javascript files to a location on your website and set up FreeTextBox as follows
<FTB:FreeTextBox id="FreeTextBox1" SupportFolder="ftbfileslocation" JavaScriptLocation="ExternalFile" ButtonImagesLocation="ExternalFile" ToolbarImagesLocation="ExternalFile" ButtonImagesLocation="ExternalFile" runat="server" />
解决方案 »
- XML操作
- 现在租用空间的个人网站也要通过审批ICP证了。如果购买了空间,ICP证不能通过审批,就是购买了空间又无法办个人网站,岂不是百花几百元
- asp.net 汉字参数乱码
- 将服务器值传到客户端,这句我该如何写?
- 问一个vs2005 和 vc6.0的问题----速度
- 触发器是怎么使用的?
- 如何把html生成的table导出到Excel
- dataGrid里的一个按钮问题
- 关系数据库的简单操作问题,搞了一天了,搞不懂
- JavaScript函数中如何对url中出现的特殊字符进行处理?如字符‘&’
- datatable,dataview,dataset,datareader的使用
- 新建ASP.NET项目不成功!提示“尝试创建Web项目或打开位于URL“http://localhost/web1”的Web项目时,Web服务器报告了以下错误。“http:/
而且要在webconfig中添加配置<httphandlers>
在本地可运行啊
(1) 复制 bin 目录下的 FreeTextBox.dll 文件到你的 Web 应用程序目录中的 bin 目录或其上层的虚拟目录下的 bin 目录;
(2) 复制 HelperScripts 目录下的三个文件到你的 Web 应用程序目录中或其子目录中,注意使用时要指定 HelperFilePath 属性;
(3) 复制 images 目录下的 ftb 目录到你的 Web 站点根目录下的 images 目录中。 默认的目录结构如下: + Web 根目录
+ bin 目录
- FreeTextBox.dll
+ images 目录
+ ftb 目录
+ 你的应用程序(虚拟目录)
+ bin 目录
- FreeTextBox.dll
+ images 目录(这个是你的“图片库”目录,上传的图片都在此)
- ftb.colorpicker.aspx
- ftb.imagegallery.aspx
- ftb.inserttable.aspx
- test.aspx (测试) (注:+ 表示目录,- 表示文件;上面 FreeTextBox.dll 只需要复制一个就行了;)2.或者你可以更改源代码来简化某些设置。3.官方网站:http://www.freetextbox.com
中文版: http://www2.zzu.edu.cn/pb/w/ftb/
上面网页中都有一些示例程序可以参考。4.使用本软件请遵照 License Agreement 协议,使用中文版时请不要去掉译者信息。