Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Friendly URL (extentionless) not working when contains greek characters View modes: 
User avatar
Member
Member
John - 10/8/2011 2:37:18 AM
   
Friendly URL (extentionless) not working when contains greek characters
Hi,

Friendly URL (extentionless) not working when contains greek characters.

working -> www.mysite.gr/greek.aspx
working -> www.mysite.gr/greek
working -> www.mysite.gr/ελληνικά.aspx
NOT working (404) -> www.mysite.gr/ελληνικά

Windows Server 2003
Regional settings: Greek
Greek language installed

Site
.Net 2
v5.5.3789

Any ideas?

Thanks in advance,

John




User avatar
Certified Developer 8
Certified Developer 8
Jiveabillion - 10/10/2011 1:14:11 PM
   
RE:Friendly URL (extentionless) not working when contains greek characters
I just tested the url you indicated is not working in v5.5.4223 and it works fine. It also works in the Denver edition of version 6. Maybe it will work if you apply the hotfix for v5.5.4223

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 10/13/2011 2:22:19 AM
   
RE:Friendly URL (extentionless) not working when contains greek characters
Hi,

I would like to recommend applying the hotfix or even upgrade to 5.5R2 too because, regrettably, there were some bugs with special characters in the URL path and generating the correct URL in some special cases. I am sorry for this inconvenience.

HEre you can find the hotfix and here the upgrade.

Best regards,
Juraj Ondrus

User avatar
Member
Member
John - 10/16/2011 7:33:49 AM
   
RE:Friendly URL (extentionless) not working when contains greek characters
I tried to apply latest fix for 5.5. (5.5.30)

SQL part succeded but after replacing files I get:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Method 'get_ScriptManagerControl' in type 'CMSPages_PortalTemplate' from assembly 'App_Web_portaltemplate.aspx.67ab7734.j7yaanwb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
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.TypeLoadException: Method 'get_ScriptManagerControl' in type 'CMSPages_PortalTemplate' from assembly 'App_Web_portaltemplate.aspx.67ab7734.j7yaanwb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

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:


[TypeLoadException: Method 'get_ScriptManagerControl' in type 'CMSPages_PortalTemplate' from assembly 'App_Web_portaltemplate.aspx.67ab7734.j7yaanwb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.]
System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase) +0
System.Reflection.Assembly.GetType(String name) +25
System.Web.Compilation.BaseTemplateBuildProvider.GetGeneratedType(CompilerResults results) +55
System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults results) +45
System.Web.Compilation.TemplateControlBuildProvider.CreateBuildResult(CompilerResults results) +33
System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results) +13
System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +310
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +261
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +126
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +62
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.4028

Any ideas?

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 10/17/2011 6:23:30 AM
   
RE:Friendly URL (extentionless) not working when contains greek characters
Hello,

This seems to be an ASP.NET cache issue. Could you please try to delete this cache? It is in the following location: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ folder.

I believe that this will resolve this issue.

Best regards
Ondrej Vasil

User avatar
Member
Member
John - 10/17/2011 3:05:21 PM
   
RE:Friendly URL (extentionless) not working when contains greek characters
I'm sorry,

I did that but I'm still getting the same error!

I desperately need a solution!

Thanks in advance,

John

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 10/18/2011 1:45:08 AM
   
RE:Friendly URL (extentionless) not working when contains greek characters
Hi,

Clearing the .Net cache usually helped. Also, could you please confirm that you have used the .Net 2.0 DLL files from the hotfix package? (or, appropriate version according to which you are using).

Could you please also describe us the exact steps you have performed?

Best regards,
Juraj Ondrus

User avatar
Member
Member
John - 10/18/2011 1:53:46 AM
   
RE:Friendly URL (extentionless) not working when contains greek characters
Hi,

I have done this (patching hotfixes) a lot of times before with no problem. I'm sure though I'm doing something wrong here!

I'm using .Net 2.0 hotfix for my .Net 2.0 installation.
I'm following instructions of hotfix. First run the SQL script. SQL script is running OK.
Then copying CMS folder contents to the root of my site folder.
Changing the cms_admin webconfig entry about calendar/calendar.aspx to calendar.
Stopping site in IIS6.
Deleting temp files as you proposed.
Starting site in IIS6.
Getting the error!

Thanks,

John

User avatar
Member
Member
John - 10/18/2011 2:06:12 AM
   
RE:Friendly URL (extentionless) not working when contains greek characters
Wait!

there is a usercontrol I made for my site that references and uses a few of your controls. I think these are localized labeles (I don't remember their names now but I will find it if it is important for you)!

Maybe something in these controls is changed in the hotfix! Any ideas. I'm looking into it but please le me know if that rings a bell...

Thanks,

John


User avatar
Member
Member
John - 10/18/2011 3:53:46 AM
   
RE:Friendly URL (extentionless) not working when contains greek characters
I just tried to do the same procedure on my PC under IIS7.

I followed same steps and I end up with the exact same error!

regards,

John

User avatar
Member
Member
John - 10/18/2011 4:53:04 AM
   
RE:Friendly URL (extentionless) not working when contains greek characters

- - - - - - - I M P O R T A N T ! ! ! - - - - - - -

- - - - - - - THANKS FOR YOUR HELP - - - - - - -

I found the problem. I was using .NET3.5 for the site and I was thinking (I was pretty sure) that I was using .Net 2. So, I patched with the wrong FIX Package!!! :(((

Sorry, I spent your time in something like that.

Thanks again,

John



User avatar
Kentico Support
Kentico Support
kentico_jurajo - 10/18/2011 8:15:02 AM
   
RE:Friendly URL (extentionless) not working when contains greek characters
Hi,

No problem, I am glad it is working now!

Best regards,
Juraj Ondrus

User avatar
Member
Member
John - 10/18/2011 12:36:15 PM
   
RE:Friendly URL (extentionless) not working when contains greek characters
Hi Juraj,


unfortunately the "Friendly URL (extentionless) not working when contains greek characters" issue is not resolved with the latest 5.5.30 fix...

thanks anyway,

John

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 10/24/2011 3:28:35 AM
   
RE:Friendly URL (extentionless) not working when contains greek characters
Hi,

I am sorry for the delay - I had to do some research. However, I have found out that the problem is in IIS6 - it has some problems with special characters like in Greek language and when using extension less URLs, the handler404.aspx page which is set for Kentico already gets wrong URL from IIS and therefore you are getting the error. The only way would be to upgrade to IIS7+ where it is working fine.

I am sorry for this inconvenience.

Best regards.
Juraj Ondrus