The selected connection uses an unsupported database provider

This message appears when you drag items that do not use the .NET Framework Data Provider for SQL Server from Server Explorer/Database Explorer onto the Object Relational Designer (O/R Designer).

The O/R Designer supports only data connections that use the .NET Framework Provider for SQL Server. Only connections to Microsoft SQL Server or Microsoft SQL Server Database File are valid.

To correct this error

  • Add only items from data connections that use the .NET Framework Data Provider for SQL Server to the O/R Designer.

See Also

Tasks

Walkthrough: Creating LINQ to SQL Classes (O/R Designer)

Reference

System.Data.SqlClient

Concepts

.NET Framework Data Providers (ADO.NET)

Creating Data Applications

Other Resources

Connecting to Data in Visual Studio

How to: Create Connections to SQL Server Databases