Basically i am trying to access the sharepoint server 2010 which is installed on remote machine to do some word operations. But when i am trying to connect with the remote server using SPSite(), it is throwing the below exception:
System.IO.FileNotFoundException was unhandled Message=The Web application at "http://RemoteServer" could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the sys开发者_JAVA百科tem administrator may need to add a new request URL mapping to the intended application.
Don't know how to connect with remote server using SPSite().
It's impossible. SPSite
and, generally, the whole object model does not support connecting to a remote SharePoint farm. All you can do is access the local SharePoint farm.
精彩评论