I was in a meeting where we had a discussion about keeping the modifications made to a database synchronized with the NHibernate mappings. Some said that there was a method called Validate() which just needed to be run and that all that was needed. I was right, it would turn out to be skeptical of […]
Read More →Archive for January, 2013
Nhibernate QuerySyntaxException is not mapped from
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
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 →Web Deploy – CannotGetStreamIncompleteObject
Web Deploy is a very powerful tool with lots of features, one of which is the ability to synchronize file between a source and 1-n destination servers. So, from web farm perspective, you can apply all of your code modifications to a single server and then use Web Deploy to move those files to other […]
Read More →Using Process Monitor to solve any problem, including DebugDiag
I attended TechReady15 and took part in a session from Mark Russinovich, the creator of Process Monitor and many if not all of the System Internals tools. He mentioned that there is no problem which Process Monitor cannot be used to help resolve. I put that to the test when I received the error message, […]
Read More →My Windows 8 Store App – Hitman Website Monitor
I am migrating all my articles to this site. I wrote this one long ago and posting here for historical reasons. I hope you enjoy it. After creating my Windows Phone application I wanted to test out how difficult or easy it would be to port that to a Windows 8 Store App. After some […]
Read More →Application Initialization not making a request to the initialization page
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
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
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
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 →