A code using SharePoint classes doesn't run on systems not having SharePoint installed
Posted
by Manish
on Stack Overflow
See other posts from Stack Overflow
or by Manish
Published on 2010-04-06T06:20:07Z
Indexed on
2010/04/06
6:23 UTC
Read the original article
Hit count: 299
sharepoint
|.NET
I have a window application which uses SP classes to create a site. I works fine on a system having Windows Server 2003 R2 with sharepoint installed.
But it doesn't work on a system having XP installed and SharePoint not installed.
The fact is that both of these systems are on a intranet. So I assumed that the NON-SP system would be able to run the code and create a site on the system having SP installed if all the required parameters (like serverLocation, domain, username, password) are provided.
I did copied the DLLs to these NON-SP system and referenced them to build the project:
- Microsoft.SharePoint.dll
- microsoft.sharepoint.portal.dll
- Microsoft.SharePoint.Publishing.dll
But this too didn't worked.
- What am I missing?
- Is my assumption wrong?
© Stack Overflow or respective owner