网上下载了最新的FreeTextBox3.03。安装之后使用和在本地调试都没问题,但上传到虚拟主机空间以后出现了下面错误: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" />不知道是怎么回事,望高人指点。

解决方案 »

  1.   

    试试把那个引用中dll的属性“是否复制到本地”设为True试试
      

  2.   

    搞定了。原来是虚拟主机空间禁用了axd。NND,需要从外部引用freetextbox文件。加上这几句就可以了:SupportFolder="~/FreeTextBox" JavaScriptLocation="ExternalFile" ButtonImagesLocation="ExternalFile" ToolbarImagesLocation="ExternalFile"
      

  3.   

    FreeTextBox3.03 只有插入图片,没有上传图片的功能?怎么实现图片的上传呢?
      

  4.   

    FreeTextBox3.03 需要注册,注册后才提供图片上传的功能
      

  5.   

    在Web.config中加入下面的代码
    <system.web><pages pageBaseType="System.Web.UI.Page" />


    <httpModules>
    <clear />
    </httpModules>

    <httpHandlers>
    <add verb="GET" 
    path="FtbWebResource.axd" 
    type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />

    </httpHandlers>  </system.web>