Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Why the globalization in web.config don't work?
mbastos
#1 Posted : Thursday, December 18, 2008 2:39:40 AM(UTC)
Groups: Member
Joined: 12/18/2008(UTC)
Posts: 2

My web application does not work well with parameter globalization, but using iis work well.
My definition in file "web.config":
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="es-ES" uiCulture="es-ES"/>

Any ideas?
Ultidev Team
#2 Posted : Thursday, December 18, 2008 4:25:00 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Thank you for using UltiDev Cassini Web Server!

We are not aware of the issue, but we will do our best to try to troubleshoot with your help.
When you say it's not working, do you mean you deploy culture-specific satellite resource assemblies in the Bin of your app, but it still uses default/English resources?
Please let us know of anything that might be relevant, like what version of ASP.NET you are using, what steps you take to reproduce the problem, and what happens in reality versus what you expect to happen.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
mbastos
#3 Posted : Tuesday, December 23, 2008 3:01:33 AM(UTC)
Groups: Member
Joined: 12/18/2008(UTC)
Posts: 2

Hi! Thanks for reply!

Yes, I deploy all culture-specific satellite resource assemblies in the Bin and the folder App_LocalResources, but it still uses default resources!
The version of ASP.Net is 2.0!

Example of a file ".apsx" (Top of the file):
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdmAlterarPassword.aspx.cs" Inherits="WebTime2.AdmAlterarPassword" meta:resourcekey="PageResource1" %>

if I change the top of file putting the text (culture="es-ES" uiCulture="es-ES"), it´s working well!
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdmAlterarPassword.aspx.cs" Inherits="WebTime2.AdmAlterarPassword" meta:resourcekey="PageResource1" culture="es-ES" uiCulture="es-ES"%>

But why using the globalization in web.config don't work?
Any ideas?
Ultidev Team
#4 Posted : Tuesday, December 23, 2008 6:27:28 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Have you tried running your application using either Microsoft IIS or development web server built into Visual Studio? Could you please confirm that the issue is specific to UltiDev Cassini Web Server and is not occurring under MS web servers? If so, would it be possible for you to create a simple one-page ASP.NET web site illustrating the issue? We could run it locally and see what's going on exactly.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.