Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListError when using XSLT  - string to number errorError when using XSLT - string to number error
Previous
 
Next
New Post
3/5/2010 10:53 PM
 

 Error when using Xslt
 
 I am getting this error when logged in as anyone but host and using either pre made or my own XSLT sheets.
 
 InnerException: Input string was not in a correct format.
 FileName:
 FileLineNumber: 0
 FileColumnNumber: 0
 Method: System.Number.StringToNumber
 StackTrace:
 Message: System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at DotNetNuke.Entities.Users.UserProfile.get_TimeZone() at DotNetNuke.Modules.UserDefinedTable.UserDefinedTableController.Context(ModuleInfo moduleInfo, UserInfo userInfo, String SearchInput, String orderBy, String orderDirection, String paging) at DotNetNuke.Modules.UserDefinedTable.UserDefinedTableController.Context(String SearchInput, String orderBy, String orderDirection, String paging) at DotNetNuke.Modules.UserDefinedTable.List.BindDataUsingXslTransform(String StyleSheet)
 
 Any insight would be very useful. I really like the XSLT editor but it seems cannot use it.
 
 Thanks
 Ian
  


Mutate and Survive
 
New Post
3/6/2010 4:29 AM
 
It looks like that the current user has no valid timezone entry in his profile.
 
New Post
3/7/2010 1:36 PM
 

Hi Stefan
 
 Thanks for your quick reply to my post and on a Saturday too.
 
 I had been poking around around in the DB looking for profile errors. It had not yet occurred to me to check the values being written (or not ) to the users profiles themselves.
 
 Thanks you.
 
 Ian


Mutate and Survive
 
New Post
3/9/2010 12:24 AM
 

 Just to finish this post off.


A check of the zimezone value in exported user accounts showed no value at all but forcing a timezone choice on some test accounts did not resolve the error.

Reasoning that the issue was with the property itself I deleted it and remade it.
Success ! 
This has been an issue with a few modules for ages and I am very pleased to have fixed it and gotten back full use of F+L's XSLT on this site.

Note - The timezone property can again be deleted in 5.2.3 but its a very bad idea to do this as I once did for some workaround reason back on early version 4 and I have had issues ever since.

Thanks Stefan


Mutate and Survive
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListError when using XSLT  - string to number errorError when using XSLT - string to number error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out