Hi!
A guess could be that there are pages that are required by the template that does not exist in swedish yet. Try and debug the MainMenu control in the RelatePlus templates to see what it expects. Might even be that it's a bug in that control:
EPiServer.Templates.RelatePlus.UserControls.MainMenu.LoadChildren(PageReference pageLink)
Regards Linus Ekström
Hi again
When i debug the MainMenu.ascx.cs in VS the page is loding the EN page normally i've got no error there.
This is the only error /debug report i could get fom viewing the MainMenu.ascx.cs directly in the cms editor in the SV tree /page
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: Förskjutning och längd låg utanför giltigt intervall för matrisen eller så är antalet större än antalet element från indexet till slutet av källmängden.
Source Error:
Source File: C:\EPiServer\Sites\MyRelateSite\Templates\RelatePlus\UserControls\MainMenu.ascx.cs Line: 45
Stack Trace:
Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955
|
|
WR/
M.Mansson
The problem is the faulty relate2+ template
pages.RemoveRange(9, pages.Count - 1 - 9);
gives an error since pages.Count in sv dont have 9 elementes
I have done a bug report to investigate this further. Generally, the relate package is not developed to display multiple languages, but it should probably be handled in a better way.
Linus Ekström
EPiServer Development Team
Yeah, I just thought it was a typo when I was it so I didn't pay to much attention to it ;)
Hi
This may be an easy one, but i cant get it ...... please help me!
I've installed CMS 6 successfully.
I've also installed Relate+ 2.0 also that successfully.
In the edit mode CMS i created a language page on swedish (sv) fro the US-en original pge tree.
When i saved and publish this new sv pagepreview displayed this error:
_____________________________________________________________________________________________
Page could not be loaded
The link you specified does not work. This may either be the result of temporary maintenance or an incorrect link.
Detailed error information (authorized by permissions to functions)
Ett tal som inte är negativt krävs.
Parameter name: count Server Error in '/' Application.
Ett tal som inte är negativt krävs.
Parameter name: count
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.ArgumentOutOfRangeException: Ett tal som inte är negativt krävs.
Parameter name: count
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:
_____________________________________________________________________________________________
I've tried to re install and so on - same result
I can only view pages that are in original laguage (en-US)
Why can't i view any other laguage page then the original?
Any solutions someone ?