The view 'login' or its master could not be found

Aug 17, 2009 at 12:43 AM

I have set up the site as per the instruction in the installation guide

http://www.kooboo.com/docdetail/Kooboo_installation_guide

But I am running on WinXp Pro and IIS 5 so I have to set it up as a virtual directory.

The result is that I get the The view 'login' or its master could not be found error when trying to get to the page. http://localhost/KooBooCMS/form.

I guess this is because the site is looking for the view in /Views/Account whereas in my set up it is in /kooboocms/views/account.

Anyone has any idea how to fix this?

I have checked that the file Views/Account/login.aspx exists

Thanks in advance for your help.

Regards

Fred

 

 

http://localhost/KooBooCMS/Account/Login?ReturnUrl=%2fkooboocms%2fform

Server Error in '/KooBooCMS' Application.
--------------------------------------------------------------------------------

The view 'Login' or its master could not be found. The following locations were searched:
/Views/Account/Login.aspx
/Views/Account/Login.ascx
/Views/Shared/Login.aspx
/Views/Shared/Login.ascx
/Views/Account/Login.master
/Views/Shared/Login.master
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The view 'Login' or its master could not be found. The following locations were searched:
/Views/Account/Login.aspx
/Views/Account/Login.ascx
/Views/Shared/Login.aspx
/Views/Shared/Login.ascx
/Views/Account/Login.master
/Views/Shared/Login.master

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[InvalidOperationException: The view 'Login' or its master could not be found. The following locations were searched:
/Views/Account/Login.aspx
/Views/Account/Login.ascx
/Views/Shared/Login.aspx
/Views/Shared/Login.ascx
/Views/Account/Login.master
/Views/Shared/Login.master]
   System.Web.Mvc.ViewResult.FindView(ControllerContext context) +105541
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +139
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +10
   System.Web.Mvc.<>c__DisplayClass11.<InvokeActionResultWithFilters>b__e() +20
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +251
   System.Web.Mvc.<>c__DisplayClass13.<InvokeActionResultWithFilters>b__10() +19
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +251
   System.Web.Mvc.<>c__DisplayClass13.<InvokeActionResultWithFilters>b__10() +19
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +178
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +399
   System.Web.Mvc.Controller.ExecuteCore() +126
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +27
   System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +7
   System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +151
   System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext) +57
   System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext) +7
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

 

Developer
Aug 17, 2009 at 3:25 AM


HI fred2008:

   Kooboo can be installed only into the web site root.

 

Aug 20, 2009 at 2:38 PM

Hi,

I see.

I have managed to get Kooboo running now. I use this tool to create new sites in Win XP then Install KooBoo into the root.

http://www.firstserved.net/help/downloads

and there is some info about creating multiple websites in Win XP here

http://www.xoc.net/works/tips/multiple-iis-sites-professional.asp

 

 

Developer
Aug 21, 2009 at 1:26 AM

hi, I am pleased you resolve your problem.

Thanks for your resources.

 

Coordinator
Aug 21, 2009 at 2:52 AM

I was trying to install multiple sites in XP without result, so later I reinstall a Windows 2003, much easier for development. 

I will pass the link to some of our guys who still trying to hack XP for multiple sites.

Thanks