ADODB.Command error '800a0d5d'

i am getting this error
ADODB.Command error '800a0d5d'

Application uses a value of the wrong type for the current operation.

/administratorsteammanagerupdatescore3.asp, line 74

my sp   in line 74  
hometeamreport.Parameters.Append hometeamreport.CreateParameter("@chino", 200, 1,10,hometeamreport__chino)

@chino is a number but in my table i have the field datatype as  varchar
LVL 1
gianitooAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hongjunCommented:
Try this

hometeamreport.Parameters.Append hometeamreport.CreateParameter("@chino", 200, 1, 255, CStr(hometeamreport__chino))
0
gianitooAuthor Commented:
this is what my sp looks like...i went to view the table for springgameresults  and all of those fields are   data type  int

CREATE PROCEDURE hometeamscore


@varid varchar (10), @chino varchar (100), @scorehome varchar (10), @scorevisit varchar (10), @phome varchar (10), @winh varchar (10), @tieh varchar (10), @lossh varchar (10), @gameplayed int,
@chola varchar (100),@pvisit varchar (10),@winv varchar (10),@tiev varchar (10),@lossv varchar (10),@noshow varchar (10)
as

SET NOCOUNT ON

INSERT INTO dbo.springgameresults (juego, idofteam, goalsinfavor, goalsagainst, points, win, tie, loss, gameplayed)
VALUES
(@varid, @chino, @scorehome, @scorevisit, @phome, @winh, @tieh, @lossh, @gameplayed)

INSERT INTO dbo.springgameresults (juego, idofteam, goalsinfavor, goalsagainst, points, win, tie, loss, gameplayed)  
VALUES(
@varid, @chola,@scorevisit,@scorehome,@pvisit,@winv,@tiev,@lossv,@gameplayed)

UPDATE dbo.ScheduleMatchupsByLine
SET  homescore=@scorehome, visitscore=@scorevisit,statushome=2,noshow=noshow  WHERE Game =@varid

SET NOCOUNT OFF
GO
0
kevp75Commented:
change:
CREATE PROCEDURE hometeamscore


@varid varchar (10), @chino varchar (100), @scorehome varchar (10), @scorevisit varchar (10), @phome varchar (10), @winh varchar (10), @tieh varchar (10), @lossh varchar (10), @gameplayed int,
@chola varchar (100),@pvisit varchar (10),@winv varchar (10),@tiev varchar (10),@lossv varchar (10),@noshow varchar (10)

to:
CREATE PROCEDURE hometeamscore


@varid int (4), @chino int (4), @scorehome int (4), @scorevisit int (4), @phome int (4), @winh int (4), @tieh int (4), @lossh int (4), @gameplayed int,
@chola int (4),@pvisit int (4),@winv int (4),@tiev int (4),@lossv int (4),@noshow int (4)

the sp datatypes need to mathc the data types of the table
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.