Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# mrt 11/2/2009 4:48 PM
I'm running a forked version of 1.5 with the older nhibernate, so all my hbm files are nhibernate-mapping-2.0.

For some reason though I keep getting the following error on my local dev copy:
Could not find schema information for the element 'urn:nhibernate-mapping-2.2:hibernate-mapping'.

It seems to be intermittent, but I can't find any sign of this 2.2 versioned hbm file, I've searched all my code folders. The error is thrown on the constructor of CuyahogaContainer.

Does anyone have any ideas where this might be coming from? Or how I can start tracking it down?
# mrt 11/2/2009 4:58 PM
actually this error seems to go hand in hand with a popup in VS when launching debugging:

The following module was built either with optimizations enabled or without debug information:

C:\Users\Thom\AppData\Local\Temp\Temporary ASP.NET Files\root\16ed24e7\8fa6d7b0\assembly\dl3\20f57f79\00428b35_3580c801\Cuyahoga.Core.DLL

To debug this module, change its project build configuration to Debug mode. To suppress this message, disable the 'Warn if no user code on launch' debugger option.
# mrt 11/2/2009 5:04 PM
I think I've fixed it! for now anyway, bet it comes back as soon as I post this.

The fix was right click on the project (Core) and go to 'properties', then select the 'build' tab, on the bottom of the page there's an 'Advanced...' button, click it and set output debug info to 'full'
# Constructor 11/2/2009 5:58 PM (edited 11/3/2009 11:15 AM)
I get this error when part of my solution is built in debug and part in release. The solution is to:

Set the solution to build as debug: Right Click Solution 'Cuyahoga' > Properties > Configuration manager > Set to Debug in dropdown > close > ok

Right Click Solution > clean solution

Click save all

Exit VS2008 (or whatever version you use)

Start VS2008 and rebuild solution.

All the files will be rebuilt and all will be well again.

This works every time.

Also, ensure you do not have conflicting versions of dll in the Cuyahoga solution. I had this also in the past. Libs from a module that I added contained different dlls.