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.
It was all good when a few days ago, I started getting this error on my Windows 2000 Professional SP4 box when trying to start IIS 5.5.
"The service did not respond to the start or control request in a timely fashion."
I have .NET v1.1 and so I googled for this error. I got a few links, one of which, from the MS KB suggested that I install .NET v1.1 SP 1. I found I already had SP1 for .NET v1.1. However, I downloaded it again and reinstalled it but to no avail.
I have an application, which simply consists of an Access database being queried by ASP code in a website, running on a Dell PowerEdge 1650 rack mount server (Pentium III 1.4 GHz) with 1024 MB ram. The server runs Windows 2000 5.00.2195 with Service Pack 4.
The application presents HTML tables to users, based on queries made by the user on the website.
Problem is: recently the construction of these tables has been very slow and the scripts time-out. The script timeout is set to about 3 minutes.
The application has been running for 2 years without any problems, well one. About 6 months ago the same thing was happening. I compacted and repaired the database - did not fix it. However on restarting the server it was back to normal, producing the tables immediately.
Now that the same problem is occuring again, neither a restart or a shutdown-restart fix the problem. The straight HTML part is served immediately, but it is evident that it chokes on the tables.
There are two other applications on the same server written in the same style, but much more simple. They are working fine. Code:
Why does the error below occur whenever the statement Request.BinaryRead Request.TotalBytes) is executed for uploads larger than 100K? I thought the 100K limit applied only to Request.Form. This does not occur with smaller uploads. This is running on an IIS 6 server with full FP2002 extensions.
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.
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.
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:
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
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.
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.
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.
How can I stop some one from trying to post my form from a remote site. I am getting some one cycling through usernames trying fpr passwords on a web site.
Does anybody have ideas how to prevent passwords guessing. I mean I want to define that same person/robot try to guess password and to block it after 3 wrong attempts.
I have just got back into ASP development after a years break and am playing catchup. I am developing a simple page with combo boxes on it, so that when it is processed it searches a database for all records between the chosen entries in the combo boxes. However I am also trying to stop the page from returning errors when a user clicks submit without choosing any entries from the combo boxes. I am trying to get the page to just re-display itself with a simple error message on the page informing the user that they have to choose an option from both combo boxes.
I have a simple Form full of Textboxes.The Textboxes get filled from the Database, and the user can edit and click Update to update the info in the Database.My problem is that I don't know how to stop 2 users from messing each other up.(Just to clarify, User 1 gets info, User 2 gets info, User 1 clicks update and then User 2 clicks Update, obviously, all of the User 1's changes got disregarded).
I have a page that pulls info from a SQL DB and displays it for the user. Everything is fine now 'cos I only have ten entries in my DB. When finished, there will thousands of records and what I see is an endless scroll or page down for the user. But what I want is to display a MAX of 15 records per page and have the others displayed on following pages.
So how do I get my pages to continue on page 2, 3, X XXX and have it so that clicking on any of the pages jumps to the corresponding page. You can actually see what I am looking for here at sitepoint. In their own case, they have it displayed within page ranges.
I am trying to stop and start the ftp service from an asp page using the niuser account.
my code is simple: shell.run "net start msftpsvc",0,true. ASP page returns no errors but nothing happens. code works in .vbs but not from the webserver (IIS6).Can someone tell me how to do this? I would also like to edit the registry if i can.
I have Windows 2000 Server on an Intel machine. Periodically IIS returns an HTTP 500 error when anybody clicks on an asp script. Regular HTML pages are displayed without a problem. The problem gets corrected whenever I reboot the server.
I am creating a news page for a fun website just to learn, it has a simple html form that lets me post new news items to a MSSQL database.
The thing I am trying to do now is have the loop only run about 5 times, so that it displays only the last 5 news items from the database, I will then create an archive page which will display them all.
I have a book that I read and I found the for..next statement and I t would work nicely from what I am reading,
I have an Active Server Page connected to an MS Access database. I use this page to submit information to the database. Among the form fields is a start time and stop time field.
By setting the value of start time to <%=Time()%>, I'm able to collect the start time automatically when the new form is opened. I would also like to collect the stop time by clicking the submit button. Code:
Is there a way to stop an SQL statement once it has been sent to Oracle?
Now I always thought the answer was no, but I have started using the free (and very good) SQLTools - in which you can start an SQL statement, but you can also cancel it and SQLTools then stops the execution of the sql on the oracle box (it does not leave a duff ora process or anything).
I thought this might be useful if we have long running queries on web pages (due to DB problems for example) and we could have a timeout which will do a controlled shutdown of the query and the db connection, rather than server.timeout which leaves an active ora connection - leave too many of these and you could run out of handles r run up huge CPU-gobbing processes etc...
I require a program that will allow a user to start the timer when he hits a button and stop the timer when he hits another button. Is there anyway where i can get the difference in Time:
is it possible to somehow "jump out of" an ASP page that is executed from another page via the Server.Execute method?
on the page being executed i have several instances where i need to stop the execution and immediately shoot back to the calling page without running through the rest of the code on the executed page. Code:
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.