Hello,
I am new to SP development. I am using Sharepoint 2013 with VS2012, this is my first app. I've read quite a lot about apps and how to develop them but i think i am still stuck with some beginner errors that i cannot solve on my own.
I am facing the following two issues :
- If i do not create any custom properties for my client web part, my app deploys on the server i assign for debugging and runs just fine. However once i add properties i start getting the following error when i try to deploy:
@"Error 1
CorrelationId: 4ed53d4f-3af6-4f36-8028-b750d886f28b
ErrorDetail: The content database on the server is temporarily unavailable.
ErrorType: Transient
ErrorTypeName: Intermittent
ExceptionMessage: Microsoft.SharePoint.SPException: Deployment failed in host web http://srvsp-dev2/sites/eLeave for app LeaveCalendarApp/d96a625f-1ddd-4410-8aad-1c68f5e89c3d. Microsoft.SharePoint.SPException: CalendarAppPart ClientWebPart. A null or empty string is not valid for the EmpId attribute on the Property element.
at Microsoft.SharePoint.SPClientWebPartElement.ClientWebPartPropertyMetadata..ctor(SPClientWebPartElement clientWebPartElement, XmlNode propertyNode, XmlNamespaceManager elementDefinitionNamespaceManager)
at Microsoft.SharePoint.SPClientWebPartElement.EnsureClientPropertyMetadata()
at Microsoft.SharePoint.SPClientWebPartElement.Validate()
at Microsoft.SharePoint.Administration.SPFeatureDefinition.ValidateElements()
at Microsoft.SharePoint.Administration.SPFeatureDefinition.ValidateDefinition(String pathToFeatureAndElementManifestXsdFile)
at Microsoft.SharePoint.Packaging.SPTargetWebDeploymentGroup.InstallOrUpgrade(SPSite site, Nullable`1& solutionId) ---> Microsoft.SharePoint.SPException: CalendarAppPart ClientWebPart. A null or empty string is not valid for the EmpId attribute on the Property element.
at Microsoft.SharePoint.SPClientWebPartElement.ClientWebPartPropertyMetadata..ctor(SPClientWebPartElement clientWebPartElement, XmlNode propertyNode, XmlNamespaceManager elementDefinitionNamespaceManager)
at Microsoft.SharePoint.SPClientWebPartElement.EnsureClientPropertyMetadata()
at Microsoft.SharePoint.SPClientWebPartElement.Validate()
at Microsoft.SharePoint.Administration.SPFeatureDefinition.ValidateElements()
at Microsoft.SharePoint.Administration.SPFeatureDefinition.ValidateDefinition(String pathToFeatureAndElementManifestXsdFile)
at Microsoft.SharePoint.Packaging.SPTargetWebDeploymentGroup.InstallOrUpgrade(SPSite site, Nullable`1& solutionId)
--- End of inner exception stack trace ---
at Microsoft.SharePoint.Packaging.SPTargetWebDeploymentGroup.InstallOrUpgrade(SPSite site, Nullable`1& solutionId)
at Microsoft.SharePoint.Packaging.SPTargetWebDeploymentGroup.Deploy()
at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation()
at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()
Source: ParentWeb
SourceName: Parent Web Deployment
- I manage to package the app and give it to the sharepoint admin to install it which he does successfully.
I enable the app's feature on the site but i cannot see the app or the app part anywhere. I am sorry for the trivial question but, as i noticed when i deploy from visual studio, the app appears in site contents whereas when it is installed (successfully) i can't see it anywhere.
Can anyone help?
thanks