473,385 Members | 1,461 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Action Canceled Message!

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
Aug 31 '06 #1
3 2238
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
Aug 31 '06 #2
I have to agree with Peter here, theres no way you can have a scalable web
application that takes 30 minutes to execute a single request - your going
to run out of working memory very quickly with multiple users. Use asp.net
to stick your request in a database (some form of queue) and create
something that can process the this without IIS being involved like a
windows service.

Regards

John Timney (MVP)
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:57**********************************@microsof t.com...
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

Aug 31 '06 #3
Thanks for the suggestion. I guess I have no choice then to use windows
service due to this error.
I would have always preferred windows service for such task as we do use it
for other processes
but in this case it unsual. But any how we have decided to have both choice
for user.

Regards
HP

"John Timney (MVP)" <x_****@timney.eclipse.co.ukwrote in message
news:1M******************************@eclipse.net. uk...
>I have to agree with Peter here, theres no way you can have a scalable web
application that takes 30 minutes to execute a single request - your going
to run out of working memory very quickly with multiple users. Use asp.net
to stick your request in a database (some form of queue) and create
something that can process the this without IIS being involved like a
windows service.

Regards

John Timney (MVP)
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:57**********************************@microsof t.com...
>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



Sep 1 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: LittleCheeseburger | last post by:
Hi, For my 'On No Data' event I have the following code: Private Sub Report_NoData(Cancel As Integer) On Error Resume Next MsgBox "There is no data available for your selections.",...
5
by: fearblanco | last post by:
Hello - I am receiving the below error message when attempting to open a report. This database is used by approximately 20 users and only one user is having this problem (even I can't duplicate...
2
by: John Phelan-Cummings | last post by:
After creating a button on a (parent) form linking to another (child) form, I received the following error when clicking on the command button: "The OpenForm action was canceled" No the child...
1
by: Dumitru Ozunu | last post by:
Hello, I have a strange problem, I've browsed the whole newsgropu but I found no answer :-( I have a web page that contains a submit button (asp .net) when submited, it makes a redirect to a...
1
by: Joe Jax | last post by:
I am developing an ASP.NET app using VS.NET 2003 on a P4 based desktop. Most every time I run the app from VS.NET the web page comes up with 'Action Canceled', and I have to hit refresh to...
4
by: Jit Prasad | last post by:
I have a working client-side Vb.Net (.net v1.0) app that talks to a Webspere webservice on a windows 2000 server. The client side app runs on a citrix server, also a Windows 2000 server. The app...
2
by: mgalvez | last post by:
I'm developing an interface that sends a file to the client. it works but the client also gets an "Action canceled" page (IE) how can I remove this page? or display the application home page? ...
2
by: Miguel | last post by:
I have reviewed the many postings on this topic and understand the principle, but am not sure where in my case to apply trapping an error. I have created a form to supply parameters to a report. I...
4
by: =?Utf-8?B?S29sbG1vcmdlbg==?= | last post by:
I have an asp page that outputs a word document. Wnen the user attempts to open this page from a hyberlink in an email document the word document opens fine but if they save then an action...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.