Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Happy Thanksgiving

Author  Topic 

SamC
White Water Yakist

3467 Posts

Posted - 2002-11-28 : 12:06:46
I've spun up a new DB and WEB, using my standard templates.

I'm getting an error:

SQL:EXEC dbo.AD_HistogramLastLogin
Err Number: 13
Error:Type mismatch
EXEC dbo.AD_HistogramLastLogin

Sort of strange in that some Stored procedures are working, several procedures return this type mismatch.

The query is executed using

SET rs=dataconn.execute(strSQL)

not new code. The query executes perfectly from QA.

Any suggestions appreciated.

Sam

M.E.
Aged Yak Warrior

539 Posts

Posted - 2002-11-28 : 13:17:39
Use response.write (strSQL)

Check to see if the code your sending to SQL is what you think it should look like.

-----------------------
SQL isn't just a hobby, It's an addiction
Go to Top of Page

SamC
White Water Yakist

3467 Posts

Posted - 2002-11-28 : 13:41:10
Been there, done that.

I write the sql string out if errors occur.

Sam

Go to Top of Page

SamC
White Water Yakist

3467 Posts

Posted - 2002-11-28 : 15:29:37

Found the problem.

The include file that provided the module to

"check for errors"

wasn't present.

Misleading error message.

Sam

Go to Top of Page
   

- Advertisement -