[Mono-list] Re: MySQL Connection from .NET Website (David P. Donahue)

Elfyn McBratney me@beu.demon.co.uk
Thu, 3 Feb 2005 02:28:40 +0000


--nextPart1662834.SkSn4N2EpZ
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi David,

On Thursday 03 Feb 2005 02:03, David P. Donahue wrote:
> [...] I added the .dll, changed my code accordingly (it's exactly
> the same except for the new namespace), and tried running that.  But now
> Mono is returning the error:
>
> System.IO.FileNotFoundException: File
> '/home/www/.www/test/bin/MySql.Data.dll' not found.
>
> Now, the file is most definitely there, and most definitely
> world-readable.  Any ideas what might be causing this new error?

You need to check all leading path components as well (FileNotFoundExceptio=
n=20
is thrown is either (a) the file really doesn't exist or (b) if there's a=20
permission while walking the path).

> [...snip 20k of quotes...]

Best,
Elfyn

=2D-=20
Elfyn McBratney
beu on irc.freenode.net/savannah.[non]gnu.org

PGP Key ID: 0x456548B4
PGP Key Fingerprint:
  29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4

--nextPart1662834.SkSn4N2EpZ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBCAYxdgH4Q50OD3mwRAgJNAJ9bu6sX2uOJ1IqMTWup/+nl9vuyCQCfd4Xj
bMnKNcel7prXCfmd47ShVdM=
=LAcj
-----END PGP SIGNATURE-----

--nextPart1662834.SkSn4N2EpZ--