Error updating Sp_Blitz to the latest version - sp-blitz

I run Blitz weekly and on SQL 2008 express server the Blitz result found that i have SP_blitz over 6 month old. When i try to update everything to the latest , this is what i get .
Procedure sp_Blitz, Line 3123 Invalid column name 'is_current_owner'.
Procedure sp_BlitzLock, Line 317 Incorrect syntax near 'THROW'. Currently I have Sp_Blitz May 20 2021 version

sp_BlitzLock only supports SQL Server 2012 & newer.
For what it's worth, Microsoft also only supports SQL Server 2012 & newer as well.

I ran into this today, and I found that the latest First Responder Kit version where you can run "Install-All-Scripts.sql" on a SQL Server 2008 R2 instance without it throwing any errors is from 2020-12-11.
Obviously the recommended course of action is to upgrade to a supported SQL Server version.

Related

Are there any known issues when using Microsoft.VisualStudio.TestTools on “Windows Server 2019 Datacenter”

We have a set of performance and stress test written with the Microsoft Visual Studio Test Tools and recently those test stopped working on all but one of our virtual machines.
The virtual machine where the test is still working is still using “Windows Server 2016 Datacenter” while the virtual machines which don't work any more have been updated to “Windows Server 2019 Datacenter”.
There is also a slight difference between the used Microsoft Visual Studio. The working system us using “Enterprise 2019 Version 16.7.3” while the system which don't work use the slightly newer “Enterprise 2019 Version 16.10.0”.
On the machines which don't work any more we get the following error:
Could not run Web test 'XXXXX' on agent 'XXXXXX': Could not access table 'Test#csv' in data source 'dsTest' of test 'XXXXXX,XXXXXX': The OleDbParameterCollection only accepts non-null OleDbParameter type objects, not SqlParameter objects.
And I was able to pinpoint the problem to the following statement:
using WebTesting = Microsoft.VisualStudio.TestTools.WebTesting;
[WebTesting.DataSource (
dataSourceName: "dsTest",
providerName: "Microsoft.VisualStudio.TestTools.DataSource.CSV",
connectionString: "|DataDirectory|\\data\\Test.csv",
WebTesting.DataBindingAccessMethod.Sequential,
WebTesting.DataBindingSelectColumns.SelectOnlyBoundColumns,
tableName: "Test#csv")]
Are there any known problems when using Microsoft Visual Studio Test Tools on “Windows Server 2019 Datacenter” and/or “Microsoft Visual Studio Enterprise 2019 Version 16.7.3”?
And if so are there any fixes and workaround I could use?
Yes, there was a bug introduced in 16.10.#. Supposed to be fixed in upcoming release.
VS2019 1610-upgrade-breaks-MSTest-DataSource

Which updates to install to reach the latest version of Delphi 2007?

There are a handful of patches for Delphi 2007 in my Registered Users downloads page. (This page is quite unwieldy if you have more than a few registered versions.) I no longer recall what is the proper combination to get the latest version of Delphi 2007 installed.
Is there an ISO available with all the patches, or what is the recommended way to get the latest fully patched Delphi 2007? The only ISO appears to be CodeGear RAD Studio 2007 ISO (Dec 2007) and I assume that isn't the latest fully patched version due to the Dec 2007 tag.
It seems the proper combination is:
R2 install from the web (http://cc.embarcadero.com/item/26910)
April 08 Hotfix (http://cc.embarcadero.com/item/25495)
June 08 Linker Hotfix (this is for C++ Builder only) (http://cc.embarcadero.com/item/25694)
May/June 08 Help Update 4 (http://cc.embarcadero.com/item/25688)
Debugger fix for Windows 7 (http://cc.embarcadero.com/item/27521)
AFAIK, the only things you need are:
R2, which is a cumulative update, and contains all of the updates prior to it.
Help Update 4
the Win7 debugger patch
Here's the relevant portion of the Help->About dialog from my copy of Delphi 2007:

Entity Framework 4.3.1 and SQL Server CE

I am following the official tutorial "EF 4.2 Model & Database First Walkthrough" using SQL Server CE 3.5 and alternative 4.0 versions. Unfortunately I always get an error:
EntityException {"The underlying provider failed on Open."} on
db.SaveChanges() command.
Why MS have such poor support for its own database?

TFS Express on shared SQL server?

TFS Express 11 beta installation also includes SQL Express installation for its database. Can I redirect it to a shared SQL 2008 server or was it designed to work with SQL Express exclusively?
You should be able to use it with a normal MS SQL Server as well, there is no Feature that Express has that a normal one does not. It is simply bundled with the Express version since it not necessary to have a normal SQL Server.
Also, why should MS stop you from paying a license for at least one of the two products ;)
UPDATE
Apparently I was wrong, at least in the beta it is NOT possible to use anything else but the SQL Express, the others are explicitly not supported.
See here:
http://blogs.msdn.com/b/bharry/archive/2012/02/23/coming-soon-tfs-express.aspx
http://blogs.msdn.com/b/chaks/archive/2012/03/05/getting-started-with-tfs-11-express-beta.aspx

Delphi 6 -> Delphi 2006 dbexpress weirdness?

I have an older application (written in Delphi 6) that has to be ported to Delphi 2006 (update 2). The application used to connect to an Interbase 6.x database using DBExpress, but the new version needs to connect to a Firebird 2.x Superserver.
Porting went OK, no real problems. But now, when I try to connect to the new Firebird server from the ported app, I get the following error:
Database error
Database Server Error: no current record for fetch operation
Running the same application compiled with Delphi 6, talking to the same Firebird server runs fine. The changes needed to compile the app in Delphi 2006 weren't related to the database code - all local library stuff. The application uses TSQLDataset en datasetproviders and clientdatasets.
Anybody has any idea how or why? Any changes to DBExpress that might cause this behaviour?
Thanks.
I don't think Delphi 2006 supports Firebird natively. Think you need to install FIBPlus
Heres a list of what is supported in Delphi 2006:
Old driver New driver Database and Version
dbexpinf.dll dbxinf30.dll Interbase 7.5
dbexpora.dll dbxora30.dll Oracle 10g
dbexpdb2.dll dbxdb230.dll db2 UDB 8.x
dbexpmss.dll dbxmss30.dll MSSQL 2000
dbexpmys.dll dbxmys30.dll MySQL 4.0.24
dbexpasa.dll dbxasa30.dll Adaptive Sybase Anywhere 9
dbexpase.dll dbxase30.dll Sybase 12.5
dbexpinf.dll dbxinf30.dll Informix 9.x
Extracted from Here
Until Delphi 2010, the built in DBExpress drivers officially never supported FireBird.
In practice, a lot of combinations never worked at all.
Either:
go for a DBExpress driver officially supporting FireBird (search google),
or move to another database middle layer (FIBPlus that James suggests is really good).
--jeroen
First of all, retry the same steps from a new, 1-form app (put SQLConnection, SQLQuery etc etc), fill with the SQL you want and try to connect.
I believe there's some connection parameter that changed between versions, since I've used D2006 DBexpress to access Firebird 2.x with success. But the application were not ported, but new projects.

Resources