I have a project that create a projection using :
var user = new UserCredentials(username, password);
var log = new EventStore.ClientAPI.Common.Log.ConsoleLogger();
var pm = new EventStore.ClientAPI.ProjectionsManager(log, httpendPoint);
var projectionsPath = ConfigurationManager.AppSettings[“projectionsPath”];
var proj = System.IO.File.ReadAllText( projectionsPath + “gameListProjection.js”);
pm.CreateContinuous(“gameListProjection”, proj, user);
when I run that on an eventstore already running it works fine.
If I restart the eventstore before having deleted the projection, I can see that its state goes from Writing/Initial state to running
If I delete then this projection using the admin web interface not checking delete checkpoint stream , neither delete state stream.
I receive an alert :
couldn’t delete the projection
reason : Not Found
The projection is deleted all the same it has disappeared from the projections list.
If i restart my project , the projection is created anew but hangs on the Writing/Initial state.
The db is a fresh one, no events saved so far. Do you need any logs?