My Default.asp page has a listbox to redirect the users to other pages on
the web site.
If I access the web site by giving it the full URL, the listbox works fine
(for example: http://domain/Default.asp)
But if I access the web site by just using the domain (for example:
http://domain), the Default.asp page is displayed fine, but if I select an
item in the listbox, I get the error "HTTP 405 - Resource not allowed"
Does classic ASP have some notion of resource files, similar to JSP, for use in internationalization/localization? It should also support variable substitution too.
I've just upgraded our intranet server (production) from Win2K to Win2K3. After the upgrade asp works fine on the root and lower level directories, but any virtual directory returns http: 500- The requested resource is in use. I have caching enabled on all webs.
IIS 5.0 is throwing out "The requested resource is in use." for any site that uses ASP - HTMl is executing fine. I have tried re-installing scripting, latest MDAC, and all my hotfixes are up to date. This just happened after the latest hotfixes were install this week.
I have also tried re-syncing the IWAM account but that didn't work either... Running the webs in HIGH (isolated) did not help either. I hit ASPFAQ.com and followed the instructions there .. is reinstalling IIS my last resort? If I restore my backed up metabase will I introduce this problem again?
I've seen references to this error on-line but the fixes listed haven't helped me. I'm getting the error 'The Requested Resource is in Use' when I attempt to access a classic asp page on IIS on my home machine.
I only get the error when I create a new directory in wwwroot and designate it as an application. If it's simply a subdirectory of wwwroot I can access the asp page just fine. Try to set it up as an application and I get the error. I am running IIS on XP Home and it's working fine exept for this error.
I got error message "The requested resource is in use. " when access a database asp page. I check and see that IUSR should have all the rights. It seems that the page doesn't like response.redirect . Code:
I have a problem with IIS + ASP. If I try to read asp page display me this error: The requested resource is in use. In Evet Wiever i have this message: Out of process application '/LM/W3SVC/1/ROOT' terminated unexpectedly.
I install a new forum for my web site, but when i try to login or post a new message it gives this message : "The requested resource is in use." How can i solve this problem ? Why server gives thi message ?
I recently installed project server onto a new server (the server is an all in one box that hosts the database (MSDE) and Sharepoint as well as project server). When I attempt to load the project server web access screen I get the error "The requested resource is in use." I've tried researching this issue, but haven't been able to find any usable information. At this point, I'm totally stuck. Has anyone else encountered this problem?
I always wonder why this error usually happens to my site. I never know what's the cause of this system error. Is it with the host or my pages itself? When this scenario occurs, this certain error is always returned... Code:
Basically the problem relates to how ASP fundamentally works - even though you open a DB connection, it uses it only for the first SQL query. For subsequent queries on the same open connection then ASP spawns its own connection but doesn't properly release it, thus leading ultimately to server memory leaks which can only be resolved by rebooting the server.
It seems that the only way to prevent this happening is to use the following methodology in your ASP code.
For Each SQL Query ¤ Open DB connection ¤ Make recordset ¤ Use the data ¤ Close and kill the recordset ¤ Close and kill the connection Next
I am receiving and error that says, System resource exceeded. I have done a bit of research on this and I have read that it is because the recordsets/connections are not closed properly. Now I must admit this might be the source of the problem, however, it was working on Friday when I left, and is not working this morning. Could it be because the server might of went down this weekend? Any suggestions as to what I can do to resolve this issue or to as why I am reveiving this?
one of our servers (win2k adv server, IIS5, MDAC 2.8, full patched), once a day in the afternoon starts giving this error on every site that uses asp:
Microsoft OLE DB Provider for ODBC Drivers error '8007000e' [Microsoft][ODBC Microsoft Access Driver] System resource exceeded.
the memory used goes from 800Kb to 1,5Gb (1Gb of physical ram available), and even though the cpu used isn't 100% we need to reboot because everything dramatically slows down.
There are many sites hosted on this server and we never had this problem before... The culprit must be one of the new sites then. Is there a practical way to find out which site is the culprit?
I have a database of email addresses, currently about 600 which I want to send a mail to. So I loop through every record sending an email, but at some point something stops.
Initially it timed out, so I increased the session timeout to 10 minutes.
Now I never find out where it got to, because the page never reloads, even after 10 minutes.
Its not something I can test easily because to do so I have to send an email to everyone. So I'm trying to improve it for next time.
I wondered if I should put some delays in the loop in case it is overflowing the server buffer? Other than that I am at a loss.
I need to create a asp page with fields like FirstName, LastName etc. But this 2 fields only allow the user to enter english characters, no chinese, no jap.. nothing else..
What is there that i must do to disable users from entering character other then English??
Method Not Allowed The requested method POST is not allowed for the URL /Database/processForm.asp.
Apache/1.3.33 Server at antonyx.freestarthost.com Port 80
i just got this error, however, i have managed to post data into my database on this server b4, why is this error comin up now, could there be a prob with my asp file??
I'm using Shadow's upload script. whenever i try to upload a file larger than a few hundred kilobytes, i get this error: "operation not allowed; /_uploader.asp, line 56" at the top of _uploader.asp, i have changed the maximum file size to 50 mb. this is line 56 on uploader.asp:
I would like to create a list of characters, and what to replace them with before inserting them into a database. So far, I know of the sigle quote, and you just replace it with two single quotes (' to ''). Are there any other ones that you guys are aware of?
I've got a page that users of my website are sent to when they log in, and one part of it shows their friends (think myspace). The page works fine if the user has one friend, but it seems that if they have more than one then i get the "Operation not allowed" error.
I won't post the whole page because there's about 750 lines of it, but here's the code that gets the friends images from a mysql db and then shrinks them (if necessary) and puts each image into a table (for a tidy layout):
NOTE: "sql" is in case there is more than one users image to get, i've checked the query when there is more than one user image to get and it looks fine... Code:
I have created a form using post which directs to a psmail.asp page. i keep getting the following when submitting the form. Can anyone suggest what i may have done wrong?
Error 405 Method Not Allowed The requested method POST is not allowed for URL /html/psmail.asp Powered by Zeus Technology
I have a script that has worked flawlessly for a while. It allows a user to select from a listbox - with highlighted lines already of their settings, multiple lines (CTRL-SHFT) and the page updates the database properly.
Now, for some reason, I have a user that when we load their settings, all is fine. If I submit the form, immediately, with no new additional selections, all works fine. But, if I add even one new selection on the list box by holding CTRL-SHFT, the submit button no longer works at all.
This user does have a long list of selections already, I am just wondering if I may have hit a max some how?
Save precious time and dollars in learning the secrets of programming. Complex logics made simple and easy to learn.
Own a complete Database Application built using OOPs, Classes, Datagrids, ADO (ADO .Net) with options like Sale, Purchase, Receipt, Payment, Reports like Cash Book, Registers, Trial Balance and P and L Statement for the desktop and client server platforms.
Leverage the full potential of Microsoft's VB, VB .Net, ASP .Net, Crystal Reports and SQL Server technologies.
All these, now readily available, packed and organized. Get instantly, what others take years to collect, develop, test and put together. Includes Database design and Server side programming - Stored Procedures, Triggers and Constraints. Code:
I keep getting the following error at the line "Do while oRs.EOF = FALSE". I've already added some code in the SQL standard procedure to eliminate the recordsets that are returned from temp tables (i.e. not the final recordset), but it still returns the same error.
The reason I'm using the recordset object is because I need to output the result of each recordset, and am not sure how to do this otherwise.
The error message and ASP code is below.
Error Type: ADODB.Recordset (0x800A0E78)
Operation is not allowed when the object is closed. Code:
The following ASP code yields the following error, but actually the new record is stored in database. The same error happens when the application deletes a record, such as sqlStmt ="delete from test where username='2323'"
<% Dim objRS, sqlStmt Set objRS = Server.CreateObject ("ADODB.Recordset") sqlStmt = "insert into test VALUES ('2341', '2341');" objRS.Open sqlStmt, strConnect objRS.Close Set objRS = Nothing %>
ADODB.Recordset error '800a0e78' Operation is not allowed when the object is closed.
I want to allowed my user to upload file to site. how can I make this work. so can anybody help me with this issueI will be using this software to build this application.