Transaction Error
Aug 2, 2007
Folks,
I'm completly confused. I'm trying to execute the following stored procedure:
BEGIN TRY
BEGIN TRANSACTION
DELETE FROM Account_TB (i've purposely mistyped the table name to throw an error)
WHERE PK_AccountNumber_STR_ID = @userID;
COMMIT
END TRY
BEGIN CATCH
IF @@TRANCOUNT > 0
ROLLBACK
-- Raise an error with the details of the exception
DECLARE @ErrMsg nvarchar(4000), @ErrSeverity int
SELECT @ErrMsg = ERROR_MESSAGE(),
@ErrSeverity = ERROR_SEVERITY()
RAISERROR(@ErrMsg, @ErrSeverity, 1)
END CATCH
When i execute the stored procedure, i get the following error:
Msg 208, Level 16, State 1, Procedure up_DeleteAccountInfo_Web, Line 17Invalid object name 'Account_TB'.Msg 266, Level 16, State 2, Procedure up_DeleteAccountInfo_Web, Line 17Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 2, current count = 3.
The activity monitor shows that the transaction is still running even after the stored procedure finished executing. Any ideas? Please help me with your advice.
thanks,
jon
View 1 Replies
ADVERTISEMENT
May 31, 2008
Hi All
I'm getting this when executing the code below. Going from W2K/SQL2k SP4 to XP/SQL2k SP4 over a dial-up link.
If I take away the begin tran and commit it works, but of course, if one statement fails I want a rollback. I'm executing this from a Delphi app, but I get the same from Qry Analyser.
I've tried both with and without the Set XACT . . ., and also tried with Set Implicit_Transactions off.
set XACT_ABORT ON
Begin distributed Tran
update OPENDATASOURCE('SQLOLEDB','Data Source=10.10.10.171;User ID=*****;Password=****').TRANSFERSTN.TSADMIN.TRANSACTIONMAIN
set REPFLAG = 0 where REPFLAG = 1
update TSADMIN.TRANSACTIONMAIN
set REPFLAG = 0 where REPFLAG = 1 and DONE = 1
update OPENDATASOURCE('SQLOLEDB','Data Source=10.10.10.171;User ID=*****;Password=****').TRANSFERSTN.TSADMIN.WBENTRY
set REPFLAG = 0 where REPFLAG = 1
update TSADMIN.WBENTRY
set REPFLAG = 0 where REPFLAG = 1
update OPENDATASOURCE('SQLOLEDB','Data Source=10.10.10.171;User ID=*****;Password=****').TRANSFERSTN.TSADMIN.FIXED
set REPFLAG = 0 where REPFLAG = 1
update TSADMIN.FIXED
set REPFLAG = 0 where REPFLAG = 1
update OPENDATASOURCE('SQLOLEDB','Data Source=10.10.10.171;User ID=*****;Password=****').TRANSFERSTN.TSADMIN.ALTCHARGE
set REPFLAG = 0 where REPFLAG = 1
update TSADMIN.ALTCHARGE
set REPFLAG = 0 where REPFLAG = 1
update OPENDATASOURCE('SQLOLEDB','Data Source=10.10.10.171;User ID=*****;Password=****').TRANSFERSTN.TSADMIN.TSAUDIT
set REPFLAG = 0 where REPFLAG = 1
update TSADMIN.TSAUDIT
set REPFLAG = 0 where REPFLAG = 1
COMMIT TRAN
It's got me stumped, so any ideas gratefully received.Thx
View 1 Replies
View Related
Nov 14, 2006
I'm receiving the below error when trying to implement Execute SQL Task.
"The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION." This error also happens on COMMIT as well and there is a preceding Execute SQL Task with BEGIN TRANSACTION tranname WITH MARK 'tran'
I know I can change the transaction option property from "supported" to "required" however I want to mark the transaction. I was copying the way Import/Export Wizard does it however I'm unable to figure out why it works and why mine doesn't work.
Anyone know of the reason?
View 1 Replies
View Related
Feb 29, 2008
Hi all,
can anyone tell me if an oleDb connection (provider is Jet 4.0 to Access database) can be enlisted in a Distributed Transaction?
The goal is to copy data from SqlServer to Access within a transaction.
Pier
View 10 Replies
View Related
Feb 22, 2007
I have a design a SSIS Package for ETL Process. In my package i have to read the data from the tables and then insert into the another table of same structure.
for reading the data i have write the Dynamic TSQL based on some condition and based on that it is using 25 different function to populate the data into different 25 column. Tsql returning correct data and is working fine in Enterprise manager. But in my SSIS package it show me time out ERROR.
I have increase and decrease the time to catch the error but it is still there i have tried to set 0 for commandout Properties.
if i'm using the 0 for commandtime out then i'm getting the Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.
and
Failed to open a fastload rowset for "[dbo].[P@@#$%$%%%]". Check that the object exists in the database.
Please help me it's very urgent.
View 3 Replies
View Related
Feb 6, 2007
I am getting this error :Distributed transaction completed. Either enlist this session in a new
transaction or the NULL transaction. Description:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error and
where it originated in the code. Exception Details:
System.Data.OleDb.OleDbException: Distributed transaction completed. Either
enlist this session in a new transaction or the NULL transaction.have anybody idea?!
View 1 Replies
View Related
Dec 22, 2006
i have a sequence container in my my sequence container i have a script task for drop the existing tables. This seq. container connected to another seq. container. all these are in for each loop container when i run the package it's work fine for 1st looop but it gives me error for second execution.
Message is like this:
Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.
View 8 Replies
View Related
Jan 8, 2008
Hi,
i am getting this error "Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.".
my transations have been done using LINKED SERVER. when i manually call the store procedure from Server 1 it works but when i call it through Service broker it dosen't work and gives me this error.
Thanks in advance.
View 2 Replies
View Related
May 28, 2008
Hello everyone and thanks for your help in advance. I am encountering an error with a SQL Server 2000 database. When trying to write through a web application, I receive the error Transaction Log is full. In looking at the database,the transaction log (LDF) file is nearly 4 times that of the MDF file. Because of this, I am running out of disk space. I have read some articles regarding this topic, but can't seem to find one definitive source as to how to rectifify this problem (for example, do I need to TRUNCATE the log or does backing up the databse fix this issue?). I currently have the database allowing unrestricted growth to the transaction log, but don't know the ramifications of selecting a smaller size. Any help on this topic would be greatly appreciated. Thanks.
View 5 Replies
View Related
Oct 10, 2004
I unable to resolve the following error when I backup the transaction log.
BACKUP failed to complete the command BACKUP LOG [DatabaseName] TO DISK = 'D:MSSQLBackUpLogFilesDatabaseNameDatabaseName 20040810.TRN' WITH INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT
The error occured for the first time after sucessful completion of a full back up. The day after the full back up job completed, the transaction log back up job ran and it failed giving the error above.
Also the tran log is 17 GB. Does this error have to do with insufficient space on the tran log back up folder?
Kindly help.
Thanks
View 1 Replies
View Related
Apr 29, 2008
what does this error mean?
The transaction log for database 'DBName' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databaseswww.website.net/contact_us.aspx
How can I prevent it from occurring?
View 3 Replies
View Related
Jun 2, 2008
Declare @ID int
BEGIN TRY
BEGIN TRANSACTION -- Start the transaction
Insert into t1([name]) values('Sample')
SELECT @ID = @@identity
// IT FAILS HERE BECAUSE DOES NOT FIND INSERTED RECORD
Insert into t1Details([idt1],[number]) values (@ID,20)
COMMIT
END TRY
BEGIN CATCH
IF @@TRANCOUNT > 0
BEGIN
ROLLBACK
END
-- Raise an error with the details of the exception
DECLARE @ErrMsg nvarchar(4000), @ErrSeverity int
SELECT @ErrMsg = ERROR_MESSAGE(),
@ErrSeverity = ERROR_SEVERITY()
RAISERROR(@ErrMsg, @ErrSeverity, 1)
END CATCH
But it fails inserting the details because does not find the record inserted before.
IS there any way to correct this?
Thanks in advance
View 2 Replies
View Related
Jul 20, 2005
Hi all,I am getting below error messages mentioned between dotted lines.---------------------------------fcb::ZeroFile(): GetOverLappedResult() failed with error 2.The log file for database 'UAT' is full. Back up the transaction log for thedatabase to free up some log space..Could not write a CHECKPOINT record in database ID 7 because the log is outof space.Automatic checkpointing is disabled in database 'UAT' because the log is outof space. It will continue when the database owner successfully checkpointsthe database. Free up some space or extend the database and then run theCHECKPOINT statement.-----------------------------------------------------------------------------I have more then enough space and the log files is set to autogrow withunlimited space.I googled and found few people have similar issue but the resolution is notfound, yet.Can someone please suggest something to solve this issue.Thanks,
View 2 Replies
View Related
Mar 10, 2008
I dont want to insert nulls in my PK column but i thought the ID would generate automatically by using the @@Idenity field...can someone help me out on where I am going wrong?
{"Cannot insert the value NULL into column 'transactionId', table 'LibraryManager.dbo.BookOrder'; column does not allow nulls. INSERT fails.
The statement has been terminated."}
[System.Data.SqlClient.SqlException]: {"Cannot insert the value NULL into column 'transactionId', table 'LibraryManager.dbo.BookOrder'; column does not allow nulls. INSERT fails.
The statement has been terminated."}
ALTER PROCEDURE [dbo].[SaveBookOrder]
@transactionId int,
@userId int,
@bookId int,
@checkedoutDate DateTime,
@checkedinDate DateTime,
@Result int output
as
-- proc settings
SET NOCOUNT ON
-- begin trans
BEGIN TRANSACTION
begin
update BookManagement
set isCheckedIn = 0
where bookid = @bookid
-- check for error
IF @@ERROR <> 0
GOTO ErrorHandler
else
set @transactionId = @@Identity
insert BookOrder(userID, bookId, checkedOut, checkindate)
values(@userID, @bookId, @checkedoutDate, @checkedinDate)
end
-- commit transaction, and exit
set @Result = @transactionId
COMMIT TRANSACTION
RETURN 0
-- Error Handler
ErrorHandler:
-- see if transaction is open
IF @@TRANCOUNT > 0
BEGIN
-- rollback tran
ROLLBACK TRANSACTION
END
-- set failure values
SET @Result = -1
RETURN -1
View 4 Replies
View Related
Nov 20, 1998
DECLARE @A INT, @B INT,@C INT
SELECT @A=2,@B=3
SELECT @C=@A*@B
SELECT @C
BEGIN TRANSACTION A
SELECT @A
SELECT @B
SELECT @C
END TRANSACTION A
THIS CODE PROCDUE the following errors
Msg 156, Level 15, State 1
Incorrect syntax near the keyword 'END'.
Can anyone help me telling me what I am doing wrong ?
thanks
Ali
View 1 Replies
View Related
Dec 30, 2003
Within the DB Maintenace Plan1, the Transaction Log is being backup.
But the Transaction Log backup fails with the following message in Event
Veiwer...
Source: SQLSERVERAGENT
Category: Job Engine
Event ID: 208
SQL Server Scheduled Job 'Transaction Log Backup Job for DB Maintenance Plan 'DB Maintenance Plan1'' (0xC83E14E2E989D147985A1AF15BD81A84) - Status: Failed - Invoked on: 2003-12-29 23:00:00 - Message: The job failed. The Job was invoked by Schedule 6 (Schedule 1). The last step to run was step 1 (Step 1).
The DataBase backup finishes. The Transaction does not. Can't find
anything wrong. Help! Thanks...dmc
View 10 Replies
View Related
Mar 9, 2004
Hi, I have configured a linked server, and i have a procedure which makes an UPDATE in a local table using the data in the linked server.
Specifically, I have a function which checks if a given code exists in a linked server's table. The UPDATE changes the value of a column in a local table, if the function returns 1.
I've run the procedure and it gave an error after a few hours cause a simple conversion error inside the function. I solved the error. After this, the procedure did not work more. It gives me the following message:
Server: Msg 7391, Level 16, State 1, Procedure EXISTEONC, Line 16
The operation could not be performed because the OLE DB provider 'MSDASQL'
was unable to begin a distributed transaction.
(EXISTEONC is the function, and in the line 16 there is an OPENQUERY)
Im sure MSDTC is working... i'm lost because i dont know why it worked the first time and not now. Ive also wrote the function again as it was before, but it still doesent works.
Thanks a lot...
View 6 Replies
View Related
May 22, 2004
Hello,
I have a process that failed with the following error message. The SQL server error messages also said the Transaction log was full and there was not enough disc space.
Strangely, when I checked all the drives on the server, there was plenty of free space, the smallest amount free on one drive, where SQL server is located was 20GB. I am confused.
I backed up the DB to another server and deleted a lot of the transaction logs and now the drive has 30GB and is okay.
Does anyone know how the transaction log fills up? Can I change a setting somewhere to increase the maximum size of the transaction log? Or maybe change the location where it is saved to another drive? Or have it automatically cleared out every once in a while?
Any of your input is greatly appreciated.
Thanks.
Rodney
--------------------------------------------------------------------------
DS-DBMS-E400: UDA driver reported the following on connection 'Data Target
(ODBC)':
DMS-E-DBPARSER, The underlying database detected an error during processing of
the SQL request.
[Microsoft][ODBC SQL Server Driver][SQL Server]The log file for database
'ancosalesdm' is full. Back up the transaction log for the database to free up
some log space.
(for details, see Build_SAL_FA_ShipSKU_0584.log)
[PROGRESS - 00:32:42] Build Node 68 'SAL_FA_ShipSKU'; failed
DS-DBMS-E400: UDA driver reported the following on connection 'ALIAS_00DF1E74':
DMS-E-GENERAL, A general exception has occurred during operation 'execute
immediate'.
The log file for database 'ancosalesdm' is full. Back up the transaction log
for the database to free up some log space.
DMS-E-GENERAL, A general exception has occurred during operation 'execute
immediate'.
General SQL Server error: Check messages from the SQL Server.
DS-DBMS-E400: UDA driver reported the following on connection 'ALIAS_00DF1E74':
DMS-E-GENERAL, A general exception has occurred during operation 'rollback
transaction'.
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION.
DMS-E-GENERAL, A general exception has occurred during operation 'rollback
transaction'.
General SQL Server error: Check messages from the SQL Server.
--------------------------------------------------------------------------
View 4 Replies
View Related
Feb 26, 2008
I wonder if anyone can help me with the following error message.We use Sql 2000.I wanted to backup the transaction log of a database with this command:BACKUP LOG [testdb] TO [TestdbBCK] WITH NOINIT , NOUNLOAD ,NAME = N'TestDB backup', NOSKIP , STATS = 10, NOFORMATand I got the following error message:Server: Msg 3132, Level 16, State 1, Line 1The media set for database 'testdb' has 2 family members but only 1 areprovided. All members must be provided.I know who MY family members are but I never knew that my databases havefamily members !!!Can anyone help me with this error ?Thanks !!David Greenberg
View 1 Replies
View Related
Nov 7, 2007
Hi all,
I'm having an issue with transactions in SSIS.
I have a Sequence Container, that contains 5 Tasks.
1) Data Flow Task using an OLEDB Connection to access an Oracle RDB database via a linked server. then insert into SQL Server 2005.
2) Execute Sql Task on Sql Server 2005 (UPDATE Statement)
3) Execute Sql Task on Sql Server 2005 (DELETE Statement)
4) Data Flow Task using an OLEDB Connection to insert data into a SQL Server 2005 DB
5) Execute Sql Task performing an UPDATE statement on an Oracle RDB database using an OLEDB Connection to to access the database via a linked server
If the Sequence container and all contained tasks are set to Transaction: Supported (No transaction will be created I believe), then the package runs successfully.
If I change the Sequence container to Transaction: Required, and leave all contained tasks as Transaction: Supported, then Task 1 fails with the following error:
[SELECT From RDB Change Table [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "SSISPOC" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
Any Ideas would be much appreciated, as I'm stumped!
View 3 Replies
View Related
Feb 14, 2006
We are using MSDTC to handle our transactions and some clients seem to be getting these errors more and more when we went to framework 2.0. Any ideas what could be causing this?
Before in framework 1.1 we would ask our clients to re-register their computer into the domain and/or rename their computer and this worked but it seems like in framework 2.0 it doesn't do the trick. Also, the wrong dns setup causes this too but after trying to fix both things it still doesn't work. I believe this error means either the server has finished the transaction and can't find the client to return the result or the active directory account/computer account is corrupted. Any ideas?
The transaction has already been implicitly or explicitly committed or aborted.
Type: TransactionException
StackTrace:
Server stack trace:
at System.Transactions.Oletx.OletxTransactionManager.ProxyException(COMException comException)
at System.Transactions.TransactionInterop.GetExportCookie(Transaction transaction, Byte[] whereabouts)
at System.Data.SqlClient.SqlInternalConnection.EnlistNonNull(Transaction tx)
at System.Data.SqlClient.SqlInternalConnection.Enlist(Transaction tx)
at System.Data.SqlClient.SqlInternalConnectionTds.Activate(Transaction transaction)
at System.Data.ProviderBase.DbConnectionInternal.ActivateConnection(Transaction transaction)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
Previously
View 1 Replies
View Related
Aug 2, 2007
I've created 2 new jobs in Microsoft SQL Management Studio - one for full backup of database, and another - for backup of tran logs. The full backup is scheduled to run once every morning, and it runs just fine. However, tran log backup, which is scheduled to run every hour, has some problems. Sometimes it runs successfully 3-4 times and failing after that with this error:
Executing the query "BACKUP LOG [survey_p0037832] TO DISK = N'G:\database backups\logs\survey_p0037832_backup_200708021000.trn' WITH NOFORMAT, NOINIT, NAME = N'survey_p0037832_backup_20070802100002', SKIP, REWIND, NOUNLOAD, STATS = 10
" failed with the following error: "BACKUP LOG cannot be performed because there is no current database backup.
BACKUP LOG is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
After I execute the full database backup on demand, then tran logs backup is runnung fine again for next 3-4 times... We do not have any conflict in time, I avoided that scenario... Do you know how can I fix it? Thank you
View 7 Replies
View Related
Aug 13, 2007
Hi,My code worked fine before i placed "SqlTransaction" command in my code. Now it is showing "Unexpected existing transaction." Please tell me where I am going wrong. My Code:
protected void
Page_Load(object sender, EventArgs e) { using (SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["Mfund_String"].ConnectionString)) { con.Open(); using (SqlConnection destinationConnection = new SqlConnection(ConfigurationManager.ConnectionStrings["Mfund_String"].ConnectionString)) { destinationConnection.Open(); using (SqlTransaction transaction =
destinationConnection.BeginTransaction()) { SqlCommand DelCmd = new
SqlCommand("delete
from mfund_data", con); DelCmd.ExecuteNonQuery(); using (SqlBulkCopy bulkCopy = new
SqlBulkCopy(destinationConnection)) { bulkCopy.DestinationTableName = "mfund_data"; try { bulkCopy.WriteToServer(CreateDataTableFromFile()); transaction.Commit(); } catch
(Exception ex) { transaction.Rollback(); Response.Write(ex.Message); } } } destinationConnection.Close(); } con.Close(); } }Regards,Jagadeesh
View 2 Replies
View Related
Nov 7, 2007
Hi, i get this error while i manually execute dts. But when i execute dts on my .aspx page, i can't handle this error on "... catch(Exception ex) {... }" part. catch (Exception ex) {
return ex.Message ; //DtsPackage.OnError += new PackageEvents_OnErrorEventHandler(DtsPackage_OnError);
} Here is dts message in a text file. Step 'DTSStep_DTSDataPumpTask_3' failedStep Error Source: Microsoft OLE DB Provider for SQL ServerStep Error Description:Transaction (Process ID 124) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.Step Error code: 80004005Step Error Help File:Step Error Help Context ID:0 Any idea?
View 2 Replies
View Related
Oct 29, 2004
Hi Friends,
We developed an application in the ASP.Net with C#.
We are going to do a task in the transaction.
It is working perfectly. But if two users comes simultaneously, then
It gives an exception that Transaction is already commited.
First transaction Commited Successfully.
When Second transaction goes to Commit()
Then it generate this error.
We are unable to find this problem Whether this is problom from SQL Server or DOTNET.
Pls give ur suggestions.
Thanks and waiting a helpful response.
Sachin
View 3 Replies
View Related
Feb 17, 2006
When I write code for a multiple statements transaction do I need to check 'if @@ERROR > 0 ' after each SELECT, INSERT, DELETE or UPDATE statement so that the 'rollback tran' statement can be given, or SQL server will automatically rollback the transaction and we don't need to check for @ERROR > 0 ?
View 2 Replies
View Related
Apr 3, 2006
Hello,
If I'm running an insert statement in a stored procedure, and it fails, an I have code to do:
if ( @@error <> 0) begin rollback transaction return -1 end
This will still not stop an error from returning to the program right? I'm coding my DAL, and wanted to make sure.
Thanks.
View 3 Replies
View Related
May 12, 2006
I have written a stored procedure that calls a C# class. The sp is called by a trigger on table A. The class has 2 methods. Method 1 is the main call from the stored procedure. Inside it, it sets a connection to the db. Then it calls another private method which has it's own connection and returns a dataset so that I can close that connection by the end of the method. When I execute the sp from within sql management studio, it runs just fine. But when being called from the trigger, I get the "transaction context in use by another session error" error. I read that I needed to wrap my 2nd connection in ...
using (new TransactionScope(TransactionScopeOption.Suppress)){ open conn here, do work, etc.}
I've tried that and I still get the same error from the trigger. Anyone know what else I can try? Thanks.
View 9 Replies
View Related
Feb 13, 2001
i am taking transaction log backup for every 4 hours
the back task is failing showing the following error but still the backup file is creating
---------------------------------------------
Database EPDMO: Transaction Log Backup...
Destination: [D:MSSQL7BACKUPEPDMOEPDMO_tlog_200102130114.TRN]
[Microsoft SQL-DMO (ODBC SQLState: 23000)] Error 2627: [Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PK__backupset__0C85DE4D'. Cannot insert duplicate key in object 'backupset'.
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not insert a backup or restore history/detail record in the msdb database. This may indicate a problem with the msdb database. The backup/restore operation was still successful.
[Microsoft][ODBC SQL Server Driver][SQL Server]Backup or restore operation successfully processed 6990 pages in 42.184 seconds (1.357 MB/sec).
[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
[4] Database HRDMO: Transaction Log Backup...
Destination: [D:MSSQL7BACKUPHRDMOHRDMO_tlog_200102130115.TRN]
[Microsoft SQL-DMO (ODBC SQLState: 23000)] Error 2627: [Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PK__backupset__0C85DE4D'. Cannot insert duplicate key in object 'backupset'.
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not insert a backup or restore history/detail record in the msdb database. This may indicate a problem with the msdb database. The backup/restore operation was still successful.
[Microsoft][ODBC SQL Server Driver][SQL Server]Backup or restore operation successfully processed 4800 pages in 30.338 seconds (1.296 MB/sec).
[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
Deleting old text reports... 1 file(s) deleted.
End of maintenance plan 'DMO Maintenance Plan' on Tue Feb 13 01:16:12 2001
SQLMAINT.EXE Process Exit Code: 1 (Failed)
View 1 Replies
View Related
Nov 2, 2005
i have two remote servers connected to each other through the linked servers.
i can run querries or even perform inserts as far as its not inside a transaction
but when i am trying to run distribted transaction but it keeps on returning the same msg.
Server: Msg 7391, Level 16, State 1, Line 3
The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator. ]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionJoin::JoinTransaction returned 0x8004d00a].
i have configured the firewall, made sure the DTC service is started on both and enabled. they both have the same Sp packs, same config.
View 2 Replies
View Related
Jul 20, 2005
Hi All:I am getting an error when trying to open a recordset in SQL Server 2000.The error states that the transaction log is full. Is there any way I canclear out or empty the transaction log, or get rid of it alltogether as itis not really needed?Any help would be appreciated.Thanks and regards,Ryan
View 1 Replies
View Related
Jul 1, 2007
Hi All
I have set up transactional replication between our production and reporting server boxes and getting the following error messages too oftenly.
Anybody having any idea to reslove the issue would be of great help.
Error messages:
The process could not execute 'sp_replcmds' on. (Source: MSSQL_REPL, Error number: MSSQL_REPL20011) Get help: http://help/MSSQL_REPL20011
A system assertion check has failed. Check the SQL Server error log for details (Source: MSSQLServer, Error number: 3624)
Get help: http://help/3624
The process could not execute 'sp_replcmds' on 'STRATASQL4'. (Source: MSSQL_REPL, Error number: MSSQL_REPL22037)
Get help: http://help/MSSQL_REPL22037
Early Thanks,
Salman Shehbaz.
View 1 Replies
View Related
Sep 20, 2007
I am trying to set up a publication and keep getting the following error when it tries to do the snapshot. I have boiled this down to attempting to snap just one table (no triggers or other complications on it).
I have forced a checkpoint and run a commit tran to clear anything -- commit tran said there was nothing to clear. I also made a fresh backup.
When I try to make the publication I get this message. Why is this happening?
Jim
===================================
SQL Server could not create publication 'abcd'. (New Publication Wizard)
===================================
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
Program Location:
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand)
at Microsoft.SqlServer.Replication.ReplicationObject.ExecCommand(String commandIn)
at Microsoft.SqlServer.Replication.ReplicationObject.CommonCreate()
at Microsoft.SqlServer.Replication.Publication.Create()
at Microsoft.SqlServer.Management.UI.CreatePublicationWizard.CreatePublicationThreadMethod()
===================================
The current transaction cannot be committed and cannot support operations that write to the log file. Roll back the transaction.
The current transaction cannot be committed and cannot be rolled back to a savepoint. Roll back the entire transaction.
Changed database context to 'DGI'. (.Net SqlClient Data Provider)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.3042&EvtSrc=MSSQLServer&EvtID=3930&LinkId=20476
------------------------------
Server Name: NVIEWGW2SQLB
Error Number: 3930
Severity: 16
State: 1
Procedure: sp_grant_login_to_proxy
Line Number: 70
------------------------------
Program Location:
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)
View 2 Replies
View Related