[Mono-aspnet-list] .NET 3.5 webservice not working in Mono but works fine on ASP.NET server.
Travis959
Travis959 at hotmail.com
Fri May 20 04:49:00 EDT 2011
I have an application that works fine on a free ASP.NET server, and in
localhost, but will not run on my Mono server. I am constantly receiving two
different errors, the one I get most often is this:
Object reference not set to an instance of an object
Description: HTTP 500. Error processing request.
Stack Trace:
System.NullReferenceException: Object reference not set to an instance of an
object
at System.Web.Services.Description.ProtocolReflector.ImportBindingContent
(System.Web.Services.Description.ServiceDescription desc,
System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url,
System.Web.Services.Protocols.BindingInfo binfo) [0x00000] in :0
at System.Web.Services.Description.ProtocolReflector.ImportBinding
(System.Web.Services.Description.ServiceDescription desc,
System.Web.Services.Description.Service service,
System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url,
System.Web.Services.Protocols.BindingInfo binfo) [0x00000] in :0
at System.Web.Services.Description.ProtocolReflector.ImportService
(System.Web.Services.Description.ServiceDescription desc,
System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url)
[0x00000] in :0
at System.Web.Services.Description.ProtocolReflector.Reflect
(System.Web.Services.Description.ServiceDescriptionReflector
serviceReflector, System.Type type, System.String url,
System.Xml.Serialization.XmlSchemaExporter xxporter,
System.Xml.Serialization.SoapSchemaExporter sxporter) [0x00000] in :0
at System.Web.Services.Description.ServiceDescriptionReflector.Reflect
(System.Type type, System.String url) [0x00000] in :0
at System.Web.Services.Protocols.SoapDocumentationHandler.GetDescriptions
() [0x00000] in :0
at System.Web.Services.Protocols.SoapDocumentationHandler.ProcessRequest
(System.Web.HttpContext context) [0x00000] in :0
at System.Web.Services.Protocols.SessionWrapperHandler.ProcessRequest
(System.Web.HttpContext context) [0x00000] in :0
at System.Web.HttpApplication+c__Iterator3.MoveNext () [0x00000] in :0
at System.Web.HttpApplication.Tick () [0x00000] in :0
other times, if I refresh the same page I get an error about serialization,
but I can't get it to replicate that right now.
I am running: Version information: Mono Runtime Version: 2.10.1 (tarball Mon
Apr 18 21:14:53 MSD 2011); ASP.NET Version: 2.0.50727.1433
Is there anything I can do?
--
View this message in context: http://mono.1490590.n4.nabble.com/NET-3-5-webservice-not-working-in-Mono-but-works-fine-on-ASP-NET-server-tp3537987p3537987.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20110520/c193c90c/attachment.html
More information about the Mono-aspnet-list
mailing list