FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

HELP!!! "Object reference not set to an instance of an object" in FTB dll

Last post 09-28-2008, 12:00 PM by ochyst. 7 replies.
Sort Posts: Previous Next
  •  06-15-2007, 3:01 PM 8315

    HELP!!! "Object reference not set to an instance of an object" in FTB dll


    Hy, everybody... Well, I'm having a strange problem to use the FreeTextBox... When I try to acess the page that contains the FTB, the exception screen pasted below appears... But it appears just sometimes! There times that I acess the page and it works perfectly, but in others, this error comes out. It's an ASP.NET 2.0 Web Application, and I'm not using DotNetNuke, just the .dll on the Bin folder. I've tried to debug this, but the page load perfectly... The problem occurs on the rendering of the page... I need this 100% trustable, so I beg help!! Thanks for the time spent and sorry about the poor english =)

    ---------------------------------------------------------------------------------------

    Server Error in '/Arpeco' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    FreeTextBoxControls.Support.ResourceManager.LoadResource(Hashtable target, String language, String cacheKey) +485
    FreeTextBoxControls.Support.ResourceManager.GetResources() +263
    FreeTextBoxControls.Support.ResourceManager.GetString(String name) +45
    FreeTextBoxControls.Support.Helper.PopulateDefaultDropDownList(ToolbarDropDownList toolbarDropDownList, FreeTextBox freeTextBox, ResourceManager resourceManager) +6140
    FreeTextBoxControls.FreeTextBox.OnPreRender(EventArgs e) +654
    System.Web.UI.Control.PreRenderRecursiveInternal() +77
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360



    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
  •  06-22-2007, 1:59 PM 8342 in reply to 8315

    Re: HELP!!! "Object reference not set to an instance of an object" in FTB dll

    Nobody knows???
  •  11-12-2007, 9:51 AM 8701 in reply to 8315

    Re: HELP!!! "Object reference not set to an instance of an object" in FTB dll

    I am happy to say that John replied to my support request and was able to provide a very simple solution...

    My original license that caused problems was in the format of:

    FreeTextBox License [some unique key here...] [another unique key here...]

    The license is supposed to be in the format where it has 3 lines.  The correct format is:

    FreeTextBox License

    [some unique key here...]
    [another unique key here...]
  •  08-12-2008, 8:15 PM 9364 in reply to 8315

    Re: HELP!!! "Object reference not set to an instance of an object" in FTB dll

    hi everybody
    I'm having  this problem to use the FreeTextBox..
    Help me :(
    pls:)

  •  08-12-2008, 8:17 PM 9365 in reply to 8315

    Re: HELP!!! "Object reference not set to an instance of an object" in FTB dll

    hi everybody
    I'm having  this problem to use the FreeTextBox..
    Help me :(
    pls:)



    thiagoprzy:

    Hy, everybody... Well, I'm having a strange problem to use the FreeTextBox... When I try to acess the page that contains the FTB, the exception screen pasted below appears... But it appears just sometimes! There times that I acess the page and it works perfectly, but in others, this error comes out. It's an ASP.NET 2.0 Web Application, and I'm not using DotNetNuke, just the .dll on the Bin folder. I've tried to debug this, but the page load perfectly... The problem occurs on the rendering of the page... I need this 100% trustable, so I beg help!! Thanks for the time spent and sorry about the poor english =)

    ---------------------------------------------------------------------------------------

    Server Error in '/Arpeco' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    FreeTextBoxControls.Support.ResourceManager.LoadResource(Hashtable target, String language, String cacheKey) +485
    FreeTextBoxControls.Support.ResourceManager.GetResources() +263
    FreeTextBoxControls.Support.ResourceManager.GetString(String name) +45
    FreeTextBoxControls.Support.Helper.PopulateDefaultDropDownList(ToolbarDropDownList toolbarDropDownList, FreeTextBox freeTextBox, ResourceManager resourceManager) +6140
    FreeTextBoxControls.FreeTextBox.OnPreRender(EventArgs e) +654
    System.Web.UI.Control.PreRenderRecursiveInternal() +77
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360



    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
  •  08-19-2008, 8:19 AM 9378 in reply to 9365

    Re: HELP!!! "Object reference not set to an instance of an object" in FTB dll

    Any Solution? I have the same problem.
  •  08-22-2008, 9:06 PM 9395 in reply to 9378

    Re: HELP!!! "Object reference not set to an instance of an object" in FTB dll

    I found the Solution after days breaking the head.

    Set the language property of the control to en-US or live this field blank. Anyway, this error will only happen if the file Languages.xml does not contain a reference to the XML file language. These files are located in ~\aspnet_client\FreeTextBox\Languages by default.

    Well, I hope helped, works for me!
  •  09-28-2008, 12:00 PM 9491 in reply to 9395

    Re: HELP!!! "Object reference not set to an instance of an object" in FTB dll

    Hi,

    this problem is caused by space character or white characters in licence file. The Licence file must be in format:

    FreeTextBox License
    [licencecode]
    [licencecode]

    without any spaces at the end of lines and must have only three lines.

     

    Good Luck

View as RSS news feed in XML
www.freetextbox.com