Getting an error while creating an object of SPWeb

Copper Contributor

Hello All,

I've created one .net application to connect to a SharePoint environment and create some folders at a specific path.

While creating an object of the web I'm facing below error -

An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll

Additional information: Could not load file or assembly 'Microsoft.SharePoint.Library, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.


Does anyone have face similar problem in the past? If yes then please advise how to get rid of this.

Any help would be much appreciated.

Thank you

0 Replies