Web site problem???

Help Support SkidSteer Forum:

perry

Well-known member
Joined
Aug 22, 2006
Messages
869
General questions and general repairs will not open?, just wanted to bring this to a moderators attention.
 

bobcat_ron

Well-known member
Joined
Aug 6, 2007
Messages
334

Server Error in '/' Application.

Object cannot be cast from DBNull to other types.

[FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]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: Object cannot be cast from DBNull to other types.

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:

Code:
[InvalidCastException: Object cannot be cast from DBNull to other types.]
   System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) +48
   System.Convert.ToInt32(Object value) +36
   AspNetForums.Data.SqlDataProvider.PopulateThreadFromSqlDataReader(SqlDataReader reader) +560
   AspNetForums.Data.SqlDataProvider.GetAllThreads(Int32 forumID, Int32 pageSize, Int32 pageIndex, DateTime endDate, String username, Boolean unreadThreadsOnly) +657
   AspNetForums.Threads.GetAllThreads(Int32 forumID, Int32 pageSize, Int32 pageIndex, DateTime endDate, String username, Boolean unreadThreadsOnly) +483
   AspNetForums.Controls.ThreadView.OnPreRender(EventArgs e) +390
   System.Web.UI.Control.PreRenderRecursiveInternal() +62
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Page.ProcessRequestMain() +1499
[/FONT]
 

owensge

Well-known member
Joined
Oct 17, 2003
Messages
326
Server Error in '/' Application.

Object cannot be cast from DBNull to other types.
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: Object cannot be cast from DBNull to other types.

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:



[InvalidCastException: Object cannot be cast from DBNull to other types.]
System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) +48
System.Convert.ToInt32(Object value) +36
AspNetForums.Data.SqlDataProvider.PopulateThreadFromSqlDataReader(SqlDataReader reader) +560
AspNetForums.Data.SqlDataProvider.GetAllThreads(Int32 forumID, Int32 pageSize, Int32 pageIndex, DateTime endDate, String username, Boolean unreadThreadsOnly) +657
AspNetForums.Threads.GetAllThreads(Int32 forumID, Int32 pageSize, Int32 pageIndex, DateTime endDate, String username, Boolean unreadThreadsOnly) +483
AspNetForums.Controls.ThreadView.OnPreRender(EventArgs e) +390
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1499
Thanks for the heads up. I fixed the issue and all should be working now. Please let me know if you have any further issues.
Geoffrey
 

skidsteer.ca

Well-known member
Joined
Jan 20, 2006
Messages
3,853
Thanks Geoffrey! it all seems good now.
In the recent thread about fixing a freind 873, I had this error when i click on the "next" link at the bottom of the page to open the 2nd page of posts.
Ken

Server Error in '/' Application.

Input string was not in a correct format.

[FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]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.FormatException: Input string was not in a correct format.

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:

Code:
[FormatException: Input string was not in a correct format.]
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +0
   AspNetForums.Controls.Paging.PrevNext_Click(Object sender, EventArgs e) +57
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +108
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138
   System.Web.UI.Page.ProcessRequestMain() +1292


Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 [/FONT]
 

owensge

Well-known member
Joined
Oct 17, 2003
Messages
326
In the recent thread about fixing a freind 873, I had this error when i click on the "next" link at the bottom of the page to open the 2nd page of posts.
Ken

Server Error in '/' Application.

Input string was not in a correct format.
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.FormatException: Input string was not in a correct format.

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:



[FormatException: Input string was not in a correct format.]
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +0
AspNetForums.Controls.Paging.PrevNext_Click(Object sender, EventArgs e) +57
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +108
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138
System.Web.UI.Page.ProcessRequestMain() +1292





Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
Ken, just checked it out and I did not get the error message. Did you post something and then click to the next screen? Let me play with it and see if I can break it...
Thanks
 

skidsteer.ca

Well-known member
Joined
Jan 20, 2006
Messages
3,853
Ken, just checked it out and I did not get the error message. Did you post something and then click to the next screen? Let me play with it and see if I can break it...
Thanks
No I had just read the 1st page of threads and was trying to open the second if I recall correctly. Sorry its been a while, I've been swamped lately.
Ken
 
Top