Solved

SQL script error  "Replay internal error"

Posted on 2001-08-24
4
520 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
4 Comments
 
LVL 69

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 200 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now