Bug 10038 - mono fails to find the entry point.
Summary: mono fails to find the entry point.
Alias: None
Product: Runtime
Classification: Mono
Component: Interop ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-02-05 04:10 UTC by Alistair Leslie-Hughes
Modified: 2017-07-14 23:50 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Alistair Leslie-Hughes 2013-02-05 04:10:49 UTC
Download SQLManagementStudio_x86_ENU.exe from

Install cabextract if required.
run "cabextract "SQLManagementStudio_x86_ENU.exe"
Change to the x86 directory.
Run "mono setup100.exe"

The exception "System.TypeLoadException" is being thrown since mono thinks the Entry Point resides in another assembly.
The class "Microsoft.SqlServer.Chainer.Setup.Setup" can be found in the setup100.exe but mono is trying to load the "Microsoft.SqlServer.Chainer.Setup" assembly.
I'm not expecting the installer to get very far after the TypeLoadException issue is fixed since it's a windows based program. (p-invoke), but with wine it might just work ;)
Any Ideas?
Comment 1 Rodrigo Kumpera 2017-07-14 23:50:52 UTC
The installer is a windows binary and not a dotnet assembly. You can try to run it with wine instead.