Forum Discussion
Jalak Raval
Mar 11, 2019Copper Contributor
Getting an error while creating an object of SPWeb
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 unha...
Kevin_Morgan
Mar 13, 2019Iron Contributor
Ensure that you have referenced the assemblies "Microsoft.SharePoint.Client.dll" and "Microsoft.SharePoint.Client.Runtime.dll" in your .NET Project. Also ensure that these files are exists in the .NET Exe running environment.
The assemblies may exists in the path like below one if you have installed the SharePoint Online SDK Components:
"C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
"C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"