Archive | Languages RSS feed for this section

NHibernate.MappingException: Unknown entity class

The dreaded “NHibernate.MappingException: Unknown entity class” exception thrown by NHibernate in your .NET web application indicates that the class you are trying to map in your .hbm.xml file cannot be located for some reason. The first thing to check is to right-click on each of your .hbm.xml files and make sure the Build Action property [...]

65 Comments Continue Reading →

AJAX Toolkit AutoComplete Extender not Firing

I recently had some trouble with the .NET AJAX Toolkit AutoComplete Extender which did not seem to be working despite copying all of the code directly from the documentation. I discovered two missing pieces that were not obvious (to me at least). The first is that I was trying to use a ServiceMethod without a [...]

43 Comments Continue Reading →

web.config error "Unrecognized attribute 'type'" for .NET 2.0

This applies to Windows Server 2003. This error can occur when you have .NET 1.0 and .NET 2.0 applications running on the same server. This particular error can occur when you haven’t selected .NET 2.0. in the application settings. Windows 2003 Uses Application Pools which can only support one version of the .NET framework at [...]

9 Comments Continue Reading →

Could not find schema information for the element 'log4net'

This perplexing error message recently started to occur in .NET 2.0 applications when adding log4net information within the web.config file as shown in the documentation. The source of the problem seems to be related to the visual studio XML validation and isn’t specifically a log4net problem. More information about the error can be found on [...]

12 Comments Continue Reading →

Installing Perl modules on UNIX w/o root permissions

Installing Perl modules on a UNIX virtual server when you don’t have root or administrator privledges. Before you begin: In order to install modules, you have to have SSH or Telnet access to the server. If you don’t have this access (or you don’t know what SSH/Telnet means) then you’ll probably have to get your [...]

1 Comment Continue Reading →