If I install MonetDB in the normal way on a Windows machine, it installs the C runtime library dlls in a location like C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT...

However, we want to install MonetDB along with our product, in a single installation procedure that doesn't require the user to have administrative rights.  That means we need to install the CRT directory as "private assemblies", copying it to the MonetDB application directories.  I've almost gotten this to work by copying the CRT directory to MonetDB5/lib, bin and lib/MonetDB5.  I can run MSQLServer.bat and mclient.bat in separate console windows.

But when I try to run some SQL commands (my test case is a 'create table' and a 'copy into' from a CSV file), mclient dies with a Windows exception.  The event in Event Viewer shows:

  Faulting application mclient.exe, version 0.0.0.0, faulting module ntdll.dll

In theory the private assemblies are all that Windows needs, and in fact the programs run which implies that the libraries are being found.  I don't understand why the crash happens later.  I'm hoping someone else has tried this.  The exception happens with the last official Windows release as well as with our built-from-cvs version.

Thanks,
Bryan Lewis