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

Powershell script to find Sharepoint 2013 Workflows shows Empty\Null

$
0
0

I'm trying to write a script to restart some workflows. I don't seem to be able to get the workflows associated with the item despite the fact they are indeed running. The problem is that the Workflows property always shows empty.

I've used many examples from the net with no luck.

#---------------------
$web = Get-SPWeb "http://sharepoint"

$wfm = New-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($web)
$sub = $wfm.GetWorkflowSubscriptionService()
$list = $web.Lists["Documents"]
$WF = $sub.EnumerateSubscriptionsByList($list.ID) | Where-Object {$_.Name -eq "Document Review"}
$wfis=$wfm.GetWorkflowInstanceService()
$items = $list.Items


foreach($item in $items){

 $item.Title
 $item.Url
 $item.DisplayName
 $item.Workflows

}


David Jenkins


User Profile Photos, SSL, Post Migration

$
0
0
We migrated from 2010 to 2013 and at the same time started forcing users down SSL.  I'm trying to get our profile photos visible on MySites and contact web parts.  I've re-run the profile sync, run the powershell script for Update-SPProfilePhotoStore (site location and create thumbnails) and I've added the attribute in manager user profiles for Picture.  I'm pretty sure it's the SSL that's breaking it.  And forgive me if I don't quite know the circle of profile photos.  We have an app that updates photos for Exchange, and the AD attribute has an octet in it.  We also put user photos in a library on sharepoint and a mapped drive on our file server, but for the life of me I don't know where the Profile Photo Store is getting the images.

Ben Rollman

Can you have multiple conditions on list validations?

$
0
0

Hey SharePoint Fam,

Is it possible to have multiple conditions on a list validation?  I am wanting to not allow hours to not go over 60 and also not allow Setup Date to equal or be over 2/1/2016?

This what I came up with but no luck

=OR(Setup Date & Time>DATE(2016,1,2),Hours<="60")

Thanks N Advance

CustomDictionaryDeployment Exception

$
0
0

Hi there

We recently noticed the following Critical error thrown in Windows Application Event Viewer every 10 minutes:

The Execute method of job definition Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition (ID 7488ea1a-5549-45e4-9405-76cce715dc65) threw an exception. More information is included below.

Failed to run flow Microsoft.CustomDictionaryDeployment. Correlation Id: 8229149d-b6a1-9013-06fa-13eb7e6cd953.


Here's the corresponding SharePoint log for the correlation ID:

06/26/2015 11:10:16.63 	OWSTIMER.EXE (0x3CD8)                   	0x5908	SharePoint Server Search      	Administration                	ad840	Medium  	Found settings: Dictionaries last checked for changes 01/01/1754 00:00:00	8229149d-b6a1-9013-06fa-13eb7e6cd953
06/26/2015 11:10:16.63 	OWSTIMER.EXE (0x3CD8)                   	0x5908	Search                        	Linguistic Processing         	68	Warning 	Custom dictionary deployment timer job failed. SearchComponent: OWSTIMER.EXE, SearchServiceApplication: {f0417fac-93d1-4f7f-bdea-90ad544d3150}, FlowName: Microsoft.CustomDictionaryDeployment, CorrelationId: {8229149d-b6a1-9013-06fa-13eb7e6cd953}, Failure: System.InvalidOperationException: Unable to locate Managed Metadata Proxy which is default keyword taxonomy for SSA f0417fac-93d1-4f7f-bdea-90ad544d3150     at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.FindDefaultMMAProxy()     at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.GetChangedDictionaryTermSetIds(DateTime lastChecked)     at Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition.DoExecute(CtsConnection connection)     at Microsoft...	8229149d-b6a1-9013-06fa-13eb7e6cd953

This error and the bit of digging Ive done point to the Managed Metadata Service, but we dont have this service installed and never have and this error only recently started 

The  only two changes we've made recently was updating to the latest June CU (from May) and removing and re-configuring the SSRS service due to issues we were seeing there. We dont believe this error was thrown prior to these changes.

Thanks in advance!


Request Timed out on creating new web or service applications

$
0
0

Hello,

It's been a week now since i'm facing this issue. Whenever i try to create a new service application or web application on a fresh staging VM then it throws the same 'Request timed out' error. I've increased the Ping Period, Shutdown time limit and Startup time limit under Central Admin's App Pool. Removed everything and tried created again. Replaced with the new app server. All goes in vain. 

There is a physical server which has 2 VMs. One for DB and the one for App/WFE. 14 GB assigned to both VMs. No space issue. Server seems pretty fine with usage doesn't go above 20%.

Any idea? Please help.

Thanks!


Sohaib Khan

SP 2007 list data view migrtaion to 2010 and 2013

$
0
0

Hi,

I need to migrate SharePoint 2007 to SharePoint 2010 and then to SharePoint 2013.

I found SP 2007 list views contains List Views and Data Views as in below attachment.

How to migrate Data Views, since it contains customized XSL?



 Data View

 List View


Anandhan.S Remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

Access Services with SQL 2014

Migrating Two Site Collections

$
0
0

