officeaids
asked on
The requested method POST is not allowed for the URL /validate.asp
I keep getting the error message 'The requested method POST is not allowed for the URL /validate.asp' when trying to implement the script on my website.
The scripting works when I run it through http://localhost/, so its not a scripting fault, but not when i run it through the website the scripting doesn't work . I'm currently using Windows 2000 Professional with IIS 5.
The scripting works when I run it through http://localhost/, so its not a scripting fault, but not when i run it through the website the scripting doesn't work . I'm currently using Windows 2000 Professional with IIS 5.
sounds like asp isn't set up or the permissions for that folder are incorrect (security is not allowing the asp file to run basically); are you doing any database calls?
ASKER
Hi Markhoy,
Thanks for replying so quick. The Script is a login script that then passes the info entered into a validation page. This checks what details have been entered and what access levels they are entitled to. The info is in a Microsoft Access Database which the ASP links to.
I'm fairly new to web design so i'm not sure how to setup the permissions in ASP. Could you Help me in this?
Thanks in advance
Darren
Thanks for replying so quick. The Script is a login script that then passes the info entered into a validation page. This checks what details have been entered and what access levels they are entitled to. The info is in a Microsoft Access Database which the ASP links to.
I'm fairly new to web design so i'm not sure how to setup the permissions in ASP. Could you Help me in this?
Thanks in advance
Darren
Ok, in basic terms, file permissions can be set under windows (right click, properties, add user and or set permissions for a user on that file/folder). You need to make sure the user IUSR_machine name has permission to RWX the database folder. You can also set permissions under IIS. I presume your web site is in c:\inetpub\wwwroot?
Are you able to run basic asp files?
ie <% response.write "I'm Pink, therefore I'm Spam" %>?
Are you able to run basic asp files?
ie <% response.write "I'm Pink, therefore I'm Spam" %>?
ASKER
No I cant run the basic ASP files. I created a test page with the ASP you listed above, which is shown below.
<html>
<body>
<% response.write "I'm Pink, therefore I'm Spam" %>
</body>
</html>
This works through my localhost but i've uploaded it onto my website and it just comes up with a blank screen. It must be something to do with giving permission to run ASP scripts but I'm not sure how to do this
Do you know how to change the settings?
Thanks for your help
Darren
<html>
<body>
<% response.write "I'm Pink, therefore I'm Spam" %>
</body>
</html>
This works through my localhost but i've uploaded it onto my website and it just comes up with a blank screen. It must be something to do with giving permission to run ASP scripts but I'm not sure how to do this
Do you know how to change the settings?
Thanks for your help
Darren
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
There was no error message, but just checked my web host and found that they're running on a Linux system with an Apache Server. This doesn't support ASP. I've changed it to a Windows Host and its working OK now.
Thanks for all your help
Thanks for all your help