IIS Server - Insanity is not far off!!!

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > January 2005 > Insanity is not far off!!!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Insanity is not far off!!!
Robert Byrne

2005-01-22, 5:49 pm

Hello everyone...I hope there is someone here that can preserve what little
sanity I have left.

I'm using MS Publisher 2003 to create a website with a submission form that
should mail the results to an e-mail address. That was the easy part. I
learned, after much googling, that the site must be uploaded via HTTP to
have the forms work correctly.

I'm also running IIS 5.0 with FrontPage Server Extensions intalled and
configured on Windows XP which would serve the site. I created a new virtual
directory (wwwroot) pointing to c:\inetpub\wwwroot to allow HTTP upload.
Ideally I'd like to set up this site on another hard-drive but for testing
purposes I set it up in the wwwroot. I've read somewhere that forms will
have difficulty when set up in nested sites. I've set up a second website
maped to a different drive, however, it has no forms. This process works
fine. I'm able to upload files to both webs via Publish to the Web feature
in MS Publisher. And browse the web from local machine name, network ip, and
from www address from another pc on my network. I'm able to browser the
second website on the virtual directory easily as well from all addresses.

Where my problem comes into play is when I click on the submit button on my
forms, I receive an error
HTTP 405 - Resource not allowed
Internet Information Services
This occurs whether I use http://localmachinename , http://localipaddress,
http://wwwaddress in the address bar. From everything I've read it's a
permission problem but I've tried so many things I'm getting confused as to
what permissions need to be where. Here is a snippit of the webpage coding
generated by MS Publisher:


<form action=--WEBBOT-SELF-- method=post>
<!--webbot bot="SaveResults" s-email-address="bob@bob.com"
s-email-format="TEXT/PRE" b-email-label-fields="TRUE"
s-email-Subject="Appointment Request" s-builtin-fields="Date Time"
b-email-subject-from-field="FALSE"-->

(Why does this portion of the code not appear when I view source from a web
browser?)

Any help would save me from a horrible hospitalization in the local looney
bin.

Robert


Ken Schaefer

2005-01-22, 8:47 pm

I'm not sure this an IIS issue - I think you'd have better luck in a
Frontpage Server Extensions (FPSE) group, because it's FPSE that makes all
the "magic" happen behind the scenes (takes the input, creates an email,
sends it off)

That said, if you try http://localmachinename/webpagename.asp then does
everything start working?

Cheers
Ken

"Robert Byrne" <Robert@nospam.com> wrote in message
news:OvgpFnMAFHA.3256@TK2MSFTNGP11.phx.gbl...
> Hello everyone...I hope there is someone here that can preserve what
> little sanity I have left.
>
> I'm using MS Publisher 2003 to create a website with a submission form
> that should mail the results to an e-mail address. That was the easy
> part. I learned, after much googling, that the site must be uploaded via
> HTTP to have the forms work correctly.
>
> I'm also running IIS 5.0 with FrontPage Server Extensions intalled and
> configured on Windows XP which would serve the site. I created a new
> virtual directory (wwwroot) pointing to c:\inetpub\wwwroot to allow HTTP
> upload. Ideally I'd like to set up this site on another hard-drive but for
> testing purposes I set it up in the wwwroot. I've read somewhere that
> forms will have difficulty when set up in nested sites. I've set up a
> second website maped to a different drive, however, it has no forms. This
> process works fine. I'm able to upload files to both webs via Publish to
> the Web feature in MS Publisher. And browse the web from local machine
> name, network ip, and from www address from another pc on my network. I'm
> able to browser the second website on the virtual directory easily as well
> from all addresses.
>
> Where my problem comes into play is when I click on the submit button on
> my forms, I receive an error
> HTTP 405 - Resource not allowed
> Internet Information Services
> This occurs whether I use http://localmachinename , http://localipaddress,
> http://wwwaddress in the address bar. From everything I've read it's a
> permission problem but I've tried so many things I'm getting confused as
> to what permissions need to be where. Here is a snippit of the webpage
> coding generated by MS Publisher:
>
>
> <form action=--WEBBOT-SELF-- method=post>
> <!--webbot bot="SaveResults" s-email-address="bob@bob.com"
> s-email-format="TEXT/PRE" b-email-label-fields="TRUE"
> s-email-Subject="Appointment Request" s-builtin-fields="Date Time"
> b-email-subject-from-field="FALSE"-->
>
> (Why does this portion of the code not appear when I view source from a
> web browser?)
>
> Any help would save me from a horrible hospitalization in the local looney
> bin.
>
> Robert
>



Tom Pepper Willett

2005-01-22, 8:47 pm

MS Publisher is *not* a web design program. It is a desktop publishing
program.

FrontPage is a web design/web management program.

You need to start over and do it right. Do *not* use publisher to create
your webs.


--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/of...etid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/fro...fo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/un...ding/frontpage/
===
"Robert Byrne" <Robert@nospam.com> wrote in message
news:OvgpFnMAFHA.3256@TK2MSFTNGP11.phx.gbl...
| Hello everyone...I hope there is someone here that can preserve what
little
| sanity I have left.
|
| I'm using MS Publisher 2003 to create a website with a submission form
that
| should mail the results to an e-mail address. That was the easy part. I
| learned, after much googling, that the site must be uploaded via HTTP to
| have the forms work correctly.
|
| I'm also running IIS 5.0 with FrontPage Server Extensions intalled and
| configured on Windows XP which would serve the site. I created a new
virtual
| directory (wwwroot) pointing to c:\inetpub\wwwroot to allow HTTP upload.
| Ideally I'd like to set up this site on another hard-drive but for testing
| purposes I set it up in the wwwroot. I've read somewhere that forms will
| have difficulty when set up in nested sites. I've set up a second website
| maped to a different drive, however, it has no forms. This process works
| fine. I'm able to upload files to both webs via Publish to the Web
feature
| in MS Publisher. And browse the web from local machine name, network ip,
and
| from www address from another pc on my network. I'm able to browser the
| second website on the virtual directory easily as well from all addresses.
|
| Where my problem comes into play is when I click on the submit button on
my
| forms, I receive an error
| HTTP 405 - Resource not allowed
| Internet Information Services
| This occurs whether I use http://localmachinename , http://localipaddress,
| http://wwwaddress in the address bar. From everything I've read it's a
| permission problem but I've tried so many things I'm getting confused as
to
| what permissions need to be where. Here is a snippit of the webpage coding
| generated by MS Publisher:
|
|
| <form action=--WEBBOT-SELF-- method=post>
| <!--webbot bot="SaveResults" s-email-address="bob@bob.com"
| s-email-format="TEXT/PRE" b-email-label-fields="TRUE"
| s-email-Subject="Appointment Request" s-builtin-fields="Date Time"
| b-email-subject-from-field="FALSE"-->
|
| (Why does this portion of the code not appear when I view source from a
web
| browser?)
|
| Any help would save me from a horrible hospitalization in the local looney
| bin.
|
| Robert
|
|


Jeff Cochran

2005-01-23, 2:48 am

On Sat, 22 Jan 2005 15:31:35 -0600, "Robert Byrne" <Robert@nospam.com>
wrote:

>Hello everyone...I hope there is someone here that can preserve what little
>sanity I have left.
>
>I'm using MS Publisher 2003 to create a website...


Publisher? Not FrontPage?

Jeff

>with a submission form that
>should mail the results to an e-mail address. That was the easy part. I
>learned, after much googling, that the site must be uploaded via HTTP to
>have the forms work correctly.
>
>I'm also running IIS 5.0 with FrontPage Server Extensions intalled and
>configured on Windows XP which would serve the site. I created a new virtual
>directory (wwwroot) pointing to c:\inetpub\wwwroot to allow HTTP upload.
>Ideally I'd like to set up this site on another hard-drive but for testing
>purposes I set it up in the wwwroot. I've read somewhere that forms will
>have difficulty when set up in nested sites. I've set up a second website
>maped to a different drive, however, it has no forms. This process works
>fine. I'm able to upload files to both webs via Publish to the Web feature
>in MS Publisher. And browse the web from local machine name, network ip, and
>from www address from another pc on my network. I'm able to browser the
>second website on the virtual directory easily as well from all addresses.
>
>Where my problem comes into play is when I click on the submit button on my
>forms, I receive an error
>HTTP 405 - Resource not allowed
>Internet Information Services
>This occurs whether I use http://localmachinename , http://localipaddress,
>http://wwwaddress in the address bar. From everything I've read it's a
>permission problem but I've tried so many things I'm getting confused as to
>what permissions need to be where. Here is a snippit of the webpage coding
>generated by MS Publisher:
>
>
><form action=--WEBBOT-SELF-- method=post>
><!--webbot bot="SaveResults" s-email-address="bob@bob.com"
> s-email-format="TEXT/PRE" b-email-label-fields="TRUE"
> s-email-Subject="Appointment Request" s-builtin-fields="Date Time"
> b-email-subject-from-field="FALSE"-->
>
>(Why does this portion of the code not appear when I view source from a web
>browser?)
>
>Any help would save me from a horrible hospitalization in the local looney
>bin.
>
>Robert
>


