Intranet Form Error

Thraxen

Diamond Member
Dec 3, 2001
4,683
1
81
I'm experimenting with a signature pad from Topaz Systems. I'm trying to figure out how to get it to create an image file of a person's signature via a web form. I've got the software installed and Topaz Systems sent me an example that should work. But when I run the form on the web server I get this error upon submission:

"HTTP Error 405 - The HTTP verb used to access this page is not allowed.
Internet Information Services (IIS)"

The signature pad itself works just fine. You can write whatever you want using the pad and it appears on-screen. The code is attached.

What am I missing here? What do I need to do to get rid of this error? I can post the action page code if needed.

[edit] WTF? The code is a mess after using the "Attach Code" function. Is there a better way to post the code?
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
Unfortunately the attach code function has been broken forever, and isn't likely to be fixed. One member suggested using Nopaste but I haven't tried it yet myself.
 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
You are trying to post the form to a static file (createimage_js.htm) rather than a server side script such as asp/aspx etc. Html files in IIS have only the GET verb defined, and not the POST.
 

Thraxen

Diamond Member
Dec 3, 2001
4,683
1
81
Originally posted by: Snapster
You are trying to post the form to a static file (createimage_js.htm) rather than a server side script such as asp/aspx etc. Html files in IIS have only the GET verb defined, and not the POST.

This was some example code sent to me from a tech guy over at Topaz Systems. Do you know what needs to be changed to get this to work?
 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
If I was honest I would say get better code as you should not be posting data to a static file as it cannot process it.

None the less if that is what is required you'll need to add a hander for the *.htm extention to accept GET,POST verbs in the application configuration section of IIS, or within your web.config (if running within a .net configured site).
 

Thraxen

Diamond Member
Dec 3, 2001
4,683
1
81
Well, now I'm lost. I don't know why they would give me this code if it won't work. The 2nd page just contains some javascript in the head. The appears to be the actual code that is supposed to write the image file. Should I post that too?

Anyway, I'm not very experienced this stuff. I'm decent with manipulating data in a db using Coldfusion, but anything else is a chore.
 

WannaFly

Platinum Member
Jan 14, 2003
2,811
1
0
Are you running this on a production server? It could be URLScan blocking the request. Check c:\windows\system32\inetsrv\urlscan for the log files