This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi support, i have a problem with my code. Here is the detail of the Exception
Method `Mindscape.LightSpeed.Querying.Group:set_Mode (Mindscape.LightSpeed.Querying.Group/QueryMode)' is inaccessible from method `Mindscape.LightSpeed.Linq.Sqo.Where:ExtractWhereCriteria (System.Linq.Expressions.MethodCallExpression,Mindscape.LightSpeed.Linq.Plan.LinqQueryPlanExpression,Mindscape.LightSpeed.Linq.Plan.GroupResultsPlan)'Description: HTTP 500. Error processing request. Stack Trace:
Version information: Mono Runtime Version: 2.6.4 (tarball ven mag 14 10:07:09 CEST 2010); ASP.NET Version: 2.0.50727.1433 My application have this problem in randomic moments (sometimes for every request, sometimes for half the requests)
Here is the 2 query code i use
var rec = ( from b in MasterUnitOfWork.Banners where b.Id == ClickContext.BannerId let c = b.Campaign select new { CampaignId = c.Id, c.Cookielifetime, c.Rstatus, b.Destinationurl } ).First();
var pi = from o in MasterUnitOfWork.CommissionsViews where o.Userid == UserId && o.Commissionname == Config.PostImpressionCommissionName && o.Commissionstatus == "E" select o;
if (pi != null && pi.Count() > 0) Boolean hasPI = true;
I write in C# Have some hints about this error? Regards
Daniele Mantovani
|
|
|
|
Hi Daniele, From the stack trace it indicate that the issue is coming from a LINQ based grouping query, neither of which seems to match up the two queries you have posted and I have not been able to replicate this as yet but I am using a different version of Mono than you so this perhaps may be the issue. Would it be possible for you to send through a small repro or a copy of the code in the following methods:
Triboo.Advercy.Web.ClickHandler.get_ClickItem () You can either attach these to the issue, or email them through to me at jeremy @ the obvious domain name.
Thanks! Jeremy |
|