| Author |
Message |
|
2007/02/27 17:57
|
|
|
tdk68304
Joined: 2007/02/27
Messages: 3
Offline
|
|
|
|
I have just uploaded my application to my hosting provider and got the following error.
"System.Security.SecurityException: That assembly does not allow partially trusted callers."
After investigation it appears the problem lies with NHibernate and that it will only work in "Full Trust" mode. I have registered this with support who report that it's a NHiberate problem and there's nothing they can do until NH fix it.
Has anybody else experienced this problem and gotten around it?
btw: my hosting provider only allow medium trust
|
|
|
|
 |
| |
|
2007/02/28 08:33
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
Hi tdk68304,
Thank you for your post. I am sorry that "full trust" is necessary for running NHibernate, and also our ORM layer.
Best regards,
Jick
|
Visual Paradigm International Ltd.
http://www.visual-paradigm.com
Build Quality Applications Faster, Better and Cheaper |
|
|
|
 |
| |
|
2007/02/28 15:45
|
|
|
tdk68304
Joined: 2007/02/27
Messages: 3
Offline
|
|
|
|
|
 |
| |
|
2007/03/01 08:39
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
Hello tdk68304,
I notice that you have been requesting for the source to perform the customization yourself. Have you received our message with the source? Did you try and was it success?
Best regards,
Jick
|
Visual Paradigm International Ltd.
http://www.visual-paradigm.com
Build Quality Applications Faster, Better and Cheaper |
|
|
|
 |
| |
|
2007/03/01 17:37
|
|
|
tdk68304
Joined: 2007/02/27
Messages: 3
Offline
|
|
|
|
I added the [assembly: System.Security.AllowPartiallyTrustedCallers] in the AssemblyInfo file but this didn't work.
I think NH v1.2 fixes several issues. Will you be upgrading your code base?
Would it be worth seperating your ORM code from the NH code that way users could apply HN updates (providing there's nothing radically different in the NH code) without being dependent on you guys for updates?
|
|
|
|
 |
| |
|
2007/03/10 16:27
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
Hello tdk68304,
Sorry for keep you waiting. We may upgrade to version 1.2 when its stable release is ready. About separating ORM, we recommend you to generate as POJO and then use pure NHibernate.
Best regards,
Jick
|
Visual Paradigm International Ltd.
http://www.visual-paradigm.com
Build Quality Applications Faster, Better and Cheaper |
|
|
|
 |
| |