I'm a newbie, trying to use XCC from .NET, having troubles.

I successfully built toy applications using SimpleQueryRunner.cs and
ModuleRunner.cs and elaborating them a bit, but when I tried to
integrate use of ModuleRunner into an existing .NET project, I get the
following failure:

  *The type initializer for 'java.net.URI' threw an exception.*
  java.net.URI..ctor(String str) 
  Marklogic.Xcc.ContentSourceFactory.NewContentSource(Uri uri) 
  Marklogic.Xcc.HST.ModuleRunner..ctor(String serverUri) 

  *The type initializer for 'gnu.java.util.regex.RESyntax' threw an exception.*
  java.util.regex.Pattern..ctor(String , Int32 ) 
  java.util.regex.Pattern.compile(String regex, Int32 flags) 
  java.util.regex.Pattern.compile(String regex) 

  *The type initializer for 'gnu.java.util.regex.RE' threw an exception.*
  gnu.java.util.regex.RE.getLocalizedMessage(String ) 

  *The invoked member is not supported in a dynamic assembly.*
  System.Reflection.Emit.InternalAssemblyBuilder.GetManifestResourceInfo(String
  resourceName) 
  IKVM.NativeCode.java.lang.VMClassLoader.findResourceAssembly(String
  name) 
  java.lang.VMClassLoader.getResource(String ) 
  java.lang.ClassLoader.getResource(String name) 
  java.lang.ClassLoader.getResourceAsStream(String name) 
  java.util.ResourceBundle.tryBundle(String , ClassLoader ) 
  java.util.ResourceBundle.tryBundle(String , Locale , ClassLoader ,
  Boolean ) 
  java.util.ResourceBundle.getBundle(String baseName, Locale locale,
  ClassLoader classLoader) 
  java.util.ResourceBundle.getBundle(String baseName, Locale locale) 

I've searched the archives, and the only related message just points
out that you have to have the XCC dlls available, which I do.

Any suggestions on what's wrong and how to fix it gratefully received.

I'm using Visual C# 2010 Express, .NET 4.0 and MarkLogic 4.1-5

ht
-- 
                    Henry S. Thompson, Markup Systems Ltd.
               Cavers Garden Farm, Denholm; by Hawick; TD9 8LN
                            +44 (0) 7866 471 388
               Fax: (44) 131 651-1426, e-mail: [email protected]
                        URL: http://www.markup.co.uk/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to