[Mono-list] Problem with the XSP server and the web services

Franck Charbonneau franck.charbonneau@caramail.com
Mon, 04 Apr 2005 09:39:09 GMT


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--=_NextPart_Lycos_0071961112607549_ID
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit

Hi,
 
I have a problem when I evaluate the web services form with the XSP server. When I'm trying the test page TestService.asmx integrated with XSP, i'm receiving a DirectoryNotFoundException. My mono version is the latest (mono bundle 1.1.6). As you can see in the above traces, the DirectoryNotFoundException refers to the IIS directory "c:\inetpub\wwwroot", whereas my OS is a Redhat Linux Enterprise V4. 
 
Thanks for help.
Franck Charbonneau
 
 

The remote server returned an error: (404) Not Found.
<html>
    <head>
        <title>The resource cannot be found.</title>
        <style>
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
             pre {font-family:"Lucida Console";font-size: .9em}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version  gray;
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

            <h2> <i>The resource cannot be found.</i> </h2></span>

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

            <b> Description: </b>HTTP 404. The resource you are looking for (or one of its
                  dependencies) could have been removed, had its name changed, or is
                  temporarily unavailable.  Please review the following URL and make sure that
                  it is spelled correctly.
            <br><br>

            <b> Requested Url: </b>/1.1/webservice/TestService.asmx/Echo<br><br>

            <hr width=100% size=1 color=silver>

            <b>Version Information:</b> Microsoft .NET Framework Version:1.1.4322.2032;
                  ASP.NET Version:1.1.4322.2032

            </font>

    </body>
</html>
<!-- 
[DirectoryNotFoundException]: Could not find a part of the path
      "c:\inetpub\wwwroot\1.1\webservice\TestService.asmx".
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share,
         Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Web.Compilation.SourceCompiler.GetCachedEntry()
   at System.Web.UI.SimpleWebHandlerParser.GetCompiledTypeFromCache()
   at System.Web.UI.WebServiceParser.GetCompiledType(String inputFile, HttpContext context)
   at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context,
         String verb, String url, String filePath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String
         path, String pathTranslated, Boolean useAppConfig)
[HttpException]: Exception of type System.Web.HttpException was thrown.
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String
         path, String pathTranslated, Boolean useAppConfig)
   at System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
         completedSynchronously)
-->

C est le moment de dynamiser votre boîte mail en découvrant les offres CaraMail Max et Pro - http://www.caramail.com


--=_NextPart_Lycos_0071961112607549_ID--