Once the MVC application is deployed in Azure, and when the user is trying to view a report (RDLC), it gives an error saying that the RDLC file is not found. But this is working fine in the local environment.
Actually this is related to the Build Action of the RDLC file.
To fix this issue, select the RDLC file in the Solution Explorer and go to Properties.
Change the "Build Action" value from "Embedded Resource" to "Content".
Once this is done, deploy the report again to Azure and the issue will be fixed.
Actually this is related to the Build Action of the RDLC file.
To fix this issue, select the RDLC file in the Solution Explorer and go to Properties.
Change the "Build Action" value from "Embedded Resource" to "Content".
Once this is done, deploy the report again to Azure and the issue will be fixed.
No comments:
Post a Comment