XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 23rd, 2004, 12:57 PM
Kim Turley Kim Turley is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 21 Kim Turley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
xml search page works fine on hd, but not on server

http://www.gre.ac.uk/~tk301/3dmm/search.html

I checked to see if it was to do with capitals for filenames and references because that error usually happens as windows presumes a is A and unix treats them differently.

But this says it errors on line 161 which is the code that says record_Number:

recList = bDoc.recordset;
n = 0;
record_Number = 0;
while (!recList.EOF) {
record_Number++;
str = '' + recList(search_Field);
str = str.toLowerCase();
if (str.indexOf(strCriteria) >= 0)
{

and the exact error is "Operation not allowed while the object is closed"

at that point in the code it's changing from one xml data set to a second

Reply With Quote
  #2  
Old February 24th, 2004, 09:49 AM
Kim Turley Kim Turley is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 21 Kim Turley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Solution!

I found the solution! i traced the javascript variable back to the original xml source file

and then checked the header

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="stylesheet.xsl"?>

to

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="stylesheet.xsl" ?>


so basically those spaces at the end solved it

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > xml search page works fine on hd, but not on server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway