Posts

Showing posts with the label Sharepoint issues and solutions

SharePoint Custom Workflow Failed on start (retrying).

recently we developed custom sequential workflow with initiation page. when we click to run workflow on initiation page, workflow status message shows failed on start (retrying). We try to find the root cause, first we analyze initiator permission level.  then we checked workflow onActivated coding block and correlation tokens of workflow activities, seems every thing fine. after long time we find the solution similarly to permissions, during workflow starting activity ( Web.Site.WorkflowManager.StartWorkflow(workflowListItem, association, GetInitiationData) we given safe updates to true and false of workflow item on workflow onActivated event. that causes to inconsistence of item permission workflow got stopped. once we removed alowunsafeupdates of an item workflow runs smoothly.

Custom Timer Job not Taking New code changes

I find two interesting issues in SharePoint2010 Custom Timer Job, 1)         When I redeploying customer job with new code changes I find that code won’t affect. After debugging I find this as issue. Then I try to reset IIS and rebuild solution, Redeploying again and again, change feature folder name and changing timer job name, but no luck.   After wasting two hours of time I find the solution is to “reset timer job”.   Because timer job is running on locked mode. To reset to timer job I follow this PowerShell command. Restart-Service SPTimerV4 A fter each deployment I reset this timer job, there after my code executes fine. 2)       I try to access Web Config   App Setting keys in my custom timer job using “ConfigurationManager.AppSettings["xxxxxx"];   but It showing always null. after I realized that web config is running under ‘W3WP’ process, ‘OWSTIMER’ has no permissions to access web config....

The Server was unable to save the form at this time. Please try again.

Image
error : " The server was unable to save the form at this time. Please try again. " i got this error while i updating list item in SharePoint 2013 custom list. I am surprise, now how i fix this and what causes to happens this issue. then finally i found some reference to restart "Search Host Controller Service". As of now i don't know why we restart. for time being i tried and now its works fine without issue. you can find "Search Host Controller Service" at manage services in central administration, just stop and start.
The following problems or alerts might occur when you debug SharePoint solutions by using the Visual Studio debugger. For more information, see Debugging SharePoint Workflow Solutions . This topic contains the following sections. Character Restrictions in Project and Project Item Names Errors When Creating Custom Fields New Non-English Site Definitions Do Not Appear in Site Creation Page After Deployment Error Appears When a Workflow Project Is Deployed on a Clean System User Must Refresh Application Page in Browser While Debugging to View Updated Image Error: The Site Location Is Not Valid Site Deletion Web Event Does Not Occur in Event Receiver Project Deployment Error Appears After the Name of an Identifier in a Business Data Connectivity Model Project Is Changed An Error Appears When You Try to View a Visual Web Part in SharePoint Error Appears When an Imported Reusable Workflow That Contains a Task Form Field Is Run Error Appears When a Renamed Imported List ...