For Programmers: Free Programming Magazines  


Home > Archive > ASP > October 2006 > VERY new to ASP, http 401.5 error









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 VERY new to ASP, http 401.5 error
DaveS

2006-10-30, 6:59 pm

I've been trying to start out learning some ASP and I've been trying to
create the classic 'Hello world' program. I'm running the ASP pages on some
webspace I have, rather than on my computer. Everytime I try and run the asp
page it brings up a HTTP 401.5 error.

"HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI
application.
Internet Information Services (IIS)"

I'm certain the webspace hosting the asp page allows asp pages (especially
since the company is called 'asp-host'!). I'd appreciate any help in
understanding why this is happening and how I might fix it.
Bob Barrows [MVP]

2006-10-30, 6:59 pm

DaveS wrote:
> I've been trying to start out learning some ASP and I've been trying
> to create the classic 'Hello world' program. I'm running the ASP
> pages on some webspace I have, rather than on my computer. Everytime
> I try and run the asp page it brings up a HTTP 401.5 error.
>
> "HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI
> application.
> Internet Information Services (IIS)"
>
> I'm certain the webspace hosting the asp page allows asp pages
> (especially since the company is called 'asp-host'!). I'd appreciate
> any help in understanding why this is happening and how I might fix
> it.


Hard to say. Look at http://support.microsoft.com/kb/906474, which came
from this search result:
http://www.google.com/search?source...ft%
2ecom


You are probably going to need to ask your host company for support for
this. It's an IIS configuration issue, not an ASP issue per se.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Jon Paal

2006-10-30, 6:59 pm

what does your "hello world" program look like ?


"DaveS" <DaveS@discussions.microsoft.com> wrote in message news:5DDB4E78-E28A-4738-A7BC-3D5B5C4D59BA@microsoft.com...
> I've been trying to start out learning some ASP and I've been trying to
> create the classic 'Hello world' program. I'm running the ASP pages on some
> webspace I have, rather than on my computer. Everytime I try and run the asp
> page it brings up a HTTP 401.5 error.
>
> "HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI
> application.
> Internet Information Services (IIS)"
>
> I'm certain the webspace hosting the asp page allows asp pages (especially
> since the company is called 'asp-host'!). I'd appreciate any help in
> understanding why this is happening and how I might fix it.



Firas S Assaad

2006-10-30, 6:59 pm

could you please provide your source code. cause running a hello world
program shouldnt spit out those kind of errors, cause this error
normally shows up when you go in advance scripting not "hello world"
scripting if you know what i mean.



Best Regards
Firas S Assaad

On Oct 23, 6:20 pm, "Jon Paal" <Jon nospam Paal @ everywhere dot com>
wrote:[color=darkred]
> what does your "hello world" program look like ?
>
>
>
> "DaveS" <D...@discussions.microsoft.com> wrote in messagenews:5DDB4E78-E28A-4738-A7BC-3D5B5C4D59BA@microsoft.com...
>
>

DaveS

2006-10-30, 6:59 pm

"Jon Paal" wrote:

> what does your "hello world" program look like ?
>


Here's the code I used...

<% @ Language=VBScript %>
<html>
<%
Response.Write("Hello World!") %>
</html>


Evertjan.

2006-10-30, 6:59 pm

=?Utf-8?B?RGF2ZVM=?= wrote on 24 okt 2006 in
microsoft.public.inetserver.asp.general:

> "Jon Paal" wrote:
>
>
> Here's the code I used...
>
> <% @ Language=VBScript %>
> <html>
> <%
> Response.Write("Hello World!") %>
> </html>
>
>
>


Runs fine here, perhaps your world is gone?

[ASP vbs needs the world to run]

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Firas S Assaad

2006-10-30, 6:59 pm

Hi,
Try doing the following
1. Remove the first line of the code "<% @ Language=VBScript %>" then
rerun the code.
and then
1. goto Start > Run
2. type in CMD and press enter
3. after the black window apears type the following command: iisreset
/restart
after it restarts successfully run the page after removing the line i
told you to remove.
if in the CMD window it gave you errors when trying to run the command
"iisreset /restart" then copy the error and paste it here to have a
look at it.

if this didnt work
2. try reinstalling your IIS, and then run the code with and without
the line.


Hope this helps


Best Regards
Firas S Assaad


On Oct 24, 4:49 am, "Evertjan." <exjxw.hannivo...@interxnl.net> wrote:
> =?Utf-8?B?RGF2ZVM=?= wrote on 24 okt 2006 in
> microsoft.public.inetserver.asp.general:
>
>
>
>
>
> [ASP vbs needs the world to run]
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)


Evertjan.

2006-10-30, 6:59 pm

Firas S Assaad wrote on 24 okt 2006 in
microsoft.public.inetserver.asp.general:

> On Oct 24, 4:49 am, "Evertjan." <exjxw.hannivo...@interxnl.net> wrote:

[Please do not toppost on usenet]
[color=darkred]
> Hi,
> Try doing the following
> 1. Remove the first line of the code "<% @ Language=VBScript %>" then
> rerun the code.


Why?
What is wrong with that line?

> and then

[...]

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com