FuNKeR Posted January 18, 2005 Share Posted January 18, 2005 Hey there.I'm pretty embarassed abotu myself that I couldn't find a solution for my problem in this excellent forums here I use the most recent version 3.3.5 of WPI and converted my 2.x version to it. But I always get errors and don't know, where they exactly come from.Here is the message I get:In english it says something like:"Message: The property (?) or method is not supprted by the object."What confuses me about this is the line it gives me. Neither WPI.hta nor api.js have 271 lines! The message always appears, when the wpi.hta is loaded or when I click ANY checkbox or button in the program (apart from the exit and the install buttons).If you need any of the files I use, here is the zip:Download wpi.zipI would be very pleased if you could help me.EDIT:Testing environment is a virtual machine (VMWare 4.5) with Windows 2000 Professional SP2. It is not important, which SP is installed, because it does not wirk with SP4 + patches either When I'm trying to run WPI on a WinXP SP2 machine, it does not even show anything. Just brings up many error messages an stuff, but I do not really care, because I want to use it on W2K.EDIT2:Oh ****! I fogot to put a useful title to the topic. This ist not really my style though, but just forgot Better title would be "Error message (api.js) when opening WPI"... Could anyone please change it? I can't...cuFuNKeR Link to comment Share on other sites More sharing options...
r2k02 Posted January 18, 2005 Share Posted January 18, 2005 Hi,Warning! Newbee response follows....I downloaded your wpi.zip and extracted the files in a empty directory. After doubleclicking on wpi.hta everything worked fine with no error messages at all.I'm running XP-Pro SP2 and have Sun Java 1.4.2 installed. (I didn't try installing applications though)Since you also tried it on WinXP SP2, my guess would be the absence of a Java runtime environment that gives you errors.P.S. Nice company theme, Especially the category headers look nice with the fading light blue. Link to comment Share on other sites More sharing options...
FuNKeR Posted January 18, 2005 Author Share Posted January 18, 2005 Thanks a lot. I will try to install the Java RE and try again. OK, I just tried it here at home and it works, too. Well, I'm curious if this is the only thing that is needed Did anyone post or describe, that the Java VM is needed to run WPI?cuFuNKeR Link to comment Share on other sites More sharing options...
FuNKeR Posted January 18, 2005 Author Share Posted January 18, 2005 (edited) Could anyone please rename this thread?cuFuNKeR Edited January 19, 2005 by FuNKeR Link to comment Share on other sites More sharing options...
FuNKeR Posted January 19, 2005 Author Share Posted January 19, 2005 The problem still persists. The Java thing has did not solve it But thanks for your answer though.cuFuNKeR Link to comment Share on other sites More sharing options...
djbe Posted January 19, 2005 Share Posted January 19, 2005 It is javaSCRIPT, not Java!!!!Java uses a virtual machine to translate COMPILED code so that the os understands it.Javascript is just a scripting language, that is not compiled, and has nothing to do with Java.It's like saying batch files are exe files What I do to debug javascript code is copy all the code of all script files into one html file (be sure to put the code in correct places) and then try to run it. Then you'll normally get the correct line. Link to comment Share on other sites More sharing options...
FuNKeR Posted January 20, 2005 Author Share Posted January 20, 2005 Ooops... I misunderstood something there I also tried to launch WPI on a WXPSP2-VM and it worked also. So I still do not know, why this won't work on the other machines.The W2K-VM is a pure 2K with SP2 and also if I install the SP4 it brings th message seen above. I will try it on a normal workstation at work and hope, it won't give me any errors, but... Well, I'll try and hope cuFuNKeR Link to comment Share on other sites More sharing options...
djbe Posted January 20, 2005 Share Posted January 20, 2005 Ok, tried the zip you posted... I don't get any error Link to comment Share on other sites More sharing options...
FuNKeR Posted January 20, 2005 Author Share Posted January 20, 2005 Yeah, me too. It is only on the **** W2K VM and the XPSP2 host system cuFuNKeR Link to comment Share on other sites More sharing options...
FuNKeR Posted January 20, 2005 Author Share Posted January 20, 2005 Oh boy! why am I always doubleposting things??? When I click "add reply" in Opera, it does not do too much. So I click again. Bad mistake... cuFuNKeR Link to comment Share on other sites More sharing options...
djbe Posted January 20, 2005 Share Posted January 20, 2005 So it runs fine on your pc in a normal environment, but doesn't in vmware? Oh and by the way, I tested it in normal environment on xp-pro sp2.Could you try it in virtualpc? (just get the demo)And yeah, post those results here of that testing on a workstation...I don't have w2k to test on, maybe someone else could try? Link to comment Share on other sites More sharing options...
FuNKeR Posted January 21, 2005 Author Share Posted January 21, 2005 Not completely perfect. It is like this:W2K Pro SP2 VM: error message aboveW2K Pro SP4 VM: error message aboveW2K Pro SP4 workstation: works fineWXP Pro SP2 VM: works fineWXP Pro SP2 workstation (with VMWare installed): many other error messagesI could try Virtual PC, but is so **** lame on the PC I got here... EDIT:Just tried to run it on a normal workstation and it works So I need to test it on the WXP-VM cuFuNKeR Link to comment Share on other sites More sharing options...
FuNKeR Posted January 26, 2005 Author Share Posted January 26, 2005 Found the error If you get this error, try this:Start => Run => regsvr32 scrrun.dllThen it will work properly. Found it by accident, because another program didn't work. I registered the dll an then both programs worked as they should EDIT:****! This works for WinXP SP2, but not for W2KSP4 cuFuNKeR Link to comment Share on other sites More sharing options...
djbe Posted January 26, 2005 Share Posted January 26, 2005 Ok, can't really follow anymore could you sum up where it works, and where not, and wich errors are given on wich os's, and when Link to comment Share on other sites More sharing options...
FuNKeR Posted January 26, 2005 Author Share Posted January 26, 2005 OK, here we go:W2K Pro SP2 VM: error message in first postW2K Pro SP4 VM: error message in first postW2K Pro SP4 normal workstation: works fineWXP Pro SP2 VM: works fineWXP Pro SP2 normal workstation (with VMWare installed): Works fine WHEN used "regsvr32 scrrun.dll"So the regsvr-fix only works in WinXP. Not in W2K. There it doesn't matter, if the dll is registered or not You still get the error in my first post. The error always occurs, when I open WPI. AND when I click any item in the programme.Another bug (maybe) is, that the dependencies don't work, when I get the error message. But they do work on the other systems...Hope you get it. My english surely is far away from perfect, so if there are any more questions, ask me cuFuNKeR Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now