Ajax Call + ASP.NET + .NET Remoting -


so, have strange situation occurring in web system.

i have implementation of windows service, starts .net remoting server , stay waiting calls of various clients.

at other side, have asp.net web-forms application, can call methods in service, using .net remoting structure.

in page, have button, button call ajax call, , ajax call, execute async method @ asp.net web-forms application.

everything works fine.

but, @ complete ajax call, have second async call. after complete first ajax call, second executes ok, not immediately, 3 or 4 seconds after.

it occurs when site published in iis, in visual studio (localhost), not happened.

i can configurate service (server) tcp or icp, send data in binary mode... configuration, problem happened.

for months found same question in many forums , sites , have answer.

in truth, problem not in ajax call or multiple ajax calls. problem happened because there problem between thread pool of .net remoting , iis thread pool.

this site make calcs on server side when ajax calls executed. these calcs (executed .net remoting) generate logs in txt files.

to generate these logs, windows needed use normal thread pool e iis limitation. iis waited 5 seconds return of windows thread pool. so, in case, there existed 2 thread pools, 1 windows , iis.

removing logs generation, execute process in correct time. people find same problem executing sql queries in server side ado.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -