A SQL Trace shows the following:
if (object_id('master.dbo.sp_MSSQLDMO80_version') is not null)
exec master.dbo.sp_MSSQLDMO80_version
else
if (object_id('master.dbo.sp_MSSQLDMO70_version') is not null)
exec master.dbo.sp_MSSQLDMO70_version else
select 0
It is executing the master.dbo.sp_MSSQLDMO80_version procedure, and fails with the following message:
Msg 55555, Level 16, State 1, Procedure sp_MSSQLDMO80_version, Line 16
To connect to this server you must use SQL Server Management Studio or SQL Server Management Objects (SMO).