Solved

Cannot Publish Access Database to Database Services

Posted on 2011-09-29
12
1,365 Views
Last Modified: 2012-05-12
Hi all,
I have been attempting to Publish my access database to our new installation of Sharepoint 2010 and am receiving the following error:
One or more of the site's Queries, Tables, or Macros were recently changed and failed to compile. The site is down to prevent data issues while these objects are in an invalid state.
Click here to view the errors in Microsoft Access.

When i view the table, i get only one error which is:
Compilation of 'UserInfo' failed.

This is a fairly simple database with two tables, 3 reports, 2 forms and only one uncomplicated relationship.

Any help would be appreciated.

Thanks!
0
Comment
Question by:rhenry-ez
  • 6
  • 4
  • 2
12 Comments
 
LVL 57
ID: 36815905

 Shot in the dark, but check the startup form you have specified.  Make sure it's a web form and you've specified it under the web form startup.

Jim.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36816233
Saw one article on the web that stated they missed:
"the web form under "File"-"Options"-"Current Database".
...and they referenced this link:
http://office.microsoft.com/en-us/access-help/set-the-default-form-that-appears-when-you-open-a-database-or-web-application-HA010341995.aspx?redir=0

Have any idea what "UserInfo" is?
0
 
LVL 57
ID: 36816258
<<Have any idea what "UserInfo" is? >>

 I believe it refers to the startup options, but I'm not positive.

Jim.
0
 
LVL 1

Author Comment

by:rhenry-ez
ID: 36816313
I actually rebuilt my DB from scratch and copied and pasted the data. When i did this i custom made a new web form and set the option under "current database" to auto launch that. No luck, I am thinking that "UserInfo" may be on the Sharepoint system side, maybe how they track changes is glitching?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36816413
What if you create another similar "Simpler" db, and test  that...?
0
 
LVL 57
ID: 36816429
<<No luck, I am thinking that "UserInfo" may be on the Sharepoint system side, maybe how they track changes is glitching? >>

 Possibly.  I found this:

http://kbalertz.com/983274/Microsoft-Office-Access-maintain-deleted-error-message-delete-database-table-named-Userinfo-Access.aspx

 which suggests that it's a table, but it doesn't say if it's on the Access side or the SharePoint side.

  Since you've already re-built the DB from scratch, I would think then it's something on the SharePoint side.

  Maybe try removing it completely in SharePoint and then publish again (or under another name and see if that works).

  I've played with this, but have done no real work with it yet, so this is just an educated (or un-educated?) guess.

Jim.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 1

Author Comment

by:rhenry-ez
ID: 36817386
Attempted to publish an access database with just 1 table with 1 entry. Same error.
0
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 36817426

 Can you try that again, but under a different login?

Jim.
0
 
LVL 1

Author Comment

by:rhenry-ez
ID: 36817606
That did it! Running Access 2010 as a farm admin caused it to public successfully.

Thanks for your help!
0
 
LVL 57
ID: 36817668
<<That did it! Running Access 2010 as a farm admin caused it to public successfully.

Thanks for your help! >>

  OK, here's the deal; SharePoint has a hidden UserInfo table that's only accessible to admins.  It seems like somehow the account you were using before is messed up or you didn't have sufficent priv to read that table.

  So we really haven't solved this yet...

Jim.
0
 
LVL 1

Author Comment

by:rhenry-ez
ID: 36892363
Interesting, the account i used first was a site admin but not a farm admin. Is there any way to test access to the userinfo table?
0
 
LVL 57
ID: 36892553
<<Interesting, the account i used first was a site admin but not a farm admin. Is there any way to test access to the userinfo table? >>

 Understand that I'm out of my league here, but I took a shot at the question because I know many are not using this yet, so you most likely were not going to get an answer.

  So short answer to your question is I don't know for sure.  Here's a description of the table:

http://msdn.microsoft.com/en-us/library/dd585246(v=office.11).aspx

  And here's a blog about the gotcha of simple un-registering and re-registering a user:

http://cakriwut.wordpress.com/2006/08/06/change-already-added-user-information-in-sharepoint/

  That blog post talks about editing the table directly, yet everything else I've seen always warns to only modify SharePoint data through the API.  So I'm not sure how risky this is.

  If you have an isolated test environment, then I'd try just deleting the record and then re-register the user and see if that works.

  If you don't have a test environment, then I would tred very carefully.  I'd first try and see if the user record can be viewed and modifed at all.  Simply re-writting it may clear up the problem.  I'd then go to the step of removing and re-adding the user, and see if that cleared it up.

  If that all failed, then I'd set up a TEST user in SharePoint, publish a DB as that user, then delete the user record with SQL and re-add.  Then see if I could still publish a DB and access the previosuly published DB.  I think you'll be able to do the former, but not the latter as it looks like SharePoint uses a GUID to track users.  But it also keeps the SID (Security ID), so that may still work.

  As I said, I'm out of my league at this point so be carefull with trying the above.

  In the meantime,  I'll post an alert to see if we can get anyone with more knowledge of SharePoint.

Jim.



0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now