[rules-users] .NET web application problem

primoz1987 koletnik at gmail.com
Sun Dec 26 04:14:46 EST 2010


Hello!

I have a lot of problems with my asp.net web application.
The example(MinimalDroolsForm) good fine to me, but web application not..

Did you resolved that problem with missing compiledRules0.dll or The invoked
member is not supported in a dynamic assembly error.

error show at builder.AddPackageFromDrl(rule);
I am sure there is no problem with my Stream and .drl file.

If I do that:

try  {            
       builder.AddPackageFromDrl(rule);          
 }  catch (Exception ex)      
     {              
 if (ex is NotSupportedException)      
         {       }    
 }
get error: ... rule is not valid, but I'm sure it is..
rule:
package test

rule "OldCustomer"
when
cust : Bolnik( Id > 90 )
then
modify(cust) { cust.Starost = "111" };
end
or
rule "OldCustomer"
when
cust : CustomerRecord( Id > 90 )
then
cust.Starost = "111";
modify(cust);
end

I really need help because I spent a lot of time with these problem.
I can't find .NET web app example..

-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/NET-web-application-problem-tp2146922p2146922.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list