RDLC file is not found when the MVC application is deployed in Azure...

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.


No comments:

Post a Comment

How to run UPDATE/INSERT/DELETE Statements on Azure SQL Database in Microsoft Fabric Notebook...

You can run UPDATE/INSERT/DELETE Statements on Azure SQL Database in Microsoft Fabric Notebook using Python SQL Driver - pyodbc.  For the Fa...