我在C#上开发了一个网站,我的电脑可以在所有3种浏览器(FireFox、IE和Chrome)上工作。在其他计算机上,在IE上工作,但在FireFox上收到以下错误:
"Culture is not supported.
Parameter name: name
English is an invalid culture identifier.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Globalization.CultureNotFoundException: Culture is not supported.
Parameter name: name
English is an invalid culture identifier.
Source Error:
Line 29: if (!String.IsNullOrEmpty(langValue))
Line 30: {
Line 31: UICulture = langValue;
Line 32: //Culture = langValue;
Line 33: "在IE和Chrome的其他计算机上,我也收到了同样的错误,但在FireFox上却没有。所有的浏览器都更新到最新版本,在Windows 7上。有人能给我一个提示或解决这个问题的方法吗?谢谢
发布于 2013-12-13 18:13:08
你可以尝试这样做:
转到调试菜单->异常..。并检查是否所有都未选中异常列表。
还尝试删除位于以下位置的ASP.NET临时文件夹中的所有文件:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files发布于 2015-06-10 09:48:56
英语不是标识符。试着用"en“或"en-US”
https://stackoverflow.com/questions/20573175
复制相似问题