It's still looking in /tmp

([EMAIL PROTECTED]) ~> . /opt/mono/setup.sh
([EMAIL PROTECTED]) ~> cd bin/tools/mono/database/
([EMAIL PROTECTED]) ~/bin/tools/mono/database> mono sybaseConnectTest.exe

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Net.Dns ---> System.Configuration.ConfigurationException: Cannot find /tmp/install/etc/mono/1.0/machine.config ()
in <0x00100> System.Configuration.DefaultConfig:Init ()
in <0x0000c> System.Configuration.DefaultConfig:GetConfig (System.String sectionName)
in <0x00028> System.Configuration.ConfigurationSettings:GetConfig (System.String sectionName)
in <0x000f4> System.Net.Sockets.Socket:CheckProtocolSupport ()
in <0x00004> System.Net.Dns:.cctor ()--- End of inner exception stack trace ---

in <0x00000> <unknown method>
in <0x0002c> Mono.Data.Tds.Protocol.TdsConnectionParameters:.ctor ()
in <0x00020> Mono.Data.SybaseClient.SybaseConnection:.ctor (System.String connectionString)
in (wrapper remoting-invoke-with-check) Mono.Data.SybaseClient.SybaseConnection:.ctor (string)
in <0x00044> Test:Main (System.String[] args)


On 1/24/06, Wade Berrier <[EMAIL PROTECTED]> wrote:
The Downloads page on the wiki has been updated with some Solaris
package instructions.

Wade

On Tue, 2006-01-24 at 15:36 -0700, Wade Berrier wrote:
> Make sure that you load the environment file: /opt/mono/setup.sh (Or the
> corresponding setup.csh)
>
> You need to:
>
>  /opt/mono/setup.sh
>
> in order to set up the environment.
>
> Let me know if that doesn't work.  I'll add some instructions on the
> wiki about this.
>
> Wade
>
> On Tue, 2006-01-24 at 16:48 -0500, Melissa Vandenbrink wrote:
> > I've installed the mono Solaris 8 mono package and after some work
> > I've been able to get it to work.. however:
> >
> > ([EMAIL PROTECTED]) ~> mono ConnectSybaseODBC.exe
> > The assembly mscorlib.dll was not found or could not be loaded.
> > It should have been installed in the
> > `/tmp/install/lib/mono/1.0/mscorlib.dll' directory.
> >
> > Mono keeps looking for it's dll files in /tmp - I can create a symlink
> > to /opt/mono/lib to /tmp/install - but this will disappear if the
> > machine is rebooted..
> >
> > Does anyone know a fix for this?
> >
> >
> >
> > _______________________________________________
> > Mono-list maillist  -   [email protected]
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
> _______________________________________________
> Mono-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to