?
Solved

SQL script error  "Replay internal error"

Posted on 2001-08-24
4
Medium Priority
?
544 Views
Last Modified: 2012-06-21
Hi, I have the following SQL script, but it produces an error when run in Profiler.

It gives me "Replay internal error 51 - No matching connection to execute this one"

What's wrong????

if exists (select * from sysobjects where id = object_id(N'[dbo].[ca_checkcode]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[ca_checkcode]
GO

if exists (select * from sysobjects where id = object_id(N'[dbo].[ca_codes]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[ca_codes]
GO

0
Comment
Question by:hhappel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6421656
Is this a SQL2000 script that you try to run on SQL7 server?
0
 

Author Comment

by:hhappel
ID: 6421669
No. It's created on an sql7.0 server, and I try to run it on another sql7.0 server.
0
 
LVL 30

Accepted Solution

by:
SteveGTR earned 800 total points
ID: 6422027
These is a bug for SQL 2000 that references this replay error (Q286239). It also refers to profiling. Maybe it will help:

http://support.microsoft.com/support/kb/articles/Q286/2/39.ASP?LN=EN-US&SD=gn&FR=0&qry=Q286239&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=SQL
0
 
LVL 4

Expert Comment

by:aavictor
ID: 6424886
Does you login a right user to execute this SQL statements
such as drop table thru connection?
check the permission first
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question