Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

Configuration under Mono?

4 replies [Last post]
  • Login or register to post comments
Tue, 03/22/2011 - 09:11
LiteWait
Offline
Joined: 03/22/2011
Groups: None

I've got an Web.config that works fine under Windows but when I run it under Redhat I get a exception (below).

I read that is optional in the config file does anyone know why it is required in RedHat?
I created a simple test application and it does the same thing.

Please help...

------------------------ Exception ----------------
Unhandled Exception: System.Configuration.ConfigurationErrorsException: factory must be defined
at Enyim.Caching.Configuration.FactoryElement`1[Membase.Configuration.IMembasePerformanceMonitorFactory].CreateInstance () [0x00000] in :0
at Membase.Configuration.MembaseClientSection.Membase.Configuration.IMembaseClientConfiguration.CreatePerformanceMonitor () [0x00000] in :0
at Membase.MembaseClient..ctor (IMembaseClientConfiguration configuration, System.String bucketName, System.String bucketPassword) [0x00000] in :0
at Membase.MembaseClient..ctor () [0x00000] in :0
at Test.Main () [0x00000] in :0

----------------------- App.Config -----------------
<?xml version="1.0"?>

--------------------- Simple test program ------------
using Membase;
using Enyim.Caching.Memcached;
public class Test {
public static void Main() {
MembaseClient client = new MembaseClient("Default");
System.Console.WriteLine();
}
}

---------------- Simple App.config

Top
  • Login or register to post comments
Wed, 03/23/2011 - 16:56
perry
Offline
Joined: 10/11/2010
Groups:

Looks like your problem may be related to authorization...can you try using a lowercase 'default' as the bucket name?

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Thu, 03/24/2011 - 07:53
LiteWait
Offline
Joined: 03/22/2011
Groups: None

Perry,
I tried "default" and it doesn't work. I am pretty sure the issues with some incompatibility between Mono and Enyim Membase client. In Windows it doesn't seem to need a performance monitor (or is using the default one). I am thinking Mono may not have the complete implementation of System.Diagnostics.??? that Enyim is using if you don't specify one. I even tried creating a custom performance monitor and it gets past the exception only to keep failing on "recvfrom" (strace is tell me) over and over.

I've _downgraded_ to Memcached on both Linux (built from sources) for production and Membase in Memcached-mode on Windows for development. Enyim's client library is working fine with this.

I'd like to move to Membase, but this thing is (clearly) a show-stopper.
Thanks.
Tim

Top
  • Login or register to post comments
Thu, 03/24/2011 - 12:17
perry
Offline
Joined: 10/11/2010
Groups:

Thanks Tim, I'm getting one of our engineers to take a look at the error and see if we can figure out what's going on.

I'd love for you to be able to use Membase a well!

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Tue, 03/29/2011 - 10:37
perry
Offline
Joined: 10/11/2010
Groups:

A ticket has been filed on the Enyim github: https://github.com/enyim/EnyimMemcached/issues#issue/57

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker