Quantcast
Channel: SharePoint 2013 - Setup, Upgrade, Administration and Operations forum
Viewing all 21070 articles
Browse latest View live

After Copy to another Site Collection Metdata in Managed Metadata Fields are mixed

$
0
0

Hello,

I have a big issue which I would like to hear about your ideas.

Case: I copy or upload a Office File (Word, Excel...) in a Document Llibrary of an target Site Collection. I then have the problem that the managed metadata of the file are mixed with terms of even different termsets. Back ground information: the Content types are everywhere the same located in the Site Collection Root.

I figgered out that this is happening because of the ID of the terms which are stored inside the offices documents. The term will be stored in the custome properties. It is strored as: ID#Terms|TERMGUID; ... if SharePoint would look up the Guid it everything would be fine but it is taking the TermID which is a local ID of the Site Collecation located at the taxonomyhiddenlist.
If you now manually delete this entry in the file it will work out or you deactived Document Promtion. BUT I cannot tough everyfile on copy or upload to clean it up and I would like to avoid deactivation of the DocPromtion because the Picture Libraries will not work anymore (means that is not creating thumbnails and not showing the image properties).

Does anybody would have an idea to solve this issue?
Is is possible to turn off the hidden taxonomy list?

Best regards, Robert



Update Active directory Information in SharePoint for all users - Powershell

$
0
0

Hi,

I am having a SharePoint site, where the users data are not synchronized with that of Active directory. I am not using User profile service. To update a single user data, I am following the below script:

$user = Get-SPUser -Identity "domain\user_name" -Web http(s)://site_collection_url


Set-SPUser -Identity $user -SyncFromAD -Web http(s)://site_collection_url 

The above script is taken from http://lazysharepointadmin.com/blog/2013/03/22/update-sharepoint-user-information-from-active-directory/#comment-4175

I would like to know how to update for all users in the site collection? Rather than updating for single user, is there any script which can be run for all users?

Will the MembershipGrupId=0 cover all users who have access to the site collection? If yes, is it possible to loop through this and sync the AD?

Thanks


Why PowerPoint online is not opening big size file in SharePoint online.

$
0
0

I am getting an issue while opening big size files, giving error as"PowerPoint Online stopped responding,Please refreshing the page". I have refreshed page but still same issue. Please find below screenshot of error. Please help me out. Thanks inadvance.

PowerPoint online error

Thanks,

Swapnil

SharePoint 2013 - Project Web App not able to save when there are many task items in the project

$
0
0

We are facing issue of not being able to save the project when there are many task items.We see the processing message at the corner of the page for a long time and then we get a page time out error .

One of the business  user reported an issue with error message given below. The technet article i have checked does not provide any solution

The save operation has been queued, but it is taking longer than expected to process. To check the status of the queue job, either visit My Queued Jobs Page or refresh the page.

Please let us know how the above mentioned issues can be fixed. 

[Urgent Please] unable to resotre my site collection on a new URL. can anyone adivce on this please

$
0
0

I am facing is issue , and i need urgent help:-

1. I was working on a site collection inside my SharePoint 2013 enterprise server.

2. now i backup my site collection which is found on the root http://servername/

Backup-SPSite http://servername/ -Path C:\Newfolder\0112.bak

3. then i remove the site collection using the central admin UI.

4. after than i run this power-shell command Get-SPDeleteSite

5. where i got the site which i have just deleted.

6. then i run this command "Remove-SPDeleteSite <<site id>>"

7. then i run the following command to restore the site collection on a new URL:-

Restore-spsite -identity http://servername/KB/PMO  -Path C:\Newfolder\0112.bak 


but i got this error:-

Restore-spsite : No content databases are available for this operation but the site collection is scheduled for deletion in at least one content database. Either wait for the deletion operation to complete or create a content database, and then try the operation again. To create a content database, click "Content databases" on the Application Management page, select the Web application to use, and then click "Add a content database". At line:1 char:1 + Restore-spsite -identity http://servername/KB/PMO -Path C:\Newfo ...

so i created a new site collection on the same url and use the -force parameters

PS C:\Users\spfarm.srv> Restore-spsite -identity http://servername/KB/PMO  -Path C:\Newfolder\0112.bak -force

but i got the exact exception.

now i went to Central Admin >> I manually run the "gradual site delete" job, then i try restoring the site collection , but this time i got this error:-

Restore-spsite : <nativehr>0x80070003</nativehr><nativestack></nativestack> At line:1 char:1+ CategoryInfo          : InvalidData: (Microsoft.Share...dletRestoreSite:    SPCmdletRestoreSite) [Restore-SPSite], DirectoryNotFoundException+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreS    ite

