A client had a need to filter the Monthly Sales Summary report by group membership.  In other words, restrict the totals to orders placed by users only in a specific user group. The initial NHibernate query is such: ICriteria criteria = NHibernateHelper.CreateCriteria<CommerceBuilder.Orders.Order>("O") .CreateCriteria("Items", "OI", NHibernate.SqlCommand.JoinType.InnerJoin) .Add(Restrictions.Eq("O.Store", AbleContext.Current.Store));   So I added a dropdown t...
Microsoft tries so hard to make things simple, yet often winds up making them harder.  I needed to set folder permissions with an ASP.Net 4.0 website running on Server 2012.   The problem was the site worked, but certain folders needed Modify rights. To make this happen properly, you have to: 1.  Locate the name of the application pool assigned to your asp.net website.  In my case, we’ll call it BlahAppPool.  You can find which app pool is assigned by using IIS Manager and going to the Basic Settings of the website in question. 2.&...