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

PSConfig error whilst running Config Wizzard

$
0
0

Hi there, I've just installed the October 2018 CU onto our Test environment, but cannot run Config Wizard to complete the installation. I have 3 servers in the farm, and 2 of them have completed successfully. Here is the error i'm getting - 

10/20/2018 09:46:48  9  ERR                Failed to upgrade SharePoint Products.
An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown.  Additional exception information: Action 4.0.17.0 of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed.
Microsoft.SharePoint.Upgrade.SPUpgradeException: Action 4.0.17.0 of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.SharePoint.Upgrade.EnsureSharePointSearchExpressionBuilderWebConfig.EnsureEntry(XmlDocument webConfig)
   at Microsoft.SharePoint.Upgrade.EnsureSharePointSearchExpressionBuilderWebConfig.Upgrade()
   at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
   --- End of inner exception stack trace ---
   at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.Upgrade(Boolean recursively)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.Upgrade(Boolean recursively)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPManager.InplaceUpgradeAdministrationWebApplication()
   at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

I've tried many different fixes online from this forum and a few others. I haven't seen anyone with this exact error in their logs. Has anyone seen this one before? I'm running SharePoint 2013 Enterprise by the way. 

Thanks.


certificate error -- is this necessary?

$
0
0

An error occurred while signing: Failed to sign bin\Release\app.publish\RecordViewer.exe. SignTool Error: No certificates were found that met all the given criteria.

i've got an old 2010 VB project I'm trying to bring back to life in 2017 and this is the error I'm getting.

the project does not go on the internet. it does not interact with any network. why is this error popping up and blocking everything when there is no security issue or encryption going on?

BadButBit


my code is perfect until i don't find a bug

Sharepoint Online - New-WebServiceProxy not authenticating

$
0
0

Hi all,

I'm working on a script to update data in User Profiles.  The normal sync chain for Office 365 doesn't permit customization the way you can do on-site so the Support folks provided me with a script to update user data directly from the on-site AD.

The script works but uses GetAuthenticatedCookiesto get the authentication cookies and stuff it into the New-WebServiceProxy object via a CookieContainer.  This works of course but requires a login through a pop-up.  Not useful to a timed background job.

My goal is to replace the popup with passed PScredentials.  The approach that I landed on was to simply use the -credential option of New-WebServiceProxy.  I swear it was working last night - had a few test runs and all was good.  Went back this morning to tidy up comments, did one last check, and GetUserProfileByIndex was throwing an exception that I had attempted to perform an unauthorized operation.  I'm baffled!  I am very (very!) new to PowerShell so perhaps this is just a newbe thing.  Maybe credentials were somehow being stored in my environment through something else I had tried and disappeared when I closed ISE. 

I've also noted that passing bad credentials, or allowing the popup and typing in jibberish, does not result in an an exception at the New-WebServiceProxy declaration.

So the question is "Should I be able to use PScredentials in an Office365 environment?".  I'm wondering if they might have restrictions in the claims based authentication world.

the script fragment:

# Local parameters
$userName = "admin user at tenant.onmicrosoft.com"
$password = "somepassword"
$siteAdminUrl ="tenant-admin.sharepoint.com"
#load required assemblies
$script_folder = (Split-Path -Parent $MyInvocation.MyCommand.Path)
[void][System.Reflection.Assembly]::LoadFile($script_folder + "\Microsoft.SharePoint.Client.dll")
[void][System.Reflection.Assembly]::LoadFile($script_folder + "\Microsoft.SharePoint.Client.Runtime.dll")
[void][System.Reflection.Assembly]::LoadFile($script_folder + "\ClaimsAuth.dll")
# Path to user profile service web service - ups
$ups_url = $siteAdminUrl.TrimEnd('/') + "/_vti_bin/UserProfileService.asmx";
# Put username and password into a standard credential object
$securePassword = ConvertTo-SecureString $password –AsPlainText –force
$O365Credential =  New-Object System.Management.Automation.PsCredential($username, $securePassword)
# And set up the service.  Providing credentials skips the login popups
#$ups_ws = New-WebServiceProxy -Uri $ups_url -Credential $O365Credential
$ups_ws = New-WebServiceProxy -Uri $ups_url -Credential $userName
$ups_indexresult = $ups_ws.GetUserProfileByIndex(-1)

Backup-SPFarm is raising the following error "FatalError: Backup failed for Object Crawl-0"

$
0
0

I have sharepoint 2013 on-premises farm. and i run the below command to do a full farm backup, as follow:-

$ssa = Get-SPEnterpriseSearchServiceApplication -Identity "Search Service Application"
Suspend-SPEnterpriseSearchServiceApplication -Identity $ssa
Backup-SPFarm -Directory  \\****fileserv111\FarmBackUp\ -BackupMethod full -BackupThreads 10 -Force

but the farm backup failed with this error:-

17/10/2018 20:45:20] Finished with 0 warnings.
[17/10/2018 20:45:20] Finished with 12 errors.
[17/10/2018 20:45:20] FatalError: Backup failed for Object Crawl-0 (C: on ourservername) failed in event OnBackupComplete. For more information, see the spbackup.log or sprestore.log file located in the backup directory.
[17/10/2018 20:45:20] -------------------------------------------------

now i remember that i received this error in the past, and at that time i found that the problem is related if the search service is running while i am doing the farm backup. so after that i added the below code before starting the actual farm back-

$ssa = Get-SPEnterpriseSearchServiceApplication -Identity "Search Service Application"
Suspend-SPEnterpriseSearchServiceApplication -Identity $ssa

and since then i did not receive this error again .. but today this error came back.. so can anyone adivce on this please?

Thanks

Restrict upload of confedential documents

$
0
0

Hi.

Is there a way to implement DLP rules in SharePoint online to restrict upload of confedential documents (Labeled using AIP)?

Working with multiple site collection

$
0
0

Hi,

   I have 250 GB data with me in SQL Server. The server is going to be decommissioned. Our organization have 20GB data storage subscription for sharepoint online. So my requirement is to store the data in sharepoint.

Is it possible to store 250 GB data to multiple site collection(20GB split up). It it is possible , I have to create around 13 sites under one root collection..???. Is it practical?

If it is possible What is the risk factor?

Could ypou please advise...??


sajitha


Any Alternative for Test, Dev, UAT for SharePoint Online

$
0
0

Dear All,

  • We are having huge Content DB of SharePoint 2013 and we convinced the features of SharePoint Online and it's advantages and our client had given the signal to move all the solutions for SharePoint Online.
  • As we all knew for SharePoint On-premise solutions we do have Dev, TEST , UAT Environments were we implement and validate the requirements before we take ahead to production
  • But how do we test our solution on SharePoint Online including permissions and all other features(Permissions).

SP Assest

Trial editions and licensed editions of sharepoint project server and office web apps products cannot be installed on the same server

$
0
0

Hi!

I am re-installing SharePoint 2013 on my system. While entering the trial key, I am getting the error as: "Trial editions and licensed editions of sharepoint project server and office web apps products cannot be installed on the same server". I have already deleted the registration details from the registry. After that, I rebooted my system. But, still I am getting an error as above. Please help me out to resolve this issue.

Thanks and regards,

Purushottam Patil



Getting an error : "Command line syntax error. Specify /? for help. Unrecognized command line argument.."

$
0
0

Hi!

I am trying to install app fabric setup (WindowsServerAppFabricSetup_x64) for installing SharePoint 2013. I am using Windows Server 2012 R2. For installing app fabric, I am using a powershell commmad as: "PS C:>.\WindowsServerAppFabricSetup_x64.exe /i CacheClient","CachingService","CachingAdmin /gac".

I am getting error as: "Command line syntax error. Specify /? for help. Unrecognized command line argument.."

I don't know the exact reason behind this problem. Kindly, help me to resolve this issue.

Thanks,

Purushottam Patil

powershell_error



'Open with Explorer' option missing from Ribbon

$
0
0

Hello -

I have a user here who has full control on a document library, however, when he goes to the Library tab, there is no option for Open with Explorer.  See image.   Not sure why this went missing all of a sudden.  Any ideas?  thanks.

Upgraded SQL 2014 to SQL 2016, then break SSRS reports

$
0
0

Hi 

We have a share point 2013 with SQL server 2016,

Receently we upgraded SQL 2014 to 2016 , then issue occurred it was unable to open any .RDL file, getting below error

"

  • The report server cannot process the report or shared dataset. The shared data source '..' for the report server or SharePoint site is not valid. Browse to the server or site and select a shared data source. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidDataSourceReferenceException: The report server cannot process the report or shared dataset. The shared data source '..' for the report server or SharePoint site is not valid. Browse to the server or site and select a shared data source.

"

after that we installed report builder and created a new list in SharePoint site and uploaded .rdl file, then we got below error.

"The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' which cannot be upgraded."

My question , is it possible to fix above error with out upgrading the share point 2013 to SharePoint 2016?

Thank in advance

Ramesh


Thanks Ramesh

SharePoint 2013 Sync Task with Microsoft Outlook: Sync Disabled due to error

$
0
0

Hi Every,

Forgive me if I am unable to explain my problem in a proficient way. My problem is When I click on "Connect to outlook" It say sync to exchange is disabled due to errors.

I did a lot of googling but failed to find the solution. Site inboxes can be configured for a team-site. It means o-authentication is working between SharePoint 2013 and Exchange 2013. When I see partner application It gives me only one partner application i.e. SharePoint. I have two separate web applications. One hosts corporate team site collection and other hosts mysite. Search is working although with some errors in log. These are regarding errors in Parser application while indexing a specific document. Search Results are returning so it looks Search Application is working. MyTask list is showing me the tasks assigned from a team site therefor Work Management Application is working as well. The ULS log shows following error

10/15/2018 14:38:18.02OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Portal ServerWork Management Serviceahw6qMediumSuccessfully loaded the personal site 

for user 1d854014-d803-4cbe-ae3d-c833cf31fe19 at url https://mysite.mydomain.local/personal/Emp_Name and id f4e1118a-3cb3-4ab9-8619-f2bde6e9b6c9.b62cf029-48f2

-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.02OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Portal ServerWork Management ServiceajsciMediumTrying to start Exchange Sync for user 

with id 1d854014-d803-4cbe-ae3d-c833cf31fe19 b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.06OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Portal ServerWork Management Data ModelaimqeMediumAbout to execute query on 1 

logical tablesb62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.08OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Portal ServerWork Management Data Modelah32wMediumRead singleton item of type 

SPRefreshStateFieldManager from list successfully. Id is 1b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.10OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint FoundationDev EventsajbpnMediumSet EventFiringDisabled to [True].  Stack trace: [   

at Microsoft.Office.Server.WorkManagement.DataModel.SingletonCache`1.Update(TCore toWrite)     at 

Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.<>c__DisplayClass5.<>c__DisplayClass7.<TryCreateRefreshJob>b__4(GlobalRefreshState refreshState)   

  at Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.TryCreateJobCore(GlobalRefreshState refreshState, RefreshType type, Nullable`1 

minimumTimeBetweenRefreshes, Func`2 tryWriteUpdate)     at 

Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.<>c__DisplayClass5.<TryCreateRefreshJob>b__3()     at 

Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.TryCreateRefreshJob(RefreshType type, Nullable`1 minimumTimeBetweenRefreshes)     at 

Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.RefreshJobManager.TryCreateRefreshJob()     at 

Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.FarmRefreshJob.TryCreateRefreshJob(RefreshJobManager jobManager)     at 

Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.MultiFarmRefreshManager.BeginFarmLevelRefresh(RefreshJobManager jobManager)     at 

Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.MultiFarmRefreshManager.BeginMultiFarmRefresh(RefreshJobManager jobManager)     at 

Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.RefreshManager.BeginRefreshForExchange()     at 

Microsoft.Office.Server.WorkManagement.WorkManagementServiceApplication.<>c__DisplayClass4.<BeginExchangeSyncActingAsCurrentUser>b__3()     at 

Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0()     at 

Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWmaContext(Action toRun, WmaContextType allowedContexts)     at 

Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.<>c__DisplayClass21.<RunSyncForUser>b__20()     at 

Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.ExecuteWithImpersonation(Byte[] userToken, Guid accountUid, Action toRun)   

  at Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.RunSyncForUser()     at 

Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0()     at 

Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWmaContext(Action toRun, WmaContextType allowedContexts)     at 

Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteAndEnsureContextValid(Action toRun, TContextState serviceUserState, String actionName)     

at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInSpContext(ThreadParams threadParams)     at 

Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInDiagnosticScope(ThreadParams threadParams)     at 

Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.Run(Object tParams)     at System.Threading.ExecutionContext.RunInternal(ExecutionContext 

executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, 

ContextCallback callback, Object state, Boolean preserveSyncCtx)     at 

System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()     at System.Threading.ThreadPoolWorkQueue.Dispatch()  ]

b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.14OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint FoundationDev EventsajbpnMediumSet EventFiringDisabled to [False].  Stack trace: [   

at Microsoft.Office.Server.Utilities.EventReceiverUtility.DisabledEventFiringScope.Dispose()     at 

Microsoft.Office.Server.WorkManagement.DataModel.SingletonCache`1.Update(TCore toWrite)     at 

Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.<>c__DisplayClass5.<>c__DisplayClass7.<TryCreateRefreshJob>b__4(GlobalRefreshState refreshState)   

  at Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.TryCreateJobCore(GlobalRefreshState refreshState, RefreshType type, Nullable`1 

minimumTimeBetweenRefreshes, Func`2 tryWriteUpdate)     at 

Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.<>c__DisplayClass5.<TryCreateRefreshJob>b__3()     at 

Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.TryCreateRefreshJob(RefreshType type, Nullable`1 minimumTimeBetweenRefreshes)     at 

Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.RefreshJobManager.TryCreateRefreshJob()     at 

Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.FarmRefreshJob.TryCreateRefreshJob(RefreshJobManager jobManager)     at 

Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.MultiFarmRefreshManager.BeginFarmLevelRefresh(RefreshJobManager jobManager)     at 

Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.MultiFarmRefreshManager.BeginMultiFarmRefresh(RefreshJobManager jobManager)     at 

Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.RefreshManager.BeginRefreshForExchange()     at 

Microsoft.Office.Server.WorkManagement.WorkManagementServiceApplication.<>c__DisplayClass4.<BeginExchangeSyncActingAsCurrentUser>b__3()     at 

Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0()     at 

Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWmaContext(Action toRun, WmaContextType allowedContexts)     at 

Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.<>c__DisplayClass21.<RunSyncForUser>b__20()     at 

Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.ExecuteWithImpersonation(Byte[] userToken, Guid accountUid, Action toRun)   

  at Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.RunSyncForUser()     at 

Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0()     at 

Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWmaContext(Action toRun, WmaContextType allowedContexts)     at 

Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteAndEnsureContextValid(Action toRun, TContextState serviceUserState, String actionName)     

at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInSpContext(ThreadParams threadParams)     at 

Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInDiagnosticScope(ThreadParams threadParams)     at 

Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.Run(Object tParams)     at System.Threading.ExecutionContext.RunInternal(ExecutionContext 

executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, 

ContextCallback callback, Object state, Boolean preserveSyncCtx)     at 

System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()     at System.Threading.ThreadPoolWorkQueue.Dispatch()  ]

b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.19OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Portal ServerWork Management Data ModelaimqeMediumAbout to execute query on 1 

logical tablesb62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.21OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Portal ServerExchange Task SynchronizationajjucMedium[Exchange Sync 1d854014-d803-

4cbe-ae3d-c833cf31fe19 84] EwsRequestHttpHeaders: <Trace Tag="EwsRequestHttpHeaders" Tid="56" Time="2018-10-15 09:38:18Z">  POST /EWS/Exchange.asmx HTTP/1.1 Content-

Type: text/xml; charset=utf-8 Accept: text/xml User-Agent: SharePoint/15/Work Management (ExchangeServicesClient/15.00.0516.014) Accept-Encoding: gzip,deflate 

client-request-id: b62cf029-48f2-4299-9edf-2a14d7d8dba6 Authorization: Bearer    </Trace> b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.22OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Portal ServerExchange Task Synchronizationaje6lMedium[bucketHash:61B8E243] 

[Exchange Sync 1d854014-d803-4cbe-ae3d-c833cf31fe19 84] Exception when validating connection for user. Exception details follow. Type: 

'Microsoft.Exchange.WebServices.Data.ServiceRequestException', message: 'The request failed. The request was aborted: The request was canceled.' and stack trace:    

at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)     at 

Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)     at 

Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()     at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder[TFolder](FolderId 

folderId, PropertySet propertySet)     at Microsoft.Office.Server.WorkManagement.Internal.ExchangeServices.TestExchangeConnection().b62cf029-48f2-4299-9edf-

2a14d7d8dba6
10/15/2018 14:38:18.22OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Portal ServerExchange Task Synchronizationaje42Medium[Exchange Sync 1d854014-d803-

4cbe-ae3d-c833cf31fe19 84] The url in the cache is not valid for for user. We are trying to update the EWS url.b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Server SearchExchange Integrationah9c0MediumOAuth Exception: Authentication realm 

value must be specified either in the request or in the challenge.b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Server SearchExchange Integrationah9c1MediumServiceRequestException: The request 

failed. The request was aborted: The request was canceled.b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Server SearchExchange IntegrationaiwxiMedium

SearchServiceApplication::ExchangeAdapter::SharePoint CorrelationId:; Exchange Request Id:; Diagnostic Info:b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Server SearchExchange Integrationai1piMediumAutodiscover Diagnostics EWS Client 

Version: 15.00.0516.014b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint FoundationMonitoringb4lyHighLeaving Monitored Scope ([Exchange Sync 1d854014-d803

-4cbe-ae3d-c833cf31fe19 84] InitExchangeServiceForUser). Execution Time=104.3212b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24OWSTIMER.EXE (0x9DA8)0xB7B0SharePoint Portal ServerExchange Task Synchronizationaje61MediumFailed to connect to exchange 

for user: 1d854014-d803-4cbe-ae3d-c833cf31fe19 b62cf029-48f2-4299-9edf-2a14d7d8dba6

It seems there is some kind of authorization barrier. as there an exception rises when user is being authenticated. "Exception when validating connection for user." Any help will be a great blessing for me.

 


Muhammad Masood



User Profile Synchronization Service stuck on starting

$
0
0

Hi all,

I am upgrading Sharepoint Server 2010 to Sharepoint Server 2013 using https://technet.microsoft.com/en-us/library/jj839719.aspx.

When I start the User Profile Synchronization Service it is stuck on starting and in the Sharepoint log I get the following:

PartitionPropertiesCache.RefreshPartitionProperties: Encountered error: System.InvalidOperationException: Operation is not valid due to the current state of the object.    
 at Microsoft.Office.Server.Administration.UserProfileApplication.PartitionPropertiesCache.get_SqlSession()    
 at Microsoft.Office.Server.Administration.UserProfileApplication.PartitionPropertiesCache.RefreshPartitionProperties()

Kind regards,

Dean Savović


HTH, Regards, Dean Savović, www.comminus.hr/en/

link images in an asset library to document

$
0
0

Hi,

We would like to have an image library which contains images which are linked to document files, most likely Word documents. These documents would be photography consent forms which would have been signed by people getting their photo taken. What is the best way to do this?

SharePoint 2013 - Get Preview Image Height and Width Using JSLInks

$
0
0

Hello Community,

I'm working in SharePoint 2013, creating a custom view of an image library using JSLinks. My problem is I need to get the height and with of the preview image using JSLinks. Has anyone else done this? Please provide guidance ad code samples.

Thanks!

Tom


Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award - Linked-In - SharePoint Gypsy




Forefront Identity Manager will not start

$
0
0

Good Afternoon SharePoint pros. I have been battling with this for over a week. I cannot get my User Profile Synchronization service to start. I have done everything I can think of to my farm including following the wonderful post at http://www.harbar.net/articles/sp2010ups.aspx . Still my UPS won't start. The problem is that my Forefront Identity Manager service does not start.

I checked and I have the correct permissions under Local Security Policy, Domain Replicate Directory Changes permissions, my farm account is a local admin, I have re-created the User Profile Service Application from scratch

When I reboot the server and the FIM service tries to start I get the following entry in my Application Log:

ERROR 1

.Net SqlClient Data Provider: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
   at Microsoft.ResourceManagement.Data.DatabaseConnection.Open(SqlConnection connection)
   at Microsoft.ResourceManagement.Data.DatabaseConnection.Open(DataStore store)
   at Microsoft.ResourceManagement.Data.TransactionAndConnectionScope..ctor(Boolean createTransaction, IsolationLevel isolationLevel, DataStore dataStore)
   at Microsoft.ResourceManagement.Data.TransactionAndConnectionScope..ctor(Boolean createTransaction)
   at Microsoft.ResourceManagement.Data.DataAccess.RegisterService(String hostName)
   at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RegisterService(String hostName)
   at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.Initialize()
   at Microsoft.ResourceManagement.WebServices.ResourceManagementServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
   at Microsoft.ResourceManagement.WindowsHostService.OnStart(String[] args)

ERROR  2

The Forefront Identity Manager Service could not bind to its endpoints.  This failure prevents clients from communicating with the Web services.

A most likely cause for the failure is another service, possibly another instance of Forefront Identity Manager Service, has already bound to the endpoint.  Another, less likely cause, is that the account under which the service runs does not have permission to bind to endpoints.

Ensure that no other processes have bound to that endpoint and that the service account has permission to bind endpoints.  Further, check the application configuration file to ensure the Forefront Identity Manager Service is binding to the correct endpoints.

ERROR 3

Service cannot be started. System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
   at Microsoft.ResourceManagement.WindowsHostService.OnStart(String[] args)
   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

ERROR 4

.Net SqlClient Data Provider: 2 :  : System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at Microsoft.ResourceManagement.Data.DatabaseConnection.Open(SqlConnection connection)

When I try to start the Forefront Identity Manager Synchronization Service I get the following errors in the System Log:

The server encountered an unexpected error and stopped.
 
 "BAIL: MMS(17296): sql.cpp(252): 0x80040e4d 
BAIL: MMS(17296): storeimp.cpp(234): 0x80040e4d 
ERR: MMS(17296): server.cpp(373): Failed to connect to the database  on SPServer (why is this not my SQL Server name, I don't know! Is listing my SharePoint server name. This is dev, so it lives in a single server plus sql on a separate box)
BAIL: MMS(17296): server.cpp(374): 0x8023043f (Service start up has failed.  A connection to SQL Server could not be established because of an authentication failure.)
BAIL: MMS(17296): server.cpp(3860): 0x8023043f (Service start up has failed.  A connection to SQL Server could not be established because of an authentication failure.)
BAIL: MMS(17296): service.cpp(1539): 0x8023043f (Service start up has failed.  A connection to SQL Server could not be established because of an authentication failure.)
ERR: MMS(17296): service.cpp(988): Error creating com objects. Error code: -2145188801. This is retry number 0.
BAIL: MMS(17296): clrhost.cpp(283): 0x80131022 
BAIL: MMS(17296): scriptmanagerimpl.cpp(7670): 0x80131022 
BAIL: MMS(17296): server.cpp(251): 0x80131022 
BAIL: MMS(17296): server.cpp(3860): 0x80131022 
BAIL: MMS(17296): service.cpp(1539): 0x80131022 
ERR: MMS(17296): service.cpp(988): Error creating com objects. Error code: -2146234334. This is retry number 1.
BAIL: MMS(17296): clrhost.cpp(283): 0x80131022 
BAIL: MMS(17296): scriptmanagerimpl.cpp(7670): 0x80131022 
BAIL: MMS(17296): server.cpp(251): 0x80131022 
BAIL: MMS(17296): server.cpp(3860): 0x80131022 
BAIL: MMS(17296): service.cpp(1539): 0x80131022 
ERR: MMS(17296): service.cpp(988): Error creating com objects. Error code: -2146234334. This is retry number 2.
BAIL: MMS(17296): clrhost.cpp(283): 0x80131022 
BAIL: MMS(17296): scriptmanagerimpl.cpp(7670): 0x80131022 
BAIL: MMS(17296): server.cpp(251): 0x80131022 
BAIL: MMS(17296): server.cpp(3860): 0x80131022 
BAIL: MMS(17296): service.cpp(1539): 0x80131022 
ERR: MMS(17296): service.cpp(988): Error creating com objects. Error code: -2146234334. This is retry number 3.
BAIL: MMS(17296): service.cpp(1002): 0x80131022 
Forefront Identity Manager 4.0.2450.51"

Any help is appreciated, again I have tried the steps here: http://www.harbar.net/articles/sp2010ups.aspx 

Thank you!
OT


OT

Hosted named site collection for an existing web application site

$
0
0

Hi 

I was going throw this article https://docs.microsoft.com/en-us/sharepoint/administration/host-named-site-collection-architecture-and-deployment and it explains more on creating new web application and setup.

In my environment, I have a web application, root site collection already. I just want to create a new site collection under the same webapp with HNSC. I executed the powershell command which created the HNSC based site collections successfully. I can see from central admin that the hosted named site collection created under view all site collections.

New-SPSite -url $SiteURL -HostHeaderWebApplication $HostURL -owneralias $OwnerID -owneremail $OwnerMail -Template $TemplateVal 

However when I tried to access http://hnsc.portal.com it redirects "Page cant be displayed". I then added a host entry in the SP server xxx.xxx.xxx.xxx hnsc.portal.com  and it redirects "website not found error"

Will you please suggest me what configurations I am missing?

Is there any IIS binding or Alternate access mapping I should configure? Does it require DNS entry in domain? Will you please provide me steps?

Thanks

Shri

Secure store issue

$
0
0

I am unable to start the secure store. Below is the what I see in the windows event viewer.

 The Secure Store Service application Secure Store Service is not accessible. The full exception text is: An error occurred while receiving the HTTP response to https://XYZ:344/bbbbbbbbbbbbbbbbbbbbbbbbb/SecureStoreService.svc/https. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.

ULS logs error : 

Logging unknown/unexpected client side exception: CommunicationException. This will cause this application server to be removed from the load balancer queue. Exception: System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to https://xxxxxxxxxxx/SecureStoreService.svc/https. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm    
 at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface SecModule, String package, CredentialUse intent, SecureCredential scc)   
 at System.Net.Security.SecureChannel.AcquireCredentialsHandle(CredentialUse credUsage, SecureCredential& secureCredential)   
 at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& thumbPrint)    
 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)    
 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)    
 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)    
 at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)   

Verified that secure store service is running I restarted  Webservices root application pool . Did IIS reset

I recreated the secure store application  but still I see the same error.  


But nothing seems to help . I still see "Cannot complete this action as the Secure Store Shared Service is not responding. Please contact your administrator." when I click on secure store service app in central admin->Service application and above error in windows logs. 

Please help

Environment:

SharePoint 2013, win 2012


@R




Server-Based integration issue with CRM and SharePoint using AD security group

$
0
0

Hi Guys,

Is this is a limitation of server-based integration of CRM and SharePoint?

It seems that the Server-Based SharePoint Integration doesn't like AD Security Group as users in this group cannot see the documents in CRM but when i add each each user to the SharePoint group it works!

I have done the following:

  • UserProfileService is running
  • User Profiles and Security Groups are getting synced
  • Set "Load User Profile" property to True of STS Application pool

And this is the error found in ULS  if i did not add the user to SharePoint group

SPSecurityTokenServiceManager!EnsureSharePointLogonRequestClaims: InputIdentity doesn't contain a PrimarySid claim.

Any help on this on how to resolve this? Any other workaround aside for adding users which is not an option for us.

Thanks in advance

RupertM


Error:i have restored HNSC from PROD to Test after that getting access denied error

$
0
0

Hi,

I have restored prod site collection(HNSC) backup on my test environment.

After restore when i try access the site , i am getting below error.

please suggest

Access denied. You do not have permission to perform this action or access this resource.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: Microsoft.SharePoint.Client.ServerUnauthorizedAccessException: Access denied. You do not have permission to perform this action or access this resource.

Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Viewing all 21070 articles
Browse latest View live


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