Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Accessing the site

  Asked By: Ganesh    Date: Mar 03    Category: Sharepoint    Views: 719

I am trying to access Share point portal server through console
application and i am geting error..

File or assembly name Microsoft.SharePoint.Library, or one of its
dependencies, was not found.

I am trying only one line of code ie.

SPSite siteCollection = new SPSite
("http://rac866/sites/TeamSite/default.aspx");

I have copied the Microsoft.SharePoint dll from server to my
development PC and have tried by putting into Gac too.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Accessing the site Or get search suggestion and latest updates.




Tagged: