PLEASE I NEED YOUR HELP ....var co = RSExecute() DOESN'T WORK WITH WIN XP

  • Thread starter Thread starter HolaGoogle
  • Start date Start date
H

HolaGoogle

Hi all,

Last week i posted my question about a script error i'm getting with
my application running on XP and IE 6.0.2.....At first i thought it
was my setinterval() method called in my Body onload event....Well, i
know it's not the setinterval method it is the RSExecute() called
within my method to access my remote methods.....

Does anyone know what i should do to get this work???? Here's my
code...

BODY onload="window.setInterval('updatemywindow()', 1000);"
<SCRIPT LANGUAGE="JavaScript" src="_ScriptLibrary/RS.HTM"></script>
<SCRIPT LANGUAGE="JavaScript"> RSEnableRemoteScripting();</SCRIPT>
it tried BODY onload="setInterval('updatemywindow()', 1000);"
i did try something like this too:
BODY onload="CallMymethod();" and then

<SCRIPT LANGUAGE="JavaScript">
<!--
var serverURL="ServerUpdateResponse.asp";
var StrUpdate ='';
function CallMymethod()
{
window.setInterval("updatemywindow()",1000);
}

function updatemywindow()
{
var co = RSExecute(serverURL,"getupdateval",RetourUpdate);
document.Myform.txtgetupdate.value = StrUpdate ;
}

function RetourUpdate(co)
{
StrUpdate = co.return_value
}
and in my "ServerUpdateResponse.asp" form here's what i do....

<%@ LANGUAGE=VBSCRIPT %>
<!--#INCLUDE FILE="_ScriptLibrary/RS.asp"-->
<% RSDispatch %>
<script RUNAT="SERVER" Language="javascript">
function Description()
{
this.getupdateval = Function('return ReadUpdateval()');
}
var public_description = new Description();
</script>
<script RUNAT="SERVER"
Language="Vbscript">
and here i define my ReadUpdateval().......

this is not the problem it used to work everywhere else except on XP
with 6.0.2...Can someone tell me what i should do????


thanks a lot!!!
have a nice week end!
 
HolaGoogle said:
Hi all,

Last week i posted my question about a script error i'm getting with
my application running on XP and IE 6.0.2.....At first i thought it
was my setinterval() method called in my Body onload event....Well, i
know it's not the setinterval method it is the RSExecute() called
within my method to access my remote methods.....

---snip---


this is not the problem it used to work everywhere else except on XP
with 6.0.2...Can someone tell me what i should do????


In you previous posts, you referred to XP and IE 6.0.2 (a version I've never
heard of and which the DLL Help Database
http://support.microsoft.com/default.aspx?scid=/servicedesks/fileversion/dllinfo.asp&SD=MSDN&FR=0
doesn't list an iexplore.exe with that version).

Is the 6.0.2 reference perhaps actually a reference to IIS rather than IE
(except that the DLL Help Database doesn't list a 6.0.2 version inetinfo.exe
either)?

Is the change to XP on the server side or the client side? The suggestions
you got to install a JVM assumed your problem was on an IE 6.x version on
and XP *client*. In that case you needed to do the JVM install on the XP
*client*, not any XP server.

You need to be clearer in your posts about the OS and IE version on the
client side as well as the OS and IIS version on the server side. Also be
explicit about which side changed.


--
Michael Harris
Microsoft.MVP.Scripting

Windows 2000 Scripting Guide
Microsoft® Windows®2000 Scripting Guide
http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp

TechNet Script Center Sample Scripts
http://www.microsoft.com/downloads/release.asp?ReleaseID=38942

WSH 5.6 documentation download
http://www.microsoft.com/downloads/...48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en
 
Thanks for your quick answer....
well...here's my configuration and it's on the *Server*....who ever
uses XP on the client machines doesn't get this kind of error...it's
only on the server....
So the OS running XP and the real internet version is : 6.0.2800.1106
(sorry for that...i should've write the whole thing....)
anyway...So, on any client machine everything works just fine (with
same versions of OS and IE) but when it comes to the server it's
another story...i even tried what you suggested to prevent any user
interaction with
the page until remote scripting is ready. i.e:

while RSAspProxyApplet.readyState <> 4 : wend
set aspObject = RSGetASPObject(server
document.body.style.display = "block"

but nothing seems to work.... any idea?????

thanks a lot!
 
Back
Top