Hy,
I deploy a windows-forms-application on windows-server 2012 R2. The application uses crystal reports as report-engine. I Use the runtime enviroment 'CRforVS_redist_install_32bit_13_0.msi'. When running the application I get following error:
System.TypeInitializationException: Der Typeninitialisierer für "CrystalDecisions.CrystalReports.Engine.ReportDocument" hat eine Ausnahme verursacht. ---> System.TypeInitializationException: Der Typeninitialisierer für "CrystalDecisions.Shared.SharedUtils" hat eine Ausnahme verursacht. ---> System.IO.FileNotFoundException: Die Datei oder Assembly "log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
bei CrystalDecisions.Shared.SharedUtils..cctor()
--- Ende der internen Ausnahmestapelüberwachung ---
bei CrystalDecisions.Shared.SharedUtils.get_CurrentControl()
bei CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture()
bei CrystalDecisions.CrystalReports.Engine.CREng
But I found the file 'log4net' in the assembly cache. Is it nessecary to install a service-pack seperate ? Where can I find the sp 7 ? I think it is not included in the msi-package for the runtime-environment, isn't it ?
Florian Hroch