Stop Long Running Process

i have write a simple asp application, which is used to send batch email. the process will running for few hour, it depend on how much email needed to send. however i have a problem in ...........i can't find a way to stop this sending process until it send out
all of the email (or let say unless i reset the iis by in cmd typing iisreset).

i also have try different method such as before it need to send each mail it need to check the session, at that time (during send) user can press a button on the pop up page that change the session value. however this method is not work, it need to wait until the sending process finish.

View Replies


ADVERTISEMENT

Long Running Process

I'm developing an intranet application using W2k server and IE5.5 - 6.x
clients. I've got one particular function that calls a stored procedure to
update a number of records, depending on user input. The problem we have
run into is that this procedure can take a few minutes to complete in
certain circumstances, and of course IIS times out.

I've been doing some searching for a solution, but most of the answers I've
found relate to showing a 'Please wait' message while processing the page,
which doesn't help in this situation. The others I've found relate to using
MSMQ, which would probably help, but leads to a load of testing issues that
I'm not prepared to deal with at the moment.

Are there any other 'common' ways to handle this at the ASP level?

View Replies View Related

Stopping A Long Server Process

I have this asp screen (not .net just asp) where user can fill in report criteria and then when they hit the "Go" button, at which point the report page will be displayed. Sometimes the reports are quite big and may take 2 to 3 minutes to complete.

If the user realizes he makes a mistake as soon as he gets to the report page, he may hit the "Stop" button and think the server has stopped generating the report, but it's not true. The server is still running the process.

This is particularly more obvious for developers like myself cos I have the server installed on my workstation. When I hit the Stop button and then back to the report filter page and make some changes and then hit the Go again, it'll take 2 to 3 minutes before it'll show the report page this time, as if the server was trying to complete my last report first, before processing my current new request.

Question I have therefore, is, if I'm running a long server process, then how I can get the server to stop this thread (or process?) when the user hits the Stop button, or hits the Back button?

View Replies View Related

Running Net Stop

I want to make a simple simple asp page. All I want is when the page loads
it does "net stop <service>". The code is below, it is not running as
IUSR_<machine>, I am authenticating as Administrator yet the service does
not stop.

The blank page just loads with no errors and the service remains
running, what am I missing? I am completely new to ASP, I just want one
simple page for this purpose. Code:

View Replies View Related

Running Process

if it is possible to run a process after page has loaded? reason being is i have an application that uploads a file, then zip's it up. These are 50 megs sometimes, so zipping the file can take some time. It is a two stage process though, a user will upload a file, then fill out some more info, then submit, so while the user is filling out more info, I'd like to start zipping the file. Does anyone know if that is possible? and if so how to do it?

View Replies View Related

Identify If A Process Is Running

does anyone know of a way to check if a process is running on the server... using asp ? I basically have an html form and upon submittal of the form ... i would like to redirect to the response page when a certain process is no longer running . the logic is as follows Code:

1) user enters form values and clicks submit button
2) server side asp checks the server for a process "wpuba.exe"
3) if "wpuba.exe" is not running .. redirect to page2.asp

basically I want to wait for the "wpuba.exe" process to terminate before redirecting to the response page.

View Replies View Related

Let User Stop A Running Script

Is there a way to let user stop an asp script that's running? May be by pressing the STOP button on the browser or something.

View Replies View Related

Running A Server Side Process From IIS

i have a VB desktop app, that utilizes T SQL to communicate with my backend db.

It sends encrypted data which calls a web page that parses the file and inserts into a table.

I would like to add additional functionality e.g

For my server to be able to do a post the received contents, stored in the database to my sms provider.

I already have implemented a web page script that uses XML to post, web pages, but would like to implement another process for the desktop apps Could this be achieved and how ?

View Replies View Related

IIs Won't Process ASP

I'm a complete newbie to IIs and ASP (come from the Apache/Cold Fusion
world ). I've created a very simple ASP test page:

<%@ Language=VBScript %>

<% Response.Write "This is a test ASP page." %>

But when I access the page, it just displays the page as text, instead
of processing the ASP. I've looked at a half-dozen Microsoft KB
articles, but still no luck. I'm not getting an error, it's just not
processing.

View Replies View Related

ASP Process

I m facing a problem in ASP. That is on the production machine when I deploy my product at that time it dosenot perform a particular process. But on my devlopment machine it runs perfectly fine.

The only difference which lies is that on my devlopment machine in security tab of wwwroot/(website) a security permission with the name of VS Devlopers(machineVS Devlopers) exist but on the production machine it dosenot. What could be the possible problem.

View Replies View Related

COM+ Process Id's

Making good old fashioned asp page and need to be able to display the IIS COM+ process id's (i.e. those that show up when attaching to a process in InterDev(in debug/processes dialog box).

Is there a way to get these process id's show up in an asp page? You can tell I'm not to saavy when it comes to working my way around the WindowsAPI.

View Replies View Related

Stop Errros

How can i detect if a database already has a primary key value that i want to insert. ie. i want to insert 5 into a database that already has a primary key set to 5.

View Replies View Related

How To Stop Spam

We have many forms on our site that users can fill out and ask questions, request information etc. but somehow, we receive a lot of junk mails (more than two hundreds) within two weeks through these forms. I don't know hot to stop these junk emails.

View Replies View Related

Stop Session

I dont want to start the sessions when my asp page is run....how do I do that...can I add something at the start of the page which will not enable the session

View Replies View Related

Stop The Loop

I´m programming in ASP. How can I stopp the loop?

View Replies View Related

Stop Execution

how can i stop execution. in betweeen a few lines of code. i dont want the complete execution of code and in middle i want to stop?

View Replies View Related

When Does Security Stop

can a website be secure and not have the https in the begining of the url?

is this true : URL always secure
is this true : URL never secure .

View Replies View Related

Stop Dreamweaver

How do you stop Dreamweaver from displaying server side includes in the Design View Window? I use a include to provide my asp pages with a general layout. My machine used to ignore the include statements when I'm in Dreamweaver deign view, but today it just decided to show them. It makes it hard to work on my programs.

View Replies View Related

ASP Insert Process

Just like to know if I am correct and no problems in this scenario:

I have page where the user clicks a button to save some information >>

gets directed to page 2 where a value gets returned from a recordset and the form is inserted automatically upon loading with the value (sequential for the database table) >>

the user then gets redirected to page 3 upon insertion into the database, if I use 'Select Top 1 ......' as a query to retrieve some information on this page am I sure that this is the correct record just inserted even if 2 or more people are saving at the same time?

View Replies View Related

Batch Process

i have to start a batch process from a dll to transfer
files created by this dll to remote ftp server. I created
a batch file:

ftp -n -v -i -s:D:atchftpcmds.txt ftp-server

and a file containing the ftp commands:

user username password
lcd D:atchmedia
mput *.*
quit

It works pefectly when i start it from the dosbox. But
when i call it from the vb dll implemented in IIS (shell
("D:atch ransfer.bat")), it does not complete the
transfer and hangs after 400-500 (small) files.

View Replies View Related

Process CSV File

I need to select a csv file from my desktop through the "Browse.." button in my ASP page and upload the file and do further interrogation and extract the data to put into a database. What I'm struggling with is more the first parts with getting the file read properly in the second page so I can read and insert the data.The data below
describes the file. Quite a simple format.

Customer ID - Additional values are player IDs
193948294, 293, 294, 296, 290, 292

View Replies View Related

Hidden Process

when i call for a asp page i c some process still running in the status bar. but when i click on the same link again, i could not find the process. it happens alternatevely.why is this happening? how to prevent?

View Replies View Related

Process XML Data

It's been a long time since I've needed any help with something, so I'm happy to come back and feel dumb again. I need to learn how to process XML data and generate pages driven from that data. I know the structure of the documents, I just need to grab the data from inside certain XML elements of the XML documents.

Can someone explain this or post a link to a good site? I've tried googling, but everything I find seems to explain how to print back the XML in HTML format.

View Replies View Related

Process IF Clause

Got a bit of code, which I want to loop through, unless the current value is "", in which case I need it to skip to the next one, but how do I do it?


Response.Write "<br />" & vbCrLf
For Each strItem In Request.Form
If strItem = "" THEN
'these next two lines, I only want to be processed if the above does
have a value in it
Response.Write "-" & strItem & "-" & vbCrLf
Response.Write "-" & Request.Form(strItem) & "<br />" & vbCrLf
End If
Next
Response.Write "<br />" & vbCrLf

View Replies View Related

Too Long To Insert

I want to insert a new row in my db but it says that the "identifier is too long"...

ORA-00972: identifier is too long

to be more precised... I googled it but I can't seem to pinpoint how to work around this

View Replies View Related

Long Emails

When sending long emails a mysterious space-character is added after a
certain number of characters. Any idea why that happens?
I am using a Dundas Mailer control (if that matters) called from an asp
script.

View Replies View Related

Long Posts

I have a database-driven site and it is possible for users to leave comments, which get written to the database. How do I make it so large comments can be added?I am getting this error message:

Microsoft JET Database Engine error'80040e21'

The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.

/wall2.asp, line 37

I have set the default field type in the database to be 'memo'and set the default text field size to 255 (the maximum allowed)

View Replies View Related

Long Numbers

How do i make this number shorter?like 65.3846153846154%.how to make it like.let's say 65.39?

View Replies View Related

Long URLs

Is anyone aware of any sort of asp coding to deal with long URLs? I have a few asp that pull URLs from fields within a MS db, which then display on a width-limited table. Is there any way to wrap these long URLs such that my table doesn't get widened? e.g. wrapping at "/" or something similar?

View Replies View Related

Stop Background Flicker!

I am using two asp pages that have large (up to 1280X1024) background images. The image is the same on both pages, but when I go from one page to another it reloads the image each time and flickers for a second when loading because the file is so large. Is there a nifty way to keep the background image the same across two pages without reloading.

View Replies View Related

Stop ASP Page On Error

How do you do the following?

if(true)
response.write "There was a problem."
***STOP HERE***

more code
more code
more code

View Replies View Related

IIS 6 Stop Respond To Asp Request?

I have a windows small business server 2003 running IIS 6 to serve asp pages and streaming movie over internet.

Everything was working fine but suddenly the server stop respond to ANY asp request but no problem with html for several hours last night. It serve asp again for awhile
but it stop serving again this morning.

View Replies View Related

Search A Full Stop

i have a string and i would like to run through this string to find a "."(fullstop), and once found put a break in so that i could continue the rest of the string on the next line.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved