Red Gate forums :: View topic - Cannot find project
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

Cannot find project

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
jochem4207



Joined: 06 Dec 2013
Posts: 34
Location: Netherlands

PostPosted: Thu Feb 06, 2014 9:49 am    Post subject: Cannot find project Reply with quote

Hello Redgate,

Sometimes I get this error

Code:
The following error occurred:
The Project with identifier Project-Name could not be found.
If you typed in the address, check that it is correct.
If you followed a link here, it's possible that the Project you are looking for has been deleted.
If you contact Red Gate, the following information can help us to understand the error:

RedGate.Deploy.Core.Persistence.DocumentNotFoundException: The Project with identifier Project-Name could not be found.
If you typed in the address, check that it is correct.
If you followed a link here, it's possible that the Project you are looking for has been deleted.
   at RedGate.Deploy.Core.Persistence.RavenExtensions.DocumentIfExists[T](String id, T doc)
   at RedGate.Deploy.Core.Persistence.RavenExtensions.LoadProjectWhichExistsBySlug(IDocumentSession session, String slug)
   at RedGate.Deploy.Portal.Controllers.StepsController.Index(String slug)
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)


When I go back to projects page and click the project it works, this randomly happens. As long as i know that my project is safe its not much a problem for me..

I'm not sure if I copied this project from a other DM raven database or created it myself. Maybe in that copying could be a issue.

- Jochem
Back to top
View user's profile Send private message
Mike Upton



Joined: 11 May 2011
Posts: 134
Location: Red Gate

PostPosted: Sat Feb 08, 2014 8:57 am    Post subject: Reply with quote

Hi Jochem,

I'm afraid I'm not sure what's going on here. It certainly sounds like something in the database is in an inconsistent state. I'll have to check the code when I get back in the office on Monday to find out what it could be, and I might need to ask you for some JSON snippets from your database.

Mike
_________________
Mike Upton

Software Engineer
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Mike Upton



Joined: 11 May 2011
Posts: 134
Location: Red Gate

PostPosted: Mon Feb 10, 2014 10:48 am    Post subject: Reply with quote

Hi Jochem,

I've looked at the code, and I'm none the wiser. I know that it's the Project Steps index page that's breaking, but I'm not sure how you're getting there. Do you know which links it happens on? That error could happen from the following places:

  • Immediately after creating a new project (i.e. when you click on the 'Create' button)
  • Immediately after creating a new package or database step (i.e. when you click on the 'Save' button on the step page)
  • Immediately after deleting a step from the Steps index page (i.e. after clicking OK on the confirm delete dialog)
  • Just by clicking on the 'Steps' link at the left hand side of any project-related page (i.e. Overview, Steps, Variables, Team, Settings)
  • By clicking on the 'Steps' link in the breadcrumbs at the top of a project-related page (i.e. Projects > project-name > Steps > step-name)

_________________
Mike Upton

Software Engineer
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group