JL.
JL.

Reputation: 81342

Mono c# web services

I have web services that work great when hosted normally, in Mono I am getting a 500 internal server error first time I tried to run it.

Any idea why it doesn't just work?

The remote server returned an error: (500) Internal Server Error. System.Web.Services.Protocols.SoapException: Error writing request. at MY_WebServices.My_Messages.DownloadNewMessages (System.String ID, System.String username, System.String password) [0x00000] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[]) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]

Upvotes: 0

Views: 950

Answers (2)

Rui Marques
Rui Marques

Reputation: 3485

Check this discussion about the same problem on nginx to see if can lead you to the right solution.

Upvotes: 0

Nick Berardi
Nick Berardi

Reputation: 54894

Please post the error that you are receiving? Possibilities are that you are using an interface that isn't yet supported in Mono, which there are a couple in the SP2 release of the .NET 2.0 framework, that were specifically put in to support IIS 7.

You also might want to trying running the assembly produced through MoMA, to check for migration problems.

Upvotes: 1

Related Questions