Phone (01457) 858877 or email
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!
Having just spent a while trying to solve an error with my Access project, I thought I'd share the solution!
The error message in question is:
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.
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:
Go into SQL Server, and choose to change the properties of the offending table:
Next, delete all of the extended properties:
To do this:
Now select each column of the table and do the same thing:
For each column:
This should solve your problem!
Note that you probably don't need to delete all of the extended properties, as this blog post suggests.
Comments on this blog
This blog has one comment: