Questions tagged [sitecollection]

65 questions
5
votes
2 answers

Sharepoint 2013 - 404 Not Found while accessing site collection from outside

This question may be a dublicate, but no recent post leads to a working answer for my case. I have a Sharepoint 2013 running on a Windows Server 2012. Following issue appeared: I made a new Site-Collection as wiki. Everything (links,...) works fine…
4
votes
3 answers

SharePoint 2010: efficient union query across site collections?

In SharePoint 2010, I would like to create a list in one SiteCollection that queries data from several other SiteCollections that have common fields: Is this possible, and if so - can it be done efficiently? The current proposed solutions involves…
joshcomley
  • 28,099
  • 24
  • 107
  • 147
4
votes
2 answers

copy site collection in Sharepoint 2010

I would like to be able to copy the entire site collection http://server.ltd/sites/ABC to http://server.ltd/sites/DEF is there any easy solution, because I tried to Save as template at the site level then tried to upload the solution to the newly…
Rabie K
  • 43
  • 2
  • 6
3
votes
1 answer

Using singleton class in Sharepoint2010 environment - webapplication wide?

Let's say I have one web-application with n SiteCollections. Now I have a feature, which includes a singleton class. Does every SiteCollection have their own context and their own Instance of this class or is the singleton "Web-Application-Wide"?
LMW-HH
  • 1,193
  • 2
  • 15
  • 31
3
votes
1 answer

Mount-SPContentDatabase No Root-Web

I want to Mount an existing ContentDatabase with the following command: Mount-SPContentDatabase Content_WSS_Name -WebApplication http://name -AssignNewDatabaseId It runs without an error but says that the site count is 0. I can see the database…
Hechler
  • 193
  • 1
  • 3
  • 10
3
votes
2 answers

Copy SharePoint 2010 site collection/web application

I have a SharePoint 2010 web application with one site collection. I want to copy that site collection to a new web application on the same server. I took a backup and restored it to a new database on the sql server. I then created a new web…
3
votes
3 answers

Is there a way to tell when a site is created and ready to use when creating it using powershell?

I'm creating a number of sites using a powershell script. Now, when each of the sites is finished, I want to activate features on it. My problem is that when I do this, it takes some time before the site is ready. Especially in SharePoint Online it…
miracules
  • 686
  • 7
  • 25
3
votes
1 answer

How do I programatically set the SharePoint's site collections Search Center property?

I have a site collection and I want to set the search center value to be the same as another site collection. The site collection is created in code, so I need to be able to set the property after the site collection has been created. How can I do…
Nat
  • 14,175
  • 5
  • 41
  • 64
3
votes
1 answer

SharePoint 2013 custom web part not visible

I'm trying to add a custom web part to a site collection in SharePoint 2013 (using VS2013). I deployed the web part with Visual Studio. The web part is actived and visible in SharePoint, except on the Site Collection page. I don't have a "custom"…
3
votes
1 answer

How to programmatically set a user as the Site Collection Administrator in SharePoint

I am working on a SharePoint 2013 site. I'm trying to set a user as the Site Collection Administrator using the following code: public void SetUserSiteCollectionAdmin(string siteUrl, string strUserName, string strEmail, string…
theITvideos
  • 1,462
  • 2
  • 18
  • 29
3
votes
2 answers

Setting author field in SPListItem won't persist

I am trying to copy an SPListItem (with file) from one site collection to another. I do this by creating the file like this: var archiveFile = newsArchive.Lists[listName].RootFolder.Files.Add(originalItem.File.Name,…
Colin
  • 10,630
  • 28
  • 36
2
votes
3 answers

Issus deleting a site collection

I'm currently doing some test where I try to delete a site collection programmatically. Thereby I realized some strange behavior by SharePoint. I used the following code to test the site collection deletion. private static void…
Flo
  • 27,355
  • 15
  • 87
  • 125
2
votes
5 answers

Changing SharePoint Site Collection Title

I need to change the title of a site collection in SharePoint (MOSS 2007). I found one post saying it can be done in SharePoint Designer, but I wasn't seeing the specified menus, and haven't been able to find it anywhere else. I'm assuming I can do…
atfergs
  • 1,674
  • 1
  • 11
  • 17
2
votes
3 answers

Why do I get UnauthorizedAccessException with some application pool identities if I'd like to use SPSiteCollection.Add in Sharepoint 2010?

The background of this question is that my current task is to develope an application page which enables users to create site collections. The properties of the site collection are read from a list item. My solution works in most cases. However,…
binford
  • 1,655
  • 1
  • 18
  • 36
2
votes
1 answer

Sharepoint user can view site collections he is not a member of

as i understand sitecollection security ,member of a given sitecollection can not view another site collection where he has no membership ,my problem is that any user from a given site collection can view other site collection easily ,how is that ?…
Ahmed
  • 33
  • 4
1
2 3 4 5