locked
How to add FreeText box in asp.net c# webforms..? RRS feed

  • Question

  • User601943570 posted

    Error    3    'Could not load file or assembly 'FreeTextBox, Version=3.3.0.30784, Culture=neutral, PublicKeyToken=5962a4e684a48b87' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)'    E:\DotNetBlog\DotNetBlog\LC    DotNetBlog

    i have added Freetextbox .dll in asp.net website ,i also added references and folder in i the project folder also..but still facing problem in integrating it..while running on the server the above mentioned error shown..

    Thanks to you

    Friday, August 15, 2014 10:03 AM

All replies

  • User-718146471 posted

    I would suggest that you post the code from your aspx page.  Make sure that this is in there near the top of the page in the code:

    <%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>

    Friday, August 15, 2014 10:09 AM
  • User601943570 posted

    Thanks for your reply.

    I have  already  registered this richtextbox, even also i configure web.config for asp.net 4.0

    For ASP.NET 4.0, we'll need to add <httpRuntime requestValidationMode="2.0" /> to allow HTML to be posted

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <system.web>            
      <httpRuntime requestValidationMode="2.0" />
    </system.web>
    </configuration> 

    And

     <@% Page ValidateRequest="false" %>
       <%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>

    but then aslo here is problem in loading assemblies,token,etc

    this is the error

    Error    1    'Could not load file or assembly 'FreeTextBox, Version=3.3.0.22914, Culture=neutral, PublicKeyToken=5962a4e684a48b87' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)'    D:\DotNetBlog\DotNetBlog\LC    DotNetBlog

    Friday, August 15, 2014 8:19 PM