Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- From: Lars-Erik <lars-erik@xxxxxxxxxxxxxxxx>
- Date: Wed, 14 May 2008 06:17:01 -0700
I keep forgetting to mention one thing we saw today. We ran the MDAC version
checker tool, and it reported mismatches for a lot when we compared to
Windows Server 2003 SP2. They certainly run with it according to winver.
I didn't want to force them to re-apply the service pack, although I do
suspect it could have something to do with the problems.
--
Lars-Erik
"Bob Barrows [MVP]" wrote:
Lars-Erik wrote:.
The "runCommand" function is always called with an initialized and
open connection.
One of the procedures that works and has 5 parameters after .Refresh
looks like this:
CREATE PROCEDURE [dbo].[UpdateSkiftTid]
@SkiftID Integer,
@LinjeID Integer,
@SkiftStart DateTime,
@SkiftStopp DateTime
AS
...
One of the ones that does not work (0 parameters after .Refresh)
looks like this:
CREATE PROCEDURE [dbo].[UpdateNormverdier]
@LinjeID as int,
@GradID as int,
@AntallSkift as int,
@Stopptid as int,
@AntallProd as int,
@AntallStopp as int
AS
...
None of them has any explicit return value, but as I recall, .Refresh
creates one anyway. (And the 5 returned parameters imply..)
I've tried SQL Server Native and SQL Server using ODBC via ODBC
dsn's, and I've also tried using a connection string with
Provider=SQLOLEDB.1.
Well, I'm stumped. You haven't tried the SQLNaCli provider then?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
- Follow-Ups:
- Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- From: Bob Barrows [MVP]
- Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- From: Bob Barrows [MVP]
- Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- References:
- Non initialized Cmd Parameter Collection via ASP vs SQL Server 200
- From: Lars-Erik
- RE: Non initialized Cmd Parameter Collection via ASP vs SQL Server 200
- From: Steven Cheng [MSFT]
- RE: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- From: Lars-Erik
- Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- From: Bob Barrows [MVP]
- Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- From: Lars-Erik
- Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- From: Bob Barrows [MVP]
- Non initialized Cmd Parameter Collection via ASP vs SQL Server 200
- Prev by Date: Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- Next by Date: Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- Previous by thread: Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- Next by thread: Re: Non initialized Cmd Parameter Collection via ASP vs SQL Server
- Index(es):
Relevant Pages
|
|