Ask a Question related to ASP.NET General, Design and Development.
-
Bob Frasca #1
Error:Object must implement IConvertible
I'm trying to execute a datareader that calls a SQL Server stored procedure
and I get this error. I also tried loading a dataset using the database
adapter Fill method and I get the same error.
I have other ASPNET applications that do these things without a problem.
Anyone have any suggestions?
Bob Frasca Guest
-
Strange error from: Dim myState As Object() = CType(savedState, Object())
Every book and every website I've seen that talks about how to save state for child controls in a composite webcontrol says to do something like... -
Mysterious Error: Object reference not set to an instance of an object
Hi There! I'm having a mysterious error right after I login using Forms Authentication in my ASP.NET app. Below is the error... Exception... -
[DRb] Using DRb to implement object database
On Fri, 8 Aug 2003, Steve Tuckner wrote: The short answer is that you might get on better looking at the Rinda examples. See... -
ERROR:Object must implement IConvertible.
I'm trying to insert a record into a sql server 2000 database using a store procedure (vs.net is my develop tool) on the button click event but I... -
HELP! Error Loading ASPX : Object Reference not set to an instance object
Hello, When i run my aspx i get this weird error: System.NullReferenceException: Object reference not set to an instance of an object. at... -
Bob Frasca #2
Re: Error:Object must implement IConvertible
For the thread...if anyone's interested.
I resolved this problem. I was passing a parameter to my stored procedure.
I was incorrectly assigning the value to a "varchar" parameter.
Incorrect:
SqlCommandObject.Parameters("@Param").Value = txtTextBox
Correct:
SqlCommandObject.Parameters("@Param").Value = txtTextBox.Text
When it attempted to execute the datareader or the Fill method, SQL Server
(or was it ADONET) was attempting to convert a text box object to a varchar
instead of a text string object to a varchar.
An example of ambiguous naming conventions biting me in the ...
"Bob Frasca" <bfrasca@netspoke.com> wrote in message
news:%23NWzojdVDHA.2052@TK2MSFTNGP10.phx.gbl...procedure> I'm trying to execute a datareader that calls a SQL Server stored> and I get this error. I also tried loading a dataset using the database
> adapter Fill method and I get the same error.
>
> I have other ASPNET applications that do these things without a problem.
>
> Anyone have any suggestions?
>
>
Bob Frasca Guest



Reply With Quote

