Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Probulem with Custom workfow Developed through visual studio 2010

$
0
0

Hello All,

i want to  develop a simple workflow from visual studio 2010 . as soon as i add a createtask activity i recieve my workflow gives Error Occured .

when i go to log it shows some thing like bellow.

WinWF Internal Error, terminating workflow Id# 42d887f8-8af4-48fb-b6c0-8d9a0af58f67 
09/03/2013 12:34:30.54  w3wp.exe (0x1780)                        0x29A8 SharePoint Foundation         Workflow Infrastructure        98d4 Unexpected System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.     at Microsoft.SharePoint.Workflow.SPWorkflow.GetReservedItemId(SPList list, Guid taskId, Boolean createNew)     at Microsoft.SharePoint.Workflow.SPWorkflow.GetReservedItemId(SPList list, Guid taskId)     at Microsoft.SharePoint.Workflow.SPWinOETaskService.CreateTaskWithContentTypeInternal(Guid taskId, SPWorkflowTaskProperties properties, Boolean useDefaultContentType, SPContentTypeId ctid, HybridDictionary specialPermissions)     at Microsoft.SharePoint.Workflow.SPWinOETaskService.CreateTask(Guid taskId, SPWorkflowTaskProperties properties, HybridDictionary specialPermissions)     --- End of inner exception stack trace ---     at... 
09/03/2013 12:34:30.54* w3wp.exe (0x1780)                        0x29A8 SharePoint Foundation         Workflow Infrastructure        98d4 Unexpected ... System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)     at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)     at System.Workflow.Activities.CallExternalMethodActivity.Execute(ActivityExecutionContext executionContex... 
09/03/2013 12:34:30.54* w3wp.exe (0x1780)                        0x29A8 SharePoint Foundation         Workflow Infrastructure        98d4 Unexpected ...t)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run() 
09/03/2013 12:34:30.63  w3wp.exe (0x1780)                        0x29A8 SharePoint Foundation         General                        i0n1 High     Could not write workflow telemetry usage entry to log 
09/03/2013 12:34:30.63  w3wp.exe (0x1780)                        0x29A8 SharePoint Foundation         General                        i0n1 High     Could not write workflow telemetry usage entry to log

Please help some one as i am new to sharepoint and can not  understand much.

Thanks in advance.


Mukesh


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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