Business Rules .NET
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Business Rules .NET




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Business Rules .NET  
Sents


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-20-05 10:51 PM

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:







[ Post a follow-up to this message ]



    Re: Business Rules .NET  
Matt Milner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-21-05 12:47 PM

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-8fdbd411a71
7),
> 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:
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:24 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register