ASP.net问题与区域和放大器;语言选项(WIN2K3) [英] ASP.net problem with Regional & Language Options (win2k3)

查看:190
本文介绍了ASP.net问题与区域和放大器;语言选项(WIN2K3)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Asp.net的形式一个TextBox。有一个简单的JavaScript女巫的TextBox每个三位数隔开。当你在文本框中输入数据,它工作正常。我曾经昏迷分离数字,用点浮点字符。

I have a TextBox in an Asp.net form. there is a simple javascript witch separates each three digits in TextBox. it works fine when you enter data in TextBox. I used coma , for separating digits and used dot . as floating point character.

就像我说的每一件事工作正常,当我在文本框输入数据。但是当回后发生,并且保存的数据返回到客户端,每个(S)已被删除(例如 2.3 另存为 23 ,并在文本框的数字是由。而不是

as I said every thing works fine when I am entering data in TextBox. but when the post-back occurs and saved data returns to client, every .(s) has been removed (for example 2.3 saved as 23 and digits in TextBox are separated by . instead of ,.

只是在一个特定的服务器(Windows Server 2003 SP1)出现此问题以及其他的Windows Server 2003(SP1)工作正常!我遇到这个问题第一次!

this problem occurs just in a specific server (windows server 2003 sp1) and works fine in other windows server 2003 (SP1)! I am experiencing this problem for first time!

不过,我认为这个问题是因为特定的区域和放大器;语言选项中的服务器。此服务器加入到域控制器。当我改变区域和语言选项这一套:

But I think the problem is because of specific Regional & Language Options in the server. This server is joined to a domain controller. when I change the regional and language options to this set:

小数符号 - >

Decimal Symbol -> .

数字分组符号 - >

Digit Grouping Symbol -> ,

没有什么变化。

当我定制设置后检查以下项目:

when I check the following item after customizing settings :

将所有设置应用​​于当前用户帐户以及默认用户配置 - > 检查

Apply All Settings to the current user account and to the default user profile -> checked

当我重新启动服务器,它从域跳出,需要重新加入到域控制器!和课程没有再次改变!

when I restart the Server, It jumps out from domain and need to be re-joined to domain controller! and of-course nothing changes again!

你有这个问题?任何解决方案,请!

Do you had this problem? any solution please!

我不能发布code在这里,因为code是太复杂了,我相信问题是不是因为code,因为它是在这里工作的每个除非指定的服务器。

I can not post code here, because the code is too complex and I am sure problem is not because of code because it is working every where unless the specified server.

修改

同时设置网络服务的用户区域和语言选项可能有助于解决这个问题。任何机构知道我该怎么做呢?

推荐答案

你试过用全球化的标签在你的web.config?这prevents从运行陷入困境时,多台服务器的配置不同(即不同languagepacks)。

Have you tried using the globalization tag in your web.config? This prevents you from running into trouble when multiple servers are configured differently (ie. different languagepacks).

<configuration>
   <system.web>
      <globalization 
         culture="en-US"
         uiCulture="en-US" />
   </system.web>
</configuration>

这篇关于ASP.net问题与区域和放大器;语言选项(WIN2K3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