please can anyone adivce on this ??? i lost my site collection.

now my site collection was of type team site and it have 2 level of subsites !!

Please can anyone help ?


now my famr build number is

Major  Minor  Build  Revision
-----  -----  -----  --------
15     0      4875   1000


SharePoint People Picker not showing enough result

$
0
0

We have an issue with people picker in Sharepoint. 

We've about 50 users "Omair" with one name with "Omair.". When we tried to share with these users, if we search withOmai
it only shows 30 users.

If we search with Omair. (name with ends with dot not serachable)
it only shows 0 users.

Why only 30 users search instead of 50.

Really strange behavior and it leaves the impression that some users don't exist and it's not the case. 

Thanks.

404 Error on MySites Web Application

$
0
0

Hello,

I had created a seperate MySites Web application from my actual sharepoint site. I'm a bit confused what is going on and why it is not showing up. I have the Certificate properly installed in IIS and is binded to the site. I've created the Site Collection, set up the permissions policy, user policy, and the self-service site creation.

So How I have it set up is AggieShare is my mail web application and mysites is on it's own. I added a wildcard inclusion called mysites for the mysites web app. Do I needed to add that same wildcard inclusion on aggieshare's managed paths?


Reif, Christopher


Remove orphaned databases on SharePoint 2013

$
0
0

Hi all,

I have 3 servers whereby SharePoint Foundation 2013 (Server 1), SQL Server Mgt Studio (Server 2) and SharePoint Server 2013 (Server 3) are installed respectively.

Before I was using SharePoint Foundation 2013 on  Server 1 and now we have moved to SharePoint Server 2013 (Server 3). Server 1 is now redundant. Since I am using the same database server for both SharePoint applications, it seems that there are many orphaned databases created.

Recently, my database server has lost trust relationship on its domain and I had to run the SharePoint Configuration Wizard to make SharePoint Server 2013 (Server 3) up and running. Maybe this wizard configuration has created databases again.

Is there any possibility to know which respective databases belong to SharePoint Foundation 2013 and SharePoint Server 2013 (Server 3) and how to discard the orphaned databases?

Thanks to advise.


Open List item attachment in client application

$
0
0

I'm using SharePoint 2013 Enterprise and have a list that accepts attachments. I have turned on the site collection feature "Open documents in Client Applications by Default" but the attachments link still forces it to Excel Services...which is not configured on my web application.

In Central Administration Client Integration is set to Yes. 

I would like to avoid making changes in Central Administration if at all possible.

This is a list NOT a Document Library.


Love them all...regardless. - Buddha

How to Create 80 port web appln on the newly installed SP 2013 SP1 farm

$
0
0

i have just installed and configured the  sharepoint farm [ server farm]. and i clicked on the "i will configure everuthing"

so, the web appln 80 port is not created .

how can i create the 80 port web appln, on this serevr farm ?

currently ONLY CENTRAL ADMIN got created as part of my install / configuration.

PLEASE FIND THE image .

is there any extra things to do for creation of 80 port web appln?


Das


SharePoint 2013 +New Document -> Create a File -> Office App -> opens dialog box displaying the site default page instead of creating new file

$
0
0

I have a SharePoint 2013 farm. Last week it came to my attention that "+ new document" button is not working as expected. (The "New Document" button in the ribbon is still working properly.)

When you click on "+ new document" it opens up a menu with the following options:

Create a new file
Word document
Excel workbook
PowerPoint presentation
OneNote notebook
-----------------------
New folder
UPLOAD EXISTING FILE
  • "New folder" and "UPLOAD EXISTING FILE" are working as expected
  • None of the Office Application links are working. When you click on "Word document" for example, it pops open a window, and inside the window it displays the landing page for the site in which the document library lives. It does not launch Office Web Apps, nor does it attempt to launch the Word client.

So if my Library URL is https://AppName.DomainName.com/SubSiteName/LibraryName, when I try to create a new document, this is the address that is being displayed in the pop-up window:
https://AppName.DomainName.com/SubSiteName/Pages/default.aspx?SaveLocation=%2FSubSiteName%2FLibraryName&DefaultItemOpen=1&Source=https%3A%2F%2FAppName%2EDomainName%2Ecom%2FSubSiteName%2FLibraryName%2FForms%2FAllItems%2Easpx&TemplateType=1&IsDlg=1

I opened up the developper tool and this is the code for the "Excel workbook" button:

<a class="ms-newdoc-callout-item ms-displayBlock" id="js-newdocWOPI-divExcel-WPQ1" onclick='CalloutManager.closeAll(); OpenPopUpPageWithTitle("/SubSiteName?SaveLocation=%2FSubSiteName%2FLibraryName&DefaultItemOpen=1&Source=https%3A%2F%2FAppName%2EDomainName%2Ecom%2FSubSiteName%2FLibraryName%2FForms%2FAllItems%2Easpx%3FInitialTabId%3DRibbon%252EDocument%26VisibilityContext%3DWSSTabPersistence&TemplateType=2", OnCloseDialogNavigate); return false;' href="#"><img class="ms-verticalAlignMiddle ms-newdoc-callout-img" id="js-newdocWOPI-divExcel-img-WPQ1" alt="Create a new Excel workbook" src="/_layouts/15/images/lg_icxlsx.png?rev=23"><h3 class="ms-displayInline ms-newdoc-callout-text ms-verticalAlignMiddle ms-soften" id="js-newdocWOPI-divExcel-txt-WPQ1">Excel workbook</h3></a>

Can anyone confirm that the url parameter in the "OpenPopUpPageWithTitle" function is correct?

Any ideas on what could be causing this? Or how to fix it?

ADFS 3.0 returning an X-Frame-Options: Deny header - SharePoint 2013 sp1 patch 15.0.4571.1502.

$
0
0

O365 identities were enforced on Yammer on Monday night, everything’s working ok except embedded Yammer feeds on our SharePoint on-prem platform aren’t logging in automatically despite use SSO being in the config. Do you have any ideas how to resolve this?

This is error ADFS 3.0 returning an X-Frame-Options: Deny header

Current version of SharePoint 2013 SP1 patch 15.0.4571.1502.

SharePoint On Premise to Office 365 Migration Error: The Enumeration constraint failed

$
0
0

I have a requirement to migrate all on premise SharePoint 2013 OneDrives (the "Documents" library on each user's personal site) to Office 365. Initially I want to migrate a single account (my account) from on premise to Office 365 before doing the bulk migrations later. I am a global administrator on the Office 365 instance.

Referencing the following articles https://technet.microsoft.com/en-ca/library/mt203923.aspx and https://blogs.technet.microsoft.com/nishants/2015/07/18/using-windows-powershell-cmdlets-for-sharepoint-online-o365spo-migration/), the following PowerShell script was written:

############################################################################################# # Script to migrate all OneDrive for Business users from on premise to the cloud ############################################################################################# $ErrorActionPreference = "Stop" #region Constants

$adminSite = "https://XXXXXXX-admin.sharepoint.com" $adminUser = "name@XXXXXXX.com" $csvPath = "C:\OD4BMigration\OD4BUsers.txt" $onPremExportPath = "C:\OD4BMigration\SPOnPremExport\" $spoPackagePath = "C:\OD4BMigration\SPOMigrationPackage\" $docLibName = "Documents" $accountName = "XXXXXXX" $accountKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" #endregion # Connect to SPO Service $credentials = (Get-Credential $adminUser) Connect-SPOService -Url $adminSite -credential $credentials Write-Host "Starting Migration" -ForegroundColor Green Import-Csv $csvPath | foreach { $dateStamp = $(get-date -f yyyy-MM-dd-HH:mm:ss).replace(":","-") $sourceOD4B = $_.SourceOD4B $targetOD4B = $_.TargetOD4B $username = $_.Username $sourceFiles = $onPremExportPath + $username + "-" + $dateStamp $targetPackage = $spoPackagePath + $username + "-" + $dateStamp $docLibNameSPO = "/" + $docLibName Write-Host "From: " $sourceOD4B Write-Host "To: " $targetOD4B #$site = Get-SPOSite -Identity $targetOD4B #Set-SPOUser -Site $site.Url -LoginName $adminUser -IsSiteCollectionAdmin $true Write-Host "" Write-Host "Exporting SPWeb" Export-SPWeb ` -Identity $sourceOD4B ` -ItemUrl $docLibName ` -Path $sourceFiles ` -NoFileCompression -IncludeVersions All #-IncludeUserSecurity Write-Host "" Write-Host "Converting to SP Migration Target Package" ConvertTo-SPOMigrationTargetedPackage ` -SourceFilesPath $sourceFiles ` -SourcePackagePath $sourceFiles ` -OutputPackagePath $targetPackage ` -TargetWebUrl $targetOD4B ` -TargetDocumentLibraryPath $docLibNameSPO ` -Credentials $credentials $filePrefix = $username + "-" + $dateStamp + "-" $fileContainer = $filePrefix + "migration-files" $packageContainer = $filePrefix + "migration-package" $azureQueueName = $filePrefix + "migration-queue" Write-Host "" Write-Host "Prepare to upload the data to the Azure Blob Containers" $azurelocations = Set-SPOMigrationPackageAzureSource ` -SourceFilesPath $sourceFiles ` -SourcePackagePath $sourceFiles ` -FileContainerName $fileContainer ` -PackageContainerName $packageContainer ` -AccountName $accountName ` -AccountKey $accountKey ` -AzureQueueName $azureQueueName # Display Azure storage source $azurelocations | fl Write-Host "" Write-Host "Submit the migration job to transfer the data" Submit-SPOMigrationJob ` -TargetWebUrl $targetOD4B ` -MigrationPackageAzureLocations $azurelocations ` -Credentials $credentials Write-Host "" Write-Host "Check the migration job status" Get-SPOMigrationJobStatus -TargetWebUrl $targetOD4B -Credentials $credentials Write-Host "" #Set-SPOUser -Site $site.Url -LoginName $adminUser -IsSiteCollectionAdmin $false Disconnect-SPOService } Write-Host "Submitted Migration Job" -ForegroundColor Green

Once the script is run in the SharePoint Online Management Shell, the migration job is submitted and shows as queued:

JobId              : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
JobState           : Queued
Context            : Microsoft.SharePoint.Client.ClientContext
Tag                :
Path               :
ObjectVersion      :
ServerObjectIsNull : False
TypedObject        : Microsoft.SharePoint.Client.SPMigrationJobStatus

However subsequently there is an error when importing the migration files due to the following error which can be seen in the migration package log file in the Azure blob container via the Microsoft Azure Storage Explorer:

[11/15/2016 12:17:32 PM] [Progress] Starting content import.
[11/15/2016 12:17:32 PM] [Progress] De-Serializing Objects to Database.
[11/15/2016 12:17:33 PM] [Progress] Downloaded Manifest.xml: SnapShotTime == ; MD5 == vnuRiXY+hIxvhnkJKvCqDA==; Size == 185036 bytes
[11/15/2016 12:17:34 PM] [FatalError] [-2146231999] [System.Xml.Schema.XmlSchemaValidationException] [The 'ObjectType' attribute is invalid - The value 'SPSite' is invalid according to its datatype 'urn:deployment-manifest-schema:SPObjectType' - The Enumeration constraint failed.] 
*** Inner exception:
[-2146231999] [System.Xml.Schema.XmlSchemaException] [The Enumeration constraint failed.] 
[11/15/2016 12:17:34 PM] [Debug]    at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(XmlSchemaValidationException e, XmlSeverityType severity)

Any thoughts on what the issue may be and perhaps how to resolve this error?

Thanks,

Rehan

Search not working: could not establish trust relationship

$
0
0

Hello -

For some reason, searches from our site no longer works.   Users are getting this error:

Search has encountered a problem that prevents results from being returned. If the issue persists, please contact your administrator

I checked the Search Service Application and found the following system status:

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

We're using an internal http site and never had to set up any certificates or trust relationships for this specific site.   Any suggestions?  thanks

--------------------------------------------------------------------------------------------------------------------------------

EDIT:   Looks like we're running into similar issue as this:

https://gai3kannan.wordpress.com/2015/04/15/a-failure-was-reported-when-trying-to-invoke-a-service-application-endpointfailure-solution-step-by-step/

Some event log errors that we are seeing:

A failure was reported when trying to invoke a service application: EndpointFailure
Process Name: OWSTIMER
Process ID: 6776
AppDomain Name: DefaultDomain
AppDomain ID: 1
Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:32395cfe47e9465fb607e69ebf3eb1c8#authority=urn:uuid:371d58b9859d4033b93df5e9e0664ad0&authority=https://spapp01:32844/Topology/topology.svc
Active Endpoints: 1
Failed Endpoints:1
Affected Endpoint: http://spapp01:32843/32395cfe47e9465fb607e69ebf3eb1c8/SearchService.svc

Also found the SSL error on the app server:

An operation failed because the following certificate has validation errors:

Subject Name: CN=* C=US
Issuer Name: CN=DigiCert SHA2 High Assurance Server CA, OU=www.digicert.com, O=DigiCert Inc, C=US
Thumbprint:

Errors:

 SSL policy errors have been encountered.  Error code '0x2'..


Excel Service failed to download chart or image SharePoint 2013

$
0
0

Hi i can't get my charts from the excel file, when I open on the browser, i followed these instructions, but no success. This have any solution, but not the one, that makes me create a new chart on the excel file.


1.   Go to central Administration->Application management->manage service applications->Excel services application->Trusted File Locations.
2.   Edit the Trusted File Location, change Maximum Chart or Image Size to 50 and Maximum Concurrent Queries Per Session to 50.
3.   Go to Global Settings, change Memory Cache Threshold to 95


Is using Force atribute with install-spsolution is a good practice?

$
0
0

Sometimes SharePoint throws some weird errors while installing solution.

To fix this, we could enter this server and restart <g class="gr_ gr_325 gr-alert gr_spell gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="325" id="325">timerjob</g> for example.

There is lot of different errors, but most of them could be <g class="gr_ gr_370 gr-alert gr_spell gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="370" id="370">skiped</g> by using parameter -force

Is it a good practice or should we do everything just not to use this -force parameter with "install-spsolution" ?

SP 2013 Okta Errors

$
0
0

After installing Okta claim provider in SP 2013 the create publishing site broke

Any ideas? Okta support has no idea

Thanks


jcd

Moving Database for SharePoint 2013

$
0
0

Hi All,

Need your help and guidance on issue I came across today. SharePoint 2013 environment was configured with SQL Cluster, all good. cluster was configured with 2 servers SQLA and SQLB  . so SQLCluster = SQLA+SQLB.

After some time for some reason when SQLA went down whole SharePoint farm went down. I notice that in the manage content database , database upgrade page or any place where it shows database name, it is showing SQLA , instead of SQLCluster. and that make sense when SQLA went down whole Farm went down.

Now to fix this and point every thing in the farm towards SQL cluster , for

  • Web Applications :

I can dismount and mount database  again using cluster name with database server parameter and it will fix it.

  • Service Applicaitons :

Is there wasy way to move all service applications related databases from SQLA to SQLCluster ??

  • Config Database :

Is there a way to move config database from pointing to SQLA to SQL Cluster ? I am trying not to run the config wizard as it might cause other issues.

Any help/thoughts on moving DBs for service applications and config database?

Thanks in advance!

Logging error to custom file in powershell script

$
0
0

Hi,

I am trying to create a error logger file, which will contain the list of errors when the powershell was run.

I tried the below code, but it is not working:

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
clear
foreach ($user in $SPWeb.AllUsers){
$SPWeb = Get-SPWeb "Site collection"
#other powershell commands

 Set-SPUser -Identity $user -SyncFromAD -Web site collection -EA 0 -EV Err
    Write-Host "Updated for User: $user"

        if ( $Err )
        {
         ConfigureLogger
         LogError $Err[0].Exception
         Write-Host "Not updated for user : $user" -ForegroundColor DarkCyan $_.Exception
        }

}

$SPWeb.Dispose()


function LogError($message)
{
     $date= Get-Date
     $outContent = "[$date]`tError`t`t $message`n"
     Add-Content "Log\$Script:logFile" $outContent
}

function ConfigureLogger()
{

     if((Test-Path Log) -eq $false)
     {
           $LogFolderCreationObj=New-Item -Name Log -type directory
     }

     $Script:logFile="UpdateErrorScripts.log"

     Add-Content "Log\$logFile" "Date`t`t`tCategory`t`tDetails"
}

The line is hitting "ConfigureError" function, but giving error as :

ConfigureLogger : The term 'ConfigureLogger' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At D:\Test\TestError.ps1:33 char:10+          ConfigureLogger+          ~~~~~~~~~~~~~~~+ CategoryInfo          : ObjectNotFound: (ConfigureLogger:String) [], CommandNotFoundException+ FullyQualifiedErrorId : CommandNotFoundException

LogError : The term 'LogError' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At D:\Test\TestError.ps1:34 char:10
+          LogError $Err[0].Exception+          ~~~~~~~~+ CategoryInfo          : ObjectNotFound: (LogError:String) [], CommandNotFoundException+ FullyQualifiedErrorId : CommandNotFoundException

How to fix this?

Thanks

Multi-Tenant Metadata Database Backup

$
0
0

Hi all;

I want make a backup of a site collection that included some term store data , ( my source SharePoint environment working in multi-tenant mode and target is normal)

my question is , can I use <Export-SPMetadataWebServicePartitionData> to move term stores data from source farm to target farm ?



Saeid.ADZ

Viewing all 21070 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>