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 →