Robert Byrne

2005-01-23, 5:50 pm

Not FrontPage, I do not have it, however, I do own publisher and have
created a variety of websites, most without forms.

I guesss what I really need to know is how to configure IIS to allow FPSE to
process webbot components. The fact that the site is created with Publisher
is really irrelevant. I've published it using HTTP and not FTP, however
either the FPSE or IIS is not allowing the correct processing of the form.

Robert
"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
news:41f419bf.1341088252@msnews.microsoft.com...
> On Sat, 22 Jan 2005 15:31:35 -0600, "Robert Byrne" <Robert@nospam.com>
> wrote:
>
>
> Publisher? Not FrontPage?
>
> Jeff
>
>



Ken Schaefer

2005-01-23, 5:50 pm

Hi,

You do get a 405 Resource Not Allowed from IIS if you attempt to post a form
to a "directory" rather than a file, so:

<form method="post" action="/"></form>

will give you a 405 error, whereas:

<form method="post" action="/default.aspx"></form>

will be OK. Off the top of my head, that's the only IIS configuration issue
I can see. So, you'd change the URL in your address bar of your browser to
be http://localhost/pagename.aspx rather than http://localhost

Otherwise, I think you need to ask in a Frontpage Server Extensions (FPSE)
group.

Cheers
Ken

"Robert Byrne" <Robert@nospam.com> wrote in message
news:ODfoNgXAFHA.600@TK2MSFTNGP09.phx.gbl...
> Not FrontPage, I do not have it, however, I do own publisher and have
> created a variety of websites, most without forms.
>
> I guesss what I really need to know is how to configure IIS to allow FPSE
> to process webbot components. The fact that the site is created with
> Publisher is really irrelevant. I've published it using HTTP and not FTP,
> however either the FPSE or IIS is not allowing the correct processing of
> the form.
>
> Robert
> "Jeff Cochran" <jeff.nospam@zina.com> wrote in message
> news:41f419bf.1341088252@msnews.microsoft.com...
>
>



Jeff Cochran

2005-01-24, 2:47 am

On Sun, 23 Jan 2005 12:19:16 -0600, "Robert Byrne" <Robert@nospam.com>
wrote:

>Not FrontPage, I do not have it, however, I do own publisher and have
>created a variety of websites, most without forms.
>
>I guesss what I really need to know is how to configure IIS to allow FPSE to
>process webbot components. The fact that the site is created with Publisher
>is really irrelevant. I've published it using HTTP and not FTP, however
>either the FPSE or IIS is not allowing the correct processing of the form.


There's nothing much more than installing FPSE and extending the
extensions to the web site in question. Check a FPSE group for
details there.

Jeff


>Robert
>"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
>news:41f419bf.1341088252@msnews.microsoft.com...
>


Terry

2005-01-25, 5:52 pm

I think this may be a missing IIS Application Mapping. Can you post the
<FORM> tag you see when you view source on the form page? I'd like to see the
method and action attributes of that tag (e.g. <FORM METHOD=POST
ACTION=mypage.htm> ).

My bet is that you are making a POST request to an .htm/html page, which is
not allowed by default with IIS. You would have to change the file extension
to a dynamic page type like .asp OR add an Application Mapping to the asp.dll
in the application directory using the IIS Manager under Administrative Tools.


"Robert Byrne" wrote:

> Not FrontPage, I do not have it, however, I do own publisher and have
> created a variety of websites, most without forms.
>
> I guesss what I really need to know is how to configure IIS to allow FPSE to
> process webbot components. The fact that the site is created with Publisher
> is really irrelevant. I've published it using HTTP and not FTP, however
> either the FPSE or IIS is not allowing the correct processing of the form.
>
> Robert
> "Jeff Cochran" <jeff.nospam@zina.com> wrote in message
> news:41f419bf.1341088252@msnews.microsoft.com...
>
>
>

Ken Schaefer

2005-01-27, 7:54 am

Um, you can post to a HTML page

<form method="post" action="mypage.htm">

works just fine with IIS. Maybe I'm missing something about what you're
saying?

Cheers
Ken

