The part of call stack: System.TypeInitializationException: The type initializer for 'Namespace.Project.Util' threw an exception. ---> NHibernate.MappingException: Could not compile the mapping document: (unknown) ---> System.InvalidOperationException: Unable to generate a temporary class (result=1). error CS0583: Internal Compiler Error (0xc0000005 at address 5A15CA19): likely culprit is 'IMPORT'. error CS0586: Internal Compiler Error: stage 'IMPORT' error CS0587: Internal Compiler Error: stage 'IMPORT' error CS0587: Internal Compiler Error: stage 'PARSE' error CS0587: Internal Compiler Error: stage 'BEGIN'
-------------------------------------------------------------------------------------------------------------------------- Problem with this exception is that it never occurs on my development machine (Win7, VS 2008, .NET framework 3.5). When I compile it or just run compiled app it runs normally. When I put it on server (Win2003, .NET framework 2.0 SP2) it gives me this exception. I somehow doubt that .NET framework is a problem because application is built on .NET 2.0 framework. I've read that it might be the problem with TEMP folder and r/w permissions, but only for ASP.NET apps. This isn't a case because this is Win application. I also compared both databases it uses and tables it uses for mapping have same DDL. I googled about this exception and couldn't find anything helpful. Anyone has any idea what could be the problem? Thanks in advance for your answers. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
