Entries for month: January 2012

Railo on IIS 7 - Object reference not set to an instance of an object

Railo No Comments »

I have recently discovered some issues when running Railo on IIS 7 along with ASP.net and/or custom modules. In certain situations you will get a "Object reference not set to an instance of an object" error on your CFM pages even though they were working fine previously.

image

In particular my issue was being caused when using custom modules were installed for password protected folder, such as the WebsitePanel module or Helicon APE, which then broke CFM pages.

The solution is actually really simple, you just need to convert your "jakarta" virtual directory into an application. Obviously this only applies if you are using the Tomcat or similar distro which requires such a virtual directory. If you are using the Helicon Zoo module then you will have no such issue.

image

I am not absolute sure why this occurs, but my guess would be because the request is first handed off of the connector to be processed by Tomcat, which process in the process being returned to IIS with the wrong identity, and thus fails to execute the module in-process.
By setting the jarkarta vDir to an application it then then runs the connector using the application pool identity instead.

So if you switch to a different application pool or identity or even .net version/mode then you may need to also change the jakarta vDir to be the same.

Fight the flab with DietChef

Jibber Jabber 4 Comments »

 

For the last 9 weeks or so I have been on a diet, it wasn't really a choice, my wife discovered DietChef and make the decision for me (I guess she thinks I am too fat), which is probably a good thing as I doubt I would have done it for myself Smile, but I  have to say that I was actually pleasantly surprised, so I decided to write a review.

DietChef is basically calorie controlled dieting for dummies. If you are too too busy, too lazy, too stupid or just lack the motivation and self discipline to control your calorie intake yourself then DietChef is probably just the ticket for you. You get a monthly supply of calorie controlled ready meals (breakfast, lunch and dinner) delivered to your door which you eat every day instead of your usual meals, which you can supplement with things like rice, pasta and vegetables. 
I have always fallen into the too busy/lazy category, I like cooking, but I really cannot be bothered with calculating how many calories in everything I eat, weighing out exact portions, yada yada, this always seems like too much hassle when I get home from work and just takes the pleasure out of cooking...... 

 

Read more...

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds