Showing posts with label error. Show all posts
Showing posts with label error. Show all posts

Friday, November 26, 2010

ASP.NET MVC 2 Error rised using RenderAction : The controller for path '/' was not found or does not implement IController.

When I try to use RenderAction in ASP.NET MVC2 view:


<%Html.RenderAction("BrowserVersion", "HomeController"); %>


I got the error below:

The controller for path '/' was not found or does not implement IController.



Code for HomeController:


public class HomeController : Controller
{

[ChildActionOnly]
public ActionResult BrowserName()
{
ViewData["BrowserName"] = Request.Browser.Browser;
return View();
}

}

Wednesday, October 8, 2008

Dotnetnuke site constantly to recreate the domain application: "The AppDomain shut down because of the hosting environment."

I've made a site using CMS DotNetNuke. On my developing machine it worked very good. After placing It into the hosting I've noticed that pages, especially the first opened very slowly. I looked into site's Event Viewer and see that the application domain recreated several times a minute. There are consistent records:

Application Shutting Down. Shutdown Details: The AppDomain shut down because of the hosting environment.

Application Started.


Operation of Re-creation of domain application is not fast, and it leads to lower the productivity of the website (slowly loading of pages).