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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  XML Module [Lea...  local file parsing
Previous Previous
 
Next Next
New Post 1/29/2008 9:55 AM
Unresolved
User is offline Oliver Phillips
31 posts
10th Ranked


local file parsing 

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 6:55 AM
User is offline Stefan Cullmann
1486 posts
6th Ranked








Re: local file parsing 

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

 


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 1/30/2008 7:23 AM
User is offline Oliver Phillips
31 posts
10th Ranked


Re: local file parsing 

 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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  XML Module [Lea...  local file parsing
 


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.

 


PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult

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