RE: Action Canceled Message!



It isn't totally clear from your post what you are attempting to do here, but
one thing seems certain to me: You should not be trying to use an ASP.NET
page (which has a default timeout of 90 seconds) to do large-scale processing
that takes 29 minutes to run.

This is a candidate for a second process, one where your page deposits
something and finishes immediately, and the other process (Windows service,
executable, MSMQ, whatever) takes over and does the long-running task.

Even if you could get this to "work" - you run the risk of the vagaries of
IIS and its occasionaly habit of recycling the ASP.NET Worker process -
something that it can do at anytime, whenever it "feels like it".
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"e name" wrote:

Hello,

I am getting "Action Cancelled" message on an asp page which is running a
process that takes more then 25 minutes.
I have "Friendly error message" turned off on browser setting. And what
happens is this process processes a huge xml file
size of 4mb which is passed to the com object located on Application Server
as xmlElement from asp page on Webserver.

The process finishes successfully after 29 min but try to re run by itself
second time. I tried executing the same process
with same file from Application Server and it just executed it only once. so
I think their is some relation between
process being executed time due to some refresh or some setting in IIS
Website or IIS Application Pool or C:\WINDOWS\system32\inetsrv\MetaBase.xml
which causes the asp page to get a Action cancelled message right after
15-18min approx and at the same time issue an command to execute the process
again.

Their is no META refresh or timer on the page or in process I had verified
everything.

Please let me know if their is a setting that I can set in IIS Website, IIS
Application pool or in C:\WINDOWS\system32\inetsrv\MetaBase.xml to avoid
getting the message "Action Canceled" as well as not allow the IIS to
resubmit the process
execution by itself.

Please NOTE: If the file size is small of say 3MB everthing works ok on IIS
side to and does not resubmits as well don't get the "Action canceled"
cause the process is finished before 15 minutes and I also had set
scripttimeout on asp page.

Thanks in advance
HP



.



Relevant Pages

  • Action Canceled Message!
    ... as xmlElement from asp page on Webserver. ... I tried executing the same process ... process being executed time due to some refresh or some setting in IIS ... resubmit the process ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS 6.0 cgi process not running as same user as worker process?
    ... executing code has both a thread token and a process token. ... In fact, IIS executes code using impersonation by default, meaning the ... it is configurable to have IIS launch CGI as either the ...
    (microsoft.public.inetserver.iis)
  • Re: IIS 6.0 cgi process not running as same user as worker process?
    ... executing code has both a thread token and a process token. ... In fact, IIS executes code using impersonation by default, meaning the ... it is configurable to have IIS launch CGI as either the ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS 6.0 cgi process not running as same user as worker process?
    ... It warns that it's inteneded for IIS 4 &5... ... executing code has both a thread token and a process token. ... > elevate privileges (through impersonation), but any other code can only ... This will make your CGIs launch as app pool identity. ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS 6.0 cgi process not running as same user as worker process?
    ... It warns that it's inteneded for IIS 4 &5... ... executing code has both a thread token and a process token. ... > elevate privileges (through impersonation), but any other code can only ... This will make your CGIs launch as app pool identity. ...
    (microsoft.public.inetserver.iis)

Loading