Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Specified Cast Error?

Status
Not open for further replies.

sthmpsn1

MIS
Sep 26, 2001
456
US
What does this mean?

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.

 
It means that you're trying to stuff a datatype into a different one.

i.e.

intInteger = strString
will cause an error like that

Can you post the code that its erroring-out on?

Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top