Hello! I'm receiving strange exception on prod:
Error Common.Logger - System.InvalidOperationException: Unable to generate a temporary class (result=1). error CS0016: Could not write to output file 'c:\Users\tillias\AppData\Local\Temp\faoghbgl.dll' -- 'Отказано в доступе. ' at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence) at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace) at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) at NHibernate.Cfg.Configuration..ctor(SettingsFactory settingsFactory) at NHibernate.Cfg.Configuration..ctor() I've attached to process using debug version and reproduced exception. It is thrown directly from ctor of Nhibernate.Cfg.Configuration: Configuration config = new Configuration(); so log presented above gives correct call stack. I've tried to rellocate Temp dir using app.config to different places, played with permissions to folder, tried to launch as administrator or normal user -- nothing helps. Any suggestions? Thanks! -- 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.
