Scheduled Backup Suddenly Started Giving Errors

Oct 19, 2007



Hi,

I have scheduled full backup daily at morning 6:00. It was running fine till yesterday. Suddenly today morning it failed giving following error....

I have executed maintenance plan manually and again it gave same error....

10/19/2007 11:03:10,FullDBBackup.Subplan_1,Error,1,*****,FullDBBackup.Subplan_1,Subplan_1,,Executed as user: ****SYSTEM. ...9.00.3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 11:03:10 AM Error: 2007-10-19 11:03:10.98 Code: 0xC0010018 Source: Back Up Database (Full) Description: Error loading a task. The contact information for the task is "Back Up Database Task; Microsoft Corporation; Microsoft SQL Server v9; ? 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1". This happens when loading a task fails. End Error Error: 2007-10-19 11:03:11.25 Code: 0xC00291EC Source: {C7FB73D1-ADF1-42C0-B3D5-9F8014CC206B} Execute SQL Task Description: Failed to acquire connection "Local server connection". Connection may not be configured correctly or you may not have the right permissions on this connection. End Error Warning: 2007-10-19 11:03:11.25 Code: 0x80019002 Source: OnPreExecute Description: SSIS Warning Code DT... The package execution fa... The step failed.,00:00:01,0,0,,,,0




Pls help me as daily backups are very crucial to me...

View 9 Replies


ADVERTISEMENT

SP Suddenly Started Timing Out

Jul 6, 2007

Simple (4 lines) stored procedure was working, now is timing out.

Profiler shows hundreds of lines and a lot of time doing:

EventClass: SQLTransaction

ObjectName: Cache Coherency

What are these lines profiler is capturing?

Why is the server doing this, and how can I stop it?



Thanks!



View 1 Replies View Related

SSIS Package Fails Giving That Com.interop Exception When Scheduled.

Apr 16, 2008



Hi,

I have one SSIS package which is written in Visual studio business intelligence tool. For that SSIS packages i have scheduled a job from SQL server management studio 2005. I mean i have scheduled a job in SQL server agent.
This job which i have scheduled contains 6 SSIS packages and the other 5 SSIS packages executes successfully but this only fails giving sone com.Interop exception.

But it is failing giving some com.interop exception. Not sure what type of error is this?

It give following type error:

Microsoft (R) SQL Server Execute Package Utility Version 9.00.3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 11:00:00 PM Error: 2008-03-27 23:00:00.81 Code: 0x00000000 Source: Execute DTS 2000 Package Task Description: System.Runtime.InteropServices.COMException (0x80040427): Execution was canceled by user. at DTS.PackageClass.Execute() at Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask.Exec80PackageTask.ExecuteThread() End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:00:00 PM Finished: 11:00:00 PM Elapsed: 0.579 seconds. The package execution failed. The step failed.

I get the same error when i try to execute the package from Visual studio Business Intelligence tool.

Can you please help me out as to what is this "System.Runtime.InteropServices.COMException" exception occuring when scheduling or executing the job.

Thanks,
Ashok

View 1 Replies View Related

Select Statement In Asp.net Giving Errors

Feb 21, 2006

hi all i built and sql statemnet up in enterprise manager but when i paste it into my asp.net  code it gives error, this is what i have
 
objDA1 = new SqlDataAdapter("select DISTINCT categories.categorydescription, vehicles.vehicleID from vehicles "_&"INNER JOIN ON Vehicles.VehicleID=Parts.VehicleID INNER JOIN Categories ON Parts.CategoryID = Categories.CategoryID "_& "where CategoryID = " & LoadDataByCategory & ";", objConn)
  objDA1.fill(objDS1, "Categories")
 
whats wrong with it ? is it concatinated wrong thanks ?

View 2 Replies View Related

Grant All Function Giving Errors

Feb 22, 2006

I'm migrating from 2000 to 2005, what is the best way to handle the following error:

The ALL permission is deprecated and maintained only for compatibility. It DOES NOT imply ALL permissions defined on the entity

The code is below:

