Rich Text Box

Discussion in 'ASP.NET / ASP.NET Core' started by newbie.net, Feb 20, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I had the following tag:
    <%@ Register tagprefix="rtb" Namespace="RichTextBoxControl" Assembly="RichTextBox" %>

    It's been working like a champ for a year. Then, all of a sudden, I got parser error saying "File or assembly name RichTextBox, or one of its dependencies, was not found."

    Then, I changed it to the following:
    <%@ Register tagprefix="rtb" Namespace="RichTextBoxControl" Assembly="RichTextBox, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=17b15412cfbf13c1"%>

    Then, the parser error goes away. But, I saw "Error Creating Control" all over the page in the Design view. Although the web page seems to be loading correctly in IE, my controls do not work.

    Any help will be appreciated. Thanks.<%@Register tagprefix="rtb" Namespace="RichTextBoxControl" Assembly="RichTextBox, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=17b15412cfbf13c1" %><%@Register tagprefix="rtb" Namespace="RichTextBoxControl" Assembly="RichTextBox, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=17b15412cfbf13c1" %><%@Register tagprefix="rtb" Namespace="RichTextBoxControl" Assembly="RichTextBox, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=17b15412cfbf13c1" %>
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Do you mean you get the error in VS.NET? and you do not have any problem when loading it from the web server?

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. I have had this happen occasionally, make sure you dont have different versions of the DLL lying around for starters, I would remove
    references DLL, just get it to a state of the errors are gone, then include the reference to the library again.


    sometimes I have had to even remove the local cached information about the application in the .Net framework directory from memory
    it is under {WindowsDir}\Microsoft .Net Framework\{Your Version} in the temp directory.


    at worst case once I had to re-create the project, something had gone screwy in a bad way, if you can get it back to where you can include the control in the toolbox, you should be ok again.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page