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 ForumsXMLXMLlocal file parsinglocal file parsing
Previous
 
Next
New Post
1/29/2008 1:55 PM
 

I'm generating the XML file dynamically based on querystring parameters.  If I external link to the file (asp) the script runs and the xml is compiled and output fine.  If I try to use  a local file, (and add 'asp' to the filter in the vb code edit settings code behind)  the file fails -  giving an error about '%'  line 1 position 2, suggesting the local file is not being parsed - just read straight in.

I can't think why a remote asp file should  be parsed but a local file not?? 

Is there a way round this? having the file local but being able to parse the asp would be better in my particular circumstances

Otherwise the module is  fantastic and works well - along with the Iframe a very useful module indeed.

Thanks

 
New Post
1/30/2008 10:55 AM
 

I am not surprised. Local files are just opened as files, no more, no less. They are static. It is just like openening the file into an editor.

So if you want to run a local ASP script (really? you want to mix asp and asp.net? weired), you will need to set up the xml source  using http://yourservername/somepath/thecode.asp

 

 
New Post
1/30/2008 11:23 AM
 

Stefan Cullmann wrote

So if you want to run a local ASP script (really? you want to mix asp and asp.net? weired), you will need to set up the xml source  using http://yourservername/somepath/thecode.asp 

Weird? yes probably. We do the same with the Iframe module, to serve content from a separate CMS, but there the abilty to run a local file, is more important than with the xml module, as the page content gets associated with the portal as opposed to a remote source, but using the XML module the external link will do fine. Thanks Stefan

Ollie

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLlocal file parsinglocal file parsing


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