[Mono-list] have one problem with xsp (vb 7.1 code)
Joe Audette
joe_audette@yahoo.com
Wed, 16 Mar 2005 06:08:17 -0800 (PST)
--0-898464678-1110982097=:4371
Content-Type: text/plain; charset=us-ascii
Scripting.FileSystemObject is not part of the .NET framework, you are using com interop which is not needed. Probably this app was originally upgraded from classic asp?
You should consider revising the code to use comparible methods and classes in the System.IO namespace which is fully managed code.
Hope that helps,
Joe Audette
marius popa <mapopa@gmail.com> wrote:
on of my clients is deploying an application developed on .net windows
to a server with apache , xsp.exe ,mono 1.1.3 and we have this error
when this code is runing
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'reference the file system object
Dim oFileSystem As New Scripting.FileSystemObject
Dim sPath As String = Server.MapPath("textFiles/")
System.MissingMethodException: Cannot find the requested method.
in <0x00037> (wrapper managed-to-native)
Scripting.FileSystemObjectClass:.ctor ()
in <0x00059> ourlads.Index:Page_Load (object,System.EventArgs)
in <0x00046> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
in <0x0005c> System.Web.UI.Control:OnLoad (System.EventArgs)
in <0x00026> System.Web.UI.Control:LoadRecursive ()
in <0x00137> System.Web.UI.Page:InternalProcessRequest ()
in <0x0009f> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x0026e> ExecuteHandlerState:Execute ()
in <0x0007a> StateMachine:ExecuteState
(System.Web.HttpApplication/IStateHandler,bool&)
--
developer flamerobin.org
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
joe_audette@yahoo.com
http://www.joeaudette.com
http://www.mojoportal.com
--0-898464678-1110982097=:4371
Content-Type: text/html; charset=us-ascii
<DIV>Scripting.FileSystemObject is not part of the .NET framework, you are using com interop which is not needed. Probably this app was originally upgraded from classic asp?</DIV>
<DIV> </DIV>
<DIV>You should consider revising the code to use comparible methods and classes in the System.IO namespace which is fully managed code.</DIV>
<DIV> </DIV>
<DIV>Hope that helps,</DIV>
<DIV> </DIV>
<DIV>Joe Audette<BR><BR><B><I>marius popa <mapopa@gmail.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">on of my clients is deploying an application developed on .net windows<BR>to a server with apache , xsp.exe ,mono 1.1.3 and we have this error<BR>when this code is runing<BR><BR>Private Sub Page_Load(ByVal sender As System.Object, ByVal e As<BR>System.EventArgs) Handles MyBase.Load<BR>'reference the file system object<BR>Dim oFileSystem As New Scripting.FileSystemObject<BR>Dim sPath As String = Server.MapPath("textFiles/")<BR><BR><BR><BR>System.MissingMethodException: Cannot find the requested method.<BR>in <0x00037> (wrapper managed-to-native)<BR>Scripting.FileSystemObjectClass:.ctor ()<BR>in <0x00059> ourlads.Index:Page_Load (object,System.EventArgs)<BR>in <0x00046> (wrapper delegate-invoke)<BR>System.MulticastDelegate:invoke_void_object_EventArgs<BR>(object,System.EventArgs)<BR>in <0x0005c> System.Web.UI.Control:OnLoad (System.EventArgs)<BR>in
<0x00026> System.Web.UI.Control:LoadRecursive ()<BR>in <0x00137> System.Web.UI.Page:InternalProcessRequest ()<BR>in <0x0009f> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)<BR>in <0x0026e> ExecuteHandlerState:Execute ()<BR>in <0x0007a> StateMachine:ExecuteState<BR>(System.Web.HttpApplication/IStateHandler,bool&)<BR><BR>-- <BR>developer flamerobin.org<BR>_______________________________________________<BR>Mono-list maillist - Mono-list@lists.ximian.com<BR>http://lists.ximian.com/mailman/listinfo/mono-list<BR></BLOCKQUOTE><BR><BR>joe_audette@yahoo.com<br>http://www.joeaudette.com<br>http://www.mojoportal.com
--0-898464678-1110982097=:4371--