Sunday, May 3, 2009

I was signing up for a web survey, when I received an error message. Anyone that can explain what it means?

Server Error in '/' Application.

Cast from type 'DBNull' to type 'String' 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: Cast from type 'DBNull' to type 'String' is not valid.



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: Cast from type 'DBNull' to type 'String' is not valid.]

Microsoft.VisualBasic.CompilerServices.S... Value) +616

EnglishViewProfile.join.Button1_Click(Ob... sender, EventArgs e) in Y:\WebFolders\VOP_USA_TEST\en\members\jo...

System.Web.UI.WebControls.Button.OnClick... e) +108

System.Web.UI.WebControls.Button.System.... eventArgument) +57

System.Web.UI.Page.RaisePostBackEvent(IP... sourceControl, String eventArgument) +18

System.Web.UI.Page.RaisePostBackEvent(Na... postData) +33

System.Web.UI.Page.ProcessRequestMain() +1292



Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

I was signing up for a web survey, when I received an error message. Anyone that can explain what it means?
It's on their end; bad programming, basically.





"Cast from type DBNull to type String is not valid" happens when they get a record from a database and try to print it to the screen, but there's no such value in the database query result.
Reply:try this web later
Reply:This is a problem on the website that you were on. they have bugs in their code. Its not on your end.
Reply:their script might be screwed up, but thats not for sure, so make sure that u have enabled cookies in ur browser, it likely to cause this kind of error
Reply:It means that the folks who designed the survey or the website on which it's hosted screwed up. Not your doing. Nothing you can do. On the other hand, if you really want to complete it, they may fix it, so check back in a day or two.


No comments:

Post a Comment