SQL Error Log not expanding?

  • Hi,

    SQL 2012 version

    Microsoft SQL Server 2012 - 11.0.5532.0 (X64)

    Jul 14 2014 15:00:27

    Copyright (c) Microsoft Corporation

    Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)

    management->SQL Error Log-> list of error files are not expanding, what could be reason and how to resolve this issues?

    TITLE: Microsoft SQL Server Management Studio

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

    Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)

    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&LinkId=20476

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

    ADDITIONAL INFORMATION:

    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

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

    A severe error occurred on the current command. The results, if any, should be discarded. (Microsoft SQL Server, Error: 0)

    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.5532&EvtSrc=MSSQLServer&EvtID=0&LinkId=20476

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

    BUTTONS:

    OK

  • has this only just started happening? have you come out of SSMS and gone back in to try it again? and is it affecting anyone else?

  • yes. this only just started happening then after sometime error message display.

  • try and come out of ssms and go back in first. on the server check the eventvwr logs for application and system. And verify the log files are on the server and are accessible.

    They are in the path below by default, and called errorlog, errorlog.1 etc. you can open them with notepad to view the content.

    X:\Program Files\Microsoft SQL Server\MSSQL11_INSTANCENAME\MSSQL\Log

  • Error log file opened out side of ssms as below location. But not opening at SSMS and there is no error message in event viewer at application side.

    2015-05-19 18:23:45.61 Server Microsoft SQL Server 2012 - 11.0.5532.0 (X64)

    Jul 14 2014 15:00:27

    Copyright (c) Microsoft Corporation

    Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)

    2015-05-19 18:23:45.61 Server (c) Microsoft Corporation.

    2015-05-19 18:23:45.61 Server All rights reserved.

    2015-05-19 18:23:45.61 Server Server process ID is 3680.

    2015-05-19 18:23:45.61 Server System Manufacturer: 'Microsoft Corporation', System Model: 'Virtual Machine'.

    2015-05-19 18:23:45.61 Server Authentication mode is MIXED.

    2015-05-19 18:23:45.61 Server Logging SQL Server messages in file 'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log\ERRORLOG'.

    2015-05-19 18:23:45.61 Server The service account is 'NT Service\MSSQLSERVER'. This is an informational message; no user action is required.

    2015-05-19 18:23:45.61 Server Registry startup parameters:

    -d D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\master.mdf

    -e D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log\ERRORLOG

    -l D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\mastlog.ldf

    2015-05-19 18:23:45.61 Server Command Line Startup Parameters:

    -s "MSSQLSERVER"

    2015-05-19 18:23:45.87 Server SQL Server detected 1 sockets with 4 cores per socket and 4 logical processors per socket, 4 total logical processors; using 4 logical processors based on SQL Server licensing. This is an informational message; no user action is required.

    2015-05-19 18:23:45.87 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.

    2015-05-19 18:23:45.87 Server Detected 8191 MB of RAM. This is an informational message; no user action is required.

    2015-05-19 18:23:45.87 Server Using conventional memory in the memory manager.

    2015-05-19 18:23:46.05 Server This instance of SQL Server last reported using a process ID of 1448 at 19-05-2015 18:23:44 (local) 19-05-2015 12:53:44 (UTC). This is an informational message only; no user action is required.

    2015-05-19 18:23:46.05 Server Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.

    2015-05-19 18:23:46.07 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.

    2015-05-19 18:23:46.09 Server Software Usage Metrics is disabled.

    2015-05-19 18:23:46.10 spid5s Starting up database 'master'.

    2015-05-19 18:23:46.17 Server CLR version v4.0.30319 loaded.

    2015-05-19 18:23:46.26 Server Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\.

    2015-05-19 18:23:46.80 spid5s Resource governor reconfiguration succeeded.

    2015-05-19 18:23:46.80 spid5s SQL Server Audit is starting the audits. This is an informational message. No user action is required.

    2015-05-19 18:23:46.80 spid5s SQL Server Audit has started the audits. This is an informational message. No user action is required.

    2015-05-19 18:23:46.86 spid5s SQL Trace ID 1 was started by login "sa".

    2015-05-19 18:23:46.88 spid5s Server name is 'SJMNA085HV'. This is an informational message only. No user action is required.

    2015-05-19 18:23:46.89 spid5s Failed to verify Authenticode signature on DLL 'd:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn\ftimport.dll'.

    2015-05-19 18:23:46.89 spid5s Starting up database 'msdb'.

    2015-05-19 18:23:46.89 spid9s Starting up database 'mssqlsystemresource'.

    2015-05-19 18:23:46.91 spid9s The resource database build version is 11.00.5532. This is an informational message only. No user action is required.

    2015-05-19 18:23:47.07 spid9s Starting up database 'model'.

    2015-05-19 18:23:47.17 spid13s A self-generated certificate was successfully loaded for encryption.

    2015-05-19 18:23:47.17 spid13s Server is listening on [ 'any' <ipv6> custom port].

    2015-05-19 18:23:47.18 spid13s Server is listening on [ 'any' <ipv4> custom port].

    2015-05-19 18:23:47.18 Server Server is listening on [ ::1 <ipv6> 1434].

    2015-05-19 18:23:47.18 Server Server is listening on [ 127.0.0.1 <ipv4> 1434].

    2015-05-19 18:23:47.18 Server Dedicated admin connection support was established for listening locally on port 1434.

    2015-05-19 18:23:47.18 spid13s SQL Server is now ready for client connections. This is an informational message; no user action is required.

    2015-05-19 18:23:47.18 Server SQL Server is attempting to register a Service Principal Name (SPN) for the SQL Server service. Kerberos authentication will not be possible until a SPN is registered for the SQL Server service. This is an informational message. No user action is required.

    2015-05-19 18:23:47.21 spid9s Clearing tempdb database.

    2015-05-19 18:23:47.29 Server The SQL Server Network Interface library successfully registered the Service Principal Name (SPN) [ MSSQLSvc/servername] for the SQL Server service.

    2015-05-19 18:23:47.29 Server The SQL Server Network Interface library successfully registered the Service Principal Name (SPN) [ MSSQLSvc/servername] for the SQL Server service.

    2015-05-19 18:23:47.53 spid9s Starting up database 'tempdb'.

    2015-05-19 18:23:47.69 spid16s The Service Broker endpoint is in disabled or stopped state.

    2015-05-19 18:23:47.69 spid16s The Database Mirroring endpoint is in disabled or stopped state.

    2015-05-19 18:23:47.74 spid16s Service Broker manager has started.

    2015-05-19 18:23:47.80 spid5s Recovery is complete. This is an informational message only. No user action is required.

    2015-05-19 18:24:20.72 spid51 Attempting to load library 'xpsqlbot.dll' into memory. This is an informational message only. No user action is required.

    2015-05-19 18:24:20.72 spid51 Using 'xpsqlbot.dll' version '2011.110.2100' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required.

    2015-05-19 18:24:33.81 spid52 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.

    2015-05-19 18:24:33.84 spid52 Using 'xpstar.dll' version '2011.110.5058' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.

  • does it happen for other users too?

  • try running EXEC sys.xp_readerrorlog on the instance in question. Looks like someone else had similar issue here

    http://dba.stackexchange.com/questions/56860/sql-server-logs-error

  • Identified that root cause issues, error log file not expanding in ssms due to SQL Native client 11.0 - client protocols - shared memory disabled, It is opened in ssms after enabled

    Thank you.

  • wow, i'll make a note of that for future reference! Thanks for sharing the solution

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply