Invalid object name 'master.dbo.spt_provider_types'

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
PaulG
Posts: 5
Joined: Fri 28 Oct 2005 13:55
Location: UK

Invalid object name 'master.dbo.spt_provider_types'

Post by PaulG » Wed 15 Feb 2006 15:16

When the following code is run, the message "Invalid object name 'master.dbo.spt_provider_types'" is displayed.

SQLDataSet1.SetSchemaInfo(stColumns, 'HumanResources.Employee', '');
SQLDataSet1.Open;

---
Delphi 7
SQL Server Express
dbexpsda.dll 3.0.2.0

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Mon 20 Feb 2006 12:41

Thank you for information.
It's a known problem and we've already fixed it.

New fixed build (3.00.3) will be available approximately on this week.

carlobar
Posts: 3
Joined: Tue 16 May 2006 09:37

Same problem with 2.50.7 driver

Post by carlobar » Wed 26 Jul 2006 15:17

I've the same problem using 2.50.7 driver to obtain metadata information from a 2005 server.
From the source code I've notice that the query uses master.dbo.spt_provider_types also for 2005 server, but this object doesn't exists.
Can you fix this problem into 2.50 driver?
Thanks

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 27 Jul 2006 11:48

This task is rather difficult because it affects mechanism of metadata retrieval in general. We do not plan to add such enhancement to DbxSda 2 in the nearest future.

Post Reply