Email, ASP Timeout And Web Host
I'm sending emails to a database of 2000 people (that will be double
that in the future). My web-host provides ASPQmail. I have to send the
emails out in groups of only a few hundred at a time to avoid the page
timing out (I have set the timeout value to a very high value). Once in a
while it seems as if either the SMTP server or the web server is running
slowly and I can't get it to send even a few without timeout problems. I
never get the log file showing anything.
Is there a better web-host situation and email/SMTP I should look for?
Do I need a dedicated server? Any suggestions as to how to go about a bulk
email scenario? At least when I do have problems I would like to know
which clients received their mailing and which ones didn't.
View Replies
ADVERTISEMENT
I have a site that utilizes online forms. The problem is people could easily spend well more than 20 minutes filling out the forms before submitting them. To avoid the default timeout of 20 minutes (or whatever) I added a Session.Timeout = 120 to the forms page. I also checked IIS and set the connection timeout property to 120 minutes as well.
sessions still seem to be timing out well short of the 120 minute cutoff. (I haven't yet tested to see if it's still 20 minute default or somewhere between 20 and 120).
Is there anywhere else this setting might be controlled? Is there any simple way to do some sort of "keep-alive" from the page so that the server thinks it's active?
View Replies
View Related
I have just uploaded my asp pages online and set permissions to to read write and execute but i am still having trouble, it displays this message.You are not authorized to view this page
The URL you attempted to reach has an ISAPI or CGI application installed that verifies user credentials before proceeding. This application cannot verify your credentials.
Please try the following:
Contact the Web site administrator if you believe you should be able to view this directory or page.
Click the Refresh button to try again with different credentials.
HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI application.
Internet Information Services (IIS)
View Replies
View Related
I need to grab the full url of the virtual server server of the image
directory
View Replies
View Related
We've had a Fasthosts reseller account for quite a few years now and have been relatively happy until now.Unfortunately they've started to push out MySQL DBs (I think 4.2.x or 5)that don't work very well with classic ASP and basically said you can b*$£*"s if it don't work with your apps.
In which case, we do not wish to pander to the FHosts machine anymore and are looking for a new host.Bearing in mind what the Windows based FHosts reseller account can provide,can anybody suggest a better host?
Please note we were stung badly by 2 'from the attic' ISPs before so wedon't want to go down that route anymore.
View Replies
View Related
I need to get visitors ip address and host name when visitor visit my homepage. Can someone please paste an example of an asp page that handel this ?
View Replies
View Related
Does anyone know how to add a host header to a web site running IIS 5 using ASP?
View Replies
View Related
Is it possible to host ASP (not .net) to host on Linux,( hopefully yes then whats required extra on Linux). If some one know any issues related to that or any reference site hosting
ASP on linux.
View Replies
View Related
is anybody know how to capture lan id(localhost id ) address in lan. u can check the same under dos using command ipconfig. but i am not geting the same id using bewlo code
<% Response.Write Request.ServerVariables("REMOTE_ADDR") %>
View Replies
View Related
My web host uses CDOSYS to snd mail. right direction to get some code for this please?
View Replies
View Related
I recently moved all my files and db to a new host. I cannot get the site to function properly. The site appears to be pointing to an old test template my programmer set up, and not my index page. I have lost my programmer, and I don't know ASP at all.
View Replies
View Related
I haven't ever used ASP on a web host but will most likely be shortly with a members area and was just wondering if someone could answer these questions. Do I have to have the ASP files in a certain file and with the database?
Do I only need to have the asp files or do I need a file like adojavas.inc like if I am using in on my local computer with a web server?
View Replies
View Related
I'm trying to obtain the IP of the hosts connected to my webserver.
Code:
<%
on error resume next
'trying to obtain host IP
ip = request.servervariables("remote_addr")
response.write "IP addr: " & ip & " --- "
ip = request.servervariables("remote_host")
response.write "IP host: " & ip
%>
If I use the above script, it shows me the IP of my ISP webproxy, not mine.
View Replies
View Related
I am writing a website in asp for a take out restaurant. Customers can place order from their website. What I want to do is, print out the order form from the restaurant's printer when an order is placed, so none is required to manually print out the order list. Is it possible and how??
View Replies
View Related
Installing IIS and getting a strange error.
..Error Type:
Active Server Pages, ASP 0134 (0x80004005)
The object has an invalid ProgID of 'MSWC.MyInfo'.
//global.asa, line 1
This error comes after on Page not Found error after entering http://localhost .I have done all the localhost not found suggestions in the localhost not found thread. I also looked up the error in the knowledge base and the Anonymous login was not checked for the localstart.asp file. I also ping 127.0.0.1 just fine.
View Replies
View Related
I have been using the ShellApplication object in an ASP script to
retrieve some file characteristics that the FileSystem object does not
access (this is one of my clients' sites on a commercial host, running
IIS 6.0).
The script ran perfectly for about 6 months, then began returning
"Microsoft VBScript runtime error '800a01a8' Object required". The code
had not been changed. The script doesn't produce an error on the
creation of the object, but at the first use of it.
The hosting company rebooted the server and it again worked fine, but
then failed again.
The hosting Co's attitude is "you are the only client using this object
and the only client affected by it failing - find a different way to do
what you want to do"
My contention is that they started/stopped doing something that has
caused this to fail and just don't want to be bothered
researching/fixing it (I use the object with no problems on several
other hosts).
Can anyone shed some light? Is there a known problem with the object or
something known to cause it to fail?
View Replies
View Related
I download an application from a 3rd party for a forum that uses Microsoft Access. When I try to log in, I keep getting an error about the database being read only. I go to the hard drive and right click and uncheck "Read Only" but it never works, I've done this on the database file, the directory it is in, the parent directory, the wwwroot directory, the Inetpub directory.
View Replies
View Related
When I use this command in a webpage
Response.Write "<a
href=""javascript:window.open('events/EventDetails.asp?EventID=" &
theEventID & "' )"">" & theLinkText & "</a>"
I get the new window to open but it also affects the "host" window. The "host" window is left with the word "[object]" in it. If I refresh the window that says [object] the new window opens again. Why and how can I make the new window open without affecting the previous one?
View Replies
View Related
When I use a host file entry to point to the host header of the site
that I have created on a Win2k server running IIS5, a cookie is not
created to hold the session id. The result is that Session_OnStart is
run every time a page is requested.
If I set up a DNS entry on the DNS server it all works fine.
I never noticed this problem before we put in Active Directory so it
may have something to do with that.
I have set "allow per session cookies" to promt(under Custom Secrity
settings in IE) to see if this is being attempted and it is not. So
the browser is not even trying to create the session cookie when using
the host file.
View Replies
View Related
does anyone know how to run a .wsf file from an ASP page?
View Replies
View Related
I have two .aspx web pages. The first one has a form with ASP textboxes, validation controls, an a submit button which calls an event handler using VB to insert data into an Access database then redirect to the second page.
Both pages work fine on my local host computer (IIS). But on my remote host, when I click the submit button, it just sits there and does nothing. When I remove the validation controls, the event handler works fine.
How can I get the validation controls to work on the remote server?
View Replies
View Related
I've just been caught out by a host that doesn't support #includes in my
ASPs. What's the best strategy for replacing these calls to files that
include everything from subs and functions, global constants, other
#includes, script directives, etc.??
View Replies
View Related
Is there a way to test if a host supports Collaborative Data Objects like
Server.CreateObject("CDONTS.NewMail")
something like phpinfo to show the servers ASP setup? which components are installed etc? i've got a form mail script im testing that seems to parse ok (no errors),but am not receiving the email at any of the recipient addresses im sending it to.
View Replies
View Related
I have an asp page that is producing a report via some heavy SQL queries with
dynamically chosen parameters from the users of the page. I can run it on my
development server (takes about 35 minutes to produce) , however when it is
run on the production server it will execute for about 3 minutes, then bring
me to a Page Cannot Be Displayed.
I think this might be some sort of
timeout, but I have no idea as to how to stop it. I've changed the timeout
property of the Server, I have even put in a buffer flush if the client
isConnected.
View Replies
View Related
I am using sql server 2000. From the asp page i am calling a stored procedure that does all the processing that includes:
1. create the query dynemically according to the selections made by the user.
2. run query
3. if records found, create a comma delimited list
4. pust that file on a file server, from where the user can then download the file
it return -1 if an error has accoured, 0 if no records are found, or file id if the records are found and file is written and moved to its location successfully.
i have increased the script timeout time to 800 ...
View Replies
View Related
the default timeout for inactivity is 20mins, but in my application the clients are asking that if they are half way through an 'add a new record' page and disappear for 30 mins, when they come back the screen doesn't tell them they have timed out but lets them continue typing and its only when they hit 'submit' do they find out they have timed out. This then screws up the insert into dB type query and the data is lost.
So what I am trying to figure out is a way (using asp if possible) to count the timeout inactivity and 19 mins in to go to another page (timeout.asp) which tells them that the session has timed out and that any data has been lost etc etc, this will then provide a link to the login page.
The way the system is set up at the moment is that each page has a login script attached but is only shown if the session is valid, which has been working well.
Does anyone have any bright ideas/links/tutorials etc
View Replies
View Related
I support several intranet sites one of which had NO STATE. Even though content has ASP extensions, it was all rendered HTML. Site had NO session or
application variables being managed. Site had no global.asa. IIS Manager
had site timeout set to 20 minutes.We had to add an ASP include to pages, and that ASP include contained our first session variable. Users then started complaining of timeouts and being edirected to logout pages because session variable evaporated. Users requested a 4 hour - 240 minute timeout. This was set in IIS Manager on site, and it didn't work. We added global.asa with timeout set in session on_start routine, and even though we could display the timeout variable at 240 minutes, if we wait 30 minutes and pressed refresh on page displayed, it took logic path indicating session variable no longer set.
View Replies
View Related
i have first name and id of the user
i am trying to see how many times he logs on
so when he logs on i get his Loggedon count and add one to it
but the code times out when the second query is fired
any idea why Code:
View Replies
View Related
I need run a few large queries for one time only. But I get scripttimeout.So I set up server.ScriptTimeout value. It works fine.But for one query, system gives me the following error:
Microsoft OLE DB Provider for SQL Server (0x80040E31)
Timeout expired
No matter how much I increase ScriptTimeout value, I still have the same error.is there a setting for SQL server timeout value?
View Replies
View Related
I am having some trouble with internet explorer timing out. I have an asp page that writes all members email addresses to a second table and then I am using CDO to send them emails. I am using a function that waits 1 second between emails and then the page deletes that record.
I am sending close to 10,000 emails and everything is working fine, but when the emails are done the page is supposed to redirect. It does not and about half way through the emails it gives me a "page could not be displayed" error.
I have the script timeout set very high, do I think it is an IE setting, but have no clue and have not been able to find anything on this topic.
View Replies
View Related
I'm using the following server:
IIS5 Windows 2000 SP4 2 Processor Hyper thread enabled.
When creating HTML files with FileSystemObject the ASP page often times out
(not every time though) and gives this error:
"The maximum amount of time for a script to execute was exceeded. You can
change this limit by specifying a new value for the property
Server.ScriptTimeout or by changing the value in the IIS administration
tools"
There are no loops on the ASP page. When IIS is restarted the problem
disappears for a few hours then starts again.
View Replies
View Related
I have an asp script that insert information into a SQL 2003 db table. The script works for about the first 3000 entries and then give me a.....
DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
access denied.
Obviously the server is there, since this is working for the first 3000 entries. I can then do a "where id> 3000" and run it again and it'll run about another 3000 then same error. What can I do to stop this error and have the entire process run?
View Replies
View Related
I'm getting an error from something that seems too easy to cause
trouble. Here's the scenario. User fills out a form. User saves. On
submit, an asp script attempts to save the data. it deletes all of
existing child records, and then re-inserts new child records.
Heres the chunk of code thats bombing out with a 'Microsoft OLE DB
Provider for SQL Server error '80040e31' ':
'delete all children for this Parent record
strSQL = "DELETE FROM qcspec_is_tasks WHERE parentID = " & nRecID
debugPrint strSQL
cn.Execute strSQL
The print statement yeilds the following, before the Execute statement
dies:
DELETE FROM qcspec_is_tasks WHERE parentID = 20
If I run the above in query analyzer, it executes instantly.
Incidentally, at this point in time, the table is tiny. Its only 50
rows or so, at the moment.
View Replies
View Related