473,513 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP Load XML Issue

2 New Member
HI
we loading a page through XML load. In our page we have a piece of code which reads the XML and send it back for some reason(old code). It is working fine in Dev, But not working in SIT machines.
The logic is we have a XML in resultXML string, we are spliting it into two half and send it to a page XYZ.asp and sending back to original page.
Expand|Select|Wrap|Line Numbers
  1.      var resultXML1 = resultXML.substr(0,1990);
  2.      var resultXML2 = resultXML.substr(1990,3980);
  3. sourceFile = base_url+"XML/XMLXYZ.asp?Position=Start&TranXML="+resultXML2;
  4.      source.async = false;
  5.      source.load(sourceFile);
  6.      sourceFile = base_url+"XML/XMLXYZ.asp?Position=End&TranXML="+resultXML1;
  7.      source.async = false;
  8.      source.load(sourceFile);
  9.  
And in page XYZ.asp below the code
Expand|Select|Wrap|Line Numbers
  1. if Position = "Start" then
  2.   Session("TranXML")= ""
  3.  Session("TranXML") = TranXML 
  4. else
  5.  oldxml=Session("TranXML")
  6.  Session("TranXML") = TranXML + oldxml
  7. end if
  8. Response.Write "<ROOT/>"
  9. %>
  10.  
in the first call it is comming into the if loop and second call not comming into the else part it is comming. Why it is happened in SIT machines. It is showing an error in loading the XML. But this is happened in Dev too but it loading Else part successfully.

please help
Sep 19 '09 #1
1 2357
jhardman
3,406 Recognized Expert Specialist
I'm not sure I understand what you are saying, but you can troubleshoot why you are handling the if logic differently by using response.write to write the conditions to the screen.

Jared
Sep 30 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2836
by: JohnLH | last post by:
Hi, I am having an issue with the LOAD DATA LOCAL FILE command on the latest 3.0.9 JDBC Driver. The command works on Windows, but doesn't seem to work on OSX and Linux. The error that I get on...
1
2035
by: kk | last post by:
I have 2 issues, please help ! 1st issue : -------------------------------------------------------- Loading Grid ------------ 1) creating new rows in a datatable and adding data a array...
7
19599
by: Eric.Jones | last post by:
I've encountered a strange error with loading delimited files from a Samba (SMB) network drive, has anyone else seen this before? (Platform: WinXP Pro, UDB PE 8015, level 02060106, SAMPLE db) ...
1
1503
by: Daniel | last post by:
Hi there, I'm working on a app that has a number of combo boxs, my issue is that on loading the app, when the code gets to the datasource property of the first combo box it takes about 4 seconds...
2
2348
by: thinkfr33ly | last post by:
I have a WAP site powered by ASP.NET Mobile controls. We're using cookieless sessions and have an F5 Load Balancer that balances the load between two web servers. Every once in a while we'll get...
5
1880
by: Justin | last post by:
Hi, im facing a problem here. First of all here is my program requirement. I got a .csv file with thousands of records inside, i need to import them into my mysql database. So i tried using load...
7
5801
by: Artie | last post by:
Hi, Our team have a web project which includes some C# ActiveX DLLs. On some developers' PCs, the code which calls methods in the ActiveX dll is succesful - no exceptions. On other PCs, the...
7
2193
by: amishguy | last post by:
Hello, I am having an issue with a site I'm creating right now. I have had this issue before and I would like to figure out what the solution is instead of using workarounds as I have in the...
0
3929
by: Andy | last post by:
Thanks Peter, I thought I'd give an update on this problem. My application had 2 assemblies that contained classed for the Data access and business logic layer. It was on one of them that I was...
5
9873
by: =?Utf-8?B?bWFzaXg=?= | last post by:
We have an issue with load time in several installations of our application. We've located the information regarding KB 936707 and ensured that the application config file contains the runtime...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7537
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5685
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3233
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1594
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.