Edwin's Journey

Sitecore, SharePoint & Agile

Tag

spweb

Visual Studio and SharePoint 2010 new SPSite returns FileNotFoundException

While writing my first console application to communicate with SharePoint 2010, I was surprised to receive a FileNotFoundException during the creation of a new SPSite. The line SPWeb web = new SPSite(“http://localhost/”).OpenWeb(); returned the error statement: FileNotFoundException was unhandled: The… Continue Reading →

© 2019 Edwin's Journey — Powered by WordPress

Theme by Anders NorenUp ↑