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

wfsvc list is missing

$
0
0

This may be a Microsoft Tech Support call, but, giving it a shot here first.

Env: SharePoint 2013 on premise, 2 server farm (SP and DB). Not fully patched and updated (it's on the list to do). 5 Web Apps (including central admin and mysites). Multiple sites and site collections, lists, libraries.

About a week ago (from 9/10/19) I started getting calls about workflows failing "Failed on Start" "Workflow was canceled by System Account." Found lots of talk about workflows failing just like mine. Found this from developer support:

https://blogs.technet.microsoft.com/sharepointdevelopersupport/2015/03/11/failed-on-start-in-spd-workflow/

Thought okay, I'll check the hidden library. The link on how to nav to the library (kb/2273439) returns 404, eventually found this article about the hidden workflow library: https://blogs.technet.microsoft.com/sposupport/2017/10/13/troubleshooting-the-sharepoint-2013-workflow-hidden-library/

Give it a go, looking for the GUID of wfsvc and the url returns "List 'wfsvc' does not exist at the site..." Thinking this can't be good, I test against another of my web apps and it returns the expected information. Uh oh. So I get on PowerShell, grab the web (SP-Web), grab the lists, search for the list named 'wfsvc' and it doesn't show in the web app with the failing workflows. My PowerShell does show the list on the web app where workflows are working.

Poke around a bit more and find mention of running SQL on the dbs to do something with wfsvc - alarm bells go off - not messing with the tables via SQL. But then I'm thinking I can just query and see if it's in there, so I do a quick Select on dbo.AllLists looking for tp_title = 'wfsvc'. I find it in the db for the web app that is working fine, but, the web app where the workflows aren't launching there's no joy on the query, no rows returned. So now I know, close SQL and sigh in relief that I didn't trash the dbs.

But, now what? wfsvc seems to be gone from the web app. I tried turning off all the Workflow stuff in Site Collection Features then turning it back on, thinking that might recreate the list. I ran PSCONFIGUI on the server and let it run through what it wanted to run through (a repair cycle as I recall) and that ran through to completion. Maybe I didn't turn off enough stuff - Workflows, Three-state workflow, SharePoint 2007 Workflows (were never turned on!), Publishing Approval Workflow (wasn't turned on), Disposition Approval Workflow. Is there something in Central Admin to toggle? I don't see anything there except the Workflow Service Application, I don't see any controls under Service Apps for it, and I don't want to endanger the other web apps.

Thanks all,

Steven


configuration database connection is missing from registry

$
0
0

Hello team,

Our CA 2013 is not working anymore , we are getting lots of error:

when we open SharePoint configuration wizard and try to open configuration database we are getting below error:

"Failed to connect to the existing Server farm located at the specified database server and database name. The database name is not a valid configuration database"

we checked logs and we found again below error :

"The timer service could not initialize its configuration, please check the configuration database."

when we did the google for above error (error from log) it said to go to the : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB

Create a folder with that guid as the name in the \Config\ directory, then restart the Timer service.

(Reference article : https://social.technet.microsoft.com/Forums/lync/en-US/995e27ef-4584-4d0a-b5da-712f5656b00a/the-timer-service-could-not-initialize-its-configuration-please-check-the-configuration-database?forum=sharepointadminlegacy )

when we went to the mentioned path there is no ConfigDB under mentioned path.

Kindly help us on this .

Nothing is working in our server.

Your help would be appreciated! 

Br,

Abhi14


Abhi14

Chrome and OWA

$
0
0

Hi,

When you try with OWA, edit an Excel or PowerPoint file, Chrome blocks with processing at the bottom.
No worries with Word.

When you open a Chrome Developer Console, you see the following error with Microsoft Ajax :

Uncaught Sys.ArgumentException: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data
    at Function.Error.create (https://office.dcidf.inra.fr/x/_layouts/MicrosoftAjax.js?bn=269007570:5:2736)
    at Function.Error.argument (https://office.dcidf.inra.fr/x/_layouts/MicrosoftAjax.js?bn=269007570:5:2963)
    at Sys.Serialization.JavaScriptSerializer.deserialize (https://office.dcidf.inra.fr/x/_layouts/MicrosoftAjax.js?bn=269007570:5:50800)
    at i (https://office.dcidf.inra.fr/x/_layouts/Ewa.js?bn=269007570:2:260308)
    at Function.a.deserialize (https://office.dcidf.inra.fr/x/_layouts/Ewa.js?bn=269007570:2:260672)
    at _Ewa.$3o.$1nU (https://office.dcidf.inra.fr/x/_layouts/Ewa.js?bn=269007570:3:199096)
    at _Ewa.$3o.$1NY (https://office.dcidf.inra.fr/x/_layouts/Ewa.js?bn=269007570:3:199919)
    at Common.$9f.$1Td (https://office.dcidf.inra.fr/x/_layouts/MicrosoftAjax.js?bn=269007570:5:307)
    at Common.$4I.$19q (https://office.dcidf.inra.fr/x/_layouts/Ewa.js?bn=269007570:2:50180)
    at Common.$2Z.$16v (https://office.dcidf.inra.fr/x/_layouts/MicrosoftAjax.js?bn=269007570:5:307)

We have also erros in the events :

Nom de l’application défaillante Excelcnv.exe, version : 0.0.0.0, horodatage : 0x5cff8102
Nom du module défaillant : oart.dll, version : 6.3.9600.19464, horodatage : 0x5d6727f2
Code d’exception : 0xc0000135
Décalage d’erreur : 0x00000000000ecf30
ID du processus défaillant : 0x13f8
Heure de début de l’application défaillante : 0x01d5689f227d492f
Chemin d’accès de l’application défaillante : E:\Program Files\Microsoft Office Web Apps\ExcelServicesEcs\bin\Excelcnv.exe
Chemin d’accès du module défaillant: oart.dll
ID de rapport : 60382392-d492-11e9-80f6-005056a5f750
Nom complet du package défaillant : 
ID de l’application relative au package défaillant 

Any ideas ?

Powershell: How to delete a content type which is a part of application feature

$
0
0

Hi,

I have a feature which deploys 8 content type on activation. Now i want to remove one content type from my environment through powershell. I cannot deactivate the feature and remove it as all the remaining content type will also be removed by doing so. Is there a way that i can remove only one unused content type through powershell without affecting other content types?

Thanks,

Avni.Bhatt

Powershell to Loop Through Text File of URLs and Extract Needed Metadata String

$
0
0

All,

I'm trying to loop through a text file of URL's to then extract certain metadata from .html files and am need of some help on the best way to do this. The below isn't returning anything but it doesn't error. I need to utilize the text file of URL's since the library is pretty large and gave me out of memory errors when I ran this against the full site collection URL:   

$data=Get-Content "C:\Powershell\urlstoparse.txt"
$sp = 'https://kmo.us.name.com/Sites/Tickets/'

 Write-Host "Site count" is  $data.Count
 
function Get-DocInventory([string]$data) {

    $web = Get-SPWeb -Identity $sp
 
    foreach ($d in $data) {
 if ($list.BaseType -ne "DocumentLibrary") {
  continue
  }
  foreach ($item in $list.Items) {
   if($item.Name -like '*.html*'){
    $file = $item.File
    #get binary data, and decode into text
    $dt   = $file.OpenBinary()
    $encode = New-Object System.Text.ASCIIEncoding
    $text = $encode.GetString($dt)
    $url=$text|select-string -pattern '(http[s]?)(:\/\/)(www\.kmo\.com\/uploads)([^\s,]+)(?=")' -AllMatches | % { $_.Matches } | % { $_.Value }
    $dt = @{
     "Item URL" =  $item.Url
     "Item Name" = $list.Title
     "HTML File" = $url
    }
    New-Object PSObject -Property $dt
   }  
  }
 }
}
Get-DocInventory $data | Export-Csv -NoTypeInformation -Path "C:\Powershell\Tickets_Detail_Parse.csv"

Refresh Trusted Security Token Services Metadata feed job - failed

$
0
0

Hello,

As part of troubleshooting a 2013 workflow, I came a cross the Refresh Trusted Security Token Services Metadata feed. job on a SharePoint 2013 farm that keeps failing.  Please see screenshot.  Whether it runs as scheduled or I run it manually, it fails. 

My 2013 workflows are working now but the job is failing.  Has anyone come across this and has any idea why this is happening?

Thank you,


Rumi


Is it safe to use SharePoint 2016 with configured 3rd party RBS provider while SQL Server DB files are stored on file share?

$
0
0

Hi,

According to the following article it should be possible:

https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-with-smb-fileshare-as-a-storage-option?redirectedfrom=MSDN&view=sql-server-2017

I need to confirm if it is supported to utilize 3rd party RBS provider while SQL server DB files are stored on file share. (specifically as Azure NetApp files)

Thank you!

Pavol. 

 

Sharepoint 2013 portals down (TFS Integration)

$
0
0

Hi Team,

 

We have an issue with Sharepoint integrated with TFS. We run a large on-premise instance of TFS, 23 collection dbs totalling > 4TB in data, with > 5000 users. 

 

We have 2 TFS App Tiers (primary/secondary) with Sharepoint installed on both. Sharepoint URL is behind a load balancer and uses HTTPS (as is TFS url). Sharepoint SQL databases are installed on a separate SQL instance to TFS collection databases.

 

Issue:

We had a port down alert on the Sharepoint SQL instance on 3rd September, which lasted 10 minutes. After which, sharepoint stopped working.  After trying/checking various things we are now stuck and getting errors when trying to repair the TFS -> Sharepoint access grants via the TFS Admin console.

 

Our support team can access the Sharepoint Central Admin site on the primary app tier server only. However the portal sites are not available, and users receive an HTTP 500 error. Further, we get HTTP 200 errors when trying to repair the connection with TFS and the sharepoint sites.

 

Subset of log entries below:

 

TFS Admin Console, trying to reconfigure Sharepoint Extensions:

 

[Info  @17:44:15.794] Validating auto-configure for SharePoint Web application

[Info  @17:44:15.872] Validation Pending:  The user is not a farm administrator. Therefore, there must be an existing access grant between Team Foundation Server and SharePoint Products.

[Warning@17:44:15.872]

Exception Message: TF400324: Team Foundation services are not available from the server.

Technical information (for administrator):

 The underlying connection was closed: An unexpected error occurred on a send. (type TeamFoundationServiceUnavailableException)

Exception Stack Trace:   at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.ReadResponse(HttpWebResponse webResponse, WebException webException)

  at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest()

  at Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout)

  at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)

  at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.CheckIsFarmAdministrator()

  at Microsoft.TeamFoundation.Admin.SharePointConfigurationHelper.ValidateAutoconfigureWebApplication(Uri adminUrl, Uri siteUrl, ITFLogger logger)

 

TF255329: The following site could not be accessed: <site>. The server that you specified did not return the expected response. Either you have not installed the Team Foundation Server Extensions for SharePoint Products on this server, or a firewall is blocking access to the specified site or the SharePoint Central Administration site.

 

TF255439: You do not have the permissions required to integrate with the following SharePoint Web application: <servername>. The validation check failed for the following user account: domain\service account.  This account must be a direct member of the Farm Administrators group on the web application.

 

 

Sharepoint ULS Log:

09/10/2019 15:37:39.67         w3wp.exe (0x2844)                              0x1854        SharePoint Foundation                Claims Authentication                fsq7        High           SPSecurityContext: Request for security token failed with exception: System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)    Server stack trace:     at System.Net.HttpWebRequest.GetRequestStream()    at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()    at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)    at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)    at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)    at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)    at System.S...        89dc029f-17f6-507b-b038-f8471ce19ad1

 

Event Log:

Event ID 8306

An exception occurred when trying to issue a security token: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401).

 

 

What we have tried:

  • Confirmed support user is a member of the Farm Administrators group.
  • Confirmed Sharepoint service account is a member of the Farm Administrators group.
  • Checked connectivity between Sharepoint SQL Server and TFS App Tiers (where Sharepoint is installed) for service account and support user account.
  • Checked SQL permissions on Sharepoint for service account and support user account.
  • Rebooted all servers.
  • Various IIS resets.
  • Checked SecurityTokenServiceApplicationPool is running.
  • Confirmed 'Enable Kernel-mode authentication' is checked against 'Sharepoint Web Services' site.
  • Database Status on Sharepoint Central Admin looks fine.
  • Our UAT test environment has the same stack, and does not have this issue.

 

Our TFS Stack:

  • TFS 2017 Update 3
  • SharePoint Foundation 2013 with SP1
  • SQL Server 2012 Enterprise SP4 (sharepoint)
  • SQL Server 2016 Enterprise SP2 (TFS) in Always On configuration

 

 

Please assist as many users are affected.

 

Many thanks,

Scott.


How to blank the hubURI when you delete a Content Type Hub

$
0
0

Set-SPMetadataServiceApplication -Identity "Managed Metadata Service" -hubURI "" -Confirm:$false

Does not work. Has no effect on the hubURI field in the Managed Metadata Service properties.

So how do you clear this entry?


David

Unable to connect to Sharepoint Farm

$
0
0

Hi Team, I am facing very weird situation.I have a 3 server farm (1 WFE + 1 APP + SQL DB,
Now, CA was hosted on APP server but from last 2 days we are getting the issue that only 1 server remains connected to the farm and this depends on the 
sequence of the Shut Down and Restart.

But even when APP was connected to farm, i was getting run time error for CA and after troubleshooting for 2 days, we decided to run Sharepoint Config Wizard which 
asked to first disconnect the server and re-connect the server to the farm. The same was followed but we are not able to connect it back to the farm.

On other hand to bring the CA back, we ran Config wizard on WFE and host the CA site there and now its working fine.

But we are still facing issue in connecting App server to the farm.
Steps performed :

1. Checked the permission on the sql for the account
2. Checked the TCP/IP Setting
3. Checked FireWall setting - its off
4. Not using any Alia
5. Tried through powershell, same error

Thank you !

What is the difference between SP Alert and RSS Feed?

$
0
0

Hello,

Based on definition both are notifying the updates on item, then what is the difference ? Is it so that RSS feed only notifies about the addition of the item while SP alert is used to configure any kind of change on the item?

Best Regards,


Dipti Chhatrapati

What "Edit Library" indicates in classic feature?

$
0
0

Hello,

When I was going through the difference of classic and modern list and libraries from this link, I see there is an option called "Edit Library" - What does that indicate?

Best Regards,


Dipti Chhatrapati

Get a list of all workflows in "Running" state and terminating "running" workflows

$
0
0

Hello,

I am posting to see if anyone can help me with PowerShell scripts to:

  1. Get a report of all 2013 workflows in "Running" state across a web application and across a site collection.
  2. to terminate all 2013 workflows in "running" state across a web application and a cross a site collection

The web/application and site collection should be a choice.

Any help would be appreciated.

Thank you,

 


Rumi

office online server

$
0
0

Hello, 

We are working on migrating from SP2013 to SP2016

Current Set up:

we have 2 domains . Domain A (Internal users only) , Domain B (Internal and external users). There is selective trust between these domains. Servers are created only in Domain A . 

There are two URL's for the web app , one with windows Authentication and other with ADFS (External Domain B users). We always use ADFS URL for everything. 

New SP 2016 architecture. 

we will be using default 4 min role servers. As stated above all the servers are in Domain A including office online server.

1. When I am creating the office online farm I was wondering if it is safe to include FQDN in URL as below . What is the best practice to create URL considering this name will show up in the URL when users open a word doc in a browser. 

New-OfficeWebAppsFarm -InternalURL “http://<FQDN of the server> -ExternalUrl“https://<FQDN of the server>” -CertificateName <Friendly Name of the Certificate> -EditingEnabled

 2. As it is stated in the microsoft docs that "Office Online Server must reside in the same Active Directory forest as its users as well as any external data sources that you plan to access using Windows-based authentication."

 In SharePoint 2013 we heavily use excel services . Now when we migrate to SP2016, there is no excel service and only OOS server. Considering the statement above about servers and AD, will our external users logging in with ADFS be able to open these excel webparts ?

Thank you

@R



@R




Get external Users using powershell

$
0
0

Hi All,

I have a task, that I need to get external users based on DistinguishedName?

Using PowerShell for SharePoint 2016.


Abenet


Questions regarding in-place O/S upgrade of SharePoint servers

$
0
0

Our existing SharePoint environment consists of four Windows 2008 servers (APP, WFE, Search, Office Web Apps).   The goal is to upgrade the OS to Windows 2012.

So based on this thread, it sounds like the best option to upgrade is either:

1) set up new 2012 servers, install SharePoint, and attach databases

2) add 3 new 2012 servers to existing environment, and rotate out the older servers

What if we have customizations and Nintex installed on old servers?  All of that can be manually added back in to the new servers I assume. 

What about the Office Web App server?  I believe we can do in-place upgrade on that since SharePoint isn't technically installed on that server.  

We're eventually going to migrate to SharePoint Online, but we're trying to move fast to avoid paying extended support for Windows 2008 which will be out of support by MS by January 2020.  

Also, is it a bad idea to combine the search server with the app server?   That will at least minimize the number of servers to pay extended support for in case we cannot meet the Jan 2020 deadline.


Workflow Manager Outbound Signing Certificate: Certificate with thumbprint is not valid

$
0
0

Our certificates for SharePoint expired today. It stopped Service Bus and Workflows stopped working.

I managed to run Service Bus by pointing to new certs but I could not resolve Workflows issue.

Following some tutorials online, I decided to use Workflow manager to leave the farm and then rejoin it.

When I tried to rejoin, it gives error at the last page(Summary):

Workflow Manager Outbound Signing Certificate XXXX
Certificate with thumbprint XXXX is not valid.

Now, I'm stuck on this issue and could not find anything online to move forward.

Has anyone any idea on how we can resolve this?

Chrome and OWA

$
0
0

Hi,

When you try with OWA, edit an Excel or PowerPoint file, Chrome blocks with processing at the bottom.
No worries with Word.

When you open a Chrome Developer Console, you see the following error with Microsoft Ajax :

Uncaught Sys.ArgumentException: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data
    at Function.Error.create (https://office.dcidf.inra.fr/x/_layouts/MicrosoftAjax.js?bn=269007570:5:2736)
    at Function.Error.argument (https://office.dcidf.inra.fr/x/_layouts/MicrosoftAjax.js?bn=269007570:5:2963)
    at Sys.Serialization.JavaScriptSerializer.deserialize (https://office.dcidf.inra.fr/x/_layouts/MicrosoftAjax.js?bn=269007570:5:50800)
    at i (https://office.dcidf.inra.fr/x/_layouts/Ewa.js?bn=269007570:2:260308)
    at Function.a.deserialize (https://office.dcidf.inra.fr/x/_layouts/Ewa.js?bn=269007570:2:260672)
    at _Ewa.$3o.$1nU (https://office.dcidf.inra.fr/x/_layouts/Ewa.js?bn=269007570:3:199096)
    at _Ewa.$3o.$1NY (https://office.dcidf.inra.fr/x/_layouts/Ewa.js?bn=269007570:3:199919)
    at Common.$9f.$1Td (https://office.dcidf.inra.fr/x/_layouts/MicrosoftAjax.js?bn=269007570:5:307)
    at Common.$4I.$19q (https://office.dcidf.inra.fr/x/_layouts/Ewa.js?bn=269007570:2:50180)
    at Common.$2Z.$16v (https://office.dcidf.inra.fr/x/_layouts/MicrosoftAjax.js?bn=269007570:5:307)

We have also erros in the events :

Nom de l’application défaillante Excelcnv.exe, version : 0.0.0.0, horodatage : 0x5cff8102
Nom du module défaillant : oart.dll, version : 6.3.9600.19464, horodatage : 0x5d6727f2
Code d’exception : 0xc0000135
Décalage d’erreur : 0x00000000000ecf30
ID du processus défaillant : 0x13f8
Heure de début de l’application défaillante : 0x01d5689f227d492f
Chemin d’accès de l’application défaillante : E:\Program Files\Microsoft Office Web Apps\ExcelServicesEcs\bin\Excelcnv.exe
Chemin d’accès du module défaillant: oart.dll
ID de rapport : 60382392-d492-11e9-80f6-005056a5f750
Nom complet du package défaillant : 
ID de l’application relative au package défaillant 

Any ideas ?

How to make tehuser profile appear using /_layouts/15/userphoto.aspx?size=S&username=networkID?

Moving search services from search server to app server

$
0
0

Hello -

I have the following 3 servers in my test environment:   APP, WFE, Search

I'm looking to reduce the number of servers in the SharePoint farm by consolidating the search server with the app server.     

I am thinking to remove the search server from the farm first.   Then go to Central Admin and provision a new search service application to run on app server.   I'll set up a new drive on the APP server to store the index data.  How can I have the system recognize the new index location?  I am OK with deleting the existing search databases and recreating new ones and starting a new crawl.

EDIT:  found this link.

Basically will need to remove search topology first.   But afterwards I assume its OK to just click on 'Remove server,' from Central Admin (_admin/FarmServers.aspx), rather than uninstall SharePoint from search server.



Viewing all 21070 articles
Browse latest View live


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