www.skelta.com
Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » BPM.NET 2007/Sharepoint Accelerator 2007 » BPM.NET 2007/Sharepoint Accelerator 2007 » Workflow Execution » Error in Getting Read Only Context for...


Error in Getting Read Only Context for...Expand / Collapse
Author
Message
Posted Monday, January 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hi there,

I started having this problem and I have no idea of what is going on.

I am currently unable of doing anything in skelta.

Thanks for your help.

! - @#@Source - at System.Collections.SortedList.Add(Object key, Object value)
at Workflow.NET.ActionsData.LoadXMLData(Stream XMLDataStream)
at Workflow.NET.ActionsData.x4df656a32a73df0e(String xa39af5a82860a9a3)
at Workflow.NET.ActionsData.Initialize(RunMode Mode, Assembly RunningInAssembly)
at Workflow.NET.Engine.CacheWrapper.GetActionData(String ApplicationName, String WorkflowName)
at Workflow.NET.Engine.Context.x855150d0664edd8d()
at Workflow.NET.Engine.Context.x352d76a713369ce2()@#@Date - 10:20:03.664@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.3_-_Pedido_de_Informacao_Previa@#@ExecutionId - 325@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@FileName - Context.cs@#@_MachineName - SNITURHDEV2RC, Process - WFEngine.NET2@#@Message - Error in Getting Read Only Context for executionid-325, - Item has already been added. Key in dictionary: 'Start' Key being added: 'Start'@#@
! - @#@Source - at System.Collections.SortedList.Add(Object key, Object value)
at Workflow.NET.ActionsData.LoadXMLData(Stream XMLDataStream)
at Workflow.NET.ActionsData.x4df656a32a73df0e(String xa39af5a82860a9a3)
at Workflow.NET.ActionsData.Initialize(RunMode Mode, Assembly RunningInAssembly)
at Workflow.NET.Engine.CacheWrapper.GetActionData(String ApplicationName, String WorkflowName)
at Workflow.NET.Engine.Context.x855150d0664edd8d()
at Workflow.NET.Engine.Context.x352d76a713369ce2()@#@Date - 10:20:03.814@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.3_-_Pedido_de_Informacao_Previa@#@ExecutionId - 368@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@FileName - Context.cs@#@_MachineName - SNITURHDEV2RC, Process - WFEngine.NET2@#@Message - Error in Getting Read Only Context for executionid-368, - Item has already been added. Key in dictionary: 'Start' Key being added: 'Start'@#@
! - @#@Source - at System.Collections.SortedList.Add(Object key, Object value)
at Workflow.NET.ActionsData.LoadXMLData(Stream XMLDataStream)
at Workflow.NET.ActionsData.x4df656a32a73df0e(String xa39af5a82860a9a3)
at Workflow.NET.ActionsData.Initialize(RunMode Mode, Assembly RunningInAssembly)
at Workflow.NET.Engine.CacheWrapper.GetActionData(String ApplicationName, String WorkflowName)
at Workflow.NET.Engine.Context.x855150d0664edd8d()
at Workflow.NET.Engine.Context.x352d76a713369ce2()@#@Date - 10:20:03.814@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.3_-_Pedido_de_Informacao_Previa@#@ExecutionId - 269@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@FileName - Context.cs@#@_MachineName - SNITURHDEV2RC, Process - WFEngine.NET2@#@Message - Error in Getting Read Only Context for executionid-269, - Item has already been added. Key in dictionary: 'Start' Key being added: 'Start'@#@
! - @#@Source - at System.Collections.SortedList.Add(Object key, Object value)
at Workflow.NET.ActionsData.LoadXMLData(Stream XMLDataStream)
at Workflow.NET.ActionsData.x4df656a32a73df0e(String xa39af5a82860a9a3)
at Workflow.NET.ActionsData.Initialize(RunMode Mode, Assembly RunningInAssembly)
at Workflow.NET.Engine.CacheWrapper.GetActionData(String ApplicationName, String WorkflowName)
at Workflow.NET.Engine.Context.x855150d0664edd8d()
at Workflow.NET.Engine.Context.x352d76a713369ce2()@#@Date - 10:20:03.824@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.1@#@ExecutionId - 1176@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@FileName - Context.cs@#@_MachineName - SNITURHDEV2RC, Process - WFEngine.NET2@#@Message - Error in Getting Read Only Context for executionid-1176, - Item has already been added. Key in dictionary: 'Start' Key being added: 'Start'@#@
i - @#@Date - 10:21:05.413@#@ApplicationName - SNITURHFormsRepository@#@Module - C:\Program Files\Skelta\BPM.NET 2007\Bin\WFEngine.NET2.exe@#@_MachineName - SNITURHDEV2RC, Process - WFEngine.NET2@#@Message - ##AppDomain created -appCaheSNITURHFormsRepository, for application -SNITURHFormsRepository@#@



Rui
Post #439
Posted Monday, January 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 6:29 AM
Posts: 105, Visits: 556

Hi Rui,

 

Could you please let me know when you are getting this error? I mean in which scenario?

Regards,

Bineesh E Raghavan

Post #441
Posted Monday, January 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
As soon as I start the services this error will show.

Also, if I try to open a workflow in process designer I will get the "Item has already been added. Key in dictionary: 'Start' Key being added: 'Start' " error.

Additionally I found that if I try to open a workflow in BAM the following error will occur, I'm not sure if they are related to each other:

Invalid value for SecuredUriParameter
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Invalid value for SecuredUriParameter

Source Error:


Line 23: System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(culture);
Line 24:
Line 25: wer = new Workflow.NET.Web.Report.WorkflowExecutionReport(suri);
Line 26: GR = wer.GlobalResourceSet;
Line 27:


Source File: c:\WebsiteSkeltaControl\BPMUITemplates\Default\ProcessExecutionView\ShowView.aspx.cs Line: 25

Stack Trace:


[ArgumentException: Invalid value for SecuredUriParameter]
Workflow.NET.Web.Report.WorkflowExecutionReport..ctor(String SecuredUriParameter) +492
SkeltaTemplates_Default_ProcessExecutionView_ChildWorkflow.Page_Load(Object sender, EventArgs e) in c:\WebsiteSkeltaControl\BPMUITemplates\Default\ProcessExecutionView\ShowView.aspx.cs:25
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

Thanks for your help,

Rui

Post #442
Posted Monday, January 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 6:29 AM
Posts: 105, Visits: 556

Hi Rui,

 

Hope these messages are not effecting/interfering the workflows and most of them are just to notify the  activities performed by Skelta engine.

 

Could you please let me know which debug level are you using?

Regards,

Bineesh E Raghavan

Post #443
Posted Monday, January 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hello there,

I am using debug level 2.

Best regards,

Rui
Post #444
Posted Monday, January 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 6:29 AM
Posts: 105, Visits: 556

Hi Rui,

 

Change the debug mode level to “3”, which shows only optimal details regarding workflow execution, like what time the workflow started, to whom is it assigned and what action he/she has taken etc. Skelta recommends debug level “3” for developers.

 

Debug mode level “2” will give complete information regarding what all activities are been performed by Skelta Engine, which is sometimes little more information to the developer. And it will be difficult to identify the details that is required for debugging.

Regards,

Bineesh E Raghavan

Post #445
Posted Monday, January 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hi there,

I did as you advised.

The message remains the same.

Thanks for your help.

Best regards,

Rui
Post #446
Posted Monday, January 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 6:29 AM
Posts: 105, Visits: 556

Hi Rui,

 

Please let me know the following details:

 

1.       Which build are you using?

2.       When did you start getting this error?

3.       Is it after creating custom activity?

 

Ensure that you’ve only one copy of “actions.xml” in the folder “C:\Program Files\Skelta\BPM.NET 2007\ WorkflowElements\[FolderName]\en-US\Actions\XML”.

Regards,

Bineesh E Raghavan

Post #447
Posted Monday, January 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hi there,

I made some changes to the action.xml file and I left a "copy of actions.xml" in the folder.

With that file removed, I stopped IIs, stopped skelta services, cleaned temp files (asp.net and skelta).

Started IIS and Skelta services and everything is working fine now.

Thanks for your help.

Best regards,

Rui

Post #448
« Prev Topic | Next Topic »


Reading This Topic