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