i have a website hosted with crystaltech which needs to send out reminder emails to customers on a day and time of their choosing. to do this i used the server sheduled tasks to call a page every hour which does a search checking for time and day that match and then loop thru the recordset sending out a CDONTS email to those records.
this would run fine for 12 - 15 hours and then the IIS would crash with the "Too many client tasks" error. this seemed strange as at most it would find one or 2 records matching the time. i presumed some error must be occuring (even though it was sending out emails correctly) and thus the recordset wasn't being closed correctly. Code:
What is the cause of that "[Microsoft][ODBC Microsoft Access Driver] Too many client tasks" error? I'm having a trouble listing posts from my database and giving me such output. Is there a limit in number of simultaneous user who can connect in the database? Or is it the server that's why it produced an error like that.
I want to allow the users to shedule a particular task (shedule the time and date of inserting thier forms and data into the table ) such that i ll provide a simple form where the user can enter his name , age , and some other details at the end of this form , there is field to enter the date and time of inserting those fields into the table in the database,so that data inside this form will be inserted into the table as per the user scheduled date and time
i need to send e-mail notification when the date + time comes! date+time are stored in db i can compare the values with the current date+time i have written an ASP web page which does all this (comparing date+time and sending e-mail notification) but i will need a visitor every second to execute the asp web page by visiting it! Code:
if I have a list of items which I have to complete next month on different dates, how do I select all the items due for next month, or all items due for the following month. Example:
Task 1 due 15/11/2004 Task 2 due 17/11/2004 Task 3 due 18/12/2004
I have an asp page that queries a db and displays the data in an html table. This page has a hyperlink that goes to another asp page that is meant to load the same data table in Excel. This all works fine on windows 2000. This app has been running now for close to a year.
On XP however I get an error message ststing that the Temporary file whatever.xls could not be found. Check the spelling and verify if the file location is correct. This has happened on all XP boxes. I can save the file and then open but users don't want that extra click.
The code in the asp file that is meant to spawn Excel looks like this: ...
I just upgraded to Windows XP Pro from Windows 2000 Pro. All my ASP stuff seems to work, except that when an ASP page generates an error, and the Error handling is set to "On Error Goto 0" the page just stops, as if I typed a response.end, and no error information is returned to the client. If I set On Error Resume Next, and write err.desc after the offending line, the error text is written correctly. For debug purposes of course it is nice to be able to immediately see the line number, and description though.
Anyway, does anybody know what setting I need to change to fix this? I have server side, and client side debug set, and I have it set to send detailed errors to the asp page.
Another interesting thing is if there is a compile-time error, like a syntax error, or something, the page doesn't load, but I get the error message until an error happens with the above condition, after that, it will just return a blank page.
My app lists jobs for a recruiter. He wants to track members who have replied directly to job postings. So instead of simply making the client's email address an <a href="mailto:...> link, I need to do 2 things:
- add a record of their posting to a database table - open the email client to the job
Howe do I do this? The first part is easy, but I don't know how to open the email client in an ASP command (I don't really want to auto-sed email, just open the client and let the user attach their resume and add their cover latter). Do I have to get my Web Hosting company to install CDO, or is that standard with all IIS? I get an error when I try to run 'Set MailObj = CreateObject("CDONTS.NewMail")'
I've been lurking and searching for a while and hope someday to contribute to the forums. My question though it may seem strange is this. Is it possible to run a compiled VB app on the client machine that is called from an asp app running on an intranet server? Intranet server pushes asp to client's web browser. Client clicks on a link that somehow runs the process on the client machine. I realize this is not what asp is meant to do but I do have some applications that could be integrated into the company intranet fairly easily if this is possible. A re-write in asp would be labor intensive. It is simple enough for me to setup standard folders on the clients that require these apps
I am developing an app that has a reporting function which displays the non-PDF reports. One of the users wishes to have the reports saved to his machine as PDFs.
The app can convert the reports, and save to the server with no problem (uses a component for this). The problem is, figuring out how to save the reports to the client.
The ideal approach would be to have the app save the reports to his desktop, like some of those stupid casino sites save their shortcut links.
However, I would settle for just just being able to force the "download" dialog to display, instead of opening Acrobat when the app attempts to send the report to the client.
im setting up a database email for my job and i still need a little help. Thx for those who helped me out for past touble...
Well, im now at the step of email deletion from the list and im using a simple script for that (cuz im new to programming).
After the customer received the email, i want him to be able to unsubscribe to my newsletter with a click on a link which lead to a delemail.asp page where the script is. Code:
I have a page which allows the user to open one of several spreadsheets by streaming the XLS to the client.
On my development site, everything appears to work fine. On the live site, it works fine for the vast majority of users, but not for my colleague & I.
When this page is called with the correct inputs, the standard Open/Save/Cancel/More Info dialog should appear. In the dialog, it gives the following details:
Filename: Gothenburg Sweden.xls File type: Microsoft Excel Spreadsheet From: Servername
Clicking on open, means that the file will be opened in the local copy of Excel; this works for most people, except one colleague and myself. In our case, after clicking on Open, we get the following error msg:
"Internet Explorer cannot open travel.asp?journey=1 from <servername> Internet Explorer was not able to open this internet site. The requested site is either unavailable or cannot be found. Please try again later."
I want to validate client entries into textbox,checkbox controls etc. can u do this with asp. Like, is there onchange and onclick and so on for these controls?
I'm currently working on an Intranet for one of our clients. I'm developing a user directory for them using a SQL Server database. My client has provided me with the information to connect to the server remotely via windows remote desktop connection. I would like to know how I go about getting Dreamweaver to connect to the database? Will I have to create a database locally and then publish the local database onto their server or, can I create the database on their server and using DW to connect to it?
This has happened before and it was due the connection string not being set in VB. My question is, when I try to reconnect can I use a different connection string on the client than I have on the server, I wonder because not all my connection strings are not equal.
Some of my database paths are in Access and the rest are in SQL. That means I have to retry several times before a scrip timeout occurs. If you have read this far then you are an idiot, but the rest of the database seems to work just fine. In fact I can pull all fields out with no problem. It is just that connection string that has resulted in causing my pages not to post.
I have created one ActiveX DLL in VB that has one public function ("GetClientCPUID") which will return a string of the CPUID. I want to use this to get the clients CPUID and retuern to webserver. I am new to using activeX in client side.
In Asp how can I send this ActiveX to client browser? (I will instruct my users to allow this activeX). Is there a way I will execute this activeX in clients PC and get the return value and return to the server for my processing? Please suggest the ways that I can do this.
Also suggest what are the situations that I should know before I proceed. I think there will might a issue when I upgrade the activeX and the client those are using the current one may face problem so I think I will need a way to uninstall the register the new one. Code:
I want to add clinet side javascript on the asp:dropdownlist's onchecked changed event how i do this does any one have any idea.i use the following method in vb.net code behind file
I have my asp pages stored in my server ,but when i try and call the asp pages in the clinet side it does not show a portion of the page,the same thing if i call from the server it shows me.
I know ASP isn't the best way to do this, but is it possible?
I've written an application in ASP that manipulates an MS SQL database. We'd like to have our application automatically backup the database at specific times. We'd also like to generate an email report once a day on the statics of our database.
Is this possible with ASP? How else could it be done, considering our application is all HTML/ASP?
I'd like to have two radio buttons, and the first one will be selected by default when the page loads. When it is selected, the two checkboxes below the second radio button should be invisible.
The only way to see the two checkboxes is when the second radio button is selected. If you select it and then go back to the first radio button, those checkboxes should disappear again.what should i do?
I need to know if, and how, it is possible to use ASP to download a file automatically from the web server to the client in a given path. Is that possible ? Ideally I want a page with a link that when pressed it will copy a certain file that exists on the web server down to the client.
1.what's the cons in using access 2003 with client/server apps?I know for starters that it crashes when traffic is big and that u have to repair and compress it every now and then. what do u think? 2.and also,should I write and execute my sql sentences in the asp page itself or use wsc for that? 3.what are the benefits of using xml besides xmlhttp and using it to retrieve info from other sites?I have heard that u can present your own data easier with it.
Is it possible using mailto: to create an email with everything except an attachment and then when a user clicks on send intercept that form and recreate the email on the server and add a file to it?