"Terry" <Terry@discussions.microsoft.com> wrote in message
news:9B6459FE-BCAD-4B68-BC76-B04E4C1E66BD@microsoft.com...[vbcol=seagreen]
>I think this may be a missing IIS Application Mapping. Can you post the
> <FORM> tag you see when you view source on the form page? I'd like to see
> the
> method and action attributes of that tag (e.g. <FORM METHOD=POST
> ACTION=mypage.htm> ).
>
> My bet is that you are making a POST request to an .htm/html page, which
> is
> not allowed by default with IIS. You would have to change the file
> extension
> to a dynamic page type like .asp OR add an Application Mapping to the
> asp.dll
> in the application directory using the IIS Manager under Administrative
> Tools.
>
>
> "Robert Byrne" wrote:
>


Robert Byrne

2005-01-27, 5:52 pm

Terry

The following is the form tag. I changed the form coding a bit. Seems it
was missing something. Now when I click the submit button I get the
following error
FrontPage Error.
User: please report details to this site's webmaster.


Webmaster: please see the server's application event log for more details.

Here is the current form tag coding:

<form action="_vti_bin/shtml.dll/page0004.htm" method="post"
webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" s-email-address="bob@bob.com"
s-email-format="TEXT/PRE" b-email-label-fields="TRUE"
s-email-Subject="Refill Request" s-builtin-fields="Date Time"
b-email-subject-from-field="FALSE" startspan --><input TYPE="hidden"
NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan
i-checksum="43374" -->

I have application mapping for this site (since it's on a different port for
testing) for .htm, and .html to asp.dll for GET, POST. I feel like I'm
getting somewhere with this new error, at least it's a frontpage error and
not an IIS error. But I believe it has to do with permissions or security.
What should the settings be on the home directory and on the page?

In addition, this may be an SMTP error since I'm sending to an e-mail
address. How can I narrow it down? Maybe write to a file first. Question
now is how (briefly) do I do that, what privileges need to be on the
directory where the results file will be?

Thanks for all your help,

Robert


"Terry" <Terry@discussions.microsoft.com> wrote in message
news:9B6459FE-BCAD-4B68-BC76-B04E4C1E66BD@microsoft.com...[vbcol=seagreen]
>I think this may be a missing IIS Application Mapping. Can you post the
> <FORM> tag you see when you view source on the form page? I'd like to see
> the
> method and action attributes of that tag (e.g. <FORM METHOD=POST
> ACTION=mypage.htm> ).
>
> My bet is that you are making a POST request to an .htm/html page, which
> is
> not allowed by default with IIS. You would have to change the file
> extension
> to a dynamic page type like .asp OR add an Application Mapping to the
> asp.dll
> in the application directory using the IIS Manager under Administrative
> Tools.
>
>
> "Robert Byrne" wrote:
>


Ken Schaefer

2005-01-28, 2:47 am

Please look in the Windows Event Log (Application Log). Please post the
Event ID, Source and Description of any events you feel are relevant
(errors/warnings etc)

Cheers
Ken

"Robert Byrne" <Robert@nospam.com> wrote in message
news:%23KnbIvHBFHA.2156@TK2MSFTNGP10.phx.gbl...
> Terry
>
> The following is the form tag. I changed the form coding a bit. Seems it
> was missing something. Now when I click the submit button I get the
> following error
> FrontPage Error.
> User: please report details to this site's webmaster.
>
>
> Webmaster: please see the server's application event log for more details.
>
> Here is the current form tag coding:
>
> <form action="_vti_bin/shtml.dll/page0004.htm" method="post"
> webbot-action="--WEBBOT-SELF--">
> <!--webbot bot="SaveResults" s-email-address="bob@bob.com"
> s-email-format="TEXT/PRE" b-email-label-fields="TRUE"
> s-email-Subject="Refill Request" s-builtin-fields="Date Time"
> b-email-subject-from-field="FALSE" startspan --><input TYPE="hidden"
> NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan
> i-checksum="43374" -->
>
> I have application mapping for this site (since it's on a different port
> for testing) for .htm, and .html to asp.dll for GET, POST. I feel like
> I'm getting somewhere with this new error, at least it's a frontpage error
> and not an IIS error. But I believe it has to do with permissions or
> security. What should the settings be on the home directory and on the
> page?
>
> In addition, this may be an SMTP error since I'm sending to an e-mail
> address. How can I narrow it down? Maybe write to a file first.
> Question now is how (briefly) do I do that, what privileges need to be on
> the directory where the results file will be?
>
> Thanks for all your help,
>
> Robert
>
>
> "Terry" <Terry@discussions.microsoft.com> wrote in message
> news:9B6459FE-BCAD-4B68-BC76-B04E4C1E66BD@microsoft.com...
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com