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 ForumsEventsEventsInput string was not in a correct formatInput string was not in a correct format
Previous
 
Next
New Post
3/17/2015 2:06 PM
 

I have the DNN Events module 6.2.1 installed and running on DNN version 7.3.4. Whenever I open the details of an event I get the following exception in the event log:

ModuleId:387

ModuleDefId:106

FriendlyName:

ModuleControlSource:DesktopModules/Events/EventDetails.ascx

AssemblyVersion:7.3.4

PortalID:0

PortalName:The Austin Association for Financial Professionals

UserID:1

UserName:host

ActiveTabID:65

ActiveTabName:Events Calendar

RawURL:/Calendar/Events-Calendar/ctl/Details/Mid/387/ItemID/undefined?1426615408060

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://austinafp.org/Calendar/Events-Calendar/ctl/Details/Mid/387/ItemID/120?ContainerSrc=%5BG%5DContainers/AustinAFP/NoTitle

UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:7a976c5d-179f-4467-95d3-8810d9f2b737

InnerException:Input string was not in a correct format.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:System.Number.StringToNumber

StackTrace:

Message:

DotNetNuke.Services.Exceptions.ModuleLoadException: Input string was not in a correct format. ---> 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 System.Int32.Parse(String s) at DotNetNuke.Modules.Events.EventDetails.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
 
New Post
3/17/2015 3:07 PM
 

Can you install the debug dll's so that there is some more detailed info? See the download section on dnnevents.codeplex.com.


XCESS expertise center b.v.
Regards,
Ernst Peter
LinkedIn Profile Ernst Peter Tamminga


XCESS: DNN/Evoq specialist, zie www.xcess.nl

Events 6.3.1 - Released
FAQ 5.4.0 - Released
Reports 5.7.1 - Released
 
New Post
3/17/2015 3:51 PM
 

Would rather not do that in a production environment, but I did it on a copy of the site on my localhost.  Here is where it occurs:

ItemId = Int32.Parse(Request.Params("ItemId"))

which is on line 111:

System.FormatException occurred
  HResult=-2146233033
  Message=Input string was not in a correct format.
  Source=mscorlib
  StackTrace:
       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 System.Int32.Parse(String s)
       at DotNetNuke.Modules.Events.EventDetails.Page_Load(Object sender, EventArgs e) in C:\DDrive\Develop\DNNEvents\DNN6EventsDEV\DesktopModules\Events\EventDetails.ascx.vb:line 111

 
New Post
3/17/2015 4:03 PM
 

Looking at the difference between RawURL and AbosoluteURLReferrer:

RawURL:/Calendar/Events-Calendar/ctl/Details/Mid/387/ItemID/undefined?1426622278162

AbsoluteURLReferrer:http://austinafp.org/Calendar/Events-Calendar/ctl/Details/Mid/387/ItemID/120?ContainerSrc=%5BG%5DContainers/AustinAFP/NoTitle

Not clear to me why the RawURL shows theItemID as undefined.

 
New Post
3/17/2015 4:31 PM
 
Just discovered that the problem goes away if I change my web.config from urlFormat="advanced" to urlFormat="humanfriendly".  Any idea why I can't use advanced urlFormat?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsInput string was not in a correct formatInput string was not in a correct format


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out