Running Background Processes
how to run a script in the background? I have a stored procedure, which gathers a lot of info on various tables in a MSSQL , and from that rebulds a large table. I run this stored procedure like so:
Response.write "Updating CWC Page .... wait until you see <b>Finished!</b>"
dbconnection.CommandTimeout = 0
DBConnection.Execute("proc_updatecwc")
Response.write "<bR><BR>Finished!<BR><BR>"
this script takes about 3 minutes to complete, and then I can't do other stuff on the site. This script needs to be run at regular intervals, whenever new company information is added. Now, I want to be able to add the new info, and let the script run in the background, without waiting for the outcome / output. Can this be done?
View Replies
ADVERTISEMENT
Can anyone tell me of a simple way to show a list of processes running on the server?
View Replies
View Related
I have a ASP web application, in the application I need to check if people did submit some documents, and if they don't past a certain date I want to send them email notifications.
I am using SQL Server 2000 and SQL Server Agent How can I write ASP code to run in the background on my IIS server, that will check for people who did not submit past a certain date and automatically send them email notifications?
View Replies
View Related
I have a script that creates an excel file and saves it, however, noone else can run that script again until after the excel network service process has been ended on the server, and it's getting really annoying doing it manually. How do you end processes on the server with ASP?
Yes, I've closed everything out and set objects to Nothing, so that's not the problem.
View Replies
View Related
I am wring asp webservices in managed c++ for IIS 5.1 runing on XP SP2. Even
though I set the aplication protection to High (Isolated), each service seems
to run in the same process.
I wrote a couple of test servies in c# which
reurned the process id and got the same results. The process they run in has
the same id as aspnet_wp.exe of which there is only one instance running. How
can I get each application to run in a seperate process?
View Replies
View Related
what mean of this application is hosted by multiple processes on the same server
When an application is hosted by multiple processes on the same server it is said to be a web garden environment.
View Replies
View Related
is anyone have some link or know any please where I can find some information about how ASP is working in background, how it cooperates with IIS and similar stuff.
View Replies
View Related
im trying to create a script that is sending mail & due to its time of
executing im looking for a way to run that script in the background so the
user wouldnt have to wait.
i looked it up but didnt find nothing usefull, but i did come across batch files & vbs files. does any body has any idea how does it work or some reading about this?
View Replies
View Related
I have built an asp app that sends an e-card to selected recipients along
with the text entered by the user. Well, on some machines the text is not
visible because the background color of the table is not going across
correct. The background color is supposed to be teal with white letters.
However the background is going across white with withe letters on some
machines. I am using the same browser (version and everything) as one of the
machines that can't see it the correct way. I am able to see it fine. I have
put in the back color for all of the cells the table, etc but it's still
going through white. What would cause this to happen?
View Replies
View Related
does anyone know a way to run a function in the background that wont depend if the browser is open or close?
i need a function that counts down time for a couple of hours & when time is done sends
an email.
View Replies
View Related
I have done a CMS system and if I could do something in background mode,for example, send a newsletter.I don't want to wait until the page loads completely.I'm creating a mail object for each record of my newsletter suscriptors,I don't know if it would be better to use bcc with all records.
View Replies
View Related
I got background in my left and right frames (tables) and on the background image there's a custom border on each side. I want the background to extend on a different resolution rather than repeat. Anyone know how I can pull this off?
View Replies
View Related
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
Is it possible to make functions or system calls run in the background of an ASP script? I need to ping a numebr of different addresses, and as I could run these at the same time, it would make it a lot quicker, especially as a few of these addresses will always deliberatley time out, which holds the other pings back. I'd like to be able to run all simultaneously, but if i could at least run one ping (which i'm doing via a ping.dll module i found) in the background that would be great.
i've been searching around but for the life of me I can't find anything about this. does it exist at all?
View Replies
View Related
Is it possible to set an image as the background body image (non-repeating too) in a message sent using CDO. I don't want to embed an external webpage (I have to insert user form related variables back in the body of the email) and the image is on the server the mail is being generated from - have googled for ages on this one but can't seem to find
anything suitable...
View Replies
View Related
There is a setting in IE for "Print background colors and images."
I've noticed that without checking this option, a web page will print CSS
lines between table rows, but a background color of say the header won't.
The below style will display the borders in print preview, but won't display
the background color.
Does anyone know if it's possible to force background CSS or HTML colors to
print without having the user change the default in IE to not print
background colors? Code:
View Replies
View Related
I have a stored procedure that gets called from an ASP page. I had a requirement to adjust the stored procdure to have a delay, so now my browser waits for the stored procedure to complete before it returns the page and value I am looking for.
Is it possible to launch the stored proc from the ASP, but have it run in the background per say and return the value immediatley to the browser, cause the browser portion to not appear to be delayed?
View Replies
View Related
I am using Win2k, IIS 5 and vbscript as well as asp.
I want to run an asp page that creates a PDF (using a third party ASPPDF dll) as a background process to free up the main website as it takes about 3-4 minutes to render the PDF.
Any ideas on how to do this or where to look?
View Replies
View Related
how to change the background color of a web form programatically from C#. I have found examples on the web for Visual Basic, but I can't get them to work in C#.
View Replies
View Related
Are there any div attributes that could force a div element to stay in the
background? I have a .vbs calendar class that opens a small calendar.
Unfortunately, sometimes it opens above a form element like a combo box and
the combo box shows on top of my calendar.
The combo in question happens to be within div tags because it hides/appears
depending on another form choice.
Any got any good links on forcing div elements to the background?
View Replies
View Related
I have a table with coloured cells. I want to print out the table via IE with the coloured cells. But the outcome of the table does not have the cells coloured.
Are there ways to force out the colouring of the cells in the print outs?Either via php/asp/css or any means.
View Replies
View Related
My background images are not appearing on the page. I am unsure why. I can see them on my on pc, but nobody else with the same computer configurations can see these background images. We are using XP, so I thought there may be a problem caused from this.
View Replies
View Related
I am wondering how to do automatic ASP background process to generate every
few minutes statistics from DataBase? I.e. how many people are already
registered... or how many people were born in 1980(?) etc... And of course
this background process should insert measurements into a special ROW in DB.
Does anybody know how to do this?
Could anyone send to me example of it?
View Replies
View Related
I know how to alternate table row bgcolor by odd/even method but what I am
trying to acheive is alternate colors by the date value in the database so
that each row with the same date value has the same bgcolor. There maybe 3
red rows for 1st date, then 2 blue rows for 2nd date, then 6 red rows for
next date etc.
View Replies
View Related
I have web page that I use for add/delete/modify records from a database. Depending on what the user desires on previous web page this particular web page allows users to add, modify, or delete the record from a database. Each has different directions and labels on buttons are change with in code.
My users also want the background color for add web page to be one color, modify web page to be different color, and delete web page third color. In VB this was form.background color, but can not seem to find solution in MSDN for this one.
View Replies
View Related
I need an asp code/page to run in the background and execute periodically/full time. This code must do some actions based upon time intervals.
For example, The code must keep running and must send an email every 6 hrs. ASP is preferrable.
View Replies
View Related
I am using a new payment gateway for one of my sites. One of the options they recommend for submitting the credit card info involves submitting a form in "the background" with a post. They then return a comma-delimited string, which I can easily parse and act upon.
How do I submit a form in the background? I'm sure it's simple, I just never had to do it so I never learned how...
View Replies
View Related
I've installed iis6.0 on win2003. All static content with
ssi etc rendered fine on the browser, but gives a 500
internal server error if i try access any asp page. The
log file says:
ASP_0134|Invalid_ProgID_attribute 80 - 127.0.0.1
Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1. 1.4322)
500 0 0
All the dll files are in place and I have enabled asp
scripting. Can anybody give me a clue as to where am I
going wrong?
View Replies
View Related
I'm cobbling together an e-commerce site with thousands of items (spares, accessories etc) and want to distribute it as a catalog on CD. I don't fancy rewriting it to HTML. Is there any way to run the ASP and database on a CD-ROM. I've tried Dynamic-CD but it won't do the job and there is little or no help on their web site.
View Replies
View Related
I am trying to run a simple VB exe from the asp. I am using the following code
Set oWSH= Server.CreateObject("WScript.Shell")
oWSH.run "%COMSPEC% /C est est.exe",3, False
The exe is seen in the task manager. But it is not running. When I use this same command in the command window, it works fine. Can some please help me. It is for Intranet development. I am trying to run the exe in the server only.
View Replies
View Related
I have a new W2K3 box running IIS.Is there anything I have to install in order to use ADO?when I perform the following
Set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open "mydsn"
I get the error
Provider error '80004005'
Unspecified error
View Replies
View Related
I had a windows xp professional and I install the windows component so that I can use the IIS 5.1 to test an ASP file. I went to start and click the run button and then type mmc. As soon as the mmc window opens I click the console but there is an error saying that there is nothing into it.
View Replies
View Related
I need to open asp.net solution files whose source location files have moved. I am creating new virtual directories on the fly (using vbscript) as part of a automated build process that are configured to point to my new source directory. The build is following because I get the following error
<b>Unable to open Web project 'Abc'. The file path 'c:dev...' does not correspond to the URL 'http://localhost/Abc'. The two need to map to the same server location. HTTP Error 404: Object Not Found.</b
I am getting around this in the build process by removing the <b>GlobalSection(ProjectConfiguration)</b> section from the *.sln file
Is there a proper way to avoid this error occuring
View Replies
View Related