Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SampleService returns no collection #27

Open
zinark opened this issue Feb 19, 2016 · 2 comments
Open

SampleService returns no collection #27

zinark opened this issue Feb 19, 2016 · 2 comments

Comments

@zinark
Copy link

zinark commented Feb 19, 2016

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>
@object
Copy link
Owner

object commented Feb 19, 2016

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

@zinark
Copy link
Author

zinark commented Feb 19, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants