28
2017
Capture High CPU consuming process using Process Explorer
As a DBA we encounter situations when CPU is high on a DB server but DB is not consuming any CPU, we can see the processes consuming high CPU but don’t know how to identify that what process is doing causing issue and in cases where process is an encapsulated process like wscript.exe or any other system process we generally recommend server reboot but that generally washes out all logging; now as a DBA we […]
25
2016
Windows Task Scheduler Error – transaction support within the specified resource manager is not started
While deleting a task in task manager, received following error reported by my team, Error: “transaction support within the specified resource manager is not started or was shutdown due to an error” We tried multiple options to modify job and delete but nothing worked, On further google search found that issue is similar to found on following forum, http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/transaction-support-within-the-specified-resource/fba64f34-4c16-4551-82d7-f22169be0d97?auth=1 Executed following command on server, fsutil resource setautoreset true c:\ […]
11
2016
Fix: Issue with Remote Desktop screen resolution while working from a high resolution system
Came across a unique issue on a friend’s laptop where he has high resolution screen but when trying to remote desktop any server then the remote server also inheriting the same resolution and text looks very small, MSTSC settings, desktop resolution settings, etc. everything is tried what possible but it didn’t fixed the issue. To resolve this, he found following solution to fix. Note: I am writing this post to keep a record of this […]
20
2015
SQL server setup failure – Updating permission setting for file E:\**** failed
While re-installing SQL server, got below error, To fix this execute below commands with elevated access in command prompt so that permissions get applied to respective path, Eg: takeown /F c:\Windows\system32\drivers /D y /R In our scenario commands are provided below: Here path is “F:” which is a parent folder. takeown /F F: /D y /R cacls F: /E /T /C /G “<<<user_AD_account_name>>>“:F
29
2013
How to read/edit LARGE text files (size in GB ~ +50GB)
When you try to open a text or some kind of text based log file of size in GB’s say 51GB in NOTEPAD or NOTEPAD++ or WORDPAD, you will get following error, Now the question is how to read or edit such large file, answer is, 1. If you are just interested in reading it page by page without impacting any CPU or memory, the do following, Start > Run > type […]
30
2013
Write a Batch (.bat) file error handler for SQL instance down when fetching details from several SQL Servers
I have written several batch files to automate activities in SQL Server environment and send HTML reports over email on completion; but whenever SQL Server is down or server is unavailable then the HTML output get disturbed as no error handling is being done. When tried to write error handling to fix the issue, faced trouble as was using following code as part of an error handling, FOR /F “tokens=1,2 delims=,” %%G in (%CD%\SQLServerList_SQLReport.txt) […]
14
2013
Copy folder along with security parameters (ACL) using Robocopy utility
Robocopy is very useful Microsoft provided utility and it comes preinstalled in SQL Server 2008 onwards and can be installed via rktools.exe toolkit in Windows Server 2003 (link) You can check if Robocopy is installed or not via opening command prompt as, Run>CMD> <type Robocopy /?> If it shows parameter list then Robocopy is installed on your system else download and install (if you are not allowed to install anything on your server, then […]
21
2012
Issue with Copy Paste in Windows – ctrl^C and ctrl^V not working
If you are working with remote computer and see that ctrl^C and ctrl^V (i.e. copy paste) is not working then culprit can be clipboard or remoteclip or ASC, please find below solution to fix these issues, How to Clear Clipboard in Windows How to Clear Clipboard on Windows XP: Click the “Start” button and enter “Clipbrd” into the “Run” field. A record of recent clipboard content will appear. Select “Edit” from the top of the […]
17
2012
How to Echo text in HTML file using batch script
Today while writing script I need to echo output to an html file using batch file, so requirement is, I need to insert a break and then text in center of email, text as “—————–Database Report———————-“, now to do this you need to use carrot, see below, My batch script looks like, SET currentdirectory=%CD% echo ^<BR^> > “%CD%\output.htm” echo ^<center^>^———–Database Report————–^</center^> >> “%CD%\output.htm” Hope it helps! Reference: http://forums.devshed.com/other-programming-languages-139/echo-html-in-a-batch-file-339368.html
5
2012
Fix Msvcp71.dll and Msvcr71.dll Missing Error
There are many applications which use these system dll for e.g. BMC client, etc., if you see these dll’s missing error then follow below tip, 1. Download both dll’s from this link: http://www.addictivetips.com/windows-tips/fix-msvcp71-dll-and-msvcr71-dll-missing-error-in-windows-7/ or you can use someone else system and copy these dll’s as well (if available) Note: Although it is not recommended method to download dll from third party website to avoid any damage to system, but personally I have used above link […]
Subscribe to this blog via Email
Old Posts
- November 2017 (3)
- October 2017 (4)
- September 2017 (2)
- May 2017 (1)
- April 2017 (1)
- July 2016 (3)
- May 2016 (1)
- April 2016 (1)
- February 2016 (2)
- January 2016 (1)
- October 2015 (1)
- September 2015 (1)
- August 2015 (1)
- July 2015 (2)
- June 2015 (3)
- April 2015 (1)
- March 2015 (1)
- December 2014 (1)
- September 2014 (2)
- April 2014 (1)
- January 2014 (3)
- October 2013 (2)
- September 2013 (2)
- August 2013 (4)
- July 2013 (1)
- June 2013 (2)
- May 2013 (5)
- April 2013 (3)
- March 2013 (1)
- February 2013 (9)
- January 2013 (11)
- December 2012 (14)
- November 2012 (3)
- October 2012 (4)
- July 2012 (2)
- June 2012 (3)
- May 2012 (2)
- April 2012 (8)
- March 2012 (6)
- February 2012 (3)
- January 2012 (1)
- December 2011 (5)
- November 2011 (8)
- October 2011 (5)
- September 2011 (3)
- August 2011 (3)
- July 2011 (3)
- May 2011 (1)
- November 2010 (1)
Tags
Calender
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
« Nov | ||||||
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
View Post by Categories
Recent Articles
- Setting up Always ON Availability Group in Multi Subnet Cluster – Recommendations
- Configuring Replication with Always ON Availability Group
- Login failed for user ‘DOMAIN\COMPUTER$’. Reason: Could not find a login matching the name provided. [CLIENT: ]
- Modern Servicing Model (Service Pack and Cumulative Updates) for SQL Server 2017 and onwards
- Fix: SSMS 2012 opening Debug window when pressing F5