|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi every one !
I am trying to execute the exemple for testing remote scripting (I tryed the example from the article Remote scripting with JavaScript and ASP) but I got this error "Failed to create ASP object : rev.asp" and i had doanload the file Remote Scripting 1.0b and I installed the file please If you know what is the probem, answer my thread, and thanks in advance ![]() rania + |
|
#2
|
||||
|
||||
|
I've just run through this tutorial too.
You need to make sure that all references to the rs.htm/rs.asp files are correct. This will most likely be your problem. If it's still causing you problems - post your code - and also say which dir's the rs.htm/rs.asp files are stored. |
|
#3
|
|||
|
|||
|
Thank you to your answer, now it`s work, I had just copy/past the both files (html, ASP) from the article to my editor, and the example work, perhaps when i tryied to do the same I forgot or change some things...
thank you again rania+ |
|
#4
|
|||
|
|||
|
be careful with remote scripting. A noticeable memory spike can be observed on the server side! This is not a good thing.
I actually narrowed down the cause of this memory spike down to the remote scripting level. I make 2 function calls; 1. through the regular server request, and the other one through remote scripting. MS should have checked this out before releasing something like this. |
|
#5
|
||||
|
||||
|
Interesting - I haven't experienced any problems (I just ran a few tests) - tho I'm not returning huge amounts of data. Also, I did a quick google for memory problems and remote scripting - couldn't find anything.
|
|
#6
|
|||
|
|||
|
stumpy,
it turned out that the global section in the middle tier was the source. I verified it wasn't the remote scripting by retrieving data directly using the server side script. I use remote scripting to implement an equipment monitor page that refreshes every 3 seconds. It's fast. I don't have any database objects in the asp, just messages (using the messaging archtitecture). thanks for replying. I was gonna reply anyway. One caveat to everybody, in IIS setting, if you are using remote side scripting, never changed the value for default server scripting from vbscript to jscript. It will not work! I personally prefer javascript and jscript because it is close to java(but not java) and I like the try catch exception handlers. max power |
|
#7
|
||||
|
||||
|
MaxPower: I got it off a hair dryer.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > problem with Remote Scripting |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|