Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

ASP doesn't Execute.

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  please help  
Author Message
rgutery1

External


Since: May 22, 2004
Posts: 25



(Msg. 1) Posted: Tue Aug 03, 2004 4:36 pm
Post subject: ASP doesn't Execute.
Archived from groups: microsoft>public>inetserver>iis (more info?)

Could someone explain why this simple piece of scrip will not execute?

<%
' Collect remote IP adddress
str_IPAddress = Request.ServerVariables("REMOTE_ADDR")
' Create an array by splitting at each "."
ary_Octets = Split(str_IPAddress,".")
' Create a string with elements from the array
str_Octets = ary_Octets(0) & "." & ary_Octets(1) & "." & ary_Octets(2)& "."
& ary_Octets(3)
response.write str_Octets
%>

This used to work just fine, then all of a sudden NOT!. It's not a security
issue, nor has anything (ie. software) been installed on the server (other
than service packs).

Server: IIS 5.0 (all the fixes and updates). No FP (btw, this won't work now
on an FP server either),
Permissions: IUSR_computername has read/execute,
Other: Code will not execute even with Admin Perms. No error message, nada.
I've set up a new basic IIS 5.0 server, dropped this into the default page
and same thing...

Help or ideas are appreciated.

R

 >> Stay informed about: ASP doesn't Execute. 
Back to top
Login to vote
rgutery1

External


Since: May 22, 2004
Posts: 25



(Msg. 2) Posted: Tue Aug 03, 2004 6:16 pm
Post subject: Re: ASP doesn't Execute. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Okay - all fixed!!!

I quickly rewrote the script and all is well. There must have been some
goofy nebulous character in the script somewhere.

In any case, rewriting the script seemed to have fixed it.

Go figure.

Thanks to all for the ideas and assistance.

RG

"Richard Gutery" <rgutery RemoveThis @mentorits.com> wrote in message
news:%23d0ykEZeEHA.3212@TK2MSFTNGP10.phx.gbl...
 > Could someone explain why this simple piece of scrip will not execute?
 >
 > <%
 > ' Collect remote IP adddress
 > str_IPAddress = Request.ServerVariables("REMOTE_ADDR")
 > ' Create an array by splitting at each "."
 > ary_Octets = Split(str_IPAddress,".")
 > ' Create a string with elements from the array
 > str_Octets = ary_Octets(0) & "." & ary_Octets(1) & "." & ary_Octets(2)&
"."
 > & ary_Octets(3)
 > response.write str_Octets
 > %>
 >
 > This used to work just fine, then all of a sudden NOT!. It's not a
security
 > issue, nor has anything (ie. software) been installed on the server (other
 > than service packs).
 >
 > Server: IIS 5.0 (all the fixes and updates). No FP (btw, this won't work
now
 > on an FP server either),
 > Permissions: IUSR_computername has read/execute,
 > Other: Code will not execute even with Admin Perms. No error message,
nada.
 > I've set up a new basic IIS 5.0 server, dropped this into the default page
 > and same thing...
 >
 > Help or ideas are appreciated.
 >
 > R
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ASP doesn't Execute. 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 3) Posted: Tue Aug 03, 2004 6:47 pm
Post subject: Re: ASP doesn't Execute. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Richard Gutery" <rgutery DeleteThis @mentorits.com> wrote in message
news:%23d0ykEZeEHA.3212@TK2MSFTNGP10.phx.gbl...
 > Could someone explain why this simple piece of scrip will not execute?
 >
 > <%
 > ' Collect remote IP adddress
 > str_IPAddress = Request.ServerVariables("REMOTE_ADDR")
 > ' Create an array by splitting at each "."
 > ary_Octets = Split(str_IPAddress,".")
 > ' Create a string with elements from the array
 > str_Octets = ary_Octets(0) & "." & ary_Octets(1) & "." & ary_Octets(2)&
"."
 > & ary_Octets(3)
 > response.write str_Octets
 > %>
 >
 > This used to work just fine, then all of a sudden NOT!. It's not a
security
 > issue, nor has anything (ie. software) been installed on the server (other
 > than service packs).
 >
 > Server: IIS 5.0 (all the fixes and updates). No FP (btw, this won't work
now
 > on an FP server either),
 > Permissions: IUSR_computername has read/execute,
 > Other: Code will not execute even with Admin Perms. No error message,
nada.
 > I've set up a new basic IIS 5.0 server, dropped this into the default page
 > and same thing...
 >
 > Help or ideas are appreciated.

what happens with a response.write "Hello" ?

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a>
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.iisfaq.com/" target="_blank">http://www.iisfaq.com/</a>
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://www.tryiis.com" target="_blank">http://www.tryiis.com</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP doesn't Execute. 
Back to top
Login to vote
rgutery1

External


Since: May 22, 2004
Posts: 25



(Msg. 4) Posted: Tue Aug 03, 2004 6:47 pm
Post subject: Re: ASP doesn't Execute. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Same thing, no error - nada???

RG

"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:ceopde$4j95@kcweb01.netnews.att.com...
 > "Richard Gutery" <rgutery.DeleteThis@mentorits.com> wrote in message
 > news:%23d0ykEZeEHA.3212@TK2MSFTNGP10.phx.gbl...
  > > Could someone explain why this simple piece of scrip will not execute?
  > >
  > > <%
  > > ' Collect remote IP adddress
  > > str_IPAddress = Request.ServerVariables("REMOTE_ADDR")
  > > ' Create an array by splitting at each "."
  > > ary_Octets = Split(str_IPAddress,".")
  > > ' Create a string with elements from the array
  > > str_Octets = ary_Octets(0) & "." & ary_Octets(1) & "." & ary_Octets(2)&
 > "."
  > > & ary_Octets(3)
  > > response.write str_Octets
  > > %>
  > >
  > > This used to work just fine, then all of a sudden NOT!. It's not a
 > security
  > > issue, nor has anything (ie. software) been installed on the server
(other
  > > than service packs).
  > >
  > > Server: IIS 5.0 (all the fixes and updates). No FP (btw, this won't work
 > now
  > > on an FP server either),
  > > Permissions: IUSR_computername has read/execute,
  > > Other: Code will not execute even with Admin Perms. No error message,
 > nada.
  > > I've set up a new basic IIS 5.0 server, dropped this into the default
page
  > > and same thing...
  > >
  > > Help or ideas are appreciated.
 >
 > what happens with a response.write "Hello" ?
 >
 > --
 > Tom Kaminski IIS MVP
<font color=purple> > <a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/</font" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/</font" target="_blank">http://mvp.support.microsoft.com/</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.iisfaq.com/</font" target="_blank">http://www.iisfaq.com/</font</a>>
 > <a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running
IIS
<font color=purple> > <a style='text-decoration: underline;' href="http://www.tryiis.com</font" target="_blank">http://www.tryiis.com</font</a>>
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP doesn't Execute. 
Back to top
Login to vote
user1772

External


Since: Jun 10, 2004
Posts: 1807



(Msg. 5) Posted: Tue Aug 03, 2004 10:57 pm
Post subject: Re: ASP doesn't Execute. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 3 Aug 2004 13:36:16 -0600, "Richard Gutery"
<rgutery.TakeThisOut@mentorits.com> wrote:

 >Could someone explain why this simple piece of scrip will not execute?
 >
 ><%
 > ' Collect remote IP adddress
 > str_IPAddress = Request.ServerVariables("REMOTE_ADDR")
 > ' Create an array by splitting at each "."
 > ary_Octets = Split(str_IPAddress,".")
 > ' Create a string with elements from the array
 > str_Octets = ary_Octets(0) & "." & ary_Octets(1) & "." & ary_Octets(2)& "."
 >& ary_Octets(3)
 > response.write str_Octets
 >%>
 >
 >This used to work just fine, then all of a sudden NOT!. It's not a security
 >issue, nor has anything (ie. software) been installed on the server (other
 >than service packs).
 >
 >Server: IIS 5.0 (all the fixes and updates). No FP (btw, this won't work now
 >on an FP server either),
 >Permissions: IUSR_computername has read/execute,
 >Other: Code will not execute even with Admin Perms. No error message, nada.
 >I've set up a new basic IIS 5.0 server, dropped this into the default page
 >and same thing...

What *does* happen when you try to access this? Have you checked the
event log? What has been installed or changed on the system? Have
you tried a "Hello World!" ASP file?

Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP doesn't Execute. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
FQDN and IP address doesn not pass through login - We have an internal site on IIS 5.0 that will let users seamlessly login if they DON'T type the FQDN. If they just type the server name or an alias which points to the server name they login without prompt(for example, server name is "joe" and...

asp pages won't execute IIS 5.1, XP Pro - I'm attempting to run a web site locally through IIS 5.1 on XP. hmtl pages display fine but asp pages will not execute. This is the error that is displayed in the Event Viewer: The server failed to load application '/LM/W3SVC/1/ROOT'. The error was...

Cannot execute cgi file - Get this error when a page tries to execute a cgi: HTTP Error 403.1 - Forbidden: Execute access is denied. Internet Information Services (IIS) The cgi folder is set to 'Scripts and Executables'. The IUSER account has read/execute permissions on the..

ASP doesn't execute on host W2K Server - I have a problem whereby the asp and html interface for an access database is not executing properly on the host server. The program is designed to provide an interface to fill in data into an access database through ASP and html. Works perfect on all..

403.1 Execute Access Error - Hi All, Win 2K Server SP3 IIS Ver. 5.0 I created a website called "VM", but when I try to browse to it from another PC, I get an error: 403.1 Execute Access Forbidden Saying that "You have attempted to execute a program from a direct...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]