Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Google site map View modes: 
User avatar
Member
Member
Vladislav - 6/18/2010 9:33:36 AM
   
Google site map
I've got the problem with virtual path.

If to open the first page after starting application googlesitemap.xml and to use virtual path, the variable SettingsKeyProvider.UsingVirtualPathProvider is set to false when GoogleSiteMap.ascx is loading in CMSAbstractDataProperties::LoadTransformation.

And SettingsKeyProvider.UsingVirtualPathProvide is setted to true only after exception that path is not exist.

Inserting "<add key="CMSUseVirtualPathProvider" value="true" />" into Web.config is useless.

So, to solve this problem I inserted
SettingsKeyProvider.UsingVirtualPathProvider = true;
into Application_Start function.

Best regards, Vladislav.

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 6/21/2010 12:59:13 AM
   
RE:Google site map
Hello,

Thank you for the information.

Best regards,
Boris Pocatko

User avatar
Member
Member
Vladislav - 9/2/2010 6:44:46 AM
   
RE:Google site map
This problem was fixed in 5.5.5 hotfix. And in hotfix 5.5.12 everything with it was ok. And now I updated my test server to 5.5.15. This problem presents again.

User avatar
Member
Member
Vladislav - 9/2/2010 7:08:01 AM
   
RE:Google site map
Sorry. Everything seems to be ok. My fault.