DECLARE @sp_name AS sysname;
DECLARE syscursor CURSOR FOR
  SELECT name FROM sysobjects
  WHERE (xtype = 'P' or xtype='V') AND ((status & 0x80000000) = 0);


OPEN syscursor;
FETCH NEXT FROM syscursor INTO @sp_name;


WHILE (@@FETCH_STATUS = 0)
BEGIN
  EXECUTE ('GRANT all ON ' + @sp_name + ' TO Public');
  FETCH NEXT FROM syscursor INTO @sp_name;
END


CLOSE syscursor;
DEALLOCATE syscursor;


 

 

View 5 Replies View Related

SSIS - Process Task Exit Code 4 - Via SQL Agent Scheduled Job Only - Works If Manually Started....

Oct 10, 2007

We have a Process Task component setup in a couple SSIS jobs to call a command batch file to support transfering a file via Secure FTP to other servers and the process works fine if we start the SQL Agent job manually, however when the job is started via the scheduler, it fails with an exit code of 4. Even though there is a proxy setup on the agent job, is there a different user account being invoked by the scheduler??? We're on 2005 SP1 Hotfix 1 (2153). Thanks

Some more info...have found that if we leave a login session open on the server (login is the proxy account) the process works. It appears the issue is associated with a need to render/create a command window for the command line/batch process to run in and without an active windows session it fails....would seem to be that a product setup to run on a server in a batch mode would be able to work without this...is this the case? if so, how? Thanks.

View 11 Replies View Related

Calling CLR Stored Procedure From Within A CLR Table-valued Function Giving Errors

Apr 6, 2007

We are trying to create a TVF that executes a CLR Stored Procedure we wrote to use the results from the SP and transform them for the purposes of returning to the user as a table.






Code Snippet

[SqlFunction ( FillRowMethodName = "FillRow",

TableDefinition = "CustomerID nvarchar(MAX)",

SystemDataAccess = SystemDataAccessKind.Read,

DataAccess = DataAccessKind.Read,

IsDeterministic=false)]

public static IEnumerable GetWishlist () {

using (SqlConnection conn = new SqlConnection ( "Context Connection=true" )) {

List<string> myList = new List<string> ();

conn.Open ();

SqlCommand command = conn.CreateCommand ();

command.CommandText = "GetObject";

command.Parameters.AddWithValue ( "@map", "Item" );

command.CommandType = System.Data.CommandType.StoredProcedure;

using ( SqlDataReader reader = command.ExecuteReader ( System.Data.CommandBehavior.SingleRow )) {

if (reader.Read ()) {

myList.Add ( reader[0] as string );

}

}



return (IEnumerable)myList;

}

}



When command.ExecuteReader is called, I am getting an "Object not defined" error. However, the stored procedure can be used in SQL Management Studio just fine.






Code SnippetEXEC GetObject 'Item'



Is there some sorf of trick I am missing?



Thank you!

View 3 Replies View Related

SQL 2012 :: DTSX Giving Errors - Object Reference Not Set To Instance Reference

Sep 10, 2014

I am using vs 2010 to write my dtsx import scripts.I use a script component as a source to create a flat file destination file.Everything have been working fine,but then my development machine crashed and we have to install everything again.Now when i use the execute package utility to test my scripts i get the following error:

Error system.NullReferenceException: Object refrence not set to an instance reference.

In PreExecute section
TextReader = new system.io.streamreader(" file name")
In the CreateNewOutputRows:
dim nextLine as string
nextLine = textReader.ReadLine

[code]...

is there something which i did not install or what can be the error?

View 0 Replies View Related

Trasnaction Log Started Stays Block By Full Backup For 2 Hrs

Mar 18, 2003

Hello everybody..

I have 40 GB database with following
backup plan
1. transaction log backup every 15 min
2. full backup on disk once every day

Scenario
Full backup started at 2 AM
transaction log started at 2:15 AM

Full backup complited at 4 AM
transaction log backup
complited at 4:03 AM

Here is my questions
Up to what point of time I will have
transaction log ?

When I use sp_who2 I can see that transaction log backup blocked by full backup process

thank you

Alex

View 5 Replies View Related

Scheduled Backup

Mar 1, 2002

Hi,
I am trying to do an automatic backup of my database and for some reason it does not do it.
I have it set to backup daily at 4:00 pm.
Please let me know if you know why it is not backing up on it's own.
The Server manager is on always and a manual backup is not a problem for me,
only the automatic.
Thanks very much.

View 1 Replies View Related

Scheduled Backup

Jun 16, 2008

How is make automation with the Scheduled Backup as per the system date and time through ssis.. its very urgent..

View 2 Replies View Related

Scheduled Job To Backup A Table

Jul 1, 2001

Hi,
I am trying to schedule a job that will backup a table in my database, based on the name which has TABLENAME_mm_yyy that is 3 months old, then delete the table. Basically it is for archiving purposes, with the backup to be held on NT backup for another 12 months, just in case. Can anyone give me sugestions on how to do this - maybe alternatives?
Each monthly table has approx 4 million rows, that are rarely looked at. With other databases competing for space/resources, the thought was to remove these old tables monthly, with the ability to 'restore' them easily if/when required.
Any help or suggestions would be very much appreciated.

View 1 Replies View Related

Scheduled CREATE BACKUP

Jan 7, 2008

i want to know how can i run a CREATE BACKUP stored procedure using windows 2003 scheduled task on a specefic time?

View 5 Replies View Related

Scheduled Transaction Log Backup Failed

Aug 16, 2006

Hi Greeting,


Sql sever7
OS winNT

We have scheduled transaction log backup for user database to run every one hour. Now the transaction has failed. it gives out put

[12] Database oas: Delete Old Backup Files...
Unable to delete file E:mssql7 logsoasoas_tlog_200608111300.TRN. 0 file(s) deleted.

When we try to delete the file manully, we get alert message "can not delelte the file as it is in use."

Please suggest how to solve this.


Awating for reply

Thanks in Advance
Adil

View 1 Replies View Related

Scheduled Backup Silently Fails

Jul 20, 2005

I am running a SQL Server 2000 installation with several databases. Eachdatabase and log is backed-up using a maintenance plan.The scheduled maintance plan for the latest database does not run, butdisplays no error. There is no entry in the job history. The same thinghappens when I try to run the individual jobs from Enterprise Manager.I've checked the database recovery model (full), the location of the backupfiles (same as the other databases), and just about everything else I canthink of. The scheduled maintenance plan for every other database runs asit should.What am I missing?ThanksIain

View 6 Replies View Related

Scheduled Backup For Encryption Keys

Oct 29, 2007



Is there a way to schedule the backup of encryption keys periodically?

Thanks
Karthika

View 1 Replies View Related

Backup Errors In Sqlserver

Dec 2, 2004

Hello all,

How can I resolve this error message I keep getting when I try to backup my database?

Thanks in Advance.

"Can't open dump device 'D:MSSQLBACKUPdmpApp_tracker.DAT', device error or device off line. Please consult the SQL Server error log for more details. (Message 3201)"

View 4 Replies View Related

Backup Job Quits Without Any Errors

Sep 12, 2006

Hi

I have a job which is executed via SQL agent -it attempts to backup each database..

The only problem is that it terminates about 1/2 through (not always at the same spot) - there are about 80 databases on the server

No errors are logged.. Where do I look next ?

The commands executed are as follows:

--------------------------------------------------

DECLARE @DB_Name varchar(32)
DECLARE @Backup_Path varchar(255)
DECLARE @Backup_Name varchar(255)

DECLARE DB_Cursor CURSOR FOR SELECT NAME FROM sysdatabases

OPEN DB_Cursor

FETCH NEXT FROM DB_Cursor INTO @DB_Name

WHILE @@FETCH_STATUS = 0
BEGIN
IF @DB_Name <> 'tempdb' AND @DB_Name <> 'model'
BEGIN
print '--------------------------------<< ' + @db_name + ' >>--------------------------------'
SET @Backup_Path = N'C:sql2005backupsightly' + @DB_Name + 'Daily' + '.bak'
SET @Backup_Name = @DB_Name + N' backup'
BACKUP DATABASE @DB_Name TO DISK = @Backup_Path WITH INIT
END
FETCH NEXT FROM DB_Cursor INTO @DB_Name
END

CLOSE DB_cursor
DEALLOCATE DB_cursor

print 'Finished backing up'

View 4 Replies View Related

SQL 2000 Server Backup Errors

Aug 20, 2004

I am experiencing the following problem when running a backup. This process was working really fine for 3 months.

BACKUP DATABASE [DBLIVE] TO DISK = N'C:BACKUPSdblive' WITH INIT , NOUNLOAD , NAME = N'DBLIVE backup C', NOSKIP , STATS = 10, NOFORMAT

Database size 10G
Recovery Mode : Simple
Daily Backup

Error message:

Executed as user: ACC33Administrator. 10 percent backed up. [SQLSTATE 01000] (Message 3211) 20 percent backed up. [SQLSTATE 01000] (Message 3211) 30 percent backed up. [SQLSTATE 01000] (Message 3211) 40 percent backed up. [SQLSTATE 01000] (Message 3211) 50 percent backed up. [SQLSTATE 01000] (Message 3211) 60 percent backed up. [SQLSTATE 01000] (Message 3211) Nonrecoverable I/O error occurred on file 'D:sqldbDBLIVE_Data.MDF'. [SQLSTATE 42000] (Error 3271) BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013). The step failed.

Thank You.

View 9 Replies View Related

BACKUP ERRORS MISSING IN THE EVENT LOG

Jul 23, 2005

Hi,One of our backup jobs failed this morning but nothing got written intowin nt application event log. This way our MOM 2005 couldn't generatean alert on this event since mom inspetcs application event log forthat purpose (event id 17055). I see backup errors about 10 days ago inthe appl log. What could have caused that? Any help will beappreciated.Stan

View 1 Replies View Related

Catching Errors In SSIS Backup Database Task

Aug 28, 2006

Hi,

In my SSIS package, I have a backup database task. When I run the package with DestinationAutoFolderPath set to a folder ("Network Service" account has full permission on this folder) and DestinationCreationType set to Auto, the task works just fine creating a backup with its own name. (similar to database_date<count>).

But what I want is in my front-end I am allowing the user to specify the name of the backup file. So I want the task to create the backup file in the name I supply. I set the DestinationCreationType to manual and in the application code added the DestinationManualList with the path from the UI.

Now the pacakge runs fine but does not take any backup. There is no errors as well. If I set the FailPackageOnFailure and FailParentOnFailure to true, then I am getting the DTSExecResult.Failure but I am not getting the actual error from the backup database task.

Am I missing anything here?

Thanks in advance,
Srikanth.

View 4 Replies View Related

Suddenly Cannot Connect

Jan 9, 2008

I'm running SQL Server Express 2005 on Windows XP.

I've been using SQL Server Express for the past month or so, and I've always been able to connect. Now all of a sudden I can't connect, it's giving me error 26.

I've always used Windows authentication with no need for a password.

View 7 Replies View Related

Suddenly Getting STRANGE Error...

May 11, 2006

I've been building a simple test application and things have been working all day. Suddenly, about a half an hour ago - I started getting this error every time I attempt to go to the main web page:
System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
I have no idea what changed... Can someone help me figure this out please?
Thanks!~A~

View 3 Replies View Related

Connetion Fails Suddenly

Apr 9, 2008

I've had this connection used for months and months. The setupQL Express + VS2008. In that particular app I use only one DB Connection but there are about 10 other Sql Server Dbs that I connect to in other apps.

I am still in a development stage.

Today I've decided to connect also via the Server Explorer in VS2008. All connections were established easy. Immediately after that a connection.Open ( ) statement failed with the error message

System.Data.SqlClient.SqlException: Cannot open user default database. Login failed.

At the Open statement I did a break and with Ctrl + Alt + E got all exceptions. They are too numerous to show in here. One of the messages I found was that the failure occured in System.dll.

Any ideas as to why it happened?

I disconnected (deleted) the DB in question--no change. I deleted ALL DB connections from the server explorer in VS2008 - no change. I see the only option now and that is to reinstall the VS2008. I am kind of sick and tired of doing it.

