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 ForumsXMLXMLXML module not working after upgrade to 4.7XML module not working after upgrade to 4.7
Previous
 
Next
New Post
11/13/2007 10:55 AM
 

Upgraded my DNN to 4.7 and it all went well but now an XML module (which worked fine before) does not.  It displays an error:

System.FormatException
Input string was not in a correct format.

in the module, and in the event log:

ModuleId: 406
ModuleDefId: 115
FriendlyName: Events
ModuleControlSource: DesktopModules/XML/XmlModule.ascx
AssemblyVersion: 04.07.00
PortalID: 0
PortalName: Dev-internal
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 93450147-bd14-44bc-b270-7345b2129140
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 DotNetNuke.Common.Globals.GetExternalRequest(String Address) at DotNetNuke.Modules.XML.Utils.GetXSLContent(String ContentURL) at DotNetNuke.Modules.XML.XmlController.GetXslTransform() at DotNetNuke.Modules.XML.XmlController.Render(TextWriter output) at DotNetNuke.Modules.XML.XmlModule.Render(HtmlTextWriter output) --- End of inner exception stack trace ---
Source:
Server Name: DEVINT02

 

There are no syntax or other errors in the XML or XSL... what's going on here?  Thanks in advance for any assistance...

 
New Post
11/13/2007 2:28 PM
 

Strange error, and it happens inside the core function GetExternalRequest.

The only integers involved there are the host settings ProxyPort and WebRequestTimeout.  Plaese check for their values.

 
New Post
11/13/2007 2:59 PM
 

Perfect!  the dev box doesn't sit behind a proxy (ProxyPort  is empty as is ProxyServer) but as soon as I put "30" in the WebRequestTimeout [which was empty] everything was good again.

Thanks so much for your help!

 
New Post
11/13/2007 3:05 PM
 

Empty should usually be fine, it should default to 10000 inside GetExternalRequest (10000=10 sec)

 
New Post
11/13/2007 3:14 PM
 

When I made the change on the remote server, which wasn't pulling the XML from the LAN server but instead across the internet, it still didn't work [error message gone, but no data in the module]... then I saw your reply and realized it was ms not sec, so changed to 30000 and everything is good. 

FWIW, I tested on both my dev machines, when I take out this value the error that I posted in the 1st msg comes back.  I did not have this problem until installing 4.7.

Again thank you so much for your help!

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLXML module not working after upgrade to 4.7XML module not working after upgrade to 4.7


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