Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » Skelta BPM.NET 2006 » Skelta BPM.NET 2006 » Workflow Execution » Compiler Error Message in skelta...


Compiler Error Message in skelta...Expand / Collapse
Author
Message
Posted Monday, October 20, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, December 16, 2008
Posts: 32, Visits: 120
i set up Skelta Bpm.NET 2006 , AND without  changing in WorkflowNET.Config.Xml file and after adding controls of skelta , i used  Work Item Control in my form FROM my Web Application project in VS2005 and set ApplicationName property Default and UserIdInteger ,7.  but when i run  this project  i get this error :

//--------------------------------------------------------------------------//

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0103: The name 'applicationn' does not exist in the current context

Source Error:

Line 49:         object userid=_WorkItemControl.UserId;Line 50: Line 51:         Skelta.HWS.Actor Actor = new Skelta.HWS.Actor(applicationn, userid);Line 52:         Skelta.HWS.Queue.QueueCollection QueueCollection = Actor.GetNextItemEnabledQueues();Line 53:         //Skelta.HWS.Queue.QueueCollection QueueCollection = new Skelta.HWS.Queue.QueueCollection(application, Actor, Skelta.HWS.Queue.QueueCollection.ActorQueueAccessType.GetNextItemEnabled);

Source File: c:\Documents and Settings\izadi\My Documents\Visual Studio 2005\WebSit\skelta project\BPMUITemplates\Default\WorkItemList\UserControls\WorkItemControl.ascx    Line: 51

//---------------------------------------------------------------------------//

please help me to solve this problem ...

kind regards.

Post #982
Posted Wednesday, October 22, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, March 12, 2009
Posts: 166, Visits: 707

Hi,

 

I hope the spelling of application is wrong, please check the spelling in the error message. Hope your WorkflowNET.Config.Xml file is proper.

 

Regards,

Bineesh

Post #987
Posted Thursday, October 23, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, December 16, 2008
Posts: 32, Visits: 120

hi bineesh,

 i checked my spelling application name  in WorkflowNET.Config.Xml file and  this problem  is solved but now i have new problem that i hope you can help to me for solve it.

 at last week i received from support of skelta one document for sample that i run my project by using this

( http://www.skelta.com/forum/Topic983-34-1.aspx) on the page 2 of this document is said that i must add new xml file and name it as ChandanResource.xml

i added it and did other part of this document on my project but when i run project

i get this error :

 

 

Server Error in '/newskalta' Application.


Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

 

Line 21:     {

Line 22:         Client cl = new Client("Default", "Default");

Line 23:         cl.Execute("one", "<data><data1>abc</data1></data>");

Line 24:         cl.Close();

Line 25:


Source File: c:\Documents and Settings\izadi\My Documents\Visual Studio 2005\WebSit\newskalta\starrwf.aspx.cs    Line: 23

Stack Trace:

 

[NullReferenceException: Object reference not set to an instance of an object.]

   ResourceHandler.XMLResource.GetResource(Object ResourceID) +1441

   Skelta.Core.x82d67192489d2049.x8af54c1bca490518(Object xb7254d45a8ee6efa) +353

   Skelta.Core.VirtualActor.GetVirtualActorId(Object userId) +83

   Workflow.NET.Engine.Client.x18dfca7c5fd2402f(Int32 x77fa6322561797a0, Object x5c3d4eea3455c0ad, String x6b73aa01aa019d3a, VariablesCollection x8513e2047b99ae50, Boolean x7c318e6ba2aac010, SynchronousActionData x9e8323115f984df0, Boolean x7b5b137df4a02243, String& x9f83151501e5c49d) +371

   Workflow.NET.Engine.Client.Execute(Object UserID, String Data) +64

   starrwf.Button1_Click(Object sender, EventArgs e) in c:\Documents and Settings\izadi\My Documents\Visual Studio 2005\WebSit\newskalta\starrwf.aspx.cs:23

   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +112

   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110

   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

 


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

 

 

 

please help to me ...

thanks

regards

Post #991
Posted Thursday, October 23, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, March 12, 2009
Posts: 166, Visits: 707

Hi,

 

The first argument of the execute method is the user info, You are supposed to pass the user id. Whereas “one” is not a valid argument.

Regards,

Bineesh

Post #992
Posted Sunday, October 26, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, December 16, 2008
Posts: 32, Visits: 120
Hi,


at first thanks for your help,bineesh.
what is argument valid ?is your intent type of userid that i must put instead of "one" for example "1" or no in otherwhere should i  specify userid?

regards
mojde

Post #995
Posted Monday, October 27, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, March 17, 2011
Posts: 66, Visits: 73
Hi Mojde,

Please provide a valid userid in the client.execute method. Skelta engine checks the user details againt the Resource Repository, in this particular example Skelta engine is not getting the user information and hence the error.

Regards,

RSimon

Post #996
Posted Tuesday, October 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, December 16, 2008
Posts: 32, Visits: 120
Hi RSimon ,

i don't know ,when userid is valid this means what shall i do that user id is be valid?

please say to me step by step.

regards and thanksfully

mojde

Post #997
Posted Tuesday, October 28, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, March 17, 2011
Posts: 66, Visits: 73
Hi Mojde,

From the post details I understand that you have mapped the application define in the Workflow.net.config XML file to a resource repository using the resource handler XML file you define (I assume you named it ChandanResource.xml, this can be any name but the file should exist in the Skelta folder). In the resource handler XML file, you need to specify which Data source and table/view Skelta BPM.Net need to look into and it is specified in using the nodes datasource and SourceTable in the XML file. The user details that needs to used is specified using the different Property nodes in the XML file.

Alternatively you can reach Skelta Support at Support@Skelta.com

Regards

RSimon

Post #998
Posted Thursday, November 06, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, December 16, 2008
Posts: 32, Visits: 120
Hi RSimon,

my problem was solved ,thank's for your help.

best regards

Post #1008
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
-
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.

All times are GMT -5:00, Time now is 10:58am

 
Execution: 0.172.10 queries.Compression Enabled.

Copyright © 2002 - 2009 Skelta Software. All rights reserved. Tel: 1 (678) 306 4110 | Email:sales@skelta.com
Skelta - A BPM Workflow Software Company