I am a newbie to couchbase and having a lo of problem with views. I can not run the simple view with couchbase "beer-sample"example.
I keep getting the exception:
"An unhandled exception of type ‘Couchbase.Exceptions.ViewNotFoundException’ occurred in Couchbase.dll
Additional information: Query failed for view by_name in design document beer"
I have .net application with couchbase server on win7 machine.
Problem was that there were no views created with “beer-sample” example. The documentation doesn’t mention anything about creating your views using couchbase console.
I was misguided and wasted alot of time. Finally, I understood that every view needs to be created first…
Documentation should also add view creation process using a console.