Menu

#1 Exception Details: System.InvalidCastException: Specified ca

open
nobody
None
5
2004-12-21
2004-12-21
Anonymous
No

I get this when I try to go to admin after I ran the
install.aspx page successfully (please note that this is
the unmodified application):

Server Error in '/chimera' Application.
------------------------------------------------------
--------------------------

Specified cast is not valid.
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.InvalidCastException:
Specified cast is not valid.

Source Error:

Line 353: int[] dlevel = new int[6];
Line 354:
Line 355: int cnt = (int)db.GetScalar("SELECT COUNT(*)
FROM " + InstancePrefix + "Levels INNER JOIN " +
InstancePrefix + "LevelLinks ON " + InstancePrefix
+ "Levels.L_ID = " + InstancePrefix
+ "LevelLinks.LL_Level WHERE LL_Member = " + member);
Line 356: // Why is this array a string? It only holds
integers, after all...but, if I make it a string[], I can
reduce MultiSecurity() from O(n) to O(1).
Line 357: string[] stack = new string[cnt];

Source File:
C:\Inetpub\wwwroot\chimera\common\security.aspx
Line: 355

Stack Trace:

[InvalidCastException: Specified cast is not valid.]
ASP.default_aspx.Conjunction(String member) in
C:\Inetpub\wwwroot\chimera\common\security.aspx:355
ASP.default_aspx.AbstractLogin(Int32 id) in
C:\Inetpub\wwwroot\chimera\common\vars.aspx:263
ASP.default_aspx.Login(String name, String pass) in
C:\Inetpub\wwwroot\chimera\common\vars.aspx:228
ASP.default_aspx.CommonHeader() in
C:\Inetpub\wwwroot\chimera\admin\acf.aspx:12
ASP.default_aspx.Local_Load() in
C:\Inetpub\wwwroot\chimera\admin\Default.aspx:8
ASP.default_aspx.Page_Load() in
C:\Inetpub\wwwroot\chimera\common\vars.aspx:155

System.Web.Util.ArglessEventHandlerDelegateProxy.Callb
ack(Object sender, EventArgs e) +10
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750

------------------------------------------------------
--------------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.