?
Solved

The requested method POST is not allowed for the URL /validate.asp

Posted on 2003-03-25
7
Medium Priority
?
200 Views
Last Modified: 2008-02-01
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.
0
Comment
Question by:officeaids
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 7

Expert Comment

by:markhoy
ID: 8204041
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?
0
 

Author Comment

by:officeaids
ID: 8204200
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
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 7

Expert Comment

by:markhoy
ID: 8204310
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" %>?
0
 

Author Comment

by:officeaids
ID: 8216732
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
0
 
LVL 7

Accepted Solution

by:
markhoy earned 280 total points
ID: 8224238
Does your hosting allow asp to be run?

Is there an error message?
0
 

Author Comment

by:officeaids
ID: 8225405
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
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question