Tag Info

New answers tagged

1

in CA under Application Management->Manage Content Databases click on the Databases which do not host the MySite Sitecollection and reduce the number of Sitecollections to the absolut necessary amount. Example: I plan to use 2 SCs in PortalDB, 3 SCs in TeamDB. I set the Max Number of SCs on those DBs to 2 and 3 and create my SCs in them. Now the Maximum of ...


0

Here is how you create a new site using a custom .wsp template with PowerShell. $mainurl = "http://<WEBAPPURL>/sites/<NAME_OF_SITECOLLECTION>" Write-Host -ForegroundColor White " – Creating Site Collection $mainurl…" -NoNewline New-SPSite $mainurl -OwnerAlias locadministrator -Name "This will have a custom template" ...


0

You should be able to use this too, $().SPServices({ operation: "GetUserInfo", userLoginName: $().SPServices.SPGetCurrentUser(), completefunc: function(xData, Status) { console.log($(xData.responseXML).find("User").attr("IsSiteAdmin")) } }); Note though, if your SCAs are defined by an AD group, this shows false, as in the ...


1

For 2013, Check this out using (var ctx = new ClientContext(webUri)) { var currentUser = ctx.Web.CurrentUser; ctx.Load(currentUser); ctx.ExecuteQuery(); Console.WriteLine(currentUser.IsSiteAdmin); } Greetings


0

If you don't want to use compiled code, what about JS code? On the new/edit announcement page (or anywhere you want), you could create another button which says sync announcement to subsites. When clicked you can use the JavaScript CSOM to iterate through each and every subweb and add the announcement. But I would also back up and ask why you need ...


0

This was the same issue with me. The Central Administration displayed the site in the sites list, but without any reference to the Content Database where it should have been created. No way to remove it using the web interface (all pages displaying information about the site had no content at all). Then i thought to clean it up and remove via script. A ...


2

Maybe you have deleted the site before, and it's lurking around in a dark place? Try this and see what you get... Get-SPDeletedSite & Remove-SPDeletedSite You may already have restored this site before. In that process you also deleted the site first (automatically), which you can find running the command... >Get-SPDeletedSite You'll see the site ...


2

A user specifically given site collection admin access will be able to access anything in the site. If you want to have someone with more or less site collection admin access to everywhere but the one library, you will need to do the following: Remove them as a site collection admin. Add them to the root with Full Control access. Go to the library and ...


0

The ClientContext have to be on the tenant-admin.sharepoint.com site. Right now your context is in the AppWeb. ClientContext con = new ClientContext(new Uri(<url to tenant admin site>));


0

The problem was some where between syncing the users and web.config. I restarted everything by changing the syncing of users from Windows Authentication to FBA and made sure this works, and then created a new site using LDAP with FBA and it allowed me this time to set a site admin and login as a user.


0

The code in console application works as you may be logged in as a Farm admin. The code in event receiver will fail even if it is run using elevated privileges i.e. app pool account unless the app pool account is added into Farm administrators group. The app pool account has permissions on content database, whereas it is the farm admin account which has ...


1

Their is no OOTB way to convert the Public site into team site as both using the different template. Now two things you can do. Create a team site and move all the content manually Use the 3rd party tool to convert it. you can try Sharegate, Metalogix.


0

My Suggestion for the first question Turn on the search service application from the Central Administrator and create a Search page. start a full import of AD users from user profiles an property section. now go the the search page and try searching for a username that already exist in your AD account. If the users you type exist in the search, that me ...


1

Yes it is possible. You can have multiple databases attach to a web application(500 is limit). You can have the many site collections and provision one site collection into one content DB. Read more about the limits here. https://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx#ContentDB


0

Try to access the site collection from Central Administration -> Application Management -> View all site collections. And try creating the managed path after that link.


1

Yes, new site collections and additional content databases are supported in SharePoint 2007. The problem you are going to encounter in either 2007 or 2010 is that there is no quick way to restructure/move your current subsites between site collections. You can't do it with the Site Manager (aka Manage Content and Structure) because that is scoped to a site ...


1

I am in the process of doing the exact same thing. Although the architecture will remain exactly the same, my biggest concern was upgrading the custom solutions to SP2010 (Workflows, Visual Studio solutions, customized pages, XSL stylesheets etc). There are too may parameters for what you are asking. I would personally ask why you want to split the ...


0

Were you by chance performing site backups or restores with that account? Like spsite-restore? I know that stsadm had a nice little habbit of putting sites into read-only and sometimes they remained locked. You could check CA > application management > configure quotas and locks to see if the site was locked. I know you said your other account worked though. ...


1

Did you try adding your primary, secondary and the account with which you run PowerShell, to the User Policy at the Web Application level of the Site collections in question? from central admin > Manage web applications > select the web application for your site collections > from the ribbon select 'User Policy' > add your primary, secondary and the account ...


0

If you are not a primary site administrator / secondary contact for the site collection, you should run your PowerShell code in an elevated block as shown below to be able change the site owner via the Owner property of the SPSite: $url = "https://yoursite" $siteOwnerLogin = "domain\user" # elevated privilages ...


2

Can you try this: Go to Central administration -> Application Management-> Database -> Manage Content Database. Select the required web application and click on Add Content Database. Give the name to this database. Now restore the site collection to this database using Restore PowerShell Command: Restore-SPSite http://sitename/sites/site_name -Path ...


0

seems to be you provided only one part of the log entry. if you make any changes in 13 or 15 hives manually please revert those changes and try to create web application. if you copy any custom files such as .aspx or .ascx etx in 14 or 15 hives it will create such type of issues.if you make copy of the original installation compare the folders and revert ...



Top 50 recent answers are included