Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Accessing the site

  Asked By: Ganesh Eng.         Date: Mar 03, 2010      Category: Sharepoint      Views: 309
 

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.


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:      

 

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.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].