471,354 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Occasional "Method not found" during jscript eval

I have asp.net application written in jscript.
On POST request, during Page_Load, I receive string which I evaluate
using jscript eval method. String looks like:
where my_fun is some method in aspx.

body of my_fun looks like:

function my_fun(s:String) : String {
var v:Typ0 = new Typ0();
var x:Typ1 = v.PropTyp1;
var ret:System.String = x.foo();
return ret;

Where Typ0 and Typ1 are .NET types defined in xxx.dll residing in bin

Once in a day or two (AFAIK in irregular intervals), Page_Load throws
Method not found: Typ1 Typ0.get_PropTyp1()

Every subsequent call throws same exception.

When that happens, I take following steps:
1. rename bin subfolder into bi_
2. invoke method (now "Runtime Error" exception is thrown)
3. rename bi_ back to bin

And everything is going back to normal.

Asp.net app is running on 2003 Server under IIS 6.
I suspect that it is something related to application pools setting,
but I cannot reproduce bug, just waiting to happen next time.

Can anyone help me?

Nov 19 '05 #1
0 931

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Phil Sandler | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.