I'm having some problems with globalization. I inherited a very old project in ASP.NET 2.0. It has several globalization files for multiple languages.
However, when I build the application for deployment, it runs fine in our test environment. But when we copy the application to the production environment, it errors out on a <%$ Resources: Global, MyStringHere %>.
Stating that the MyStringHere wasn't found in the resource file.
Why would this run fine in development and test environments, but not in production? The files are exactly the same from one environment to the next (although the inetpub files are located in different directories on each machine).
Anyone have any ideas?
EDIT:
Very strange. If I call the resource from code behind.
public string _MyStringName = Resources.Global.MyStringHere;
This works fine in all environments.
But, using the old:
<%$Resources: Global, MyStringHere %>
Is erroring out in production only.