Thanks for the help, it didn't seep to make a difference though. Yes I am building the inbuilt server.
If it helps, my code is slightly based off of this tutorial:
addpost_process.cfm = addentry_action.cfm in the tutorial.
addpost.cfm = addentry.cfm in the tutorial.
The only thing displayed in the error log is:
Error","web-14","04/17/12","21:51:44","blog","'' The specific sequence of files included or processed is: C:\ColdFusion9\wwwroot\blog\addpost_process.cfm'' "
Are you sure it's a 404? The error message looks more like a 500. So here's a thought: You say you are able to request the page directly but you get a regular CF error because there was no form submitted to your handler code. In that case, you could cfparam your form fields to simulate the form submission and then hit the page directly and see what happens. The "correct" execution of the code in addpost_process.cfm might actually be crashing the CF server (so then you'd see the error 500). Then CF auto-restarts so you're not aware that it crashed. Have you checked your cfserver.log?
Thanks, it is a 500 error.
I took your advice, added the cfparams and now when I go directly to addpost_process.cfm I recieve the error page that I set (a page that just says "You left a field blank") rather than the ColdFusion error page that said "Element is undefined in FORM". So that's a plus, however the form still wont submit if I try it, I still recieve the 500 error.
I checked the server log, no entries since the last time I turned my computer on.
Alright, so, if I were you I would cfparam the form fields to the sort of values that you would actually submit if you were submitting the form (i.e. non-blank values most likely). I advise that you do this so you can avoid the "You left a field blank" message and the rest of your script will execute, possibly triggering the expected error 500. Also, you should look in cfserver.log where you will find quite a bit more detailed information than in server.log.
Have you turned ColdFusion debugging on for your local IP address? That will sometimes provide lots and lots of useful information to help with troubleshooting issues.
That way you can verifiy exactly what fields/values are being passed. It will also show what pages were parsed to generate your error page.
I never use the built in web server because I like a bit more control over things. I usually setup a virtual directory in IIS and a ColdFusion mapping so I can add a little more direction to where my pages are going. It's not essential, but it is sometimes nice to use all of the tools availalble to your advantage.