Hi,
can you please tell me, if possible, what this PS exception (1.5 ver, I am using Do4.2.5) means?
Exception stack:
System.TypeInitializationException: The type initializer for 'Bonefisher.Business.DomainFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for '~PostSharp~Laos~Implementation' threw an exception. ---> System.Security.SecurityException: Request failed. at PostSharp.Laos.Internals.DeserializeFromResource(Assembly assembly, String resourceName) at ~PostSharp~Laos~Implementation..cctor() --- End of inner exception stack trace --- at Bonefisher.Business.DomainFactory..cctor() in E:\-- Projects --\Bonefisher\Bonefisher.Business\Bonefisher.Business\DomainFactory.cs:line 9 --- End of inner exception stack trace --- at Bonefisher.Business.DomainFactory.GetDomain() at Bonefisher.Business.TestServices.SetData(String text) in E:\-- Projects --\Bonefisher\Bonefisher.Business\Bonefisher.Business\TestServices.cs:line 16
thanks,
David
Updated at 07.08.2010 13:15:03
It is working locally, but on a remote server (Sql Server 2008) I get this exception.. Maybe it is somehow related to their security configuration?
And an additional info: they are running Asp.Net 4... i am building with .net 3.5
Updated at 07.08.2010 14:41:21
I figured it out:
You cannot use IIS App pool with target .Net 4.0 and the web-app with referenced dlls built with PS1.5 (.Net 3.5).
This thread was imported from our support forum. The original discussion may contain more detailed answer.
Original topic by david_csharp.
asked
Aug 07 '10 at 13:13
Editor
46●156●156●157