-->
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: Security Exception ?
PostPosted: Thu Oct 18, 2007 3:05 pm 
Newbie

Joined: Sat Oct 13, 2007 1:47 am
Posts: 2
Hello Everyone,

I'm getting this Security Exception as my Hosting Provider Supports medium level trust (GoDaddy).

I'm using the latest everion of NHibenate which suppose to solve this problem as has the property inbuilt and I'm wondering what I'm doing wrong.

below is the complete description of the error :


[SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.IO.Directory.SetCurrentDirectory(String path) +88
NHibernateHelper.BuildFactory() in NHibernateHelper.cs:46
NHibernateHelper..cctor() in NHibernateHelper.cs:37

Can someone please let me know what is going wrong and where and ways to fix it.

Thanks for the help.

Harsimrat


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.