sp_send_dbmail blocked and waittype is preemptive_os_getprocaddress
This will happen if you use user transaction when calling sp_send_dbmail. Do not call sp_send_dbmail with in user transaction.If you open a transaction and send a mail with some attachment in first...
View ArticleThe Credentials you provided for the SQL Server Agent Service are invalid. To...
Installation of SQL Server errors when entering the startup account for agent service 1. Verify the windows account from which you are trying to install sql server have read permission on the Built-in...
View ArticleDeafault extended event system_health
The default extended event system health captures lot of useful information likeclr_allocation_failure clr_virtual_alloc_failure memory_broker_ring_buffer_recorded memory_node_oom_ring_buffer_recorded...
View ArticleHow to configure the size of SQLServer error log
When running SQL Server certain times we may have to limit the size and number of SQL server errorlogs To limit the size of SQL Server errorlogs add a new registry key GetMaxErrorLogSizeKb under...
View ArticleSystem.OutOfMemoryException’ was thrown....
When we try to restore database in SQL Server we get below error and restore database fails Error {——————————TITLE: Microsoft SQL Server Management Studio——————————Cannot show requested...
View ArticleSSMS fails with below error when you connect (or) explore the databases
SQL Server management studio might fail with below error when you connect (or) explore the databases. Error in SQL Server 2012 TITLE: Microsoft SQL Server Management Studio —————————— Object...
View ArticleUnable to connect to Microsoft Distributed Transaction Coordinator (MS DTC)...
An error occurred while recovering database. Unable to connect to Microsoft Distributed Transaction Coordinator (MS DTC) to check the completion status of transaction. You might get below errors when...
View ArticleTCP Provider: The semaphore timeout period has expired
TCP Provider: The semaphore timeout period has expired error from SQL Server agent and other applications at times. 1. Disable TCP Chimney.Refer KB:942861 2. If you are in windows 2003 Change the value...
View ArticleTrace waits in SQLServer...
When you run Profiler trace from client systems or on server with large number of events you will see below wait types. SQLTRACE_WAIT_ENTRIES SQLTRACE_LOCK SQLTRACE_BUFFER_FLUSH TRACEWRITE There is no...
View ArticleHow to view xml plan as graphical execution plan
Do you want to look XML execution plan as graphical execution plan? It is simple save the xml plan with .sqlplan extension and then open with management studio. Similarly to view graphical plan as XML...
View ArticleSQL Server integration services fails to start.
If SQL Server integration services fails to start. Create a backup of DTExec.exe.config and MsDtsSrvr.exe.config file in “C:\Program Files\Microsoft SQL Server\90\DTS\Binn” and add...
View ArticleXP_readerrorlog fails with Failed to open loopback connection.
We might get below error when we open sqlserver errorlog in SSMS or using xp_readerrorlog or sp_readerrorlog { Msg 22004, Level 16, State 1, Line 0 Failed to open loopback connection. Please see event...
View ArticleSQL Server monitoring
Every SQL Server DBA would have faced situations similar to SQL Server not accepting connections for few minutes, SQL Server not responding for few minute or Applications not able to connect with SQL...
View ArticleHow to create backups using database maintenance plan
You can create a database maintenance plan to automate the SQL Server database backups. SQL Server backup maintenance plan can be scheduled to backup the databases automatically or executed manually....
View ArticleHow to import/Export data in SQL Server
SQL Server Import and Export Wizard can be used to copy data from a source to a destination. source and destination can be sqlserver or any other connection. Steps to export data in SQL Server 2008: In...
View ArticleSQL Server database snapshot
What is the use of SQL Server database snapshot and how to create SQL Server database snapshot? Database snapshots are available only in SQL Server 2005 Enterprise Edition and later versions. All...
View Article