I am new in Sharepoint. What i need to setup for starting sharepoint developing? I installed Sharepoint designer from sharepoint web site. need I extra things?
View Complete Post
In SharePoint 2010, I'm starting workflow #2 programatically from my workflow #1. See code below:
SPList currentList = web.Lists[new Guid(ListId)];
SPListItem currentListItem = currentList.GetItemById(ListItem);
//resolve any lookup parameters
string workflowId = base.ProcessStringField(WorkflowIdentifier);
//find workflow association by name
SPWorkflowAssociation workflowAssoc = currentList.WorkflowAssociations.GetAssociationByName(workflowId, Thread.CurrentThread.CurrentCulture);
if (workflowAssoc != null)
//start the workflow
SPWorkflow workflow = site.WorkflowManager.StartWorkflow(currentListItem, workflowAssoc, workflowAssoc.AssociationData, SPWorkflowRunOptions.Synchronous);
And workflow #2 will hang with Starting status (1-10 minutes), Then the workflow #2 status would be modified to Completed.
I couldn't find how to start the workflow # 2 immediately and complete immediately without several minutes delay
We have created a custom workflow in SPD that is attached to a document library within a MOSS 2007 teamsite.
The workflow is set to trigger when a new item is created in the document library.
Previously, the workflow has worked fine for all users but recently has stopped working for one user only.
For the problem user, what we are seeing is that when a new item is created in the document library, the attached workflow never starts. There is no error, the workflow just does not get triggered. However, if the problem user goes to an item
in the document library and clicks on the workflow she can manually start it and it works fine with no error.
This user has the same permissions on the site as others who do not have any problem.
In the course of investigating this problem, we have temporarily increased the problem users permissions on the document library to full control (was contribute before) but this has had no effect on the problem. Authentication is being done via Active
Directory. We have tried removing the user from the site and re-instating her but again this has no impact.
Does anyone have any idea how we could fix this problem or further debug it?
I am using SharePoint 2007 and I am trying to start SharePoint Search Service on my server throgh central Administrator.But its not getting started and its showing starting status there.
I think this service got stucked. Please let me know If you have any solution for this.
After installing sharepoint server 2010 on server 2008 64 bit . every thing goes well no errors,but after clicking sharepoint server 2010 central administration from the program menu i got this message
The version of this file compatible with the version of windows you you're running .Check your computer system information to see whether u need an x86 or x65 version of the program , and then contact the software publisher
what could be wrong?
I just installed MOSS SP2 and ran the config wizard on the server.
I am facing issue with our farm. Found that "Windows SharePoint Services Web Application" is in a problem.
I tried below commands:-
stsadm -o provisionservice -action stop -servicetype spwebservice -servicename ""
stsadm -o provisionservice -action start -servicetype spwebservice -servicename ""
But getting error:- Provision of service failed. Additional information: 1387.
Checked eventvwr and found below error log:-
Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Topology
Event ID: 7034
Time: 5:16:10 AM
An attempt to start/stop instance of service Windows SharePoint Services Web Application on server <servername> did not succeed. Re-run the action via UI or command line on the specified server.
None of the sites are working and I cannot see anything in the IIS folder nor in the IIS manager. All application folders are missing. But, I can see all the sites & Content databasesin the Central Admin.
Can someone please help?
I have a SharePoint Designer 2010 resuable workflow that uses the "Start Approval Process" Task Action. This workflow needs to run
after a document has been declared a record. So I have a Content Type that has an Information Management Policy (IMP) attached to it. And I have 2 retention stages specified in the IMP. The first retention stage action is to run the
workflow. And this Content Type is associated with the Document Library containing the records. But for some reason, the SPD workflow never gets triggered. The document has been successfully declared as a record. I also see in the document's "Compliance Details"
screen, the "Scheduled Occurrence Date" is set to the proper date, but the workflow never got started on that date. I tried it with different dates that I set in the document, to ensure that the workflow runs on "Scheduled Occurence" dates such as 11/19/2010,
11/20/2010 to no avail.
What am I missing? Any help/suggestions would be greatly appreciated as always.
I have a list (List A) in my SharePoint 2010 site that has many paused workflows in it. They are all waiting for a specific date at which point they move to another list (List B). When items are created in List A a workflow is supposed to fire
that reads a date field for that list item and pauses until that date. However, it seems that the workflow does not always fire. Currently there are 1,040 items in List A.
To try to solve this I re-created the workflow on List A that is supposed to fire on item creation. Most of the time it works, in fact it's never failed me while testing it. However, when users start to make use of it there are failures. Although it works
most of the time, I'll have a about 5-15 failures a night, out of about 60-90 processed items.
It's important to note that these are not registering a failure code of any kind - they are just not starting at all. Because of this I'm having a very difficult time troubleshooting. So far I've just been starting the failed ones manually every day, and
they work fine - not cool.
I have other workflows on the site that never fail, only this one. All workflows have been created with SPD, I don't have Visual Studio.
Is 1,040 paused workflows too many? Could that cause a sporatic issue like this? Should I be coding a solution here instead of pausing that many