MongOData icon indicating copy to clipboard operation
MongOData copied to clipboard

SampleService returns no collection

Open zinark opened this issue 9 years ago • 2 comments

I downloaded the source and tried to run the sample solution. First I executed CreateSampleData to generate jsons in mongodb. So it worked. But when i run the SampleService, I can not see the collections.

<service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xml:base="http://localhost:50336/MongoDataService.svc/">
<workspace>
<atom:title>Default</atom:title>
</workspace>
</service>

zinark avatar Feb 19 '16 15:02 zinark

You have to set up connenction string. Check project source code that has some examples.

object avatar Feb 19 '16 16:02 object

Thanks. But it was a long story. Short version: Just downgraded my mongodb 3.2 to 2.6. It's ok now.

zinark avatar Feb 19 '16 20:02 zinark