Tagged Questions
0
votes
0answers
28 views
Sharepoint 2010 SPsite Class throws Exception- Console - Web App - WebService App(.asmx)
I am Searching for this Solution for PAST two Weeks,
I have Created 3 Apps thats uses Microsoft Sharepoint 2010, in Server 2008 Rs X64Bit MAchine
used the Sampe Piece of code in All Applicationswith ...
0
votes
1answer
20 views
How to access a site on another machine in the same domain programmatically?
I have a site on DOMAIN\PC1 with url http://site1. I can access it by using following code (code is running on DOMAIN\PC1):
using(SPSite site = new SPSite("http://site1"))
{
}
Also there is a site ...
2
votes
2answers
202 views
Powershell Enumerate through all site collections but not include one specific site collection
I am partially not even sure how to Google this question because whatever I type never seems to bring back any relevant search results.
I currently have a working script that is set to go through and ...
2
votes
1answer
63 views
Is there any way to validate site ID without instantiating SPSite?
I need a fast way to ensure that site ID is correct. Instantiating SPSite seems to be quite expensive, so may be there are other options to do this.
4
votes
2answers
220 views
Can you call SPSite on a different machine to SharePoint setup?
I'm trying to call SharePoint from within a standard .NET class library. This will probably be hosted on a different server to SharePoint.
I just need to return an item from a list, and wondered if I ...