Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > how do i fix Specified cast is not valid error ?

Reply
Thread Tools

how do i fix Specified cast is not valid error ?

 
 
sviau
Guest
Posts: n/a
 
      02-11-2004
whats does this mean? how do i fix this? this application is hosted in load
balancing environment. we have loaded the hotfix, and have set the
machinekey to same value in machine.config on each web server (15)

Key Information
Stack trace (0) at System.Web.UI.Page.LoadPageViewState() at
System.Web.UI.Page.ProcessRequestMain()
Source (0) System.Web
Message (0) Specified cast is not valid.
Log ID 21514
URL http://www.mls.ca/REALTORSearch.aspx


 
Reply With Quote
 
 
 
 
Alvin Bruney [MVP]
Guest
Posts: n/a
 
      02-11-2004
you need to provide more information in order to receive help. Perhaps the
lines of code leading up to the error.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"sviau" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> whats does this mean? how do i fix this? this application is hosted in

load
> balancing environment. we have loaded the hotfix, and have set the
> machinekey to same value in machine.config on each web server (15)
>
> Key Information
> Stack trace (0) at System.Web.UI.Page.LoadPageViewState() at
> System.Web.UI.Page.ProcessRequestMain()
> Source (0) System.Web
> Message (0) Specified cast is not valid.
> Log ID 21514
> URL http://www.mls.ca/REALTORSearch.aspx
>
>



 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      02-11-2004
Hi sviau,


Thanks for posting in the community!
From your description, you met "in valid case exception" in your web
application? As you mentioned that your application is hosted in load
balancing environment and you set all those multi-servers with the same
machinekey, are you using the FormsAuthentication in web garden situation?
If so, would you provide some further info on the problem you met, such as :
1. Does this problem occur with some certain server in your balancing
environment or occur when visiting every server in the enviroment?

2. Would you please get some further description on the point where the
exception occurs (in which page or which period of code?).

Please check out the above items. If you feel anything unclear or have any
new findings, please feel free to post here.



Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx


 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      02-17-2004

Hi sviau,


Have you had a chance to check out my former suggestions or have you got
any progress on this issue? If you need any further assitance, please feel
free to post here.



Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: specified cast is not valid. Why not? Alan Silver ASP .Net 5 02-15-2005 08:08 PM
Error-- Specified cast is not valid Justin ASP .Net 1 12-03-2003 06:02 PM
PRB: Error Message: System.InvalidCastException: Specified Cast Is Not Valid Miguel Angel Dinelli ASP .Net 1 11-13-2003 07:56 PM
Re: 'Specified Cast Is Not Valid' Error! Stefan Landgraf ASP .Net 0 08-19-2003 02:04 PM
I get the following error ( Specified cast is not valid ) with Server.Transfer Andrew ASP .Net 0 08-12-2003 08:26 PM



Advertisments