ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 19th, 2003, 02:20 PM
rania rania is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 6 rania User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question problem with Remote Scripting

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 +

Reply With Quote
  #2  
Old February 21st, 2003, 11:58 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
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.

Reply With Quote
  #3  
Old February 22nd, 2003, 11:31 PM
rania rania is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 6 rania User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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+

Reply With Quote
  #4  
Old March 4th, 2003, 12:43 PM
maxpower maxpower is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: franklin
Posts: 2 maxpower User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #5  
Old March 4th, 2003, 04:36 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
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.

Reply With Quote
  #6  
Old March 4th, 2003, 05:41 PM
maxpower maxpower is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: franklin
Posts: 2 maxpower User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #7  
Old March 4th, 2003, 05:48 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
MaxPower: I got it off a hair dryer.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > problem with Remote Scripting


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT