在ASP.NET中的错误信息更改语言 [英] Change language of error messages in ASP.NET
问题描述
我开发使用Windows XP和Visual Studio专业的瑞典语版本的ASP.NET应用程序。当我过又名得到一个错误。错误消息的死亡黄屏是瑞典语,使得它有点难以寻找关于它的信息。
我如何更改ASP.NET中的错误信息是什么类型的?
我已经安装.NET Framework的任何语言包。我在上面运行但英国的Windows XP与瑞典语言界面包。
我也有这个在我的web.config:
<&的System.Web GT;
<全球化的UICulture =EN-US/>
< /system.web>
不是错误信息依赖于安装了.NET框架?即你可以只卸载.NET瑞典的语言包。在生产服务器上,你很可能有一个仅限英语的框架无论如何。
I developing ASP.NET application using a Swedish version of Windows XP and Visual studio Professional. When ever i get an error aka. "yellow screen of death" the error message is in swedish, making it a bit hard to search for info about it.
How can i change what language the error messages in ASP.NET uses?
I have no language pack installed for the .net framework. I am however running an english windows xp with a swedish language interface pack on it.
I also have this in my web.config:
<system.web>
<globalization uiCulture="en-US" />
</system.web>
Aren't the error messages dependent on the installed .NET Framework? I.e. you could just uninstall the Swedish language pack for .NET. On the production server, you'll most likely have an English-only Framework anyway.
这篇关于在ASP.NET中的错误信息更改语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!