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  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

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
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  XML Module [Lea...  Error detection and reporting addition?
Previous Previous
 
Next Next
New Post 4/17/2007 2:36 PM
User is offline Tom Van Wynen
28 posts
www.wycliffe.net
10th Ranked


Error detection and reporting addition? 

Hi Stefan and the XML team,

just ran into another issue that might make a good feature enhancement in the next release.

I would like a way to detect and respond to (by writing out custom strings to the browser) errors when trying to find the xml source.

right now, if the xml source is slow and the request times out, or if the xml is badly formed or whatever other problem exists, I simply get a blank page. I'm glad it doesn't just give back strange  messages, but I used to be able to detect that in my old primitive xml reads in .asp, and give the user some idea that something had gone wrong. On timeout I can ask them to refresh the page, etc.

It would be good if this was part of the admin interface: error codes to detect and response to output.

thanks for all your work on this module,

Tom Van Wynen

======= a sample of the detection script I use in .asp:

 

'Wait for up to 3 seconds if we've not gotten the data yet"this page is having difficulties loading ..."

Else

If (xml.readyState <> 4) Or (xml.Status <> 200) Then

'Abort the XMLHttp request

xml.Abort

text =

"Problem communicating with remote server..."

Else

text = xml.ResponseText

End If

End If

Response.write(text)

If xml.readyState <> 4 then

xml.waitForResponse 3

End If

'Did an error occur? If so, use a default value for our data

If Err.Number <> 0 then

text =

 
New Post 5/25/2007 8:58 AM
Online now... Stefan Cullmann
1454 posts
6th Ranked








Re: Error detection and reporting addition? 

added to gemini (http://support.dotnetnuke.com/Default.aspx?p=16&i=5710)

 


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

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  XML Module [Lea...  Error detection and reporting addition?
 


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.

 


IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke Hosting
Powerful DotNetNuke Hosting starting at under $8/mo with FREE SQL 2005, FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com

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