Showing posts with label sp3. Show all posts
Showing posts with label sp3. Show all posts

Tuesday, March 27, 2012

Get 'DB Error 10083' with SQL Server 2000

Setup: SQL Server 2000 sp3 on a Windows 2000 machine, transactions running through an ODBC connection running SQLSRV32.dll version 2000.86.1830.00

Transactions: Being generated via a Citrix server (MetaFrame Presentation Server, Enterprise Edition 4.0(Build 2198), Service Pack 2005.04.... This sits on top of an install of Windows 2003 terminal server installaion.

Error: Appears to only be happening on a ADD(Insert) ....

Any thoughts on this would be a big help.

Dave

Is there any more to the error message? I can't find reference to error 10083|||

Here is the exact message I received...

Db Error: 10083

"Cursor statement generated no results.

No changes made to database.

Insert Into Test (testid, testdesc,sequence,createdt,creatorid,lastmodifieddt,modifierid,testinstances,allowinstances,activityid,worklisttable,qutoqc) Values ('999','Test Test',0,'10-31-2006 9:22:30.253','SysAdmin','10-31-2006 9:22:30.253','SysAdmin',1,'N',0,'N','N')

The above highlighted text was the exact message...

Thanks-David

|||

This is not a SQL Server error message. You need to check your data access layer. Here are few guesses on what the problem is:

1. You are issueing insert statement but expecting a result set to be returned. SQL Server will return some result if SET NOCOUNT OFF (in which it will be number of rows affected) or if the insert trigger returns results. In other cases, if SET NOCOUNT ON is set you will not get any results for the insert statement

2. You are doing the wrong thing from the data access layer and should use some direct execute mechanism that doesn't look for results from the command.

|||

Thanks for giving me some direction on this issue! I will do some testing to how I can resolve this issue in a good way.

David

|||

I have same this error message in some computer

I use MSDE with 2 clients. found this problem 1 client.

The error message show with this query

Db Error: 10083

"Cursor statement generated no results.

No changes made to database.

INSERT INTO EMSide ( SideID, SideCode, SideName, SideNameEng ) VALUES ( 1000, '001', 'test', '' )

This is query from another computer:

Begin Transaction

go

declare @.P1 int

set @.P1=180150003

declare @.P2 int

set @.P2=2

declare @.P3 int

set @.P3=-1

exec sp_cursoropen @.cursor = @.P1 output, @.stmt = 'SELECT sidecode ', @.scrollopt = @.P2 output, @.ccopt = 4, @.rows = @.P3 output

select @.P1, @.P2, @.P3

go

exec sp_cursorfetch @.cursor = 180150003, @.fetchtype = 1, @.rownumber = 0, @.nrows = 2

go

exec sp_cursorclose @.cursor = 180150003

go

Select prefix From SMId where name ='aum/AUM/emside'

go

Select max ( prefix ) From SMID Where Type =1 And charindex ( 'emside' , name ) > 0

go

Begin Transaction

go

INSERT INTO SMID ( Name , Prefix , Type ) VALUES ( 'aum/AUM/emside' , 1000 , 1 )

go

Commit Transaction

go

declare @.P1 int

set @.P1=180150004

declare @.P2 int

set @.P2=8

declare @.P3 int

set @.P3=1

exec sp_cursoropen @.cursor = @.P1 output, @.stmt = 'SELECT max(sidei', @.scrollopt = @.P2 output, @.ccopt = 4, @.rows = @.P3 output

select @.P1, @.P2, @.P3

go

exec sp_cursorfetch @.cursor = 180150004, @.fetchtype = 1, @.rownumber = 0, @.nrows = 1

go

exec sp_cursorclose @.cursor = 180150004

go

declare @.P1 int

set @.P1=180150005

declare @.P2 int

set @.P2=2

declare @.P3 int

set @.P3=-1

exec sp_cursoropen @.cursor = @.P1 output, @.stmt = 'SELECT sideid FR', @.scrollopt = @.P2 output, @.ccopt = 4, @.rows = @.P3 output

select @.P1, @.P2, @.P3

go

exec sp_cursorfetch @.cursor = 180150005, @.fetchtype = 1, @.rownumber = 0, @.nrows = 2

go

exec sp_cursorclose @.cursor = 180150005

go

INSERT INTO EMSide ( SideID, SideCode, SideName, SideNameEng ) VALUES ( 1000, '001', 'test', '' )

go

Select InsertFlag From SMaudit_option Where brchid =1

go

SELECT GETDATE( ) As cf_server_time

go

Select prefix From SMId where name ='aum/AUM/smAudit'

go

declare @.P1 int

set @.P1=180150006

declare @.P2 int

set @.P2=8

declare @.P3 int

set @.P3=1

exec sp_cursoropen @.cursor = @.P1 output, @.stmt = 'SELECT max(audit', @.scrollopt = @.P2 output, @.ccopt = 4, @.rows = @.P3 output

select @.P1, @.P2, @.P3

go

exec sp_cursorfetch @.cursor = 180150006, @.fetchtype = 1, @.rownumber = 0, @.nrows = 1

go

exec sp_cursorclose @.cursor = 180150006

go

declare @.P1 int

set @.P1=180150007

declare @.P2 int

set @.P2=2

declare @.P3 int

set @.P3=-1

exec sp_cursoropen @.cursor = @.P1 output, @.stmt = 'SELECT audit_id ', @.scrollopt = @.P2 output, @.ccopt = 4, @.rows = @.P3 output

select @.P1, @.P2, @.P3

go

exec sp_cursorfetch @.cursor = 180150007, @.fetchtype = 1, @.rownumber = 0, @.nrows = 2

go

exec sp_cursorclose @.cursor = 180150007

go

INSERT INTO SMAudit ( audit_id, audit_system, audit_screen, audit_datetime, audit_username, audit_action, audit_docuno, audit_columnid, brchid, audit_computername, audit_refid ) VALUES ( 139002, 1, 6, '5-3-2007 18:36:24.453', 'prosoft', 'I', '001', 1000, 1, 'AUM', 139002 )

go

Commit Transaction

go

|||

This's profiler from another computer with same form.

Begin Transaction
go
sp_tables @.table_name = 'emside'
go
sp_special_columns @.table_name = 'emside'
go
select emside.SideID FROM emside where 0 = 1
go
select timestamp from emside where 0 = 1
go
select * from emside where 0 = 1
go
SELECT sidecode FROM emside where 0 = 1
go
set rowcount 2
go
SELECT sidecode , emside.SideID , emside.SideID, emside.SideCode, emside.SideName, emside.SideNameEng, emside.Remark FROM emside WHERE (sidecode like '%AAA%' AND (LTRIM(sidecode) = 'AAA' OR RTRIM(sidecode) = 'AAA')) order by emside.SideID
go
set rowcount 0
go
Select prefix From SMId where name ='accdomain\sql2000/MORAGOTD/emside'
go
Select max ( prefix ) From SMID Where Type =1 And charindex ( 'emside' , name ) > 0
go
Begin Transaction
go
INSERT INTO SMID ( Name , Prefix , Type ) VALUES ( 'accdomain\sql2000/MORAGOTD/emside' , 2000 , 1 )
go
Commit Transaction
go
sp_tables @.table_name = 'emside'
go
sp_special_columns @.table_name = 'emside'
go
select emside.SideID FROM emside where 0 = 1
go
select timestamp from emside where 0 = 1
go
select * from emside where 0 = 1
go
SELECT sideid FROM emside where 0 = 1
go
set rowcount 2
go
SELECT sideid , emside.SideID , emside.SideID, emside.SideCode, emside.SideName, emside.SideNameEng, emside.Remark FROM emside WHERE sideid = 2000 order by emside.SideID
go
set rowcount 0
go
INSERT INTO EMSide ( SideID, SideCode, SideName, SideNameEng ) VALUES ( 2000, 'AAA', 'AAA', '' )
go
Rollback Transaction
go

|||

Did you ever find a resolution to this? We are getting this error in an application we are upgrading. The upgraded version uses SQL Server 2000 and the old version uses SQL Server 7. We are only seeing the error on some of our machines but not all. On two different machines where we have SQL Server 2000 client utilities installed we do not get the error. On another machine where I have SQL Server 7 client utilities or no client utilities exist we do get the error. I think there is a driver found in the 2000 client utilities that resolves the issue, but can't quite put my finger on which one it is. The application vendor seems to think it is our machine configuration.

Thanks,

I found a solution: Check your version of the ntwdblib.dll driver. Version 2000.80.194.0 fixed the issue.

Monday, March 26, 2012

GeoCluster/SQL server sp3/windows 2003

Does any one have any experience with MS Clusters and
GeoCluster from NSI?
Also, does any one have any experience of installing sp3
for SQL Server on a Virtual SQL 2000 on a Windows 2003
Cluster?
I have good experience with GeoCluster from NSI. Basically, it simply
replicates the storage under MSCS. So, think of it as "Fire and Forget".
Once it is installed, each node in teh cluster has its own storage - but it
appears "shared".
From there install SQL (or Exchange or anything else) onto the cluster. GC
just allows you to split the nodes over some distance... After that, its
just clustering.
jason
"suzana_C" <anonymous@.discussions.microsoft.com> wrote in message
news:ded301c43c15$fd465040$a401280a@.phx.gbl...
> Does any one have any experience with MS Clusters and
> GeoCluster from NSI?
> Also, does any one have any experience of installing sp3
> for SQL Server on a Virtual SQL 2000 on a Windows 2003
> Cluster?
>
|||thank you for reply, I've been really frustrated trying to find any help on these issues...
So my problem is that I can't install sp3 on a virtual SQL 2000 server, installed on a Windwos 2003 cluster.
I have preinstalled MSDTC as a clustered app (according to Q301600) so I guess the install of SQL just skips it, because it detects it as being already there. SQL 2000 installs fine on a 2-node cluster win 2003. But when I try to apply sp3 for SQL 2000 it
fails with "Setup faile to perform required operations on cluster nodes" and in the sqlsp0.log I see something like:
Error running script: repltran.sql (1)
-or-
12:29:16 Setup is installing the Microsoft Full-Text Search Engine ...
12:29:16 "C:\sql2ksp3\x86\FullText\MSSearch\Search\SearchSt p.exe" /s /a:SQLServer$INST1
the above being the last line in the log
Is it a propper sequence of installing SQL 2000 sp3 on a Windows 2003 cluster.
I just want to mention I have read and tryied all of the following KB docs: Q815431, 309398, 318672, 321063, 815430, 301600, 811168.
Thanks for your help!
|||That doesnt sound like a GeoCluster problem.
The only thing that GC does it split the shared storage underneath the
cluster
- in a regular cluster, you define a shared-disk resource (call it drive
X and then when you install, SQL will select from the available clustered
drives (which here will be X)
- in a cluster with GC, you define a replicated-disk resource (call it
drive X and then when you install, SQL will select from the available
clustered drives (which here will be X)
Past that, everything is how you install SQL. Literally, no other
differences.
jason
"suzana ciur" <anonymous@.discussions.microsoft.com> wrote in message
news:A2D429AC-5C33-41EF-9C10-CE28518235A4@.microsoft.com...
> thank you for reply, I've been really frustrated trying to find any help
on these issues...
> So my problem is that I can't install sp3 on a virtual SQL 2000 server,
installed on a Windwos 2003 cluster.
> I have preinstalled MSDTC as a clustered app (according to Q301600) so I
guess the install of SQL just skips it, because it detects it as being
already there. SQL 2000 installs fine on a 2-node cluster win 2003. But when
I try to apply sp3 for SQL 2000 it fails with "Setup faile to perform
required operations on cluster nodes" and in the sqlsp0.log I see something
like:
> Error running script: repltran.sql (1)
> -or-
> 12:29:16 Setup is installing the Microsoft Full-Text Search Engine ...
> 12:29:16 "C:\sql2ksp3\x86\FullText\MSSearch\Search\SearchSt p.exe" /s
/a:SQLServer$INST1
> the above being the last line in the log
> Is it a propper sequence of installing SQL 2000 sp3 on a Windows 2003
cluster.
> I just want to mention I have read and tryied all of the following KB
docs: Q815431, 309398, 318672, 321063, 815430, 301600, 811168.
> Thanks for your help!