Server Error in ‘/Reports’ Application.

Server Error in ‘/Reports’ Application.

I am a fan of single page applications and RESTfull services, and more specifically I enjoy angular and react.
So I was workign on a new page http://localhost/reports/myTestReport .
However, recently I encountered a extremely frustrating error when I was working with angular. The error looked somewhat like this:

Server Error in ‘/Reports’ Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /reports/test

Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491

From the looks of it it makes no sense, because all that I am trying to do is just use my angular route to navigate to my angular page, but somehow IIS is throwing up with this error.

After lots of investigation it turns out that the issue boiled to the configuration of my local Reporting Services.
It turns out that Reporting Services was fighting with my local angular app over that Reports path.
So in order to fix it all I had to do was to start SQL Server 2014 Reporting Services Configuration Manager>, which was already installed on my computer.
Change the port for the managing url and it was all solved.

I hope this helps others who experience the same problem

Leave a Comment

Your email address will not be published. Required fields are marked *