InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


ASP.NET error after installation Expand / Collapse
Author
Message
Posted 10/02/2005 07:24:41
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 28/01/2005 16:46:00
Posts: 1, Visits: 1

After installing InstantKB on a Win2K Server, I find that I'm receiving a typecast error in ASP with the following text:

"Cast from type 'DBNull' to type 'String' is not valid."

The stack trace reads as follows:

[InvalidCastException: Cast from type 'DBNull' to type 'String' is not valid.]
   Microsoft.VisualBasic.CompilerServices.StringType.FromObject(Object Value) +616
   InstantASP.Base.IO.Configuration.GetOption(String OptionName) +110
   InstantASP.InstantKB.Globals.AppSettings.ConnectionString()
   InstantASP.InstantKB.Controls.CategoryDropDownList.ReturnUserNodeData(String sNode)
   InstantASP.InstantKB.Controls.CategoryDropDownList.RecurseNodes(String CallBackNode)
   InstantASP.InstantKB.Controls.CategoryDropDownList.OnLoad(EventArgs e)
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Page.ProcessRequestMain() +731

This install is using a remote SQL server, I've confirmed the connection string is correct and that the two SQL scripts executed properly (the database, tables, and initial data all appear to be present), but I can't seem to get it to work properly.  Anyone have any ideas?

Josh

Post #4483
Posted 10/02/2005 10:20:07


Support Supremo

Support SupremoSupport SupremoSupport SupremoSupport SupremoSupport SupremoSupport SupremoSupport SupremoSupport Supremo

Group: Customers
Last Login: 13/11/2008 12:44:07
Posts: 568, Visits: 2,507
Dear Josh,

Could I access your database? I've been found this error when there is a null value in a table. I would suggest reinstalling the database.
Post #4560
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 2:37pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.