Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  XML Module [Lea...  XML module not working after upgrade to 4.7
Previous Previous
 
Next Next
New Post 11/13/2007 6:55 AM
Resolved
User is offline cdunn
3 posts
10th Ranked


XML module not working after upgrade to 4.7 

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 10:28 AM
User is offline Stefan Cullmann
1454 posts
6th Ranked








Re: XML module not working after upgrade to 4.7 

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.


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

Need to import external data to a UDT? Try http://www.codeplex.com/Csv2UDTImport

 
New Post 11/13/2007 10:59 AM
User is offline cdunn
3 posts
10th Ranked


Re: XML module not working after upgrade to 4.7 

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 11:05 AM
User is offline Stefan Cullmann
1454 posts
6th Ranked








Re: XML module not working after upgrade to 4.7 
Modified By Stefan Cullmann  on 11/13/2007 3:06:10 PM)

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


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

Need to import external data to a UDT? Try http://www.codeplex.com/Csv2UDTImport

 
New Post 11/13/2007 11:14 AM
User is offline cdunn
3 posts
10th Ranked


Re: XML module not working after upgrade to 4.7 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  XML Module [Lea...  XML module not working after upgrade to 4.7
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


R2i - Delivering Serious DNN Services & Solutions
Award Winning Design, Skin construction, Custom Modules and Consulting Services for the Enterprise organization. R2i is the DNN:Map module Project Lead and one of the largest DNN service providers with offices in New York City, Virginia and Baltimore.
www.bi4ce.com
"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com
Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP