http://bugs.winehq.org/show_bug.cgi?id=31215
Bug #: 31215 Summary: FOCA Free fails to start because of carriage return entities in .net's machine.config? Product: Wine Version: 1.5.8 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
A user complained in http://forum.winehq.org/viewtopic.php?t=16143 that "FOCA Free" crashed on startup.
The app initially crashes with some weird mono error, so I tried 'winetricks dotnet20'.
This prompted the app to crash with Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0 so I tried 'winetricks dotnet35'.
After that, the app crashed with System.Configuration.ConfigurationErrorsException: Unrecognized element. (C:\windows\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 156)
Looking at that file, I saw that that line and all later lines ended with a carriage return entity (ampersand # 13 ;). Removing those entities let the app start ok. Verified that doing a clean install of .net 3.5 in an empty .wine directory before installing the app gives the same result.
I tried to nail down when those bogus entities appeared by watching that file as I installed the various prerequisites, and (aside from having real CR's in it) it seemed clean right up through dotnet30sp1. However, I can't always get dotnet35 to install... it often hangs. So this bug report is somewhat incomplete.