-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: MappingException was unhandled by user code
PostPosted: Wed Mar 19, 2008 9:58 am 
Newbie

Joined: Mon May 21, 2007 3:14 pm
Posts: 14
I have a NHibernate.Cfg.Configuration object with which I am trying to run the AddAssembly method, passing in the full name of the the assembly which I am trying to add ("Slm.Swis.Framework.TableObjects.Oracle"). When I run the code I get "MappingException was unhandled by user code" and it says "Could not add assembly Slm.Swis.Framework.TableObjects.Oracle.

Here is the InnerException property:
{"Could not load file or assembly 'Slm.Swis.Framework.TableObjects.Oracle' or one of its dependencies. The system cannot find the file specified.":"Slm.Swis.Framework.TableObjects.Oracle"}
System.Exception {System.IO.FileNotFoundException}

I have added the reference to this DLL in the project calling this function. Not sure what the deal is. Anyone have any ideas? Is there a way I can tell what path it is using to try to find the file?

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.