[Mono-list] Cannot find Assembly ASP

Gilles FAVIER gilles.favier2605@wanadoo.fr
Fri, 8 Apr 2005 08:55:22 +0200 (CEST)


You made it!! It works, it compiles with the exact command lien you gave me=
, it is true 'ill have to study that point between assemblies and namespace=

IT would be to great if it worked... i have the compilation succeeded but w=
hen i open my webpage :=20
http://localhost/mydir/Default.aspx, once i click on OK to make my query i =
get the following error :=20
(i might have to make another post for this error)

System.DllNotFoundException: oci
in <0x00053> (wrapper managed-to-native) OciNativeCalls:OCIEnvCreate (intpt=
in <0x00020> System.Data.OracleClient.Oci.OciCalls:OCIEnvCreate (intptr&,Sy=
in <0x0005d> System.Data.OracleClient.Oci.OciEnvironmentHandle:.ctor (Syste=
in <0x0003c> System.Data.OracleClient.Oci.OciGlue:CreateConnection (System.=
in <0x0002b> System.Data.OracleClient.OracleConnection:Open ()
in <0x0004f> (wrapper remoting-invoke-with-check) System.Data.OracleClient.=
OracleConnection:Open ()
in <0x00094> WebTest._Default:BTGO_Click (object,System.EventArgs)
in <0x00069> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void=
_object_EventArgs (object,System.EventArgs)
in <0x00081> System.Web.UI.WebControls.Button:OnClick (System.EventArgs)
in <0x00058> System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventH=
andler.RaisePostBackEvent (string)
in <0x00016> System.Web.UI.Page:RaisePostBackEvent (System.Web.UI.IPostBack=
in <0x0003e> System.Web.UI.Page:RaisePostBackEvents ()
in <0x002c3> System.Web.UI.Page:InternalProcessRequest ()
in <0x000c2> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x002eb> ExecuteHandlerState:Execute ()
in <0x00084> StateMachine:ExecuteState (System.Web.HttpApplication/IStateHa=

Anyway thanks a lot guys i saved a lot of time and realize where i am missi=
ng some knowledge!

Have a great day.

> Message du 07/04/05 19:01
> De : "S=C3=A9bastien Pouliot" <spouliot@videotron.ca>
> A : gilles.favier2605@wanadoo.fr
> Copie &agrave; : mono-list@lists.ximian.com
> Objet : RE: [Mono-list] Cannot find Assembly ASP
> Bonjour Gilles,
> > > mcs /t:library /out:WebTest.dll -r:System -r:System.Data -r:System.Co=
llections -r:System.ComponentModel -r:System.Drawing -r:System.Web -r:Syste=
m.Web.SessionState -r:System.Web.UI -r:System.Web.UI.WebControls -r:System.=
Web.UI.HtmlControls -r:System.Data.OracleClient  AssemblyInfo.cs Default.as=
px.cs Global.asax.cs
> You are mixing namespaces and assemblies.
> Try:
> mcs /t:library /out:WebTest.dll -r:System -r:System.Data -r:System.Drawin=
g -r:System.Web -r:System.Data.OracleClient  AssemblyInfo.cs Default.aspx.c=
s Global.asax.cs
> Sebastien Pouliot
> home: spouliot@videotron.ca
> blog: http://pages.infinit.net/ctech/poupou.html