Server Error in /Reports Application.


Here I am trying to explain that how to resolve an error ie, Server Error in /Reports Application.I have faced such a big problem that when I hosted my web site,Report is not working. I am using 3tier architecture and I have kept all my forms and reports in folders.When I published my web site Reports only not working,all others are ok. When I browse http://<<localhost:>>/Reports it will show the error.

Here I am trying to explain that how to resolve an error ie,
Server Error in /Reports Application.
I have faced such a big problem that when I hosted my web site,Report is not working.

I am using 3tier architecture and I have kept all my forms and reports in folders.When I published my web site Reports only not working,all others are ok.
error getting is


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/ReportViewer.aspx

Version Information: Microsoft .NET Framework Version:2.0.50727.4927 ASP.NET Version:2.0.50727.4927


It is displaying wrong Version also.

When I browse http://<>/Reports it will show the error.

I resolved this problem is like this.

1.Moove ReportViewer to Root directory
2.Build Action is set to 'Embedded Resource' by default. Change it to 'Content'.
3.Copy to Output is set to 'Do not copy' by default. Change it to 'Copy always'.


Rebuild, Build deployment package and Publish.


Working!!!

Server Error in /Reports Application.


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: