Questions tagged [sitecollection]

65 questions
0
votes
3 answers

How to get the size of a site collection through C#?

I have limited the size of the content database upto 200 GB. I have used the following code to get the size of a content database. SPWebApplication elevatedWebApp = spWeb.Site.WebApplication; SPContentDatabaseCollection dbCollection =…
Shailesh Jaiswal
  • 3,606
  • 13
  • 73
  • 124
0
votes
1 answer

SPWebApplication.Sites not returning all Sites in Sharepoint 2010

I have a timer job, which scans all sites and all webs. When looping through SPWebApplication.Sites, ALL BUT ONE Sites are listed. this is the code: foreach (SPWebApplication app in service.WebApplications) { …
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
0
votes
1 answer

Creating SharePoint site collection using Admin.asmx web service

I am creating a site collection by calling a built-in SharePoint web service. http://Server_Name/_vti_adm/admin.asmx This web service has a method called CreateSite which allows users to create a site collection. Pretty straight forward (method…
theITvideos
  • 1,462
  • 2
  • 18
  • 29
0
votes
1 answer

Sharepoint 2010 Clone Entire Web Application

I've just taking over from a Sharepoint developer who has only worked in a single, live environment. I want to set up a development environment (and subsequently also a UAT environment) and so to do this I need an exact (or near to exact as…
Pandy Legend
  • 1,102
  • 3
  • 15
  • 29
0
votes
1 answer

Error downloading sharepoint 2007 audit logs

I extended the sharepoint 2007 webapp (uses SSL underneath ) to use extranet zone and also imported the Self signed certificate in IIS with the help of IIS tools for the webapp site. I also have Full control in webapp user policy to all Zones…
Paresh
  • 1
1 2 3 4
5