Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

hello i recently began to develop apps for sharepoint 2013 online on my office365 account. And i am getting more familiar with upgrade process. So I know how to upgrade app for sharepoint online. Only thing is to change version in manifest to higher version. But my problem is that when i attach database to project(as dacpac file) then upgrade fails and generates error ' The content database on the server is temporarily unavailable.

Details: 0x80070002 ' I always get this error. When i deploy app first time with database then everything is ok. But when want to upgrade database then i got this error. I can add that app is autohosted Any ideas what causes errors? Best regards.

share|improve this question
add comment

1 Answer 1

I was stumbled upon how do you do App Development with Least Privilege, so you don't want to do development with SharePoint Farm Administrator account, as you may potentially get access to other database in the farm, except the one you are interested in.

looks like you need farm admin privlages to access the DB, this link is a solution to that issue:

http://community.zevenseas.com/Blogs/Akhilesh/Lists/Posts/Post.aspx?ID=10

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.