The name ... contains characters that are not valid for a Culture or Region.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
15 years ago
Hi All,
Recently I receive this error message, I didn't edit any common page.
Any ideas?

Thank you,
Qais Afaneh

[quote]Server Error in '/' Application.
--------------------------------------------------------------------------------

The name 'pS쟚ƺ' contains characters that are not valid for a Culture or Region.
Parameter name: name
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.ArgumentException: The name 'pS쟚ƺ' contains characters that are not valid for a Culture or Region.
Parameter name: name

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[ArgumentException: The name 'pS쟚ƺ' contains characters that are not valid for a Culture or Region.
Parameter name: name]
   System.Globalization.CultureTableRecord.ValidateCulturePieceToLower(String testString, String paramName, Int32 maxLength) +7482147
   System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride) +81
   System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride) +45
   System.Globalization.CultureInfo..ctor(String name) +31
   NopSolutions.NopCommerce.Common.HttpModules.NopCommerceFilter.Application_BeginRequest(Object sender, EventArgs e) in C:\temp\rac\NopCommerce\Solution\NopCommerce\Nop.Common\HttpModules\NopCommerceFilter.cs:93
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 [/quote]
15 years ago
Hi Admin,
also I receive this
[quote]
Server Error in '/' Application.
--------------------------------------------------------------------------------

The name '漍ⷩ0' contains characters that are not valid for a Culture or Region.
Parameter name: name
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.ArgumentException: The name '漍ⷩ0' contains characters that are not valid for a Culture or Region.
Parameter name: name

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[ArgumentException: The name '漍ⷩ0' contains characters that are not valid for a Culture or Region.
Parameter name: name]
   System.Globalization.CultureTableRecord.ValidateCulturePieceToLower(String testString, String paramName, Int32 maxLength) +7482147
   System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride) +81
   System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride) +45
   System.Globalization.CultureInfo..ctor(String name) +31
   NopSolutions.NopCommerce.Common.HttpModules.NopCommerceFilter.Application_BeginRequest(Object sender, EventArgs e) in C:\temp\rac\NopCommerce\Solution\NopCommerce\Nop.Common\HttpModules\NopCommerceFilter.cs:93
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
[/quote]

I am using "ar-JO" language as default and it was working without any errors and suddenly i receive the culture error.
is there any configuration we can do on web.config file to solve this problem
or in file \NopCommerce\Nop.Common\HttpModules\NopCommerceFilter.cs:93

Regards,
Qais Afaneh
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.