[Mono-list] Cannot find Assembly ASP
Gilles FAVIER
gilles.favier2605@wanadoo.fr
Fri, 8 Apr 2005 08:55:22 +0200 (CEST)
Seb,
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=
s...
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=
r&,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,int=
ptr,int,intptr)
in <0x00020> System.Data.OracleClient.Oci.OciCalls:OCIEnvCreate (intptr&,Sy=
stem.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,i=
nt,intptr)
in <0x0005d> System.Data.OracleClient.Oci.OciEnvironmentHandle:.ctor (Syste=
m.Data.OracleClient.Oci.OciEnvironmentMode)
in <0x0003c> System.Data.OracleClient.Oci.OciGlue:CreateConnection (System.=
Data.OracleClient.OracleConnectionInfo)
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=
EventHandler,string)
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=
ndler,bool&)
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 à : mono-list@lists.ximian.com
> Objet : RE: [Mono-list] Cannot find Assembly ASP
>=20
> Bonjour Gilles,
>=20
> > > 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
>=20
> You are mixing namespaces and assemblies.
>=20
> 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
>=20
> Sebastien Pouliot
> home: spouliot@videotron.ca
> blog: http://pages.infinit.net/ctech/poupou.html
>=20
>=20
>=20
>=20
>