Hello,
We are updating our production server from Windows 2003 R2 to Windows 2012 R2.
We have Installed IIS 8.5 on new server.
We have applications for DotNet4.0 in ASP.Net.
Everything is working fine on old server, but same applications on new server, give error saying
The resource object with key 'Header_CreateRole' was not found.
We have not done any change in application, just copy pasted the Virtual directory from one server to another.
This is the syntax I am using for reading values from .resx file on ASPX page.
LabelHeading="<%$ Resources:Resource,Header_CreateRole %>"
Has anybody faced such issue, please help.
What I have tried:
I changed the Syntax for reading resource file as below. this does not give error but text is not displayed on screen.
LabelHeading="<%# Resources.Resource.Header_CreateRole %>"