Sql-Server

SQL Server Service won't start after changing service account - service-specific error %%-2146885628

SQL Server Service won't start after changing service account - service-specific error %%-2146885628

Yesterday I was at a site where they decided to change the service account for the SQL Server services on a set of systems. After changing the service accounts, SQL Server restarted just fine on all machines except one.

I had used the SQL Server Configuration Manager to make the changes (important to not just use the Services applet in Administrative Tools) but I got the typical error telling me that the service wouldn’t start in a timely fashion. The server was running SQL Server 2008 R2 SP2.

2013-05-30

Huge news: Azure expanding to Australia!!!

Huge news: Azure expanding to Australia!!!

I was so glad to hear today that Azure is expanding to Australia. This helps with two remaining areas of concern that I’ve heard from a variety of customers:

  • Compliance and data sovereignty (not wanting to store data outside Australia)
  • Latency (previously high latency even to our nearest external data centres)

With both these concerns now disappearing, it’s time for more Australian customers to get involved with Azure if they’ve been resisting so far. 

2013-05-21

Warning: Lost my stored Azure credential details in SSMS after applying CU3 + Hotfix

Warning: Lost my stored Azure credential details in SSMS after applying CU3 + Hotfix

I posted the other day about a hotfix that’s needed after you apply SQL Server 2012 SP1 CU3, to still be able to open or edit SSIS projects or database maintenance plans in SSDT.

However, I found that after I applied CU3 and the hotfix, that all my stored credential details for SQL Servers was gone. That was particularly nasty for all my Azure-related logons. I had to set them up again.

2013-04-09

FIX: SSIS Project Issues with SQL Server 2012 SP1 CU3 (Also applies to Maintenance Plans)

FIX: SSIS Project Issues with SQL Server 2012 SP1 CU3 (Also applies to Maintenance Plans)

Cumulative Update 3 for SP1 for SQL Server 2012 caused a number of problems with SSIS packages. This also applies to database maintenance plans as they are also SSIS packages.

After applying the update, you could get this error when opening an SSIS package:

The type initializer for ‘Microsoft.DataTransformationServices.Design.SharedIcons’ threw an exception.
Value of ’null’ is not valid for ‘stream’. (System.Drawing)

If you edit a maintenance plan, you could get this error:

2013-04-06

SQL Down Under Show 58 - Marco Russo - SQL Server Analysis Services Tabular Data Models

SQL Down Under Show 58 - Marco Russo - SQL Server Analysis Services Tabular Data Models

In Melbourne, it was the coldest morning of the year so far but I didn’t mind getting up at 5:30AM to record an interview with Marco Russo. Marco is well-known in the SQL BI community for his writing and presentations.

SQL Down Under show 58 is now online: https://podcast.sqldownunder.com

In this show, Marco discusses concepts and experiences from working with tabular data models in SQL Server Analysis Services.

Enjoy!

2013-04-01

Whitepaper editing (sigh)

Whitepaper editing (sigh)

I posted a day or so back about the whitepaper on plan caching and recompilation being published.

Today I had a query from a reader and found that the editor has messed up an example.

For example, I had this example of a query that’s almost identical but where the query plan would be different:

SELECT ProductID  
FROM Sales.SalesOrderDetail  
GROUP BY ProductID  
HAVING AVG(OrderQty) > 5  
ORDER BY ProductID;

SELECT productid  
FROM Sales.SalesOrderDetail  
GROUP BY ProductID  
HAVING AVG(OrderQty) > 5  
ORDER BY ProductId;

Helpfully the editor changed it to:

2013-03-19

Whitepaper: Plan Caching and Recompilations in SQL Server 2012

Whitepaper: Plan Caching and Recompilations in SQL Server 2012

Over the last year, I’ve been working on an update to the whitepaper Plan Caching in SQL Server 2008 as a background task.

A great group of reviewers have been involved at various stages during the process. Thank you to Paul White, Andrew Kelly, Kalen Delaney, and Rubén Garrigós from the SQL community, along with Leigh Stewart and Jack Li from the SQL Server product team for sharing your knowledge and ideas.

2013-03-16

SQL Down Under - Show 57 - Karen López - Data Modelling, Database Refactoring, Space Data, and Open Data

SQL Down Under - Show 57 - Karen López - Data Modelling, Database Refactoring, Space Data, and Open Data

Hi Folks,

I got to record another podcast today. Show 57 features guest SQL Server MVP Karen López. Karen is well-known in the SQL Community, on her blog and is prolific on Twitter.

In the show, Karen discusses her experiences related to data modelling, including tools, round-tripping, traceability, and model-driven development. She also covers some common mistakes she encounters in this area. Later in the show Karen discusses the challenges in database refactoring, her interest in all things to do with space, and her interest in the open data movement.

2013-03-12