-->
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.  [ 3 posts ] 
Author Message
 Post subject: VS2005 error: unable to copy file...
PostPosted: Mon Nov 21, 2005 6:42 am 
Newbie

Joined: Mon Nov 21, 2005 6:30 am
Posts: 2
in nHibernate1.0.1.0.
in winForm,when compile, vs2005's hint:Rebuild all failed

error info:

Error 20 Unable to copy file "..\NHibernate_DLL\bin\Debug\NHibernate.xml" to "bin\Debug\NHibernate.xml". Access to the path '..\NHibernate_DLL\bin\Debug\NHibernate.xml' is denied. WinForm.orderForm

thanks to you!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 21, 2005 8:16 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
Quote:
Unable to copy file "..\NHibernate_DLL\bin\Debug\NHibernate.xml"
to "bin\Debug\NHibernate.xml".

Access to the path '..\NHibernate_DLL\bin\Debug\NHibernate.xml' is denied.


Well... make sure that '..\NHibernate_DLL\bin\Debug\NHibernate.xml' is accessible...

Can you tell me what is the content of this file?
(it looks like the file containing the description of NHibernate classes... but it shouldn't be required)

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
 Post subject: thank NHibernate Team for reply!
PostPosted: Tue Nov 22, 2005 11:21 pm 
problem is resolved.
That's my inattention。
write
config.AddXmlFile(path.Substring(0, path.IndexOf("Sinco")) + "\\Sinco\\NHibernate_DLL\\orderForm\\operationChiefDoOrderForm\\业务.hbm.xml");

config.AddXmlFile(path.Substring(0, path.IndexOf("Sinco")) + "\\Sinco\\NHibernate_DLL\\orderForm\\operationChiefDoOrderForm\\operation.hbm.xml");

thank KPixel!


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

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.