-->
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: stdole not found
PostPosted: Wed Jul 06, 2005 11:53 pm 
Regular
Regular

Joined: Mon May 30, 2005 11:20 pm
Posts: 66
Hey, when I:
Code:
NHibernate.Cfg.Configuration.BuildSessionFactory();


I get the following exception:

Quote:
[FileNotFoundException: File or assembly name stdole, or one of its dependencies, was not found.]
NHibernate.Persister.EntityPersister..ctor(PersistentClass model, ISessionFactoryImplementor factory) +0
NHibernate.Persister.PersisterFactory.Create(PersistentClass model, ISessionFactoryImplementor factory) +59
NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, IDictionary properties, IInterceptor interceptor, Settings settings) +820
NHibernate.Cfg.Configuration.BuildSessionFactory() +92
financialmodeling.web.FinancialModelWebPagePage.SetupFESRCConnection(Boolean newSession) in C:\Inetpub\wwwroot\FinancialModelingWeb\pages\FinancialModelWebPage.vb:242


This exception is not present on my development machine - only happen on production. It turns out that "stdole.dll", which could be found on development machine's:

C:\Program Files\Microsoft.NET\Primary Interop Assemblies

I solved the problem by putting "stdole.dll" in "bin" folder of my application... is this "proper" way to resolve the issue?


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.