Home

Sharepoint 2019 Server

%3CLINGO-SUB%20id%3D%22lingo-sub-1043761%22%20slang%3D%22en-US%22%3ESharepoint%202019%20Server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1043761%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%20time%20with%20Sharepoint%202019%20(on-prem)%20and%20VS2019.%20I%20thought%20I'd%20try%20my%20hand%20at%20writing%20my%20first%20App%20(straight%20off%20the%20MS%20Training%20site%20actually).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20much%20configuring%20and%20reconfiguring%20of%20the%20Sharepoint%20server%20I've%20managed%20to%20get%20my%20App%20deployed.%20It's%20a%20very%20simple%20app%20which%20really%20just%20creates%20a%20list.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20issue%20I'm%20having%20is%20when%20I%20try%20to%20launch%20the%20App%20I'm%20presented%20with%20a%20Blank%20Screen%20and%20no%20error%20codes.%20When%20checking%20the%20Sharepoint%20Server%20I%20get%20the%20below%20error%20in%20the%20Event%20Log%20which%20coincides%20with%20the%20launching%20of%20my%20App.%20To%20me%20it%20looks%20like%20some%20kind%20of%20an%20IIS%20error%20and%20I%20think%20it's%20related%20but%20I'm%20not%20sure%20what%20it's%20trying%20to%20tell%20me.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyone%20have%20any%20clue%20or%20have%20seen%20this%20before%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEvent%20code%3A%203005%3CBR%20%2F%3EEvent%20message%3A%20An%20unhandled%20exception%20has%20occurred.%3CBR%20%2F%3EEvent%20time%3A%203%2F12%2F2019%209%3A41%3A53%20PM%3CBR%20%2F%3EEvent%20time%20(UTC)%3A%203%2F12%2F2019%2010%3A41%3A53%20AM%3CBR%20%2F%3EEvent%20ID%3A%2010b191d00b01475198f9f8e7e198867f%3CBR%20%2F%3EEvent%20sequence%3A%2032%3CBR%20%2F%3EEvent%20occurrence%3A%201%3CBR%20%2F%3EEvent%20detail%20code%3A%200%3CBR%20%2F%3E%3CBR%20%2F%3EApplication%20information%3A%3CBR%20%2F%3EApplication%20domain%3A%20%2FLM%2FW3SVC%2F15818189%2FROOT-1-132198420014582701%3CBR%20%2F%3ETrust%20level%3A%20Full%3CBR%20%2F%3EApplication%20Virtual%20Path%3A%20%2F%3CBR%20%2F%3EApplication%20Path%3A%20C%3A%5Cinetpub%5Cwwwroot%5Cwss%5CVirtualDirectories%5C80%5C%3CBR%20%2F%3EMachine%20name%3A%20W2019%3CBR%20%2F%3E%3CBR%20%2F%3EProcess%20information%3A%3CBR%20%2F%3EProcess%20ID%3A%201524%3CBR%20%2F%3EProcess%20name%3A%20w3wp.exe%3CBR%20%2F%3EAccount%20name%3A%20%3CDOMAIN%20account%3D%22%22%3E%3CBR%20%2F%3E%3CBR%20%2F%3EException%20information%3A%3CBR%20%2F%3EException%20type%3A%20UriFormatException%3CBR%20%2F%3EException%20message%3A%20Invalid%20URI%3A%20The%20hostname%20could%20not%20be%20parsed.%3CBR%20%2F%3Eat%20System.Uri.CreateThis(String%20uri%2C%20Boolean%20dontEscape%2C%20UriKind%20uriKind)%3CBR%20%2F%3Eat%20Microsoft.SharePoint.SPSite.GetHostHeaderUrlFromLookupKey(String%20scheme%2C%20String%20hostHeaderLookupKey)%3CBR%20%2F%3Eat%20Microsoft.SharePoint.SPSite.GetHostHeaderRelativeUrlFromLookupKey(String%20hostHeaderLookupKey)%3CBR%20%2F%3Eat%20Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm%20farm%2C%20Boolean%20contextSite%2C%20Boolean%20swapSchemeForPathBasedSites%2C%20Uri%26amp%3B%20requestUri%2C%20Boolean%26amp%3B%20lookupRequiredContext%2C%20Guid%26amp%3B%20applicationId%2C%20Guid%26amp%3B%20contentDatabaseId%2C%20Guid%26amp%3B%20siteId%2C%20Guid%26amp%3B%20siteSubscriptionId%2C%20SPUrlZone%26amp%3B%20zone%2C%20String%26amp%3B%20serverRelativeUrl%2C%20String%26amp%3B%20siteRedirectUrl%2C%20Boolean%26amp%3B%20hostHeaderIsSiteName%2C%20Boolean%26amp%3B%20appWebRequest%2C%20String%26amp%3B%20appHostHeaderRedirectDomain%2C%20String%26amp%3B%20appSiteDomainPrefix%2C%20String%26amp%3B%20subscriptionName%2C%20String%26amp%3B%20appSiteDomainId%2C%20Uri%26amp%3B%20primaryUri)%3CBR%20%2F%3Eat%20Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm%20farm%2C%20Boolean%20contextSite%2C%20Boolean%20swapSchemeForPathBasedSites%2C%20Uri%26amp%3B%20requestUri%2C%20Boolean%26amp%3B%20lookupRequiredContext%2C%20Guid%26amp%3B%20applicationId%2C%20Guid%26amp%3B%20contentDatabaseId%2C%20Guid%26amp%3B%20siteId%2C%20Guid%26amp%3B%20siteSubscriptionId%2C%20SPUrlZone%26amp%3B%20zone%2C%20String%26amp%3B%20serverRelativeUrl%2C%20Boolean%26amp%3B%20hostHeaderIsSiteName%2C%20Boolean%26amp%3B%20appWebRequest%2C%20String%26amp%3B%20appHostHeaderRedirectDomain%2C%20String%26amp%3B%20appSiteDomainPrefix%2C%20String%26amp%3B%20subscriptionName%2C%20String%26amp%3B%20appSiteDomainId%2C%20Uri%26amp%3B%20primaryUri)%3CBR%20%2F%3Eat%20Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm%20farm%2C%20Boolean%20contextSite%2C%20Boolean%20swapSchemeForPathBasedSites%2C%20Uri%26amp%3B%20requestUri%2C%20Boolean%26amp%3B%20lookupRequiredContext%2C%20Guid%26amp%3B%20applicationId%2C%20Guid%26amp%3B%20contentDatabaseId%2C%20Guid%26amp%3B%20siteId%2C%20Guid%26amp%3B%20siteSubscriptionId%2C%20SPUrlZone%26amp%3B%20zone%2C%20SPResourcePath%26amp%3B%20serverRelativeUrl%2C%20Boolean%26amp%3B%20hostHeaderIsSiteName%2C%20Boolean%26amp%3B%20appWebRequest%2C%20String%26amp%3B%20appHostHeaderRedirectDomain%2C%20String%26amp%3B%20appSiteDomainPrefix%2C%20String%26amp%3B%20subscriptionName%2C%20String%26amp%3B%20appSiteDomainId%2C%20Uri%26amp%3B%20primaryUri)%3CBR%20%2F%3Eat%20Microsoft.SharePoint.SPSite..ctor(SPFarm%20farm%2C%20Uri%20requestUri%2C%20Boolean%20contextSite%2C%20Boolean%20swapSchemeForPathBasedSites%2C%20SPUserToken%20userToken%2C%20Boolean%20readOnlyIntent)%3CBR%20%2F%3Eat%20Microsoft.SharePoint.Administration.SPAlternateUrl.GetContextUri(HttpContext%20ctx)%3CBR%20%2F%3Eat%20Microsoft.SharePoint.Publishing.CatalogUrlCache.GetFriendlyUrlCacheKeyFromContext()%3CBR%20%2F%3Eat%20Microsoft.SharePoint.Publishing.PublishingHttpModule.OverrideUsageAnalyticsData()%3CBR%20%2F%3Eat%20System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()%3CBR%20%2F%3Eat%20System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep%20step)%3CBR%20%2F%3Eat%20System.Web.HttpApplication.ExecuteStep(IExecutionStep%20step%2C%20Boolean%26amp%3B%20completedSynchronously)%3C%2FDOMAIN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1043761%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApp%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Smacky75
Occasional Visitor

Hi Guys,

 

First time with Sharepoint 2019 (on-prem) and VS2019. I thought I'd try my hand at writing my first App (straight off the MS Training site actually).

 

After much configuring and reconfiguring of the Sharepoint server I've managed to get my App deployed. It's a very simple app which really just creates a list.

 

The issue I'm having is when I try to launch the App I'm presented with a Blank Screen and no error codes. When checking the Sharepoint Server I get the below error in the Event Log which coincides with the launching of my App. To me it looks like some kind of an IIS error and I think it's related but I'm not sure what it's trying to tell me.

 

Anyone have any clue or have seen this before?

 

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/12/2019 9:41:53 PM
Event time (UTC): 3/12/2019 10:41:53 AM
Event ID: 10b191d00b01475198f9f8e7e198867f
Event sequence: 32
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/15818189/ROOT-1-132198420014582701
Trust level: Full
Application Virtual Path: /
Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\80\
Machine name: W2019

Process information:
Process ID: 1524
Process name: w3wp.exe
Account name: <DOMAIN ACCOUNT>

Exception information:
Exception type: UriFormatException
Exception message: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at Microsoft.SharePoint.SPSite.GetHostHeaderUrlFromLookupKey(String scheme, String hostHeaderLookupKey)
at Microsoft.SharePoint.SPSite.GetHostHeaderRelativeUrlFromLookupKey(String hostHeaderLookupKey)
at Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm farm, Boolean contextSite, Boolean swapSchemeForPathBasedSites, Uri& requestUri, Boolean& lookupRequiredContext, Guid& applicationId, Guid& contentDatabaseId, Guid& siteId, Guid& siteSubscriptionId, SPUrlZone& zone, String& serverRelativeUrl, String& siteRedirectUrl, Boolean& hostHeaderIsSiteName, Boolean& appWebRequest, String& appHostHeaderRedirectDomain, String& appSiteDomainPrefix, String& subscriptionName, String& appSiteDomainId, Uri& primaryUri)
at Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm farm, Boolean contextSite, Boolean swapSchemeForPathBasedSites, Uri& requestUri, Boolean& lookupRequiredContext, Guid& applicationId, Guid& contentDatabaseId, Guid& siteId, Guid& siteSubscriptionId, SPUrlZone& zone, String& serverRelativeUrl, Boolean& hostHeaderIsSiteName, Boolean& appWebRequest, String& appHostHeaderRedirectDomain, String& appSiteDomainPrefix, String& subscriptionName, String& appSiteDomainId, Uri& primaryUri)
at Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm farm, Boolean contextSite, Boolean swapSchemeForPathBasedSites, Uri& requestUri, Boolean& lookupRequiredContext, Guid& applicationId, Guid& contentDatabaseId, Guid& siteId, Guid& siteSubscriptionId, SPUrlZone& zone, SPResourcePath& serverRelativeUrl, Boolean& hostHeaderIsSiteName, Boolean& appWebRequest, String& appHostHeaderRedirectDomain, String& appSiteDomainPrefix, String& subscriptionName, String& appSiteDomainId, Uri& primaryUri)
at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, Boolean swapSchemeForPathBasedSites, SPUserToken userToken, Boolean readOnlyIntent)
at Microsoft.SharePoint.Administration.SPAlternateUrl.GetContextUri(HttpContext ctx)
at Microsoft.SharePoint.Publishing.CatalogUrlCache.GetFriendlyUrlCacheKeyFromContext()
at Microsoft.SharePoint.Publishing.PublishingHttpModule.OverrideUsageAnalyticsData()
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Related Conversations