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 ForumsXMLXML03.01.00 feedback03.01.00 feedback
Previous
 
Next
New Post
7/20/2006 10:21 AM
 

"Bug" that needs to be trapped in XML/XSL 03.01.00.
When the network connectivity is down for the XML feed the following error message (below) needs to be replaced with a friendlier message.

Hope this is helpful.

Cheers

Alex

Error: Weather is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unable to connect to the remote server ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A socket operation encountered a dead network at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at DotNetNuke.Common.Utilities.XmlUtils.GetXMLContent(String ContentUrl) in C:\devet2\Current\Library\Components\Shared\XmlUtils.vb:line 249 at DotNetNuke.Modules.XML.XmlModule.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---



Alex Shirley


 
New Post
7/20/2006 12:27 PM
 

Thanks Alex, every input regarding the xml module will be helpful.

The detailed error message should only be visible if you are logged in as Admin, otherwise you will only read

An error has occurred.
Error: Wheather is currently unavailable.

This is fine - no bug. I would consider it as a bad habit though. The Xml module should be able to cache the last returned result (configurable as setting), especially if the module depends on a third party datasource connected over the internet.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXML03.01.00 feedback03.01.00 feedback


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