Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Decoded string is not a valid IDN name.

Decoded string is not a valid IDN name.

Martin Møller Christensen
Reply

Hi,

After upgradering to DW9 I am recering this error when trying to visit a page:

I am able to get to the admin section, and it is possible to visit pages if I visit them with the "Default=ID&Purge=True" syntax. Purge being very important in regard to it working or not.

Anyone got any ideas? Any help would be much appriciated.

Thanks in advance.

 

Decoded string is not a valid IDN name.
Parameter name: unicode

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: Decoded string is not a valid IDN name.
Parameter name: unicode

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: Decoded string is not a valid IDN name.
Parameter name: unicode]
   System.Globalization.IdnMapping.GetAsciiUsingOS(String unicode) +5077102
   Dynamicweb.Content.AreaDomainRelation.NormalizeDomain(String domain) +119
   System.Linq.WhereSelectArrayIterator`2.MoveNext() +78
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +504
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +70
   Dynamicweb.Content.AreaService.InitializeDomainRelations() +510
   System.Lazy`1.CreateValue() +708
   System.Lazy`1.LazyInitValue() +184
   Dynamicweb.Content.AreaService.GetAreasByDomain(String domain, Boolean onlyLocked) +119
   Dynamicweb.Frontend.PageView.GetAreaByDomain(String domain) +47
   Dynamicweb.Frontend.PageView.SetId() +1523
   Dynamicweb.Frontend.PageView.Load() +1196
   Dynamicweb.Frontend.DynamicwebHttpHandler.ProcessRequest(HttpContext context) +200
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Try to check what you have in the AreaDomain column in Area table. Any domains using æ, ø, å, other utf-8 characters or similar - also if you have some domains with full protocol or similar, that could be an issue. You can try to null all rows on this column and reset IIS and see if that should help. 

And dump the content of that column here for reference.

Thanks, Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum