Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 26th, 2008, 01:20 AM
Authorized User
 
Join Date: Sep 2004
Location: Sydney, NSW, Australia.
Posts: 67
Thanks: 1
Thanked 0 Times in 0 Posts
Default server.transfer and XML

I'm having a rather interesting problem with server.transfer which I can't quite work out.

I have an asp:XML object in my page which populates the page from data in an XML document.

When I call this page directly from it's sub-folder the page loads populated with all of the data from the XML file, but when I call this page from the root folder of the website which contains a server.transfer script based on which domain name the user has come to the website from, the same page loads without loading the data from the XML file.

Any ideas?
 
Old March 26th, 2008, 08:21 AM
Authorized User
 
Join Date: Sep 2004
Location: Sydney, NSW, Australia.
Posts: 67
Thanks: 1
Thanked 0 Times in 0 Posts
Default

After tearing my hair out for many hours I've actually found the problem.

The issue was with the path to my XML and XSL files which were valid when the page was called directly from the sub-directory that it and the XML and XSL files resided in, but were no longer valid when the page was called from the Server.Transfer script in the root directory which was then looking for the XML and XSL files in the root directory and not the sub-directory.

One to remember for anyone else who might have this issue in the future.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Transfer one xml to another whuili XSLT 1 November 17th, 2008 11:24 PM
Server.Transfer Sheraz Khan ASP.NET 2.0 Basics 1 July 28th, 2007 05:17 AM
transfer xml file to specified location using soap rjkulkarni2001 .NET Web Services 0 April 4th, 2006 08:13 AM
Transfer Data from one server to another server Jane SQL Server 2000 2 February 28th, 2005 03:15 AM
Using Internet Transfer Control to post XML jaforret Classic ASP XML 2 February 29th, 2004 02:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.