mobilekitpro

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
7/21/2011 6:06:30 AM
Gravatar
Total Posts 22

mobilekitpro

Hi Joe,

I've just updated mojoportal to the last version and copied all files needed by the mobilekitpro.

Unfortunately I can't view the pages on my Iphone.

Here the log

2011-07-21 13:03:19,813 ERROR mojoPortal.Web.mojoBasePage - 85.93.217.170-en-US - /Default.aspx
System.Web.HttpParseException: Cannot create an object of type 'System.Web.UI.WebControls.RepeatLayout' from its string representation 'UnorderedList' for the 'RepeatLayout' property. ---> System.Web.HttpParseException: Cannot create an object of type 'System.Web.UI.WebControls.RepeatLayout' from its string representation 'UnorderedList' for the 'RepeatLayout' property. ---> System.Web.HttpException: Cannot create an object of type 'System.Web.UI.WebControls.RepeatLayout' from its string representation 'UnorderedList' for the 'RepeatLayout' property.
   at System.Web.UI.PropertyConverter.ObjectFromString(Type objType, MemberInfo propertyInfo, String value)
   at System.Web.UI.ControlBuilder.AddProperty(String filter, String name, String value, Boolean mainDirectiveMode)
   at System.Web.UI.ControlBuilder.PreprocessAttribute(String filter, String attribname, String attribvalue, Boolean mainDirectiveMode)
   at System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs)
   at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs)
   at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName)
   at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
   at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   --- End of inner exception stack trace ---
   at System.Web.UI.TemplateParser.ProcessException(Exception ex)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   --- End of inner exception stack trace ---
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
   at System.Web.UI.PageThemeParser.ParseInternal()
   at System.Web.UI.TemplateParser.Parse()
   at System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath)
   at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
   at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(String themeName)
   at System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(HttpContext context, String themeName)
   at System.Web.UI.Page.InitializeThemes()
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2011-07-21 13:03:19,813 ERROR mojoPortal.Web.Global - 85.93.217.170-en-US - /Default.aspx- Referrer(http://www.solinf.lu/Error.htm?aspxerrorpath=/Default.aspx)
System.Web.HttpParseException: Cannot create an object of type 'System.Web.UI.WebControls.RepeatLayout' from its string representation 'UnorderedList' for the 'RepeatLayout' property. ---> System.Web.HttpException: Cannot create an object of type 'System.Web.UI.WebControls.RepeatLayout' from its string representation 'UnorderedList' for the 'RepeatLayout' property.
   at System.Web.UI.PropertyConverter.ObjectFromString(Type objType, MemberInfo propertyInfo, String value)
   at System.Web.UI.ControlBuilder.AddProperty(String filter, String name, String value, Boolean mainDirectiveMode)
   at System.Web.UI.ControlBuilder.PreprocessAttribute(String filter, String attribname, String attribvalue, Boolean mainDirectiveMode)
   at System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs)
   at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs)
   at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName)
   at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
   at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   --- End of inner exception stack trace ---
   at System.Web.UI.TemplateParser.ProcessException(Exception ex)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encng fileEncodingodi)

thanks for any helpYves

 

7/21/2011 6:19:43 AM
Gravatar
Total Posts 18439

Re: mobilekitpro

Hi Yves,

You must be running under .NET 3.5

You should be able to get rid of this error if you edit the theme.skin file in the skin folder

Look for these items:

<asp:CheckBoxList runat="server"
CssClass="aspcheckboxlist"
RepeatColumns="2"
RepeatDirection="horizontal"
RepeatLayout="Table"
/>

<asp:CheckBoxList  runat="server" SkinID="Roles"
CssClass="aspcheckboxlist"
RepeatLayout="UnorderedList"
/>

<asp:CheckBoxList  runat="server" SkinID="Blog"
CssClass="aspcheckboxlist"
RepeatColumns="4"
RepeatDirection="horizontal"
RepeatLayout="Table"
/>

Remove the RepeatLayout property from those entries, I guess those are not supported under .NET 3.5.

I hope you are running in full trust hosting because Mobile Kit Pro will not work correctly under .NET 3.5 Medium Trust. It will work correctly under .NET 3.5 Full Trust or under .NET 4 (any trust level). 

So the other/best way to solve it would be to change to .NET 4 hosting and update to the .NET 4 package of mojoPortal.

Hope that helps,

Joe

7/21/2011 6:59:48 AM
Gravatar
Total Posts 22

Re: mobilekitpro

Dear Joe,

Like always! Great Help! Thanks a lot.

For the moment I can't upgrade to .net 4.0... :-(

Yves

7/21/2011 7:01:56 AM
Gravatar
Total Posts 18439

Re: mobilekitpro

Hi Yves,

Did you get it working? Do you at least have full trust hosting?

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.