|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > xml search page works fine on hd, but not on server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|