|
Home > Archive > BizTalk Server Orchestration > January 2005 > Business Rules .NET
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Business Rules .NET
|
|
|
| created business class
using System;
namespace BusinessRuleSam
{
[Serializable]
public class Class1
{
public Class1()
{
}
public int GetNumber()
{
return 5;
}
}
}
put it in GAC and add in business rule composer
Project.schema1:/Employee/Age greater than class1.GetNumber()
In the orchestration project, i referenced this assembly and i created a
Orch variable for this class
In the call rules, i ref this policy and parameter i gave message and this
variable.
It throws me error when i run
------------------------
ncaught exception terminated service
BusinessRulesOrch.BizTalkOrchestration(ca82eb36-b9ba-a348-dbd5-8fdbd411a717),
instance 2c37fdf6-d807-4bef-9ffb-af54bddf8f77
File or assembly name BusinessRuleSam, or one of its dependencies, was not
found.
Exception type: FileNotFoundException
Source: BusinessRulesOrch
Target Site: Microsoft.XLANGs.Core.StopConditions
segment1(Microsoft.XLANGs.Core.StopConditions)
Help Link:
Additional error information:
| |
| Matt Milner 2005-01-21, 7:47 am |
| check your version number in the assembly info.cs file for your business
rules library. If it is set to 1.0.* then you might have a version
inconsistency. Try setting it to 1.0, rebuilding the service and the policy
and then redeploying and running.
matt
"Sents" <Sents@discussions.microsoft.com> wrote in message
news:F87BDFF0-4558-4A5F-827B-10FFBCB04AB9@microsoft.com...
> created business class
> using System;
> namespace BusinessRuleSam
> {
> [Serializable]
> public class Class1
> {
> public Class1()
> {
> }
> public int GetNumber()
> {
> return 5;
> }
> }
> }
>
> put it in GAC and add in business rule composer
>
> Project.schema1:/Employee/Age greater than class1.GetNumber()
>
> In the orchestration project, i referenced this assembly and i created a
> Orch variable for this class
> In the call rules, i ref this policy and parameter i gave message and this
> variable.
> It throws me error when i run
> ------------------------
> ncaught exception terminated service
> BusinessRulesOrch.BizTalkOrchestration(ca82eb36-b9ba-a348-dbd5-8fdbd411a717),
> instance 2c37fdf6-d807-4bef-9ffb-af54bddf8f77
>
> File or assembly name BusinessRuleSam, or one of its dependencies, was not
> found.
>
> Exception type: FileNotFoundException
> Source: BusinessRulesOrch
> Target Site: Microsoft.XLANGs.Core.StopConditions
> segment1(Microsoft.XLANGs.Core.StopConditions)
> Help Link:
> Additional error information:
>
>
|
|
|
|
|