A code using SharePoint classes doesn't run on systems not having SharePoint installed
- by Manish
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?