Is there a setting that limits how many requests a user can send within a time period?
When I send a single PUT ajax request to the server to write to the local file system it works fine. If I add a 250 ms delay, I can send as many as I want. However if I try to send any other PUT requests, and sometimes evens simple GETs, after the first
one before 250 ms, I get System.ServiceModel.ServiceActivationException. When I get this exception, the request get denied and the server side functions don't seem to be called. So it sounds like a configuration issue. Any ideas? Thanks.
Well I isolated the problem more. The problem occurs when I try to write to a file located in the web application folder too quickly. However, if I write it in another folder like a D:\ which is a non-system drive, it works fine. Still trying to figure this
out.
None
0 Points
6 Posts
Getting System.ServiceModel.ServiceActivationException when sending multiple write requests.
Jul 03, 2014 11:45 PM|gigas|LINK
Is there a setting that limits how many requests a user can send within a time period?
When I send a single PUT ajax request to the server to write to the local file system it works fine. If I add a 250 ms delay, I can send as many as I want. However if I try to send any other PUT requests, and sometimes evens simple GETs, after the first one before 250 ms, I get System.ServiceModel.ServiceActivationException. When I get this exception, the request get denied and the server side functions don't seem to be called. So it sounds like a configuration issue. Any ideas? Thanks.
None
0 Points
6 Posts
Re: Getting System.ServiceModel.ServiceActivationException when sending multiple write requests.
Jul 04, 2014 06:49 PM|gigas|LINK
Well I isolated the problem more. The problem occurs when I try to write to a file located in the web application folder too quickly. However, if I write it in another folder like a D:\ which is a non-system drive, it works fine. Still trying to figure this out.
None
0 Points
6 Posts
Re: Getting System.ServiceModel.ServiceActivationException when sending multiple write requests.
Jul 04, 2014 08:46 PM|gigas|LINK
Looks like it was because I was writring to the bin folder of the web app, which causes the app pool to recycle.
http://stackoverflow.com/questions/9802812/does-any-change-in-any-file-inside-bin-folder-cause-application-recycle-in-asp-n
All-Star
23975 Points
4084 Posts
Re: Getting System.ServiceModel.ServiceActivationException when sending multiple write requests.
Jul 06, 2014 09:35 PM|Starain chen - MSFT|LINK
Hi gigas,
I suggest that you could save the files to the other place. In my opinion, using the FTP to manage the file is good.
Thanks
Best Regards