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

WF fails

$
0
0

Created a new Doc library - added a content type and in workflow settings I've added the Standard Approval WF.

When I upload a document and initiate the WF - I fill out the form and click start - but the WF fails 

The workflow could not update the item, possibly because one or more columns for the item require a different type of information.  Unknown error

The ULS contains this:

Unexpected	WinWF Internal Error, terminating workflow Id# ceb8396a-9890-4b9e-af16-0a9cf10aea06	37d9cb9d-e638-100c-3bce-4a766da402f0
01/17/2017 08:49:05.98 	w3wp.exe (0x4520)                       	0x0C84	SharePoint Foundation         	Legacy Workflow Infrastructure	98d4	Unexpected	System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForWorkflow(SPWorkflow wf, SPWorkflowUserContext runAsUser)     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.get_Web()     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForListItemService()     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.UpdateModerationStatus(Guid id, Guid listId, SPItemKey itemKey, SPModerationStatusType newModerationStatus, String comments)     at Microsoft.Office.Workflow.Actions.SetTaskProcessItemModerationStatus.DoUpdate(ActivityExecutionContext context)     at Microsoft.SharePoint.WorkflowActions.WaitForDocumentUnlockActivity.Execute(ActivityExecutionContext executionContext)     at Microsoft.Office...	37d9cb9d-e638-100c-3bce-4a766da402f0
01/17/2017 08:49:05.98*	w3wp.exe (0x4520)                       	0x0C84	SharePoint Foundation         	Legacy Workflow Infrastructure	98d4	Unexpected	....Workflow.Actions.SetTaskProcessItemModerationStatus.Execute(ActivityExecutionContext context)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run()	37d9cb9d-e638-100c-3bce-4a766da402f0

How do I resolve this? 



Missing ProfileService.svc

$
0
0

Hello everybody,

i have found at my sharepoint 2013 farm the following error at the event viewer.

WebHost failed to process a request.
 Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/7784972
 Exception: System.Web.HttpException (0x80004005): The service '/a00442bcad4a40c3a8f6be4e15605099/ProfileService.svc' does not exist. ---> System.ServiceModel.EndpointNotFoundException: The service '/a00442bcad4a40c3a8f6be4e15605099/ProfileService.svc' does not exist.
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
   at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)
 Process Name: w3wp
 Process ID: 10556

My first checks after reading this error were:

* I moved through the iis manager (iis manager > sites > endpoint area = a00442bcad4a40c3a8f6be4e15605099) to the endpoint area (related to the endpoint id, which i found in the error) and i determine that the ProfileService.svc is completely missing, it does not exist.

* I went to other sharepoint 2013 farms with different cumulative update and check also the event viewer and also there i found the same error.

It is possible that this error is a bug of sharepoint 2013?

I am thankful for every answer.
Thanks in advance.
Regards, Adi



SharePoint 2013 Calendar

$
0
0

When a user is clicking on a out of box recurring calendar item, an error page is shown.

Below is the message from ULS Logs:

Application error when access /Lists/Calendar/DispForm.aspx, Error=Value does not fall within the expected range.   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) 
    at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) 
    at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() 
    at Microsoft.SharePoint.SPListItemCollection.get_Count() 
    at Microsoft.SharePoint.ApplicationPages.Calendar.CalendarInstanceQuery.Retrieve(SPList list, String recurId) 
    at Microsoft.SharePoint.SPContext.get_Item() 
    at Microsoft.SharePoint.SPContext.ContentTypeInternal(String contentTypeId) 
    at Microsoft.SharePoint.WebPartPages.ListFormWebPart.ShowRibbon() 
    at Microsoft.SharePoint.WebPartPages.ListFormWebPart.OnInit(EventArgs e) 
    at System.Web.UI.Control.InitRecursive(Control namingContainer) 
    at System.Web.UI.Control.AddedControl(Control control, Int32 index) 
    at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart) 
    at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPart(WebPart webPart) 
    at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartWithRetry(WebPart webPart) 
    at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts) 
    at Microsoft.SharePoint.WebPartPages.SPWebPartManager.LoadWebParts() 
    at Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPageInitComplete(Object sender, EventArgs e) 
    at System.EventHandler.Invoke(Object sender, EventArgs e) 
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Any information on this issue will be of great help, thanks in advance.

How do I get SP to display all Site Owners in a Site Collection?

$
0
0

I am trying to get a list of all Site Owners (also including Sub-site Owners if possible) in a Site Collection?

I am running SP 2013 in the cloud. I do not have access to SP Designer or PowerShell.

Is there an app or web part that will display that info.? Can it be done with JavaScript?

I know how to display members of the Site Owners permission group for a single site. I want to capture a list of ALL Site Owners for an entire site collection.

Users of migrated site collection [via. content database migration approach ]to SP 2013 claims web app still remains in classic mode.

$
0
0

Hi,

I am migrating and mounting content databases from SharePoint 2010 in "Classic" mode to Web Application SharePoint 2013 in "Claims" mode

I am following standard steps suggested by Microsoft by referring this link

https://technet.microsoft.com/en-us/library/cc262483.aspx

When I migrate first content database and mount it to web application in SharePoint 2013, I also execute powerhsell command to MigrateUsers and then the users are migrated to claims mode from classic mode. i.e the name format changes from "domain\fn.ln" to "i:0#.w|domain\fn.ln"...so far so good.

But when i migrate 2nd database [again in classic mode and also note that it is gradual migration of content database form SP 2010 to SP 2013] from SharePoint 2010 and attach to web application in SharePoint 2013 [already in claims mode] ...observation here is...whatever groups and users exiting site collection contains are maintained as is...i.e the users of 2nd site collection are still in old format i.e. "domainname/fn.ln"...

so question is.

1. Do we need to execute the powershell command [$WebApplication.MigrateUsers($true) everytime we attach new content databases to the existing web application in SharePoint 2013?

2. Even after doing so...users in 2nd site collection are not migrated to claims mode, however any new users which are added to the site collection are already in claims mode [s the web application in in claims mode]

So how do we ensure that all users are migrated to claims mode for all migrated site collections

Can someone share there thoughts/observations around this??

Thanks!!



How to create alternate mapping interanet url for sharepoint 2013 sitecollection

$
0
0

Hi All,

I have a SharePoint 2013 site , i want to create a alternate access mapping url ex:-  http://test.com for the created SharePoint 2013 site .


Thanks & Regards,

Raghava.

Scheduled search crawls not working

$
0
0
Hi,


I am facing issue with scheduled search crawls in SP2013 farm.
Incremental or full crawls doesn't start if schedule.
But if run manually it works.

While troubleshoot I notice that the responsible job "Indexing Schedule Manager on <server>" on my AAP server is not running.

No relevant errors in Event logs, found below errors in ULS:
12/05/2016 12:00:25.65OWSTIMER.EXE (Appserver:0x1840)0x441CSharePoint Server SearchAdministrationdj6tHighnot executing job Indexing Schedule Manager on <Appserver> because the service status (Disabled) or job status (Online) is not Online120dbe9d-5cbb-405c-b31e-8b15a20f8299


12/14/2016 11:00:42.82OWSTIMER.EXE (Appserver:0x2D8C)0x50D0SharePoint FoundationTimeraidhuVerbosePreparing to invoke non-pausable job name=(Indexing Schedule Manager on <Appserver>) , defintion=(02739759-4041-48a9-9fac-169f91389893)3befc09d-5cc4-405c-b31e-8cdfbe33c249
 
I tried disabling & enabling timer job through UI & command, but no success.
Even restarted timer service on App server but issue persists.

Thanks for any help.

Best regards,

SharePoint-Sunny

Openin documents from sharepoint in office

$
0
0

Hi,

Recently we migrated the authentication for sharepoint 2013. After that we were unable to open the documents in browser as well as in office. After running the command New-SPWOPIBinding, documents opened in browser. But if we try to open in office, it asks for the authentication which was not the case earlier.

Does anyone know the cause for this and how can it be resolved?

Thanks,

Virender


WF - terminate

$
0
0

Hi 

Got a Doc Library with an approval WF besides new one fails - I can see that 

I've tried to run this: 

$web = Get-SPWeb "http://<sitename>"

$wfm = New-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($web)
$sub = $wfm.GetWorkflowSubscriptionService()
$list = $web.Lists["Documentlibrary"]
$wfis=$wfm.GetWorkflowInstanceService()
$items = $list.Items


foreach($item in $items){

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

}

It returns internal state 4 and 8 (completed and cancelled) 

How do I localized the running WF and gets it terminated? 




Library view for folder content type not shown.

$
0
0

Hi!

I have a minor problem with using views in a document library. Here's the starting info:

- document library, content types enabled.
- 3 ctypes available: document, person (inherited from document set), project (inherited from folder)
- 3 views: all items, person, project, each displaying different website columns

First level entries are only persons, under each person are different projects, and each projects has documents in it.

- The library's default view is "all items", everything allright.
- I managed to map the "person" view as default view for the document set, so only columns with info about projects are shown => perfect
- I edited the "project" view, where I want to show only columns of the "document" ctype. Made it the "default view" and set 'Show in folders of content type "project"'

Everything works fine for the first and second level: "All items" shows the columns of the persons in this level, when I enter a person (docset) I see all the colums for the projects inside of this person.

But when I click on the project (folder content type) SharePoint still keeps the person view with columns of the project folder and never enters the "project" view.

Any idea, if it is even possible, to use folder-content-type specific views inside of document sets?

EDIT: I tried to put a "project" folder directly in the root of the library, to see, if it's related to docsets. But there it keeps the default "all items" view and does not switch to the "project" view. I can switch to the project view later without problems.
In the root folder I cannot change to the project view (since I'm not in a folder of content-type "project", obviously).

thx and greetings
michi


PowerShell: Enter-PSSession with import-csv

$
0
0

I know that this is not a really SharePoint question, but I didn't found any corresponding forum for that.

I have a PS Script, that creates SPSites. I want to execute this script on my local computer and it should connect to the SharePoint Server with other credentials.

Here is a snippet:

$cred = Get-Credential
Enter-PSSession -ComputerName Server -Credential $cred

Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue

Import-Csv "c:\temp\sp\create-SpTeam.csv" -Delimiter ";" | % {

code...

}

It connects to the server with my credentials, but there is problem with the path on the server.

The path could not be found.

When I enter the cmdlets manually step by step, it works fine.

Any idea?

User Profile Service Application Stuck in Provisioning

$
0
0

Hi

My User Profile Service Application (NOT the synchronisation Service) stopped working so I deleted and tried to recreate it using PowerShell.

I have tried a number of times - deleting it before I start again (and the Databases).  Using the Central Administration deletion does not work so I use a mixture of STADM -o deleteconfigurationobject -Id {ID of USer Profile Service Application} and then a PowerShell script to delete the timer jobs.  (PowerShell Remove-SPServiceApplication fails with a The SPPersistedObject with id, {Id}, could not be found.)I have tried creating the User Profile Service Application using Central Administration and using PowerShell (running under the <Domain NAme>\SP_Farm account so the schema on SYncDB is correct).There are no CRITICAL or UNEXPECTED items in the Logs.

The last relevant item in the ULS logs is a message saying it is waiting for a timer job to finish. 

"Waiting for service application instance provisioning job to complete for service application with name 'User Profile Service' and type 'Microsoft.Office.Server.Administration.UserProfileApplication' "

The SPTimer service is still running.

I am running SP2013 with the September 2016 CU.

What am I missing ?

Regards

Nigel


Nigel Price NJPEnterprises

SharePoint Workflow randomly stops at processing MSMQ list

$
0
0

Hi,

I have run into a new workflow problem i haven't seen before. 

We have multiple workflows running many times a day. This runs for a couple of days  and then it suddenly stops.

I can start a workflow manually and it complete's OK.
It is just that automatically started workflows on create or edit won't start. By looking at the workflow details at the item nothing shows that a workflow should start.

Looking at the MSMQ I can see the messages which should be picked up by the workflow engine.

(Queue computername\private$\microsoft.workflow.client.publishednotifications)

In the beginning an iisreset fixed the problem and the queue got processed.
Today it only processed like 25 items (with 400 - 500 in the queue) and stops again.

After a reboot it all started working again.

Anybody an idea what could stop the queue processing? And which  service/process has to be restarted to continue processing workflows. Just doing an iisreset or reboot is not a solution.

 

People picker not working for Web application root site

$
0
0

   People picker not working for web application root site collection and it is working for all the site collection under that web application other web applications root sites also.

I have this issue for only one web application that is the port 80 site. I tried all the Power Shell script which is useful to configure people picker. any suggestions would be very much appreciated. 

Sharepoint list create item

$
0
0

Hello, 

Is it possible to create automation to create item in a list if the excel file is update with new item? How can I do it Please guide 

Thanks

Kundan


Site Mailbox or Incoming Email with no Exchange mail

$
0
0
 

I have both SharePoint 2013 and Exchange 2013 and can configure both to work, I like the Site Mailbox feature and the incoming email in SharePoint, but would like for the email to only be stored either in SharePoint or in Exchange (not in both). Is this capability available?

Thank you,

After Cu December 2016 upgrade, people picker cannot find accounts from SharePoint Group

$
0
0

We have a several lists within a SharePoint site that uses the "Assigned To" field. This field has settings of type:"Person or Group", no unique values, allows multiple selections, People Only, and the"Choose From" field is set to a SharePoint group with four members in the group. The "Show field" field is set to "Name(with presence)".

Originally, when editing the form and adding "Assigned To" users, the people picker was able to resolve users when beginning to enter their names. Perfect. Following the December 2016 CU, we edit the form it can no longer resolve names from that Group. 

If we set the "Choose from" field within the column settings to "All Users", the form is able to then resolve names correctly as it searches all AD accounts/AD groups. Switching it back to a SharePoint group then causes the issue again. I've found that the only way around it was to go to that specific group, remove the user account and then re-add the account. After doing this, the account now resolve and populates when beginning to type the name into the Assigned To field. Though, this only resolves for that one user account. Other account that have not yet been removed and added still have the issue.

I'm wondering if anyone has ever ran into this and if there is a PowerShell script of sorts to re-sync user accounts within the permission group. 

Any help would be appreciated. Thanks!

-N


physical to virtual

$
0
0

We are about to conduct a virtual migration from 2 physical machines (1 WFE + 1 SQL ) to be migrated into Hyper-V - the Farm has several WebApplications.

The current farm uses a SQL alias (cliconfg.exe) - so I'm thinking this:

  1. Create the Hyper-V SQL 
  2. Copy all DB's from physical SQL to the Hyper-V SQL 
  3. Create the WFE hyper-v
  4. Create the same SQL Alias name on the WFE and then point the Alias to the new Hyper-v SQL
  5. Install SharePoint and let it "connect" to the SharePoint Config - using the Passphrase

Is anyone seeing issues in this approach?  

is there another approach




The file manifest.xml does not exist

$
0
0

We have connected a SP 2010 content DB to SP 2013 and we get this error when we click on create button on all site content. See image attachment. Hope somebody have some ideas how to fix this? or how we can move forward to a solution.

Unable to move to the next page in Style Library Images when inserting images

$
0
0

In our Sharepoint 2013 site, when I edit a page, I select Insert-> Image which opens a "Select an Asset" window.  In this window I click on Style Library -> Images and in the right panel a certain number of images loads but I am not able to move to the next page (the Next button/arrow is missing).  We opened the same website but in production and we can see the Next arrow and are able to scroll to see all images.  So why are we only able to see the first page of images in our dev environment (same computer used, same browser).

thanks

Viewing all 21070 articles
Browse latest View live