So i have migrated sharepoint to 2013 and now need to migrate another site collection to the farm. I ran the Mount-SPContentDatabase command using the new webapplication URLhttp://sharepoint/sites/newsite but it errors out saying that it cannot find the webapplication object of the above URL!


dfrancis


How to refer to absolute date in list item validation formula?

$
0
0

I want to make a formula in list item validation: "Start Date is smaller than 28.02.2016". Start date submitted By the user, 28.02.2016 stays the same. 

What is the formula?

Unable to activate "Workflow Task Content Type" feature

$
0
0

Hi,

We have upgrade some site collections from SharePoint 2010 to 2013, after which when we try to enable the feature of Workflow Task Content Type in the "Manage Site Features", we are getting the below error:

The field with Id {55b29417-1042-47f0-9dff-ce8156667f96} defined in feature {57311b7a-9afd-4ff0-866e-9393ad6647b1} was found in the current site collection or in a subsite

How do I resolve this issue and have the particular feature enabled at the top site collection level?



Shonilchi..

Users deleted from AD are not deleted in SharePoint User Profile Application

$
0
0

Hello everyone,

I have deleted some users from Active Directory but they are not deleted in User Profile Service. I run both Full Synchronization and the My Site Cleanup Job with no luck. These profiles still exist in Active Profiles but they are marked as Deleted Objects (in Distinguished Name). I tried a few things that helped others with similar problems but it doesn't seem to work.

Any ideas why they are not deleted? Is there another timer job that needs to run?

Thanks!

One app server loading a blank page when trying to access sites

$
0
0

Hello,

We have a SharePoint 2013 environment with two app servers that are load balanced using NLB. One app server consistently loads blank SharePoint pages every few days. Doing an IIS reset or recycling the app pool fixes the issue. But I am wondering if there is a more permanent fix for this.

thanks,

Sherazad.


Sherazad

Server Role is not showing properly

$
0
0

Using SharePoint 2013 Management Shell,

run this command, get-spserver | ft name, role will show

Name               Role      
Server Name 1      Application
Server Name 2      WebFrontEnd

I made Server Name 2 as Web Front End Server, still it shows the role as Application Only. The version is SharePoint 2013 with SP1 (15.0.4569.1000)

Name               Role      
Server Name 1      Application
Server Name 2      Application (Not showing WebFrontEnd)

Windows Server CALs plus SharePoint Standard CALs plus SharePoint Enterprise CALs

$
0
0

I'm building a business intelligence server.  I want to put SharePoint Server 2013 and SQL Server 2014 Enterprise Edition on it, on top of Windows Server 2014 R2.  Obviously, I'm going to need a bunch of SharePoint 2013 Enterprise Client Access Licenses as well.  SQL Server is going to be licensed on the per-core model.

My question is regarding any other required CALs.  Here's my understanding of the configuration:

I've been contending that there isnorequirement for additional Client Access Licenses other than the SharePoint 2013 Enterprise CALs mentioned above.  However . . .

I've received advice that thereisa requirement for (for each employee who accesses the solution) for a Windows Server 2012 R2 CALplus a SharePoint 2013 Standard CAL plus a SharePoint 2013 Enterprise CAL.  

My thinking regarding Windows Server: “Client Access Licenses (CALs) are required for each user or device accessed.  The Windows Server 2012 related CALs provide entitlement to access and use Windows Server 2012 R2 functionality” {Windows Server 2012 R2 Licensing Guide].  In our case, no devices or users are directly accessing WS2012 R2.  The OS is being used solely to run the application software, SQL Server 2014 and SharePoint 2013.  Thus, there are no operating system CALs required for this configuration.  (There are a number of functions — such as file storage, print sharing, etc. — which if used, would require server CALs, but we’re not using any of them.)


I'm aware that the SP CALs are additive for the Volume Licensing programme (and thus both a standard CAL and and Enterprise CAL would be required for each user).   However, there is no volume or enterprise agreement in place - this is a stand-alone build.  Would the Enterprise CAL suite be the best choice here?

Your thoughts, please?  Windows CALs required . . . or not?

 

Donna Kelly

Single Web App w/ Host Named Site Collections OR Multiple Web Apps w/ Host Headings

$
0
0

I am setting up a new SharePoint 2013 Enterprise environment.  It will be a relatively small farm with a single server acting as Web Server and App Server and a SQL 2012 DB server for the backend.  We have around 100 users.

I was attempting to configure My Sites and I noticed the TechNet article suggests that My Sites have their own Web Application.  But when I was researching this last month I read a differentTechNet article that said the preferred architecture is to have a single Web Application and use Host Named Site Collections.

I foresee us needing these Site Collections:

  • Sites for each department
  • Search Center 
  • My Sites
  • Document Center
  • BI Center

I know I can accomplish this using a single web application and path based collections, a single web application and host based headers, or multiple web applications and host headers, but I'm looking for the pros and cons of each method.

Users are accessing the site via RDSH servers and we are using NTML security.  There won't be a need for a lot self site creation, in fact once it's setup I don't see a lot of site collections or pages being created.  Basically I just want the URLs to be user friendly and site navigation to be as simple as possible.

Can anybody help clarify the differences for me?



From SharePoint Products Configuration Wizard,Cannot connect to database master at SQL Server

$
0
0
From SharePoint Products Configuration Wizard,Cannot connect to database master at SQL Server at [database name]

The database might not exist, or the current user does not have permission to connect to it.

SharePoint Event Viewer Application Log  - Event ID 5586

Unknown SQL Exception 53 occurred. Additional information from SQL Server is included below.

A network-related or instance-specific error occured while establishing a connection to SQL Server. The server was not found or was not accessible. Verify the connections. (Provider: Named Pipes Provider, error: 40 - Could not  open a connection to SQL Server)


FBA Authentication using SSL-secured LDAP in SharePoint 2013

$
0
0

I have read through most of the posts on this site relating to the integration of SharePoint 2013 FBA with an external non-AD LDAP (Tivoli Directory Server). As a matter of fact, using the instructions (verbatim) at https://technet.microsoft.com/en-us/library/ee806890.aspx, we had our SharePoint users authenticating without a problem. Unfortunately, recent security mandates across the company now demand all connections to the LDAP DS be secured by SSL. The DS no longer supports connections over port 389.

So I went into the 3 web.config files (SharePoint Central Administration v4, Security Token Service, and the web application itself) and changedonly the following values:

port="636" 
useSSL="true"

Further, I imported the SSL certificate from the LDAP DS into the local computer personal store of the SharePoint server. Users are still unable to authenticate to LDAP via FBA. Our DS accepts anonymous connections (I tested this out using a third-part LDAP browser directly on the SharePoint server). Here are a few clues to understanding the issue:

  1. Filtering the ULS log results out for Claims Authentication and Authentication Authorization, the first thing I see in the authentication chain is the following error:

    Token Handler: Claims Forms Sign-In: Membership Provider 'LDAPMember' username-password check for user 'user@company.com' failed.

    STS Call and SPSecurityContext errors follow, as expected. Since this only shows that the check failed but doesn't tell me why, I decided to do a trace with Message Analyzer.

  2. A Message Analyzer local network trace reveals that SharePoint is making a connection (binding) to the LDAP DS but, for some strange reason, insists on passing what appears to be the Farm Admin as CN and a composite of the SSL certificate's OUs and DCs. After that, it automatically unbinds:

    Bind Operation, MessageID:2233, Result:Success

    Search Operation, MessageID:2234, Search On
    BaseObject:CN=WSSFarmAdmin,OU=Users,OU=Infrastructure Objects,OU=City,DC=Department,DC=company,DC=com


    LDAP Message, Unbind Request, MessageID: 2235

So logic would infer that FBA is attempting to check the existence of the user in LDAP but is using a CN it doesn't recognize to perform the search operation. Now, would this have an effect on a server that accepts anonymous connections? Here is where I don't understand what's going on under the hood deeply enough and need some guidance.

I have tried passing a valid LDAP username / password with ConnectionUsername and ConnectionPassword variables. I even tried setting them both to a blank string. Another thing I tried was setting useDNAttribute to "true", thinking that perhaps that would have an effect on the BaseObject which FBA is passing to perform the search.

What am I missing? I don't have access to the LDAP DS. It is in a secured data center with its own set of administrators. The best I can hope for is to trace communications from the SharePoint server, which is what I have already done.

Is that BaseObject a red herring? The DS accepts a connection and allows search operations using an LDAP client. What can I do to the SharePoint configuration to allow it to behave similarly? It shouldn't be this difficult.




Workflow Service Application - failover of SQL Server

$
0
0

Hi there,

I was hoping for some advice more than anything.  We had a production issue with our SP SQL server so SharePoint was failed over to our BCP SQL Server whilst works were undertaken.  One thing we noticed was that the Workflows appeared to stop working with the error "Some workflows may not be shown.  We are unable to reach the workflow service".  I know during the configuration of the Workflow Farm, our production SQL server was specified.

I would have thought that the workflow service would point to the failover DB's as they do with the other databases.  Is this not the case?  Can somebody provide me what steps need to be undertaken in this situation so we do not experience this issue again?

Exception while trying to migrate account 'ContsoUS\jsmith' to 'ContsoUK\jsmith'. ---> Microsoft.SharePoint.SPException: The user does not exist or is not unique.

$
0
0

Hi there,

In my Event Viewer - I see:

Event ID: 6801
Microsoft.Office.Server.UserProfiles.UserProfileException: Exception while trying to migrate account 'ContsoUS\jsmith' to 'ContsoUK\jsmith'. ---> Microsoft.SharePoint.SPException: The user does not exist or is not unique.

The user exists only in ContosoUS and NOT in ContosoUK - why is it trying to convert? How to fix this issue please?

Thanks a lot.

Having twoOutbound SMTP Servers in Outgoing E-Mail Settings for different subnet

$
0
0
The farm is stretched in two subnets. SMTP Server is different for these subnets. Is there any option to have two smtp servers ?
Viewing all 21070 articles
Browse latest View live