Quantcast
Browsing latest articles
Browse All 23 View Live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

The 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 Article


Image may be NSFW.
Clik here to view.

Deafault 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

System.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 Article


Image may be NSFW.
Clik here to view.

SSMS 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 Article

Image may be NSFW.
Clik here to view.

Unable 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 Article

Image may be NSFW.
Clik here to view.

TCP 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 Article


Image may be NSFW.
Clik here to view.

Trace 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

SQL 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 Article

Image may be NSFW.
Clik here to view.

XP_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 Article

Image may be NSFW.
Clik here to view.

SQL 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

SQL 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
Browsing latest articles
Browse All 23 View Live