Access project ADP file extended properties error
When you try to view data for a table in an Access project with an ADP extension, Access can throw a wobbly. Here's why!

Posted by Andy Brown on 21 December 2010 | 1 comment

You need a minimum screen resolution of about 700 pixels width to see our blogs. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

Problem with Access Project ADP Table

Having just spent a while trying to solve an error with my Access project, I thought I'd share the solution!

The Problem

The error message in question is:

Access project error message

Our irritating message which appears within an Access project

The text equivalent of this is:

Microsoft Access can't find the object 'SELECT *, sql_variant_property(value, 'basetype') AS type FROM

::fn_listextendedproperty(N'MS_DisplayViewsOnSharePointSite',N'user',N'dbo', N'table',N'tblCourseware2',NULL,NULL)1'. 

* You tried to open a linked table, but the file containing the table isn't on the path you specified. Use the Linked Table Manager to update the link and point to the correct path.

The message appears when you try to open a table in an Access project (that is, an Access database with file extension adp).  I'm currently using Access 2010 and SQL Server 2008 R2, but I believe this problem occurs in all versions of Access after 2003.

The Solution

This error arises because the Access project is trying to get at the extended properties of a table, and these have been altered (in my case it was because I had scripted the table from another database).

The solution is to remove extended properties from the table in SQL Server and from all of its columns. First, show the properties of the offending table in SQL Server:

Table selected in SQL Server, with Properties menu chosen
 

Next, delete all of the extended properties:

Extended properties dialog box
 

Now select each column of the table and do the same thing:

Column selected, with Properties menu chosen
 

This should solve your problem!

Note that you probably don't need to delete all of the extended properties, as this blog post suggests.

This blog has 1 comment

Comment added on 03 April 2012 at 23:28 GMT
First try deleting the extended properties for the query before going column by column.  That worked for me.
Reply from Andy Brown
Thanks - I'll try it next time! Apologies for the late moderation, by the way.

A full-blown discussion forum is being built for this site, which will allow you once more to add comments and discussion threads.