I have an asp page that will be updating the data from one database into my sql server database every 3 hours. I'd like to write code that will tell the page to automatically run every three hours. How do I do this?
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?
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.
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.
I am extrememly new to C (only been playing with it for a few days), and will be am required to be using C and ASP.NET (also a language i have only been using for a couple of days) for work purposes in the next few months. I come from a mostly Java background where it was easy to write JAVA code, and provide web interfaces that made use of that code in JSP.
I would be greatful if anyone can tell me...
a) Is the same effect possible using ASP.net to access / execute etc C/C++ (not interested in c# code - all the explanations of this seem to cover c# only - or is there no difference? - Spot the newbie! lol) code (pretty sure that works - but be good to know incase there is another step in there).
b) Where can i learn more about it? Can you suggest any weblinks or books etc?
Incase it makes any difference - the sort of code i am interested in running would simply respond with results from databases, or extracted content of files etc (command line stuff) - and much of the code is already written in c / c++ so i am not keen on re-writting it specifically for asp.net (does that make sense? hope so!).
i have used content-disposition to force the user to download the file and after saving the file i want to execute some more code i.e i want to enter some records in the database and then redirect to another page but this is not happening. The execution remains on the same page only.
I haven't started to mess with this yet, but is it possible to store .ASP source script in a Database field, then use ADO to get the string from the field and then force the scripting host to interpret that string from the database and flush it into the buffer for output to the browser? I was thinking you'd have to use EVAL() on the string or something...Anyone done this yet? I was working with Vignette story Server a couple of years ago, and all of the TCL source script and html is stored completely in the database, only cached pages are in virtual directories.
I have a web form and some additional code i don't want my additional code to execute untill after they hit sumbit on the form. i want to keep all of this on one page. i've tried to just have the page submit to it's self but that doesn't stop my code from executing on load.if anyone could give me some direction on how i should do this it would be great.
I'm showing page contents text coming from database, normally the contents are plain text or in html formatting... it works fine.. but I want to add ASP code within page contents, as well... i did try but it dispalys ASP code as it is in the output...
is there any way to execute those asp code lines coming from database...?
The following code has run-time error on "divide by 0" error. I expect "do the work<br>" will not print in the browser, since it happen after the code that cause the error. However, this is the output: any ideas why?? Or this is the nature of ASP scripting language that is being executed in sequential order? Code:
Running IIS 5.0. Running both .NET and ASP pages. Every several weeks all the ASP pages stop responding. Nothing is displayed. No events show up in event logs showing that the server is having problems.
.NET and static HTML pages continue to respond. Restarting the world wide web publishing service gets the asp pages responding again. Any thoughts as to what is going on?
I would like to know if there is any way to schedule an asp page to run once a month. The purpose of this process is to automatically insert data to a table in a monthly basis to allow users to manupilate it without having them to add any fields to the table.
I have written a stored procedure that take 5 - 8 minutes to fully execute.. I wrote this routine as a stored procedure because I started to create all the functionality via ASP but I kept getting time out errors on my ASP page.
The problem is that when I call the stored procedure from the ASP page the server waits for the procedure to complete before returning the ASP page.. Is there any way to avoid this? I would like the user to be able to trigger the stored procedure and have the page returned right away..
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.
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?
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?
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.
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?
We have a report page which deals with more than 3000 records and 80 columns. The records are displayed on a third party control VS flexgrid versioned 7.0.
Currently we are having a client side array populated from the server side using response.write . Is there any other means to optimize the performance on this page?
One of the fields ("Description") in my MSAccess database table contain text formated by HTML tags (<b>, <i>, etc) I now need to display it on asp page, but not as formated text, but as it is stored in my database:
Not like Description of this product is good.
but as <b>Description</b> of this product <i>is</i> good.
I just inhereted a website. I made a change to a simple SQL string in a ..aspx.vb page. If I don't have Visual Studio, is there a way to "publish" the pages and show my changes?
I'd like to write a bunch of queries from a SQL Server 2000 database in my ASP page and have a way of copying this information into an excel workbook in specific cells. Writing the queries isn't the problem, I just need to place it in a file in different specific cells.
Is there a way to do this? Do you have to use VBA code or something? the *.iqy technique isn't going to work, cause I have to place the data in a sepcific excel file, in sepcific cells. I am not sure how to do this or if it's possibly, if anyone has any ideas on where to start or find some sample code I'd REALLY appreciate it.
I am trying to call a field value from my database - which gets open in an included file (all work on database must be done in that included file), if i use response.write(rst("pagename") it would print fine in the page when I call the sub i.e <% call pageNameFind() %>
But i want to get the field value to appear like this <% PageTitle = pagename %> where pagename comes from the included sub pageNameFind pagename = rst("pagename")
It doesn't pick this up however - how would I do this? This value will then be sent on to another included file at later stage. and I must have the <% PageTitle = myvalue %>.
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.
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?
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...