Understanding Couchbase confuguration

38 views
Skip to first unread message

Michael Barnes

unread,
Aug 20, 2013, 2:56:54 AM8/20/13
to couc...@googlegroups.com, sh...@insuranceglue.com
Hi there

I am a C# developer and am using the .Net Couchbase client found on NuGet Packages. Now I have written wrappers for all the CRUD operations in a class library project and have added the configuration to my app.config file.

Now we are testing our app within a wireless local network at the office but we cannot connect to Couchbase server that is sitting on my pc. I have given him the configuration file which looks like so:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections> 
      <section name="couchbase" type="Couchbase.Configuration.CouchbaseClientSection, Couchbase" />
</configSections>
    
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.3.0.0" newVersion="5.3.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

    <couchbase>
    <servers bucket="default" bucketPassword="">
      <add uri="http://192.168.0.103:8091/pools" />
    </servers>
  </couchbase>  

</configuration>

He has also referenced the Couchbase .dll's along with my code's dll. 
When I test the app in my test console application the data returns succefully but when he calls my wrappers in his console app, on his PC, it return a NullReferenceException? He can however view the Couchbase admin console in his browser going to http://192.168.0.103:8091.

Do I have to create firewall rules? Or is there something else that I seem to be missing? 

How do we solve this issue?

Chris Anderson

unread,
Aug 20, 2013, 8:57:10 AM8/20/13
to couc...@googlegroups.com
You probably want to post this to the " Couchbase" google group.
--
You received this message because you are subscribed to the Google Groups "CouchRest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchrest+...@googlegroups.com.
To post to this group, send email to couc...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchrest.
For more options, visit https://groups.google.com/groups/opt_out.


--
Chris Anderson
http://jchrisa.net
http://www.couchbase.com
Reply all
Reply to author
Forward
0 new messages