Remote Scripting: Object doesn't support this property or method

I have a ASP page which call remote scripting as shown below in a button onclick event:

RSObj = new RSGetASPObject("RemoteSct.asp");      
status = RSObj.MyFunction();

However, when running on some client PCs, I got "object doesn't support this property or method".  But all other client PCs, it ran fine.

I searched the MS website and found an article:
http://support.microsoft.com/kb/q257997/

According to this article, the problem may be caused by the applet - RSProxy.class - may not be fully downloaded or instantiated.  And the RSGetAspObject  should be placed in valid client event such as the button onclick even.  However, I am doing what this article recommends.  I have the RSGetASPOjbect in the onclick even of a button, but I am still getting the error on some PCs.  

Am I missing anything here?  Are there any components that have to be installed on a client machine first?

Please help.

JSM
jsmuiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

justinbilligCommented:
are you sure you have the path to the remote scripting libraries correct


<!-- Include Client Side Remote Scripting code -->
            <script language = "javascript" src="PATH TO HTML FILE"></script>

            <!-- Initialize Client Side Remote Scripting code.  Must be in body -->
            <script language = "javascript">RSEnableRemoteScripting("PATH TO FOLDER THAT HOLDS THE RS FILES");</script>


0
justinbilligCommented:
did you include this file <!--#INCLUDE FILE="../_ScriptLibrary/RS.ASP"-->
in

RemoteSct.asp


did you call RSDispatch at the end of that file
0
justinbilligCommented:
did you create your functions correct

function FunctionDecleration( )
{
        this.ThisFunctionName               = ReferencesThisFunction
}

var public_description = new FunctionDeclaration( );
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

justinbilligCommented:
RS is very very very touchy, Copy your RS file and then clear it, do just a little test function that return "true" , alert and see if it comes back
0
jsmuiAuthor Commented:
Thanks for the quick response.

I don't think it has anything to do with the ASP page or the Remote Script function.  Since it works fine on some client machines.  This problem only occurs on one or two client machines running the same ASP page calling the same Remote Script function.

Josephine
0
justinbilligCommented:
What server language are you using?
0
jsmuiAuthor Commented:
I'm using JScript.
0
larellnielsenCommented:
THis sound to me that the Java Virtual Machine is not installed on these machines? The only time that I can consistently create this problem is when the JVM is not installed.

Just a thought

LaRell
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jsmuiAuthor Commented:
That may be it.  But where can I get the JVM?  Does it come with IE?

Thanks!

Josephine
0
larellnielsenCommented:
What OS? Sun has a JVM for all supported operating systems. I looked on MicroCrap's site and although I thought that they were releasing the JVM again I am wrong unless you want to be a good little MicroCrap programmer and convert you application to Microsoft Java otherwise known as .NET .

Here is the Sun JRE download for Windows:
http://java.com/en/download/windows_automatic.jsp

All other go to:
http://java.com/en/index.jsp

Note: Sun JVM --> JRE (Java Runtime Environment)

Did you have a chance to see if it was the JVM missing?

LaRell
0
jsmuiAuthor Commented:
The OS is Windows 2000.  It happened on a PC at a customer's site.  Haven't heard back from him yet.

I bet this is the problem since I remember some time ago the same problem happened on a PC at another customer's site.  The administrator at that site installed some component to fix the problem.  Now when I compare the file name of this component with JVM setup, they are the same.

Thanks!

Josephine
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.