Stefan Küng wrote:
> It depends also on the OS version you're using. As I said, it can work
> (depending on some OS settings) on XP and lower. But it won't work on
> Server2003 and Vista for non-admin users (without changing the default
> OS settings).
> Also, httpd.exe runs as a service with the SYSTEM user account, which
> has some more rights than a normal application.
>
> And of course it also depends on where the crt dlls are installed to.
> While it is recommended to install them with the msn (msi merge module)
> provided by MS, it's not required. And some apps will install them on
> their own (not every app uses an msi installer), which usually means the
> crt dll's are *not* installed in the SxS cache of the OS - and then
> you're screwed.
>
> Another thing to remember: apps can get uninstalled. And (as my
> experience clearly shows) they often uninstall the crt dlls too if they
> have them installed before - which means the other apps which correctly
> just increased the install counter of those dlls don't have them anymore.
>
> Also remember that such situations are called "dll hell" - It'which
> means they usually don't happen on the devs computer. Otherwise the s
> hell because you get problems which are hard to diagnose, often don't
> happen immediately but after some time (after users install other tools
> and don't have any problems until they run your app again) and of course
> don't happen on all machines but "just a few". But if you have enough
> users, those "few" can ruin many days and weekends.
Thanks for the explanation, Stefan.
So, one way you can isolate yourself from other applications would be to
install the SASL plugins in a TSVN-specific location and call the
sasl_set_path() function before doing anything with Subversion, like this:
if (sasl_set_path(SASL_PATH_TYPE_PLUGIN, "your path here") != SASL_OK)
{ /* handle error */ }
--
Vlad
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 26 15:30:39 2007