Also I've been trying to move on to Linq and it is my understanding that in order to do Linq I have to establish connections via VS2008 not just connection strings. Is it right? Perhaps I am mistaken?

This particular connection is not that crutial. I can survice without it with this app but for others it would be impossible to continue development.

Any help will be appreciated.

Thanks.

P.S.

Some additional information has transpired. I checked Sql Server Object Explorer and immediately determined that the DB in question lost ALL its tables. There was just an empty shell: the name, no tables, no system tables, no Programmability, nothing.

I "deleted" this DB and reconnected it. The connection with my app miraculously restored itself. Now I could run the app with no problem and the connection to this DB could be Opened in the app. However, when I tried to set up the connection again in the Server Explorer of VS2008 the same thing promptly happened. Now I got this exception back.

It is not the way VS2005 behaved. Is it normal?

Thanks.

View 39 Replies View Related

SQL Mail Stopped Suddenly !! Help Required.

Feb 15, 2002

Hi Everybody !!

I have a problem with SQL mail on SQL 6.5 with SP 5a . I have created a job called as mailtest and is scheduled to run every morning .
The task was running successfully till last week when suddenly it stopped responding on some of the SQL 6.5 Servers .

When i stop the SQL Mail and start again through the Enterprise Manager , and then run the task , it shows as successful .
Every morning i have to do it to check whether the mailtest is O.K .

But the automated mailtest task has stopped suddenly . I have checked the MAPI profile and is correct as the same is configured on other servers on which my mailtest runs successful.

Can somebody guess what the problem could be ?

Thanks for your help in advance .

Regards
Ashish.

View 2 Replies View Related

All Replication Publications Suddenly Disappear

Jan 8, 2007

Hi:

Did you have any experience that all publications and their related jobs suddenly disappear?

I had a transactional pull replication between two servers, and distributor and subscriber in the same box; publisher was an AA cluster server.
The schedule of pulling was once a week.

Last Friday morning everything was working perfectly, but I found all publications and their related jobs disappear around 5pm

I checked with the sysadmin and he said nothing was changed on that period.

Did you have any idea about it?

Did you have any idea that I can prevent this happen again or any alert I can set up to monitor who drop it, when it was dropped and so on?

It is a SQL 2000 box and system table doest not take trigger.

Thanks in advance

Theresa

View 2 Replies View Related

Management Studio Is Missing Suddenly

Nov 20, 2007

Hi all,

This issue is on PRODUCTION.


The server is in use almost a year now, but suddenly this afternoon , i saw that Management Studio is missing in start --> Sql Server 2005 --> Management Studio is missing here. ( SQL Server 2005 , Standard Edition, 32-bit, SP1 )


Could somebody tell what could be the reason and how to fix it.


What i need to do , so that i get back the management studio & where should i go & investigate what file is missing.


Any help is greatly appreciated.


Thanks.

View 8 Replies View Related

SQL 2005 - Why Do Databases Suddenly Think They Are Replicated?

Nov 10, 2007



Hello All

I hope somebody can help. This is the second time I've seen this issue. The first time I thought it was a one off, but now I'm getting concerned.

I have two clients - one had Merge replication set up on a database that had a log log file that just grew and grew. The database was set to SIMPLE recovery. I could understand the log file growing if it was set up for transactional replication, but it wasn't transactional, just merge. Looking in sys.databasese the log_reuse column was set to REPLICATION.

I ran the sp_repldone stored proc on this database and all was well - I could shrink the log file down to a reasonable size. This server was SQL Server 2005, Service Pack 2.

Now I have yet another client who has a growing transaction log file. Low and behold the log_reuse for the database is set to REPLICATION again. This server has never had any type of replication set up at all!!!! The log file is still growing and DBCC OPENTRAN indicates undistributed transcations. This particular server is SQL Server 2005 Service Pack 1.

Can someone PLEASE shed some light on what's going on here? Is there some kind of bug that I don't know about? Searching Goolgle Groups seems to indicate that other people have had this problem, and they have have to set up replication and run sp_repldone to resolve it, but that's surely uncalled for on a database that has never seen replication?

Thanks

SQLGal2

View 2 Replies View Related

Suddenly SQL Server 6.5 Stops Responding For 4 Minutes

Apr 9, 2002

Can anyone help me?
My brand new installation of SQL Server 6.5 running on Windows 2000 suddenly stops working for about 6 minutes, in this periods no one can use SQL 6.5 services because it stops responding. My logs is show below:


2002/04/08 15:50:22.60 ods Error : 17832, Severity: 18, State: 0
2002/04/08 15:50:22.60 ods Unable to read login packet(s).
2002/04/08 15:50:24.50 ods Error : 17832, Severity: 18, State: 0
2002/04/08 15:50:24.50 ods Unable to read login packet(s).
2002/04/08 15:50:26.79 ods Error : 17832, Severity: 18, State: 0
2002/04/08 15:50:26.79 ods Unable to read login packet(s).
2002/04/09 07:10:21.48 ods Error : 17832, Severity: 18, State: 0
2002/04/09 07:10:21.48 ods Unable to read login packet(s).
2002/04/09 07:53:33.76 ods Error : 17824, Severity: 10, State: 0
2002/04/09 07:53:33.76 ods Unable to write to ListenOn connection '.pipesqlquery', loginname 'sa', hostname '2M_ROSANNA'.
2002/04/09 07:53:33.76 ods OS Error : 232,
2002/04/09 07:53:33.78 spid75 Error : 1608, Severity: 21, State: 2
2002/04/09 07:53:33.78 spid75 A network error was encountered while sending results to the front end. Check the SQL Server errorlog for more information.
2002/04/09 07:53:41.10 ods Error : 17824, Severity: 10, State: 0
2002/04/09 07:53:41.10 ods Unable to write to ListenOn connection '.pipesqlquery', loginname 'sa', hostname 'CE_SANDRA'.
2002/04/09 07:53:41.10 ods OS Error : 232,
2002/04/09 07:53:41.10 spid80 Error : 1608, Severity: 21, State: 2
2002/04/09 07:53:41.10 spid80 A network error was encountered while sending results to the front end. Check the SQL Server errorlog for more information.
2002/04/09 07:55:42.20 ods Error : 17824, Severity: 10, State: 0
2002/04/09 07:55:42.20 ods Unable to write to ListenOn connection '.pipesqlquery', loginname 'sa', hostname 'CE_SANDRA'.
2002/04/09 07:55:42.20 ods OS Error : 232,
2002/04/09 07:55:42.20 spid53 Error : 1608, Severity: 21, State: 2
2002/04/09 07:55:42.20 spid53 A network error was encountered while sending results to the front end. Check the SQL Server errorlog for more information.
2002/04/09 07:57:09.40 ods Error : 17824, Severity: 10, State: 0
2002/04/09 07:57:09.40 ods Unable to write to ListenOn connection '.pipesqlquery', loginname 'sa', hostname 'FE_FERTILIDAD'.
2002/04/09 07:57:09.40 ods OS Error : 232,
2002/04/09 07:57:09.40 spid91 Error : 1608, Severity: 21, State: 2
2002/04/09 07:57:09.40 spid91 A network error was encountered while sending results to the front end. Check the SQL Server errorlog for more information.
2002/04/09 07:57:09.40 ods Error : 17824, Severity: 10, State: 0
2002/04/09 07:57:09.40 ods Unable to write to ListenOn connection '.pipesqlquery', loginname 'sa', hostname 'SF_ROSA'.
2002/04/09 07:57:09.40 ods OS Error : 232,
2002/04/09 07:57:09.40 spid11 Error : 1608, Severity: 21, State: 2
2002/04/09 07:57:09.40 spid11 A network error was encountered while sending results to the front end. Check the SQL Server errorlog for more information.
2002/04/09 07:57:36.04 ods Error : 17824, Severity: 10, State: 0
2002/04/09 07:57:36.04 ods Unable to write to ListenOn connection '.pipesqlquery', loginname 'sa', hostname 'CE_MILAGROS'.
2002/04/09 07:57:36.04 ods OS Error : 232,
2002/04/09 07:57:36.04 spid60 Error : 1608, Severity: 21, State: 2
2002/04/09 07:57:36.04 spid60 A network error was encountered while sending results to the front end. Check the SQL Server errorlog for more information.


The problems begin on 2002/04/09 at 7:53am. and it respond again at 7:57, there's no need to restart the service.

I will appreciate some help here.

View 1 Replies View Related

Clustered Sql Server 2005 Restarted Suddenly

Nov 4, 2007

Hi EveryOne,

WIndows 2003 sp2 and sqlserver 2005 standard edition -sp2.

Found following erors in The cluster and event logs.

error: [sqsrvres] CheckQueryProcessorAlive: sqlexecdirect
failed

error: [sqsrvres] OnlineThread: QP is not online.

error: [sqsrvres] printODBCError: sqlstate = HYT00;
native error = 0; message = [Microsoft][ODBC SQL Server
Driver]Timeout expired

[sqsrvres] printODBCError: sqlstate = 08S01; native error = 0; message = [Microsoft][SQL Native Client]Communication link failure

[sqagtres] SvcStop: service did not stop; giving up.
[sqsrvres] OnlineThread: asked to terminate while waiting for QP.


SQL Server is terminating in response to a 'stop' request from Service Control Manager



Earlier we had sudden Sql agent restart but this time sql server services were restarted .

What could be he reasons for this.

This machine has 64 GB ram and sql server has been alloted 30 Gb.
I found 30 Gb Usage in the dump file of Sqlserver

Can a memory Starved sql server could be a rason why sql server would have restarted

Thanks,
Gautham.R

View 1 Replies View Related

Suddenly Stored Procedure Takes Too Much Time?

Jul 17, 2015

I have a sp that was taking very little time (about 34 sec). But suddenly is stacked. It is running and running and running but not LOCKED neither SUSPENDED. It is always RUNNABLE. I have made Index and statistics optimization but nothing. I looked into execution plan but everything seems ok. All the time is in 3 indexes that are Index Seek and not Table Scan!!! So why is stacked... I do not know how much time it takes because I have to stop it. (SQL SERVER 2008 R2, the database was migrated from SQL SERVER 2000)

View 6 Replies View Related

Can't Open Destination Flat File Suddenly?

Jun 6, 2007

Attempting to write to a flat file, I get the following Warning then Errors:

~~~~~~~~~~~~~~~~~~
Warning: 0x80070005 at Data Flow Task, Detail to dat File Writer [54]: Access is denied.

Error: 0xC020200E at Data Flow Task, Detail to dat File Writer [54]: Cannot open the datafile "DetailOutWhat_1.dat".

Error: 0xC004701A at Data Flow Task, DTS.Pipeline: component "Detail to dat File Writer" (54) failed the pre-execute phase and returned error code 0xC020200E.
~~~~~~~~~~~~~~~~~~~

There should be no reason that this project can't open DetailOutWhat_1.dat, as it has successfully done it earlier today...

UNRELATED: Is it possible to comment out a transform or destination file while in the Designer View?

Thanks!

Jim Work

View 4 Replies View Related

Replication Monitor Bug - Subscription Names Suddenly Not Displaying?

Apr 23, 2007

This is strange.



We use Merge (pull) replication to get data from the "mother ship" updated to the laptops of 15 sales reps before they head out into the field, where they work disconnected. At end of day, they all reconnect and all the data is once again shared.



We've been having problems with the replication, but that's another topic.



This morning, I logged onto the server to check the replication monitor, and found that all of the subscriber names for that particular subscription are blank! They show the open/close bracket ( [] ) followed by the database name. This is under the My Publishers >> [server name] >> [publication name] node in the explorer tree. If I try to double-click on one of the subscribers to get their detail, I get tne message, "Replication Monitor could not open the Detail Window." and "Specified cast is not valid".



If I look at the publication in SQL Server Management Studio, all of the subscriber names show up just fine. But they do NOT show up under Replication Monitor.



No one touched the database over the weekend, and this was working just fine on Friday afternoon.



Has anyone seen this before? What to do?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved