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();
}

}

Tuesday, February 23, 2010

MS SQL Server Reporting Services error: The report server has encountered a configuration error

After install of the Sql Server 2005 I got the error:

The report server has encountered a configuration error. See the report server log files for more information. (rsServerConfigurationError)
Access to the path 'C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\RSReportServer.config' is denied.

Thursday, January 21, 2010

How to restore missing controls in Visual Studio 2008 Toolbox

I encountered a problem today when I tried to use Visual Studio 2008.

When I created a Windows forms project, the controls in Toolbox were missing. The usual remedy of right-clicking the Toolbox and then selecting Reset Toolbox did not help.

C:\Documents and Settings\[User Name]\Local Settings\Application Data\Microsoft\VisualStudio\9.0