Email Should Receive Whenever SQL Server is Stopped.

Hi SQL Experts,
I have a requirement like "Email Should Receive Whenever SQL Server is Stopped", so that i can reduce the downtime or escalations.
SQL Server Version: 2012
Windows Server Version: 2012
Regards
Siraj Ahmed

You need to do this outside of SQL server. You need some monitoring tools or you need to develop one which frequently checks SQL Server Services
check this thread
https://social.msdn.microsoft.com/forums/sqlserver/en-US/44eb704f-a0bb-4ceb-8470-60b2ddb0b3c6/how-to-get-an-email-notification-when-sql-server-stop
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

Similar Messages

  • Email alert if SQL Server Services stop abruptly

    Hi,
    I am a SQL Server DBA and I am currently working on setting up email alerts in case if SQL Server services stop abruptly.I have currently written a VB script which runs every 1 hr and checks if a SQL Server Service is running or not. This VB Script runs
    with the help of Windows Task Scheduler.In case if a SQL Server service has stopped, this VB script immediately sends an email via. SMTP Server.
    Please let me know if this is a good solution or is there any other better solution or is there any feature available in SQL/windows using which the same can be achieved. 
    Environment:
    SQL 2008 R2
    OS: Windows Server 2008
    Thanks a lot in advance :)
    Regards,
    Tauhid S Shaikh 

    Hi Tauhid,
    I do have same requirement, please could you share the code.
    Regards
    Siraj Ahmed  

  • Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000] String data, right truncation [SQLSTATE 01004] [SQLSTATE 08S01] error

    I'm looking for some general guidance on this complete error:
    Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000]
    String data, right truncation [SQLSTATE 01004]
    Msg 16389, Sev 16, State 1: The connection is no longer usable because the server response for a previously executed statement was incorrectly formatted. [SQLSTATE 08S01]
    This error is caused by a SQL Agent Job, but it does not always occur. I understand this could be an issue with SQL dropping the connection, but what is the best way to troubleshoot this?
    Thanks,
    Phil

    Hi philliptackett77,
    It would be more helpful for troubleshooting the issue if you post the SQL Server error log and SQL Server version. Additionally, please state what purpose of using the agent job.
    Based on my research, [SQLSTATE 08S01] error means communication link failure. If the executed statement returns invalid value in the job, the connection between server and client will fail. This error could be caused by the error of [SQLSTATE HY000] and
    [SQLSTATE 01004]. I’d like to share my knowledge about these errors as below.
    Quote: String data, right truncation [SQLSTATE 01004]
    This error could occur when passing data whose length is larger than the received object,and the passed value is truncated, and returns invalid value. So please check if the data type of the objects are identical and the length of passed value is not larger
    than the received object.
    Quote: Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000]
    The error could occur in the two cases below.
    1. If you use SQL Server version 6.50, and execute the cursor in the job step, set the statement options to use a server-side cursor and prepare a select statement on a SQL Server system table. The first execution of the select creates the cursor successfully.
    After you close this cursor, if you execute the prepared statement again, the error could occur.
    I recommend you to apply the latest service pack firstly. If the error still occurs, you could change your code by using a forward-only cursor instead of a static, keyset, or dynamic cursor on the system tables. If a forward-only cursor is unacceptable,
    prepare the select statement again on the system table and execute it to create a server-side cursor. For more information about the process, please refer to the article:
    http://support.microsoft.com/kb/151693/en-us
    2. The TDS stream from the server is invalid when transfer data between a database server and a client. This error is typically caused by a problem on the server. For more information about errors above, please refer to the article:
    http://technet.microsoft.com/en-us/library/aa937531(v=sql.80).aspx
    Regards,
    Michelle Li

  • OGG for SQL Server - Extract stops capturing - Bug?

    Hi, all,
    I've found a problem with OGG for SQL Server where the Extract stops capturing data after the transaction log is backed up. I've looked for ways to reconfigure OGG to avoid the problem but couldn't find any reference to options to workaround this problem. It seems to be a bug to me.
    My Extract configuration is as follows:
    EXTRACT ext1
    SOURCEDB mssql1
    TRANLOGOPTIONS NOMANAGESECONDARYTRUNCATIONPOINT
    EOFDELAY 60
    EXTTRAIL dirdat/e1
    TABLE dbo.TestTable;
    I'm using the EOFDELAY parameter for testing purposes only, since it's easy to reproduce the scenario that causes the issue when the extract polling is configured with longer intervals.
    When the Transaction Log backup runs, SQL Server marks all the virtual logs that are older than the primary and secondary truncation points as inactive (status = 0). These virtual logs can then be reused if required. They still contain change records, though, and OGG can read from then if required, before they are overwritten. This situation will never occur if we are not using SQL Replication and have the Extract configured with the parameter MANAGESECONDARYTRUNCATIONPOINT.
    However, I'm trying to simulate a scenario where OGG is used along SQL Replication and the extract is configured with the NOMANAGESECONDARYTRUNCATIONPOINT option. The situation that I've reproduced and caused the Extract to stop capturing is the follow sequence of events:
    1. Extract reads transaction log and capture change up to LSN X
    2. More change are made to the database and the LSN is incremented
    3. Log Reader reads Transaction Log, captures changes up to LSN X+Y and advances the secondary truncation point to that LSN
    4. A transaction log occurs, backs up all the active virtual logs, advances the primary truncation point to a LSN greater than LSN X+Y, and marks all the virtual logs with LSNs <= X+Y as inactive (status = 0)
    5. Changes continue to happen in the database consuming all the available inactive virtual logs and overwriting them.
    6. The extract wakes up again to capture more changes.
    At this point, the changes between LSNs X and X+Y are not in the Transaction Log anymore, but are available in the backups. From what I understood in the documentation the Extract should detect that situation and retrieve the changes from the Transaction Log backups. This, however, is not happening and the Extract becomes stuck. It still pools the transaction log at the configured interval query the log state with DBCC LOGINFO, but doesn't move forward anymore.
    If I stop and restart the Extract I can see from the trace that it does the right thing upon startup. It realises that it requires information that's missing from the logs, query MSDB for the available backups, and mine the backups to get the required LSNs.
    I would've thought the Extract should do the same during normal operation, without the need for a restart.
    Is this a bug or the normal operation of the Extract? Is there a way to configure it to avoid this situation without using NOMANAGESECONDARYTRUNCATIONPOINT?
    The following is the state of the Extract once it gets stuck. The last replicated change occurred at 2012-07-09 12:46:50.370000. All the changes after that, and there are many, were not captured until I restarted the Extract.
    GGSCI> info extract ext1, showch
    EXTRACT EXT1 Last Started 2012-07-09 12:32 Status RUNNING
    Checkpoint Lag 00:00:00 (updated 00:00:54 ago)
    VAM Read Checkpoint 2012-07-09 12:46:50.370000
    LSN: 0x0000073d:00000aff:0001, Tran: 0000:000bd922
    Current Checkpoint Detail:
    Read Checkpoint #1
    VAM External Interface
    Startup Checkpoint (starting position in the data source):
    Timestamp: 2012-07-09 11:41:06.036666
    LSN: 0x00000460:00000198:0004, Tran: 0000:00089b02
    Recovery Checkpoint (position of oldest unprocessed transaction in the data so
    urce):
    Timestamp: 2012-07-09 12:46:50.370000
    LSN: 0x0000073d:00000afd:0004, Tran: 0000:000bd921
    Current Checkpoint (position of last record read in the data source):
    Timestamp: 2012-07-09 12:46:50.370000
    LSN: 0x0000073d:00000aff:0001, Tran: 0000:000bd922
    Write Checkpoint #1
    GGS Log Trail
    Current Checkpoint (current write position):
    Sequence #: 14
    RBA: 28531192
    Timestamp: 2012-07-09 12:50:02.409000
    Extract Trail: dirdat/e1
    CSN state information:
    CRC: D2-B6-9F-B0
    CSN: Not available
    Header:
    Version = 2
    Record Source = A
    Type = 8
    # Input Checkpoints = 1
    # Output Checkpoints = 1
    File Information:
    Block Size = 2048
    Max Blocks = 100
    Record Length = 20480
    Current Offset = 0
    Configuration:
    Data Source = 5
    Transaction Integrity = 1
    Task Type = 0
    Status:
    Start Time = 2012-07-09 12:32:29
    Last Update Time = 2012-07-09 12:50:02
    Stop Status = A
    Last Result = 400
    Thanks!
    Andre

    It might be something simple (or maybe not); but the best/fastest way to troubleshoot this would be to have Oracle (GoldenGate) support review your configuration. There are a number of critical steps required to allow GG to interoperate with MS's capture API. (I doubt this is it, but is your TranLogOptions on one line? It looks like you have it on two , the way it's formatted here.)
    Anyway, GG support has seen it all, and can probably wrap this up quickly. (And if it was something simple -- or even a bug -- do post back here & maybe someone else can benefit from the solution.)
    Perhaps someone else will be able to provide a better answer, but for the most part troubleshooting this (ie, sql server) via forum tends to be a bit like doing brain surgery blindfolded.

  • SQL Server Agent Stopped

    Received an error in SQL Server Agent and none of the Job executed as per schedules and attaching a screen shot of the Error Message while expanding the Job Folder under SQL Server Agent. Additionally, need to find the RCA for this issue to avoid the re-occurrence.
    Pls share your experience if any such issue which you have faced earlier.
    As usual, after re-starting the Windows Server the issue got fixed and no RCA captured. Please let me know how to drill down and find out the RCA for this issue.

    Hi,
    the exact issue what i had is as in below URL.
    https://connect.microsoft.com/SQLServer/feedback/details/243790/sql-server-agent-exception-in-the-tsql-subsystem-agent-hangs-unresponsive
    And in the another reference URL i can feel that could be the solution but not able to identify the exact Root Cause.
    http://mssqlwiki.com/sqlwiki/sql-server-agent/sql-agent-maxworkerthreads-and-agent-subsystem/
    Additionally, attaching the Application Log event details for further Analysis in HTML format.
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:22:09.000000000Z" />
        <EventRecordID>10509692</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:52:09 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:22:09.000000000Z" />
        <EventRecordID>10509690</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:52:00 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:22:00.000000000Z" />
        <EventRecordID>10509678</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:52:00 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:22:00.000000000Z" />
        <EventRecordID>10509676</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:52:00 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:22:00.000000000Z" />
        <EventRecordID>10509674</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:51:13 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:21:13.000000000Z" />
        <EventRecordID>10509652</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:51:13 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:21:13.000000000Z" />
        <EventRecordID>10509650</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:51:13 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:21:13.000000000Z" />
        <EventRecordID>10509648</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:46:09 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:16:09.000000000Z" />
        <EventRecordID>10509545</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:46:09 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:16:09.000000000Z" />
        <EventRecordID>10509543</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:46:09 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:16:09.000000000Z" />
        <EventRecordID>10509541</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:46:03 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:16:03.000000000Z" />
        <EventRecordID>10509529</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:46:03 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:16:03.000000000Z" />
        <EventRecordID>10509527</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:46:03 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:16:03.000000000Z" />
        <EventRecordID>10509525</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:44:46 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] CheckServiceAlive: Service is dead
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:14:46.000000000Z" />
        <EventRecordID>10509513</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] CheckServiceAlive: Service is dead
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-26 4:44:46 AM
    Event ID:      53
    Task Category: (5)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 53 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    [sqagtres] SvcStop: service did not stop; giving up.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">53</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T23:14:46.000000000Z" />
        <EventRecordID>10509511</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[sqagtres] SvcStop: service did not stop; giving up.
    </Data>
        <Binary>35000040010000000A00000042004C005500530051004C00410043004300000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Microsoft-Windows-User Profiles Service
    Date:          2014-10-26 4:01:10 AM
    Event ID:      1530
    Task Category: None
    Level:         Warning
    Keywords:      
    User:          SYSTEM
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.  
     DETAIL - 
     1 user registry handles leaked from \Registry\User\S-1-5-21-771433644-1862610895-1113058290-1216:
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-1216\Printers\DevModePerUser
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
        <EventID>1530</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T22:31:10.210213900Z" />
        <EventRecordID>10508265</EventRecordID>
        <Correlation />
        <Execution ProcessID="924" ThreadID="12052" />
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="EVENT_HIVE_LEAK">
        <Data Name="Detail">1 user registry handles leaked from \Registry\User\S-1-5-21-771433644-1862610895-1113058290-1216:
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-1216\Printers\DevModePerUser
    </Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Microsoft-Windows-User Profiles Service
    Date:          2014-10-26 3:37:38 AM
    Event ID:      1530
    Task Category: None
    Level:         Warning
    Keywords:      
    User:          SYSTEM
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.  
     DETAIL - 
     1 user registry handles leaked from \Registry\User\S-1-5-21-771433644-1862610895-1113058290-1434:
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-1434\Printers\DevModePerUser
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
        <EventID>1530</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T22:07:38.056728700Z" />
        <EventRecordID>10507688</EventRecordID>
        <Correlation />
        <Execution ProcessID="924" ThreadID="12052" />
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="EVENT_HIVE_LEAK">
        <Data Name="Detail">1 user registry handles leaked from \Registry\User\S-1-5-21-771433644-1862610895-1113058290-1434:
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-1434\Printers\DevModePerUser
    </Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Microsoft-Windows-User Profiles Service
    Date:          2014-10-26 3:12:07 AM
    Event ID:      1530
    Task Category: None
    Level:         Warning
    Keywords:      
    User:          SYSTEM
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.  
     DETAIL - 
     1 user registry handles leaked from \Registry\User\S-1-5-21-771433644-1862610895-1113058290-1434:
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-1434\Printers\DevModePerUser
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
        <EventID>1530</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T21:42:07.367675100Z" />
        <EventRecordID>10507058</EventRecordID>
        <Correlation />
        <Execution ProcessID="924" ThreadID="18292" />
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="EVENT_HIVE_LEAK">
        <Data Name="Detail">1 user registry handles leaked from \Registry\User\S-1-5-21-771433644-1862610895-1113058290-1434:
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-1434\Printers\DevModePerUser
    </Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Microsoft-Windows-User Profiles Service
    Date:          2014-10-26 12:59:12 AM
    Event ID:      1530
    Task Category: None
    Level:         Warning
    Keywords:      
    User:          SYSTEM
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.  
     DETAIL - 
     3 user registry handles leaked from \Registry\User\S-1-5-21-771433644-1862610895-1113058290-500:
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-500
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-500\Printers\DevModePerUser
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-500\Software\Microsoft\Windows NT\CurrentVersion\Windows
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
        <EventID>1530</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T19:29:12.118229900Z" />
        <EventRecordID>10503856</EventRecordID>
        <Correlation />
        <Execution ProcessID="924" ThreadID="17644" />
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="EVENT_HIVE_LEAK">
        <Data Name="Detail">3 user registry handles leaked from \Registry\User\S-1-5-21-771433644-1862610895-1113058290-500:
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-500
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-500\Printers\DevModePerUser
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-500\Software\Microsoft\Windows NT\CurrentVersion\Windows
    </Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Application Error
    Date:          2014-10-25 11:10:49 PM
    Event ID:      1000
    Task Category: Application Crashing Events
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    Faulting application name: mmc.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc808
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x0000000000000000
    Faulting process id: 0x%9
    Faulting application start time: 0x%10
    Faulting application path: %11
    Faulting module path: %12
    Report Id: %13
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T17:40:49.000000000Z" />
        <EventRecordID>10501239</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>mmc.exe</Data>
        <Data>6.1.7600.16385</Data>
        <Data>4a5bc808</Data>
        <Data>unknown</Data>
        <Data>0.0.0.0</Data>
        <Data>00000000</Data>
        <Data>c0000005</Data>
        <Data>0000000000000000</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Microsoft-Windows-User Profiles Service
    Date:          2014-10-25 11:09:59 PM
    Event ID:      1530
    Task Category: None
    Level:         Warning
    Keywords:      
    User:          SYSTEM
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.  
     DETAIL - 
     1 user registry handles leaked from \Registry\User\S-1-5-21-771433644-1862610895-1113058290-1434:
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-1434\Printers\DevModePerUser
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
        <EventID>1530</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T17:39:59.818023100Z" />
        <EventRecordID>10501214</EventRecordID>
        <Correlation />
        <Execution ProcessID="924" ThreadID="6232" />
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="EVENT_HIVE_LEAK">
        <Data Name="Detail">1 user registry handles leaked from \Registry\User\S-1-5-21-771433644-1862610895-1113058290-1434:
    Process 1004 (\Device\HarddiskVolume3\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-771433644-1862610895-1113058290-1434\Printers\DevModePerUser
    </Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          2014-10-25 7:15:00 PM
    Event ID:      209
    Task Category: (3)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      GSGLOBAL-CN07.GSGLOBAL.local
    Description:
    The description for Event ID 209 from source SQLSERVERAGENT cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    1
    Copy_ESHOP_GBR_GT
    0x4644461009F9A840BEC1F3FE774C400A
    TSQL
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="49152">209</EventID>
        <Level>2</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-25T13:45:00.000000000Z" />
        <EventRecordID>10495566</EventRecordID>
        <Channel>Application</Channel>
        <Computer>GSGLOBAL-CN07.GSGLOBAL.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>1</Data>
        <Data>Copy_ESHOP_GBR_GT</Data>
        <Data>0x4644461009F9A840BEC1F3FE774C400A</Data>
        <Data>TSQL</Data>
      </EventData>
    </Event>
    I could not able to attach as Application Event Log file instead just pasted the detailed content of the log details otherwise that would be easier to analyse.
    Thanks,
    Mohanraj

  • JDBC Connectivity - broken pipe received when SQL server resets the connect

    Hi,
    We have downloaded MICROSOFT SQL SERVER 2000 DRIVER for UNIX boxes
    when i try to connect using JDBC , with all parameters
    user id, driver, password etc
    at the sniffer(TCPIP) level when the jdbc connection is attempted
    i see a
    1) SYN packet to the SQL server from unix box
    2) ACK SYN from the SQL server to unix box
    3) ACK from unix box to server
    4) no activity for about a minute
    5) a RST( reset ) from SQL server to unix box.
    at this point i get the following
    stack trace
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Broken pipe or
    no reader on socket
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.submitRequest(Unknow
    n Source)
    at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Sou
    rce)
    at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown S
    ource)
    at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
    at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at wu.database.WUDBAccess.getGiftGramConnection(WUDBAccess.java, Compile
    d Code)
    at wu.util.GiftMailClient.ConnectToDB(GiftMailClient.java, Compiled Code
    at wu.util.GiftMailClient.ProcessEmail(GiftMailClient.java, Compile
    the sniffer trace
    Frame source = (Network)
    Length = 66
    Time received = 09/24/2002 21:19:42.543
    Frame Relay
    Header = 1041
    0001 00.. 0100 .... = DLCI 68
    .... ..0. .... 000. = (Command)
    EtherType = 0800 IP
    Internet Protocol (IP)
    Source address = unix_server
    Destination address = SQL_server
    Type of service = 00
    Length = 60
    Identification = 58024
    Flags = 0000 (May fragment, Last fragment)
    Time to live = 28
    Protocol = 6 TCP
    Transmission Control Protocol (TCP)
    Source Port = 2175
    Destination Port = 8072
    Sequence = 2690569244
    Acknowledgement = 0
    Flags = 02 (SYN)
    Window size = 8192
    ============================= Frame Number 7 =============================
    Frame source = (User)
    Length = 66
    Time received = 09/24/2002 21:19:42.544
    Frame Relay
    Header = 1041
    0001 00.. 0100 .... = DLCI 68
    .... ..0. .... 000. = (Command)
    EtherType = 0800 IP
    Internet Protocol (IP)
    Source address = SQL_server
    Destination address = unix_server
    Type of service = 00
    Length = 60
    Identification = 47302
    Flags = 4000 (Don't fragment, Last fragment)
    Time to live = 126
    Protocol = 6 TCP
    Transmission Control Protocol (TCP)
    Source Port = 8072
    Destination Port = 2175
    Sequence = 60776554
    Acknowledgement = 2690569245
    Flags = 12 (ACK, SYN)
    Window size = 17520
    ============================= Frame Number 8 =============================
    Frame source = (Network)
    Length = 58
    Time received = 09/24/2002 21:19:42.607
    Frame Relay
    Header = 1041
    0001 00.. 0100 .... = DLCI 68
    .... ..0. .... 000. = (Command)
    EtherType = 0800 IP
    Internet Protocol (IP)
    Source address = unix_server
    Destination address = SQL_server
    Type of service = 00
    Length = 52
    Identification = 58025
    Flags = 0000 (May fragment, Last fragment)
    Time to live = 28
    Protocol = 6 TCP
    Transmission Control Protocol (TCP)
    Source Port = 2175
    Destination Port = 8072
    Sequence = 2690569245
    Acknowledgement = 60776555
    Flags = 10 (ACK)
    Window size = 8192
    ****************************************************8
    ============================= Frame Number 9 =============================
    Frame source = (User)
    Length = 52
    Time received = 09/24/2002 21:21:35.137
    Frame Relay
    Header = 1041
    0001 00.. 0100 .... = DLCI 68
    .... ..0. .... 000. = (Command)
    EtherType = 0800 IP
    Internet Protocol (IP)
    Source address = SQL_server
    Destination address = unix_server
    Type of service = 00
    Length = 40
    Identification = 47451
    Flags = 4000 (Don't fragment, Last fragment)
    Time to live = 126
    Protocol = 6 TCP
    Transmission Control Protocol (TCP)
    Source Port = 8072
    Destination Port = 2175
    Sequence = 60776555
    Acknowledgement = 623322721
    Flags = 04 (RST)
    Window size = 0
    Data (ASCII)
    0000 = 00 00 00 00 00 00 ......
    any help is welcome
    Regards,
    Sunil

    Well then, it beats me. I don't see what the problem could be in this case. :o(
    Get another driver and see what happens. I would recommend jTDS, because I'm one of the developers and I can help you debug it. It only supports basic things (such as forward-only result sets, prepared statements and callable statements) but it should be enough to see if you can connect to SQL Server. The address is http://jtds.sourceforge.net
    Alin.

  • Should I Install SQL Server 2008 R2 on a VHDX or Pass-through disk

    Hi,
    I am in going to be setting a virtual server running Windows Server 2008 R2 on my Hyper-V cluster and I will be also adding SQL Server 2008 R2 once the OS is configured. Can you please suggest whether I should setup a VHDX or a pass-through disk? I have
    read articles online suggesting to use a pass-through disk from my SAN but I also read that since Windows Server 2012, VHDX is as good as a pass-through disk, especially because it will allow to have snapshots taken, unlike the pass-through which will not.
    Please advise on whether I should chose a pass-through disk or a VHDX.
    Thanks in advance,

    Hi Aquila,
    There are three basic types of Virtual Hard Disks (VHDs) that you can use with VMs, such as dynamic VHD, fixed VHD, and differencing disks. Usually, the fixed VHD is almost always the best choice for virtualized SQL Server systems that run a production workload.
    You can use dynamic disks for noncritical production workloads, as well as for testing, training, and lab environments. Pass-through disks offer the highest level of performance for VM storage, however, Pass-through disks can't be moved without incurring downtime,
    and they don't support VM snapshots. For more information, see:http://sqlmag.com/sql-server/sql-server-virtualization-tips
    In addition, there is an article about how to setup boot from VHD for a SQL Server. You can review the following link.
    http://www.mssqltips.com/sqlservertip/2327/how-to-setup-boot-from-vhd-for-a-sql-server-test-or-development-environment/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to send PLAIN text email from sp_send_dbmail using SQL Server 2008 R2?

    I have configured Database Mail in SQL Server 2008 R2 (64) and it sends emails just fine. However the destination is recieving the body of thes message as Base 64 encoding.
    Snippet:
    EXEC msdb..sp_send_dbmail @profile_name='Outmail', @recipients = @recpts, @subject = @subj, @body_format = 'TEXT', @body=@body2;
    As you can see I set @body_format to TEXT, but it still sends Base 64. I need to send plain ASCII text. How can I change this?

    I am having this exact issue too.  I have a trigger that sends an email using a stored procedure.  The dbmail is sending the email using the Exchange 2010 server SMTP.  It does not login so the email is relayed as user = "Anonymous". 
    The SQL dbmail email header is showing the following:
    Content-Type: text/plain; charset="utf-8"
    Content-Transfer-Encoding: base64
    MIME-Version: 1.0
    X-MS-Exchange-Organization-AuthSource: MX01.domain.local
    X-MS-Exchange-Organization-AuthAs: Anonymous
    Here is the header if I send via Outlook profile using the legacy program I am trying to automate using SQL Server 2008R2:
    Content-Type: application/ms-tnef; name="winmail.dat"
    Content-Transfer-Encoding: binary
    MIME-Version: 1.0
    X-MS-Has-Attach:
    X-MS-Exchange-Organization-SCL: -1
    X-MS-TNEF-Correlator: <[email protected]>
    MIME-Version: 1.0
    X-MS-Exchange-Organization-AuthSource: MX01.domain.local
    X-MS-Exchange-Organization-AuthAs: Internal
    X-MS-Exchange-Organization-AuthMechanism: 03
    X-Originating-IP: [192.168.13.66]
    Any help would be greatly appreciated!

  • Data Warehouse errors, SQL Server Agent Stopped

    I just installed SCE 2010 on a 2k8 server and went through the config wizard.  Now it is showing Data Warehouse alerts, including:
    Data Warehouse failed to discover object health state standard data set. Failed to enumerate (discover) Data Warehouse objects and relationships among them. The operation will be retried.
    Exception 'SqlException': Management Group with id '6FDBE66E-E35D-BCB8-0FA1-5947E45FE643' is not allowed to access Data Warehouse under login 'domain\user'
    One or more workflows were affected by this.
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Discovery.StandardDataSet
    Instance name: State data set
    Instance ID: {217CFE24-F6F6-0DFF-9EA9-64C62895EE29}
    Management group: SCESERVER_MG
    I let the SCE install SQL 2008 Express.  When I checked on the SQL Services, SQL Server Agent Service is stopped and will not start.  Not sure if this is the cause of the above issue.  I also can't log in to the SQL Server Management Studio.
    How can I fix this?  What other information do you need from me.

    Danny01 - tried the domain admin rights on the service with no difference - put it back
    Radhey Shah - I checked the admin account and it is the same account that I set the SQL up with.  How do I verify this account has admin rights on the SQL DB?
    The error that comes up when I try to run the SQL Server Agent Service is...
    "The Sql Server Agent (Essentials) service on SCESERVER
    started and then stopped.  Some services stop automatically if
    they are not in use by other serives or programs."
    Also, when I look at the alerts within SCE, here is the current alert..
    OleDb Module encountered a failure 0x80004005 during execution and will post it as output data item. Unspecified error
    : Cannot open database "OperationsManagerDW" requested by the login. The login failed.
    Workflow name: Microsoft.Windows.Client.Vista.ComputerGroup.DiskTrendsComputer
    Instance name: Microsoft System Center Data Warehouse
    Instance ID: {16781F33-F72D-033C-1DF4-65A2AFF32CA3}
    Management group: SCESERVER_MG

  • SQL Server 2012 stops running after setup files are copied.

    SQL Server 2012 setup stops running after setup files are copied.
    I've experiencing the same issue on two different machines. Both are 64 bit running Server 2008.
    On both of them I tried installing using the files from the ISO. I initially used winzip to extract the files. The setup was running fine, but the SQL Server engine had an error when it installed. Then using the Add/Remove programs i uninstalled all of the
    SQL Server 2012 applications, including the setup files.
    Now when i try to install using the "New SQL Server stand-alone..." wizard it will copy the setup files and then the wizard never comes back. I've tried mounting the ISO, extracting with winrar, Burning the ISO to a dvd and downloading the 3 files. I also
    tried mounting ISO of the version that was just recently released. I run into the same issue with all of them.
    Thanks for the help.

    can you try 
     setup.exe
    /Action=install /x86 /UpdateEnabled=false
    If this doesn't work please use below FAQ to locate and upload SQL Server setup logss.
    FAQ
    Regards,
    Ahmed Ibrahim
    SQL Server Setup Team
    My Blog
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and "Vote as Helpful"
    on posts that help you.
    This can be beneficial to other community members reading the thread.
    Thank you, it's work!!! :) Maybe problem was in /UpdateEnabled=false and I could try to install a x64 version... but too late, setup in progress and I do not want to have to try all over again :)

  • Code to automatically sms send and receive by sql server

    I want you to tell me the necessary code in vb and sql to automatically send and receive sms from sql database.i know only that i have to create one table for it in the database.please anybody who knows post the code for me.

    Hi mintesnot h.benti,
    According to your description, since the issue regards VB code, as other post, you need to post the related problem on Visual Basic forum at
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral. It is appropriate and more experts will assist you.
    In addition, if you want to use a SQL Server database, and it makes SMS sending and receiving possible through database tables in your VB.NET application. You may need to use the 3<sup>rd</sup> tools, such as OZEKI NG SMS Gateway or others.
    http://www.ozekisms.com/php-sms-api-asp-sms-A/index.php?owpn=586&sms_gateway=sms_VB.NET_database_sms_example_guide
    Note: Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality,
    safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and please be cautious and ensure you have completely understood the risk before retrieving any software from the
    Internet.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • JDBC receiver MS SQL Server encryptation

    Hi all,
    I have to configure a communication channel from a PI 7.0 to MS SQL Server 2005 database to execute updates. I have already deployed the com.microsoft.sqlserver.jdbc.SQLServerDriver driver.
    I have been asked whether SSL encryptation can be used. I have found an example for an Oracle database. The following aditional parameters can be specified:
    driver.oracle.net.encryption_clien = ACCEPTED
    driver.oracle.net.encryption_types_client = RC4_40
    driver.oracle.net.crypto_checksum_client = ACCEPTED
    driver.oracle.net.crypto_checksum_types_client = MD5
    Does anybody know if these or similar parameters can be used for the SQL Server Driver?
    Thanks in advanced for your advice

    >Does anybody know if these or similar parameters can be used for the SQL Server Driver?
    Search in microsoft SQL Server web link for this. Sure, you cannot use the same oracle syntax for SQL Server. Plus what SQL Server do you use ?  These server encryption are required to configure at database server too. If the version what do you use does not suppor then there is no point in configuring at the channel side.
    The oracle parameters are supported only Oracle 10 and above versions only. I believe you are referring this link
    http://wiki.sdn.sap.com/wiki/display/XI/EncryptioninscenariosinvolvingJDBCAdapterwithOracleDatabase

  • Witch Rol Server Should I Install SQL Server 2008 R3 Service Pack 3

    Hello
       My enviroment SQL Server has 3 Servers 
         One Server for DataBase Engine
         One Server for SSIS & SSAS
         One Server for SSRS
     I need to install Service Pack 3 for SQL Server 2008 R2, but have a doubt , Do I need install service pack in each Rol Server or just install over Data Base Engine Server ?
     Really Appreciate your help
     Regards
     CarlosE
    Sr .NET, DBA SQL Server MCP, MCTS SQL . Si alguna de las respuesta ha sido util, por favor marcalas. http://sqlnetunamorcompartido.blogspot.com/

     I need to install Service Pack 3 for SQL Server 2008 R2, but have a doubt , Do I need install service pack in each Rol Server or just install over Data Base Engine Server ?
    HI ,
    SP3 for SQL server 2008 r2 is not there I guess you are talking about SQL server 2008.When you install Service pack and reach to 'Select Features ' page please select all the features. You can see SSIS ,SSRS and SSAS listed there as well with database engine
    and client tools.
    After selecting all features SP will be installed for all and all features will be patched
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Sql Server Automatic Stop

    Hi
    I have facing problem for Sql Server Automatic Off, what is solution , how i start
    because i could not get backup
    Please help me
    Thanks
    Ajit

    You seem to be a bit lost. This is an oracle database forum not a Microsoft one.
    Cheers, APC

  • SQL Server service stopped unexpectedly event ID 7034

    On one of UAT server we are having  issue with SQL Serverices and they are stopped unexpectedly .There is failure details  in Event logs \SQL Error logs. we havent done any of the changes on server.
    Event id : 7034

    Hi,
    so late but still, any solution you got or still  waiting for that?
    Are you able to check os\sql logs and find out anything which may appear that causing and putting a cascading effect on the services?
    Also you can add some more attempts for the services to try like below:
    Change the recovery actions
    To resolve this issue, change the recovery actions that the Service Control Manager (SCM) will take when a service fails.
    To perform this procedure, you must have membership in
    Administrators, or you must have been delegated the appropriate authority.
    To change the recovery actions for a service:
    Open the Services snap-in by clicking the
    Start button, Control Panel, and Administrative Tools, then double-clicking
    Services.
    Note: For Windows Vista, use the
    Classic View display option in Control Panel to see the
    Administration Tools.
    In the details pane of the
    Services snap-in, right-click on the name of the service you want to stop and select
    Properties.
    Click the Recovery tab and specify the recovery actions for the service (for example, restart the service or the computer, take no action, or run a program).
    It will be  good to share any logs around the time it fails.
    Thanks for sharing.
    Santosh Singh

Maybe you are looking for

  • How to return one ROW with Multiple value seperated by Colon in a SQL Query

    Hi, I have a SQL query as mentioned. select deptno   from deptI want to mofidfy this query, so that this should return me department list with colon delimeted in one ROW. 10:20:30:40.......Thanks, Deepak

  • PC won't recognize iPod

    My daughter is going off to college and I'm trying to install her new iPod on a new Toshiba PC laptop. I've installed and uninstalled and reinstalled all of the software way too many times (why couldn't she use a mac at college). Anyways, the last ti

  • Upload problem in Safari with Flash Player

    Hi All, Had this problem for ages and was thinking to sort it out now. I can't upload files thru flash uploader such as google email, soundcloud and other sites. Getting following error messages: Google - Attachment failed. This may be due to a proxy

  • Spot Removal VERY slow in LR CC

    Doing my tests and the spot removal is atrociously slow...what gives?

  • Font Minor Problem

    I was in Font Book, verified all font and have 35 minor issues, yellow question mark. How do I fix them. It appears all my fonts are in \Library\Fonts \System\Library\Fonts I have no fonts in \User\Name\Fonts but have collections in FontCollection 1.