Archive for January, 2013

Nhibernate QuerySyntaxException is not mapped from

NHibernate Benjamin Perkins

An important step which is often overlooked when beginning the process of mapping your database is to set the Build Action to Embedded Resource. (Buildvorgang – Eingebettete Resource). If you forget to do this you may receive a QuerySynataxException stating that the … is not mapped [from …]. It is also possible to store the […]

Read More →

NHibernate could not execute query, ORA-00904 invalid identifier

NHibernate Benjamin Perkins

This is a pretty easy one to solve. This happens because the column attribute in the mapping file does not exist on the database being accessed. <property  name=”SpelledWrong”               column=”SPELLDWRONG”               type=”string” />     More than likely there is a spelling mistake or the column doesn’t exist on the table being mapped.

Read More →

Application Initialization not making a request to the initialization page

IIS Benjamin Perkins

Setting up Application Initialization is pretty straight forward. Instructions can be found here or here. After setting it up the Application Initialization module with these parameters: autoStart = True startMode = AlwaysRunning when IIS was restarted the W3WP worker process was started up and running just as expected. Figure 1 shows a Process Explorer Properties […]

Read More →

Some tips for troubleshooting 503 HTTP Status codes

IIS Benjamin Perkins

503’s are challenging HTTP status codes to resolve. Sometimes they happen what appears to be random and other times they are shutting down your entire website. When you see a 503 in your HTTP Error log or IIS Logs randomly I like to recommend that the default setting of the application pool recycle be changed. […]

Read More →

Creating custom, language specific error pages in IIS

IIS Benjamin Perkins

Some time ago I wrote an article that provided information about how to implement customer error pages into IIS. That article was focused only on providing a custom error page in a single language. This article will cover instructions on how to configure IIS to use the language setting in Internet Explorer to choose a […]

Read More →

It’s not IIS

IIS Benjamin Perkins

Before joining Microsoft, I worked for many years in a large corporation supporting IIS. When there was a disruption of service management always wanted, and needed to know what happened. It is a standard practice that management wants to understand so that actions can be taken to prevent it from happening again. The OS team, […]

Read More →