Hello All,
Got the following error when trying to deploy an app from vs 2013 to office 365/sharepoint online. Please help.
------ Build started: Project: SharePointApp2, Configuration: Debug Any CPU ------
------ Deploy started: Project: SharePointApp2, Configuration: Debug Any CPU ------
Active Deployment Configuration: Deploy App for SharePoint
Skipping deployment step because a pre-deployment command is not specified.
Skipping the uninstall step because the app for SharePoint is not installed on the server.
Install app for SharePoint:
Uploading the app for SharePoint...
Installation is in progress (00:00:00)
Installation is in progress (00:00:05)
Installation is in progress (00:00:07)
App failed to install, cleaning up...
Successfully uninstalled the app for SharePoint.
App installation encountered the following errors:
12/29/2014 8:17:51 PM
@"Error 1
CorrelationId: a799c649-d874-404a-8652-8d12f942d136
ErrorDetail: The content database on the server is temporarily unavailable.
ErrorType: Transient
ErrorTypeName: Intermittent
ExceptionMessage: Deployment failed in host webhttps://zzzz.sharepoint.com/sites/SharePointApps for app SharePointApp2/efcad1be-e16d-466f-9321-0b8439b22806. System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>
at Microsoft.SharePoint.SPCustomActionElement.UpdateCustomActionsTable(SPFeature feature, SPSite site, SPWeb web, CultureInfo cultureInfo, Boolean fForce)
at Microsoft.SharePoint.SPFeature.UpdateCachedFeatureDefinitionInformation(SPSite site, SPWeb web, Boolean fForce)
at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)
at Microsoft.SharePoint.Packaging.SPTargetWebDeploymentGroup.InstallOrUpgrade(SPSite site, Nullable`1& solutionId)
Source: ParentWeb
SourceName: Parent Web Deployment
Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========