Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Unable to link Access 2013 to SQL 2014 ODBC Datasource

$
0
0

One of my clients has a new SQL 2014 database and is attempting to link to it via ODBC DSN using Access 2013. The problem is that while running the link table wizard in Access, they receive the error

Text
'PK_dbo.mytablename' is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long. 

This happens no matter what table they use nor what account they login with. We have even tried connecting with SA but the results are the same. There are no invalid characters in any table, column, or key and all names are shorter than 64 char (most are less than shown above).

The odd piece to this is that if I create a view of each table like this

Text
CREATE VIEW view_name AS SELECT * FROM dbo.mytablename 

I can link to it without problem. This is driving me crazy. I am almost at the point where i...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>