I have tried unsuccessfully to create a site collection in sharepoint 2016 by following step by step the instruction of the below link https://blogs.msdn.microsoft.com/vesku/2014/06/09/provisioning-site-collections-using-sp-app-model-in-on-premises-with-just-csom/
I dont know what I did wrong but I am getting an error whenever I execute the code
Ex : File Not Found. at Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm farm, Boolean contextSit e, Boolean swapSchemeForPathBasedSites, Uri& requestUri, Boolean& lookupRequired Context, Guid& applicationId, Guid& contentDatabaseId, Guid& siteId, Guid& siteS ubscriptionId, SPUrlZone& zone, String& serverRelativeUrl, Boolean& hostHeaderIs SiteName, Boolean& appWebRequest, String& appHostHeaderRedirectDomain, String& a ppSiteDomainPrefix, String& subscriptionName, String& appSiteDomainId, Uri& prim aryUri) at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean con
Do you have any idea what may cause the problem?
Thanks,
Arioule