Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / September 2003



Tip: Looking for answers? Try searching our database.

Runtime Error 3421

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kris - 30 Sep 2003 13:50 GMT
I have an application that is getting a random run-time
error 3421. According to the knowledge base, this is
related to passing a BLOB argument to a stored procedure
(Q190450). While my application uses a stored procedure,
there are no BLOB arguments. I have checked the data types
for the stored procedure and the code calling the stored
procedure. They are identical. Any ideas?
Richard J - 30 Sep 2003 15:23 GMT
Error 3421: Data type conversion error  (if I remember
correctly).

Question: are you using SQL Server or Access?  And if you
are using SQL Server, what version?

SQL Server 6.5 and earlier do not allow implicit
conversions ... meaning you can't pass an integer into
your stored procedure if the field is defined as a text
field, and vice versa.

One idea would be to pull the SQL statement out of your
stored procedure (just for testing mind you) and put it
inline into your application.  This will eliminate any
question as to it being a problem with the SQL statement
or not.

But I would start with verifying that the data type you
are declaring in your stored procedure equates to the data
type of the corresponding field(s) in your database.

>-----Original Message-----
>I have an application that is getting a random run-time
[quoted text clipped - 5 lines]
>procedure. They are identical. Any ideas?
>.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.