[Mono-devel-list] Problem with .NET webservice running on XSP

Lluis Sanchez lluis at ximian.com
Tue Aug 2 14:48:22 EDT 2005


Hi,

Do you have a simple web service that can be used to reproduce the
error?

Does it work on Linux?

> El dt 02 de 08 del 2005 a les 15:04 -0300, en/na Victor Rocha va escriure:
> Hello all
> 
> I downloaded a server application, which was written with VS, and I am
> trying to make it run with XSP. It works fine on IIS, but the client
> application returns me a "500 server error" when the server is ran on
> XSP. I can see the webservice description using a browser, though.
> 
> I tried compiling the application with mcs and running it again, but
> it also didn´t work. The DLL generated with mcs works ok on IIS, but
> not on XSP.
> 
> Below is an output from XSP. The "System.NullReferenceException"
> happens only when the client application tries to connect to the
> server.
> 
> By the way, these output is from mono 1.1.7. In mono 1.1.8 no error
> messages are shown, but the client application still returns "500
> server error". It doesn´t matter if I compile with mcs in 1.1.7 or
> 1.1.8, it always runs OK with IIS but not with XSP.
> 
> I hope someone has a clue of what we can do!
> Thanks,
> Victor
> 
> D:\projetos\openda\OPenDA_installer>"C:\ARQUIV~1\MONO-1~1.7\lib\mono.exe"
> --debug "C:\ARQUIV~1\MONO-1~1.7\lib\mono\1.0\xsp.exe" --verbose --port
> 8080
> xsp
> Adding applications '/:.'...
> Registering application:
>    Host:          any
>    Port:          any
>    Virtual path:  /
>    Physical path: D:\projetos\openda\OPenDA_installer
> Listening on port: 8080
> Listening on address: 0.0.0.0
> Root directory: D:\projetos\openda\OPenDA_installer
> Hit Return to stop the server.
> 
> System.NullReferenceException: Object reference not set to an instance of an obj
> ect
> 
> Server stack trace:
> 
> 
> Exception rethrown at [0]:
> 
> in (wrapper xdomain-invoke) Mono.ASPNET.XSPApplicationHost:ProcessRequest (int,l
> ong,int,long,int,string,string,string,string,byte[],string)
> in (wrapper remoting-invoke-with-check) Mono.ASPNET.XSPApplicationHost:ProcessRe
> quest (int,long,int,long,int,string,string,string,string,byte[],string)
> in <0x00473> Mono.ASPNET.XSPWorker:Run (System.Object state)
> System.NullReferenceException: Object reference not set to an instance of an obj
> ect
> 
> Server stack trace:
> 
> 
> Exception rethrown at [0]:
> 
> in (wrapper xdomain-invoke) Mono.ASPNET.XSPApplicationHost:ProcessRequest (int,l
> ong,int,long,int,string,string,string,string,byte[],string)
> in (wrapper remoting-invoke-with-check) Mono.ASPNET.XSPApplicationHost:ProcessRe
> quest (int,long,int,long,int,string,string,string,string,byte[],string)
> in <0x00473> Mono.ASPNET.XSPWorker:Run (System.Object state)
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list