Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

The content database on the server is temporarily unavailable while deploying a app

$
0
0

HI,

I got the following error while deploying a app. I have not added any logic in App.

What i have tried yet:

1. Configured Server for Using App

2. Added permission to user2 (app developer account by which i open VS 2012) as mentioned in following URL

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

Please let me know if anyone have faced and resolved it before....

Here we go .............................

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:01)
  Installation is in progress (00:00:02)
  Installation is in progress (00:00:03)
  Installation is in progress (00:00:04)
  Installation is in progress (00:00:05)
  App failed to install, cleaning up...
  App installation cleanup failed due to errors.  Please see the app on the SharePoint site’s “Site Contents” page for details.
  App installation encountered the following errors:
  11/19/2013 2:42:13 PM

  @"Error 1
        CorrelationId: e6d878ab-ae8b-442c-90c1-ee989f5e719b
        ErrorDetail: The content database on the server is temporarily unavailable.
        ErrorType: Transient
        ErrorTypeName: Intermittent
        ExceptionMessage: System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>
   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
   at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
   at Microsoft.SharePoint.SPWeb.GetList(String strUrl)
   at Microsoft.SharePoint.Administration.SPDeveloperData.AddToDraftApps(Guid appInstanceId)
   at Microsoft.SharePoint.Lifecycle.FinalFixupTask.Deploy()
   at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation()
   at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()
        Source: Finalization
        SourceName: App Deployment Finalization

  @"Error 2
        CorrelationId: e6d878ab-ae8b-442c-90c1-ee989f5e719b
        ErrorDetail: The content database on the server is temporarily unavailable.
        ErrorType: Transient
        ErrorTypeName: Intermittent
        ExceptionMessage: System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>
   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
   at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
   at Microsoft.SharePoint.SPWeb.GetList(String strUrl)
   at Microsoft.SharePoint.Administration.SPDeveloperData.RemoveFromDraftApps(SPSite site, Guid appInstanceId)
   at Microsoft.SharePoint.Lifecycle.FinalFixupTask.Rollback()
   at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation()
   at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()
        Source: Finalization
        SourceName: App Deployment Finalization

    

Harsh


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>