danthehat
danthehat

Reputation: 99

SharePoint object model: connect to remote server?

I'd like to know if it is possible to connect to a remote SharePoint site via a new SPSite object from a SharePoint development box.

I've looked around and I haven't found a conclusive answer to this question.

By way of further explanation, I am developing a tool that will help me map metadata for document migration to a new SharePoint server. For obvious reasons, I don't really want to install Visual Studio on our production server and use it to develop the app. I've set up a test server with VS installed and I want to be able to connect to the production server via the object model. I keep getting FileNotFoundExceptions (great choice, Microsoft) and have eliminated all of the common causes of this problem.

The application works fine with the development server.

Upvotes: 2

Views: 3627

Answers (1)

Douglas
Douglas

Reputation: 490

SharePoint object model can't connect to remote server.

To Connect to remote Server, you can use Client Object Model (available on sharepoint 2010 or sharepoint 2013) or webservices.

If you are using sharepoint 2007. you can only using webservice to do data migration.

Upvotes: 3

Related Questions