Options

synonym crash?

neilxneilx Posts: 14
edited June 6, 2008 6:22AM in SQL Compare Previous Versions
I have a sproc with a synonym. The synonym uses a server alias which exists and works on the copy db's server instance (actually, it is the copy's server instance).

I can copy the sproc manually, so this isn't a terrible problem.

CREATE SYNONYM [dbo].[ExternalDocument] FOR [ExternalDocumentServer].[externalDocuments].[dbo].[tblUrl_blob]

When I try to sync with another db I get this error:

The following error message was returned from the SQL Server:

[3910] Transaction context in use by another session.

The following SQL command (shortened by removing other attributes that get updated) caused the error:

ALTER PROCEDURE [dbo].[co_url_URL_Document_insert]
(
@urlcode VARCHAR(6),
@responseBody VARBINARY(MAX),
...
)
AS
BEGIN
INSERT INTO dbo.ExternalDocument
(
urlcode,
responseBody,
...
)
VALUES (
@urlcode,
@responseBody,
...
)
END




The following messages were returned from the SQL Server:

[0] Altering [dbo].[co_url_URL_Document_insert]

Comments

Sign In or Register to comment.