Ads
15 June 2020
18 May 2020
SQL Server Agent Not Coming OnLine After Reboot
This issue occurred recently whenever the server was rebooted SQL Server Agent was not coming online. Noticed the below error message in event viewr.
"The SQL Server Agent service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion."
Resolution As follows:
https://support.microsoft.com/en-in/help/922918/a-service-does-not-start-and-events-7000-and-7011-are-logged-in-window
"The SQL Server Agent service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion."
Resolution As follows:
https://support.microsoft.com/en-in/help/922918/a-service-does-not-start-and-events-7000-and-7011-are-logged-in-window
- Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
- In the right pane, locate the ServicesPipeTimeout entry.
Note If the ServicesPipeTimeout entry does not exist, you must create it. To do this, follow these steps:
- On the Edit menu, point to New, and then click DWORD Value.
- Type ServicesPipeTimeout, and then press ENTER.
- Right-click ServicesPipeTimeout, and then click Modify.
- Click Decimal, type 60000, and then click OK.
This value represents the time in milliseconds before a service times out. - Restart the computer.
18 February 2020
Upgradation of SQL Server 2008r2 to 2014 Fails - Valid DSN, Valid Database compatibility level
The below error screen will appear during installation process, the fix is very simple step we need to configure the SSRS database, below screens are self explanatory.
ERROR SCREEN
Open SSRS Configuration Manager and configure the report server database.
Once its configured we can see below screen.
Re-run the rules and it should go through.
17 February 2020
SQL Server 2014 SP3 Fails - User Data Directory in registry is not valid
Below is the error screen we receive when the SQL Server SP3 Fails, please follow below steps to resolve the issue.
Resolution:
Step1: Go to regedit
Step 2: Crawl to below location
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQLServer
Step3: If there is no DefaultDATA and DefaultLog entries, please add with the path of DATA and Log Files. If exists please verify the location details and correct it.
Step4: Restart the server.
Step5; RUn the setup again.
05 March 2019
General - GDR, SP, CU
What's the difference in a GDR, a Cumulative Update, CTP, RC, and a Service Pack?
CTP:
Microsoft changed the terminology for SQL Server pre-releases.
They are now referred to as CTPs (Community Technology Previews).
RC:
As the product enters it's final stages before release, the feature set is complete and the product is undergoing final testing, it's called an RC (Release Candidate).
GA:
After a product has undergone significant testing and it's determined that no more changes will be made to the product before release, it's sometimes said that the product has gone golden. It's also called a GA (General Availability) release.
RTM:
Once the bits been turned over to a company to mass produce the media (CDs, DVDs, etc), it's RTM'd (Released To Manufacturing).
GDR:
Over time, Hot Fixes are created by the dev team to address specific product issues affecting certain customers. Sometimes the issue is so wide spread, a GDR (General Distribution Release) is issued so that all customers will receive the updates.
CU:
CU (Cumulative Update) is created that contains all of the applicable hot fixes.
SP:
Once a large enough collection of changes have been gathered, an SP (Service Pack) will be issued.
Latest:
An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems:
https://support.microsoft.com/en-us/help/935897/an-incremental-servicing-model-is-available-from-the-sql-server-team-t
Going ahead we need to apply only CU to SQL Server to bring the system into servicing support cycle.
More On: https://blogs.msdn.microsoft.com/sqlreleaseservices/announcing-the-modern-servicing-model-for-sql-server/
https://blogs.msdn.microsoft.com/sqlreleaseservices/announcing-updates-to-the-sql-server-incremental-servicing-model-ism/
CTP:
Microsoft changed the terminology for SQL Server pre-releases.
They are now referred to as CTPs (Community Technology Previews).
RC:
As the product enters it's final stages before release, the feature set is complete and the product is undergoing final testing, it's called an RC (Release Candidate).
GA:
After a product has undergone significant testing and it's determined that no more changes will be made to the product before release, it's sometimes said that the product has gone golden. It's also called a GA (General Availability) release.
RTM:
Once the bits been turned over to a company to mass produce the media (CDs, DVDs, etc), it's RTM'd (Released To Manufacturing).
GDR:
Over time, Hot Fixes are created by the dev team to address specific product issues affecting certain customers. Sometimes the issue is so wide spread, a GDR (General Distribution Release) is issued so that all customers will receive the updates.
CU:
CU (Cumulative Update) is created that contains all of the applicable hot fixes.
SP:
Once a large enough collection of changes have been gathered, an SP (Service Pack) will be issued.
Latest:
An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems:
https://support.microsoft.com/en-us/help/935897/an-incremental-servicing-model-is-available-from-the-sql-server-team-t
Going ahead we need to apply only CU to SQL Server to bring the system into servicing support cycle.
More On: https://blogs.msdn.microsoft.com/sqlreleaseservices/announcing-the-modern-servicing-model-for-sql-server/
https://blogs.msdn.microsoft.com/sqlreleaseservices/announcing-updates-to-the-sql-server-incremental-servicing-model-ism/
01 March 2019
EXECUTE permission was denied on the object 'sp_enable_sql_debug'
The SQL code was failing for one DB User with DBO permissions on the databases it was accessing.
Problem: There was one stored procedure under database DB1 at some point it used to call other stored procedures from DB2. This caused failure when tried to analyse the issue using DEBUG method.
SOLUTION: Its fixed for us by doing following changes at code and DB level.
Code Level:
11)
Impersonate method
·
With execute as
[login]
·
Execute as
login=[login name]
22)
Fully qualified
database object names
Administration Side:
11) Grant user granted
public role on master to read objects.
22)
Granting View Server
State at instance level.
26 October 2018
SQL Server 2017 - Parallel redo is started for database
There is a change from Microsoft in the
servicing model, going ahead from SQL 2017 there will No Service Packs.
Any vulnerabilities hotfixes will be roll
out on need basis and issues will be addressed only through CU and GDR.
Going ahead we need to apply only CU to SQL
Server to bring the system into servicing support cycle. J
Subscribe to:
Posts (Atom)
-
Find More On : - http://www.sqlserver-training.com/250-sql-queries-interview-question-answers/-#5+ SQL Queries Interview Questions ...
-
ERROR: report server remote procedure call (RPC) end point. Verify that the Report Server Windows service is running, and then retry the o...
-
http://technet.microsoft.com/en-us/library/cc731002(WS.10).aspx#BKMK_requirements How accounts are created through wizards in ...