[thelist] ASP.NET: Specified cast is not valid.

Matt Warden mwarden at gmail.com
Mon May 15 17:10:44 CDT 2006


On 5/15/06, Casey Crookston <caseyc at netgainhosting.com> wrote:

> Exception Details: System.InvalidCastException: Specified cast is not
> valid.
>
> Source Error:
>
>
> Line 57:             Dim arrRoles As String()
> Line 58:             conWiese.Open()
> Line 59:             arrRoles = cmdSelect.ExecuteScalar()
> Line 60:             conWiese.Close()
> Line 61:
>
> Source File: C:\Sites\local.wieseford.com\Global.asax.vb    Line: 59
>
> Line 59 is: arrRoles = cmdSelect.ExecuteScalar()


arrRoles = cmdSelect.ExecuteScalar().ToString();


-- 
Matt Warden
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.


More information about the thelist mailing list