Using Mono on Linux, the sample Microsoft.AspNet.SignalR.Mono found at https://github.com/SignalR/SignalR seems to work using the stable release of mono but not with the latest development branch (3.99). Anyone encounter this? I get the following exception:
Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.InvalidProgramException: Invalid IL code
in (wrapper delegate-invoke)
<Module>:invoke_callvirt_CancellationTokenRegistration_CancellationToken&_Action`1<object>_object
(System.Threading.CancellationToken&,System.Action`1<object>,object): IL_004f:
castclass 0x00000007
at
Microsoft.AspNet.SignalR.Infrastructure.CancellationTokenExtensions.SafeRegister
(CancellationToken cancellationToken, System.Action`1 callback, System.Object
state) [0x00000] in <filename unknown>:0
at
Microsoft.AspNet.SignalR.Hosting.HostDependencyResolverExtensions.InitializeResolverDispose
(IDependencyResolver resolver, CancellationToken hostShutdownToken) [0x00000]
in <filename unknown>:0
at
Microsoft.AspNet.SignalR.Hosting.HostDependencyResolverExtensions.InitializeHost
(IDependencyResolver resolver, System.String instanceName, CancellationToken
hostShutdownToken) [0x00000] in <filename unknown>:0
at Owin.OwinExtensions.UseSignalRMiddleware[PersistentConnectionMiddleware]
(IAppBuilder builder, System.Object[] args) [0x00000] in <filename unknown>:0
at Owin.OwinExtensions.RunSignalR (IAppBuilder builder, System.Type
connectionType, Microsoft.AspNet.SignalR.ConnectionConfiguration configuration)
[0x00000] in <filename unknown>:0
at Owin.OwinExtensions.RunSignalR[RawConnection] (IAppBuilder builder,
Microsoft.AspNet.SignalR.ConnectionConfiguration configuration) [0x00000] in
<filename unknown>:0
at Owin.OwinExtensions.RunSignalR[RawConnection] (IAppBuilder builder)
[0x00000] in <filename unknown>:0
at Microsoft.AspNet.SelfHost.Samples.Startup.<Configuration>b__0 (IAppBuilder
map) [0x00000] in <filename unknown>:0
at Owin.MapExtensions.Map (IAppBuilder app, PathString pathMatch,
System.Action`1 configuration) [0x00000] in <filename unknown>:0
at Owin.MapExtensions.Map (IAppBuilder app, System.String pathMatch,
System.Action`1 configuration) [0x00000] in <filename unknown>:0
at Microsoft.AspNet.SelfHost.Samples.Startup.Configuration (IAppBuilder app)
[0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] in <filename unknown>:0
at Owin.Loader.DefaultLoader+<>c__DisplayClass12.<MakeDelegate>b__b
(IAppBuilder builder) [0x00000] in <filename unknown>:0
at Owin.Loader.DefaultLoader+<>c__DisplayClass1.<LoadImplementation>b__0
(IAppBuilder builder) [0x00000] in <filename unknown>:0
at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp
(Microsoft.Owin.Hosting.Engine.StartContext context) [0x00000] in <filename
unknown>:0
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start
(Microsoft.Owin.Hosting.Engine.StartContext context) [0x00000] in <filename
unknown>:0
at Microsoft.Owin.Hosting.Starter.DirectHostingStarter.Start
(Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0
at Microsoft.Owin.Hosting.Starter.HostingStarter.Start
(Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0
at Microsoft.Owin.Hosting.WebApp.StartImplementation (IServiceProvider
services, Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename
unknown>:0
at Microsoft.Owin.Hosting.WebApp.Start (Microsoft.Owin.Hosting.StartOptions
options) [0x00000] in <filename unknown>:0
at Microsoft.Owin.Hosting.WebApp.Start[Startup]
(Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0
at Microsoft.Owin.Hosting.WebApp.Start[Startup] (System.String url) [0x00000]
in <filename unknown>:0
at Microsoft.AspNet.SelfHost.Samples.Program.Main (System.String[] args)
[0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. --->
System.InvalidProgramException: Invalid IL code in (wrapper delegate-invoke)
<Module>:invoke_callvirt_CancellationTokenRegistration_CancellationToken&_Action`1<object>_object
(System.Threading.CancellationToken&,System.Action`1<object>,object): IL_004f:
castclass 0x00000007
This looks like a bug in later versions of Mono. I reported this on Friday: http://bugzilla.xamarin.com/show_bug.cgi?id=29665
That issue is already reported on SignalIR repo. Try pulling the latest version of the dev branch, ASP.NET team have commented out the code throwing that exception as a workaround for now.
What I eventually went with was to return the fallback register in ResolveRegisterDelegate() if IsRunningMono is true:
if (MonoUtility.IsRunningMono)
return fallback;
try
{
methodInfo = typeof(CancellationToken).GetMethod("InternalRegisterWithoutEC",
BindingFlags.NonPublic | BindingFlags.Instance,
binder: null,
types: new[] { typeof(Action<object>), typeof(object) },
modifiers: null);
}
catch
{
// Swallow this exception. Being extra paranoid, we don't want anything to break in case this dirty
// reflection hack fails for any reason
}
I noticed that this was happening in the earlier stable release of mono because the GetMethod("InternalRegisterWithoutEC") was returning null and did NOT return null with the latest dev branch of mono.
Related
I am trying to register the license key by the Application_Start method. When I execute Licensing.RegisterLicense("{LicenseKey}"), the method LicenseUtils.ActivatedLicenseFeatures() returns the value "Text". But when I execute new AppHost().Init(), it gives me the following error:
Application Exception
ServiceStack.LicenseException
The free-quota limit on '10 ServiceStack Operations' has been reached. Please see https://servicestack.net to upgrade to a commercial license or visit https://github.com/ServiceStackV3/ServiceStackV3 to revert back to the free ServiceStack v3.
Description: HTTP 500. Error processing request.
Details: Non-web exception. Exception origin (name of application or object): ServiceStack.Text.
Exception stack trace:
at ServiceStack.LicenseUtils.ApprovedUsage (LicenseFeature licenseFeature, LicenseFeature requestedFeature, Int32 allowedUsage, Int32 actualUsage, System.String message) [0x00026] in <filename unknown>:0
at ServiceStack.LicenseUtils.AssertValidUsage (LicenseFeature feature, QuotaType quotaType, Int32 count) [0x00118] in <filename unknown>:0
at ServiceStack.Host.ServiceMetadata.Add (System.Type serviceType, System.Type requestType, System.Type responseType) [0x002c9] in <filename unknown>:0
at ServiceStack.Host.ServiceController.RegisterService (ITypeFactory serviceFactoryFn, System.Type serviceType) [0x00137] in <filename unknown>:0
at ServiceStack.Host.ServiceController.Register (ITypeFactory serviceFactoryFn) [0x0001a] in <filename unknown>:0
at ServiceStack.Host.ServiceController.Init () [0x00016] in <filename unknown>:0
at ServiceStack.ServiceStackHost.Init () [0x00073] in <filename unknown>:0
at API.Global.Application_Start (System.Object sender, System.EventArgs e) [0x00016] in API/Global.asax.cs:163
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /private/tmp/source-mono-mac-4.2.0-branch-c6sr1/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:295
Version Information: 4.2.2 (explicit/996df3c Wed Jan 20 00:19:48 EST 2016); ASP.NET Version: 4.0.30319.17020
Powered by Mono
I already tried to update the ServiceStack package, with no success.
This is because you're using a ServiceStack.Text License which only covers usage for the ServiceStack.Text NuGet Package with packages from the full ServiceStack framework.
So i would like to start a game from my SSH terminal.
Its really wierd, when i do it directly from my linux GUI, it works. But when im connected from distance using a SSH client, it just crash. Seems like it has something to do with my display drivers.
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.DisplayDevice ---> System.IO.DirectoryNotFoundException: Directory '/dev/dri' not found.
at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0
at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0
at System.IO.Directory.GetFiles (System.String path) [0x00000] in <filename unknown>:0
at OpenTK.Platform.Linux.LinuxFactory.CreateDisplay (System.IntPtr& gbm_device, System.IntPtr& egl_display) [0x00000] in <filename unknown>:0
at OpenTK.Platform.Linux.LinuxFactory.get_gpu_fd () [0x00000] in <filename unknown>:0
at OpenTK.Platform.Linux.LinuxFactory.CreateDisplayDeviceDriver () [0x00000] in <filename unknown>:0
at OpenTK.DisplayDevice..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenTK.NativeWindow..ctor () [0x00000] in <filename unknown>:0
at Microsoft.Xna.Framework.OpenTKGameWindow.Initialize (Microsoft.Xna.Framework.Game game) [0x00000] in <filename unknown>:0
at Microsoft.Xna.Framework.OpenTKGameWindow..ctor (Microsoft.Xna.Framework.Game game) [0x00000] in <filename unknown>:0
at Microsoft.Xna.Framework.OpenTKGamePlatform..ctor (Microsoft.Xna.Framework.Game game) [0x00000] in <filename unknown>:0
at Microsoft.Xna.Framework.GamePlatform.Create (Microsoft.Xna.Framework.Game game) [0x00000] in <filename unknown>:0
at Microsoft.Xna.Framework.Game..ctor () [0x00000] in <filename unknown>:0
at TestGame.Game1..ctor () [0x00000] in <filename unknown>:0
at TestGame.Program.RunGame () [0x00000] in <filename unknown>:0
at TestGame.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.DisplayDevice ---> System.IO.DirectoryNotFoundException: Directory '/dev/dri' not found.
at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0
at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0
at System.IO.Directory.GetFiles (System.String path) [0x00000] in <filename unknown>:0
at OpenTK.Platform.Linux.LinuxFactory.CreateDisplay (System.IntPtr& gbm_device, System.IntPtr& egl_display) [0x00000] in <filename unknown>:0
at OpenTK.Platform.Linux.LinuxFactory.get_gpu_fd () [0x00000] in <filename unknown>:0
at OpenTK.Platform.Linux.LinuxFactory.CreateDisplayDeviceDriver () [0x00000] in <filename unknown>:0
at OpenTK.DisplayDevice..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenTK.NativeWindow..ctor () [0x00000] in <filename unknown>:0
at Microsoft.Xna.Framework.OpenTKGameWindow.Initialize (Microsoft.Xna.Framework.Game game) [0x00000] in <filename unknown>:0
at Microsoft.Xna.Framework.OpenTKGameWindow..ctor (Microsoft.Xna.Framework.Game game) [0x00000] in <filename unknown>:0
at Microsoft.Xna.Framework.OpenTKGamePlatform..ctor (Microsoft.Xna.Framework.Game game) [0x00000] in <filename unknown>:0
at Microsoft.Xna.Framework.GamePlatform.Create (Microsoft.Xna.Framework.Game game) [0x00000] in <filename unknown>:0
at Microsoft.Xna.Framework.Game..ctor () [0x00000] in <filename unknown>:0
at TestGame.Game1..ctor () [0x00000] in <filename unknown>:0
at TestGame.Program.RunGame () [0x00000] in <filename unknown>:0
at TestGame.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
I though creating a bash script that would then call itself the method to start the game would do the job, but unfortunately it does the same result.
Basically, when i run the SAME EXACT command in my linux GUI, the game starts with no problem, but when i run the SAME EXACT command from distance in my SSH, the game does not fire up and it just stuck there.
mono /home/pi/.../game/TestGame.exe
I am running a Linux Raspbian, on a raspberry PI.
My raspberry PI is connected on my screen. When plugged with my keyboard it lauches, when trying from my other computer using ssh, it crash giving the error we see up here.
I would appreciate any help.
thanks alot !
Kevin
Following up on my discoveries,
There is 2 things to look at if you ever get this mistake :
Check if you have X11 forwarding activated in your SSH terminal.
Type this magical line to tell the SSH which monitor to use.. Else any graphical software will crash at startup..
export DISPLAY=:0
Thanks,
Kev
I'm having a problem with using the Monodroid PCL libraries. All calls are working except this one:
client.PostFileWithRequest<DtoResponse>("createimage", ms, fileName, new Dto{ Id = id});
The error is as follows:
Object reference not set to an instance of an object at ServiceStack.Pcl.StringEqualityComparer.GetHashCode (System.String obj) [0x00000] in <filename unknown>:0
at System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) [0x00000] in <filename unknown>:0
at ServiceStack.Pcl.NameObjectCollectionBase.FindFirstMatchedItem (System.String name) [0x00000] in <filename unknown>:0
at ServiceStack.Pcl.NameObjectCollectionBase.BaseGet (System.String name) [0x00000] in <filename unknown>:0
at ServiceStack.Pcl.NameValueCollection.Add (System.String name, System.String value) [0x00000] in <filename unknown>:0
at ServiceStack.Pcl.HttpUtility.ParseQueryString (System.String query, System.Text.Encoding encoding, ServiceStack.Pcl.NameValueCollection result) [0x00000] in <filename unknown>:0
at ServiceStack.Pcl.HttpUtility.ParseQueryString (System.String query, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
at ServiceStack.Pcl.HttpUtility.ParseQueryString (System.String query) [0x00000] in <filename unknown>:0
at ServiceStack.AndroidPclExportClient.ParseQueryString (System.String query) [0x00000] in <filename unknown>:0
at ServiceStack.ServiceClientBase+<>c__DisplayClass1b`1[Lodestone.Pcl.Infrastucture.Responses.ChildImage.ChildImageResponse].<PostFileWithRequest>b__18 () [0x00000] in <filename unknown>:0
at ServiceStack.ServiceClientBase.PostFileWithRequest[ChildImageResponse] (System.String relativeOrAbsoluteUrl, System.IO.Stream fileToUpload, System.String fileName, System.Object request, System.String fieldName) [0x00000] in <filename unknown>:0 "
We didn't have this problem prior to this. We were using the 3.9.71 monodroid compiled dlls.They were not PCL. This has only stated with the v4 PCL versions.Has anyone encountered this before and how did you solve it?
A fix for this issue has been deployed to MyGet:
https://github.com/ServiceStack/ServiceStack/wiki/MyGet
Available in the next v4.0.16+ release on NuGet.
I've got a working Xamarin.iOS project, using 4.1.9 (on the Alpha channel).
How do I build it from the command line (not from inside Xamarin Studio)? I tried mdtool and that produced:
james#retina:~/svox_workspace/iphone/xamphone$ mono "/Users/james/git/monodevelop/main/build/bin/mdtool.exe" build
INFO [2013-08-21 09:00:03Z]: Add-in loaded: MonoDevelop.Core
MonoDevelop Build Tool
System.DllNotFoundException: libintl.dylib
at (wrapper managed-to-native) Mono.Unix.Catalog:bindtextdomain (intptr,intptr)
at Mono.Unix.Catalog.Init (System.String package, System.String localedir) [0x00000] in <filename unknown>:0
at MonoDevelop.Core.GettextCatalog..cctor () [0x00000] in <filename unknown>:0
FATAL ERROR [2013-08-21 09:00:04Z]: System.DllNotFoundException: libintl.dylib
at (wrapper managed-to-native) Mono.Unix.Catalog:gettext (intptr)
at Mono.Unix.Catalog.GetString (System.String s) [0x00000] in <filename unknown>:0
at MonoDevelop.Core.GettextCatalog.GetString (System.String phrase, System.Object arg0) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.ReadFile (System.String fileName, MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat format, IProgressMonitor monitor) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat.ReadFile (FilePath file, System.Type expectedType, IProgressMonitor monitor) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.ProjectService.ReadFile (IProgressMonitor monitor, System.String file, System.Type expectedType, MonoDevelop.Projects.FileFormat& format) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.ProjectService.InternalReadWorkspaceItem (System.String file, IProgressMonitor monitor) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.DefaultProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in <filename unknown>:0
at MonoDevelop.Autotools.MakefileProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (IProgressMonitor monitor, System.String fileName) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.ProjectService.ReadWorkspaceItem (IProgressMonitor monitor, System.String file) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.BuildTool.Run (System.String[] arguments) [0x00000] in <filename unknown>:0
at MonoDevelop.Core.ApplicationService.StartApplication (System.String appId, System.String[] parameters) [0x00000] in <filename unknown>:0
at MonoDevelopProcessHost.Main (System.String[] args) [0x00000] in <filename unknown>:0
Try using /Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool or /Applications/MonoDevelop.app/Contents/MacOS/mdtool.
In other words not directly mono on mdtool.exe (which might miss configuration...).
I am having issues importing my wsdl into mono develop.
This wsdl and xsd implementation works flawlessly under Visual Studio, but cannot be imported into mono develop.
I have also checked it against several wsdl verification sites and they all pass.
The process I use is to create a project and then “add web reference”. I then select .net 2.0 as the type of wsdl. I then paste in the link to the wsdl. And then hit “jump to”.
Then I get the error listed below. This is preventing me from finishing my evaluation of the product, and any help you can provide would be beneficial.
The wsdl files are located here:
ftp.echelon.com/fae/na/outgoing/GDahl/wsdlissue/v4.0.zip
wsdl file in question is ilon100.wsdl.
**System.Xml.Schema.XmlSchemaException: XmlSchema error: Target namespace is required, to include a schema which has its own target namespace Related schema item SourceUri:** http://216.254.101.36/WSDL/v4.0/iLON100.wsdl, Line 31, Position 4.
at System.Xml.Schema.ValidationHandler.RaiseValidationEvent (System.Xml.Schema.ValidationEventHandler handle, System.Exception innerException, System.String message, System.Xml.Schema.XmlSchemaObject xsobj, System.Object sender, System.String sourceUri, XmlSeverityType severity) [0x00000] in <filename unknown>:0
at System.Xml.Schema.XmlSchemaObject.error (System.Xml.Schema.ValidationEventHandler handle, System.String message, System.Exception innerException, System.Xml.Schema.XmlSchemaObject xsobj, System.Object sender) [0x00000] in <filename unknown>:0
at System.Xml.Schema.XmlSchemaObject.error (System.Xml.Schema.ValidationEventHandler handle, System.String message) [0x00000] in <filename unknown>:0
at System.Xml.Schema.XmlSchema.ProcessExternal (System.Xml.Schema.ValidationEventHandler handler, System.Collections.Hashtable handledUris, System.Xml.XmlResolver resolver, System.Xml.Schema.XmlSchemaExternal ext, System.Xml.Schema.XmlSchemaSet col) [0x00000] in <filename unknown>:0
at System.Xml.Schema.XmlSchema.AddExternalComponentsTo (System.Xml.Schema.XmlSchema s, System.Xml.Schema.XmlSchemaObjectCollection items, System.Xml.Schema.ValidationEventHandler handler, System.Collections.Hashtable handledUris, System.Xml.XmlResolver resolver, System.Xml.Schema.XmlSchemaSet col) [0x00000] in <filename unknown>:0
at System.Xml.Schema.XmlSchema.ProcessExternal (System.Xml.Schema.ValidationEventHandler handler, System.Collections.Hashtable handledUris, System.Xml.XmlResolver resolver, System.Xml.Schema.XmlSchemaExternal ext, System.Xml.Schema.XmlSchemaSet col) [0x00000] in <filename unknown>:0
at System.Xml.Schema.XmlSchema.DoCompile (System.Xml.Schema.ValidationEventHandler handler, System.Collections.Hashtable handledUris, System.Xml.Schema.XmlSchemaSet col, System.Xml.XmlResolver resolver) [0x00000] in <filename unknown>:0
at System.Xml.Schema.XmlSchema.CompileSubset (System.Xml.Schema.ValidationEventHandler handler, System.Xml.Schema.XmlSchemaSet col, System.Xml.XmlResolver resolver, System.Collections.Hashtable handledUris) [0x00000] in <filename unknown>:0
at System.Xml.Schema.XmlSchemaSet.Compile () [0x00000] in <filename unknown>:0
at System.Xml.Schema.XmlSchema.Compile (System.Xml.Schema.ValidationEventHandler handler, System.Xml.XmlResolver resolver) [0x00000] in <filename unknown>:0
at System.Xml.Schema.XmlSchema.Compile (System.Xml.Schema.ValidationEventHandler handler) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemas.Find (System.Xml.Schema.XmlSchema schema, System.Xml.XmlQualifiedName name, System.Type type) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemas.Find (System.Xml.XmlQualifiedName name, System.Type type) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemaImporter.ImportType (System.Xml.XmlQualifiedName name, System.Xml.XmlQualifiedName root, Boolean throwOnError) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemaImporter.GetTypeData (System.Xml.XmlQualifiedName typeQName, System.Xml.XmlQualifiedName root, Boolean isNullable) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemaImporter.GetElementTypeData (System.Xml.XmlQualifiedName typeQName, System.Xml.Schema.XmlSchemaElement elem, System.Xml.XmlQualifiedName root, System.Xml.Serialization.XmlTypeMapping& map) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemaImporter.ImportSequenceContent (System.Xml.XmlQualifiedName typeQName, System.Xml.Serialization.ClassMap cmap, System.Xml.Schema.XmlSchemaObjectCollection items, System.Xml.Serialization.CodeIdentifiers classIds, Boolean multiValue, System.Boolean& isMixed) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemaImporter.ImportParticleContent (System.Xml.XmlQualifiedName typeQName, System.Xml.Serialization.ClassMap cmap, System.Xml.Schema.XmlSchemaParticle particle, System.Xml.Serialization.CodeIdentifiers classIds, Boolean multiValue, System.Boolean& isMixed) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemaImporter.ImportParticleComplexContent (System.Xml.XmlQualifiedName typeQName, System.Xml.Serialization.ClassMap cmap, System.Xml.Schema.XmlSchemaParticle particle, System.Xml.Serialization.CodeIdentifiers classIds, Boolean isMixed) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemaImporter.BuildClassMap (System.Xml.Serialization.XmlTypeMapping map, System.Xml.XmlQualifiedName typeQName, System.Xml.Schema.XmlSchemaComplexType stype) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemaImporter.BuildPendingMaps () [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemaImporter.ImportMembersMappingComposite (System.Xml.Schema.XmlSchemaComplexType stype, System.Xml.XmlQualifiedName refer) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSchemaImporter.ImportMembersMapping (System.Xml.XmlQualifiedName name) [0x00000] in <filename unknown>:0
at System.Web.Services.Description.SoapProtocolImporter.ImportMembersMapping (System.Web.Services.Description.Message msg, System.Web.Services.Description.SoapBodyBinding sbb, SoapBindingStyle style, Boolean output, Boolean wrapped) [0x00000] in <filename unknown>:0
at System.Web.Services.Description.SoapProtocolImporter.GenerateMethod () [0x00000] in <filename unknown>:0
at System.Web.Services.Description.ProtocolImporter.ImportPortBinding (Boolean multipleBindings) [0x00000] in <filename unknown>:0
at System.Web.Services.Description.ProtocolImporter.Import (System.Web.Services.Description.ServiceDescriptionImporter descriptionImporter, System.CodeDom.CodeNamespace codeNamespace, System.Collections.ArrayList importInfo) [0x00000] in <filename unknown>:0
at System.Web.Services.Description.ServiceDescriptionImporter.Import (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit) [0x00000] in <filename unknown>:0
at MonoDevelop.WebReferences.Library.GenerateWsdlXml (System.Text.StringBuilder text, System.Web.Services.Discovery.DiscoveryClientProtocol protocol) [0x00000] in <filename unknown>:0
at MonoDevelop.WebReferences.WS.WebServiceDiscoveryResultWS.GetDescriptionMarkup () [0x00000] in <filename unknown>:0
at MonoDevelop.WebReferences.Dialogs.WebReferenceDialog.UpdateService (MonoDevelop.WebReferences.WebServiceDiscoveryResult service, System.String url) [0x00000] in <filename unknown>:0
at MonoDevelop.WebReferences.Dialogs.WebReferenceDialog+<QueryService>c__AnonStorey5.<>m__0 (System.Object , System.EventArgs ) [0x00000] in <filename unknown>:0
at Gtk.Application+InvokeCB.Invoke () [0x00000] in <filename unknown>:0
at GLib.Timeout+TimeoutProxy.Handler () [0x00000] in <filename unknown>:0
I've also had occasional issues generating proxy classes based on a valid WSDL in MonoDevelop. Firstly, I'm sure the MonoDevelop team would appreciate a bug report (see the "Reporting Bugs" section on this page: http://monodevelop.com/Developers).
In the meantime, maybe you can generate your proxy classes in Visual Studio and then import them into your MonoDevelop project.
Hope this helps!