ASP.Net Code Not Firing

ASP.Net Code Not Firing

am 23.04.2008 16:30:01 von MDW

I just enabled IIS on my computer but apparently my configuration isn't quite
right. I have the following code below in a "test.aspx" file, but when I
bring it up in my browser, I get a blank page.

I've already granted the "ASPNET" user Admin rights on this computer and
used that as the default account for anonymous access. I'm probably missing
something basic but I can't for the life of me figure out.

Here's the code that doesn't seem to be firing:

<% @Page Language="VB" Debug="True" %>





ASP.Net Test Site





<%


Response.Write("

Test

")


%>








--
Hmm...they have the Internet on COMPUTERS now!

Re: ASP.Net Code Not Firing

am 23.04.2008 16:38:56 von nomailreplies

re:
!> I just enabled IIS on my computer but apparently my configuration isn't quite right.

Which OS are you running ?

re:
>
> <%
> Response.Write("

Test

")
> %>
>

That is ASP code, not ASP.NET code.

Try something like this :



Label Test





That will tell you if ASP.NET code is being processed.
If it is being processed, a label with the text "Label Test" will be displayed.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"MDW" wrote in message news:5E9D094C-EB3E-49B2-AD2B-F88A0C00D54A@microsoft.com...
>I just enabled IIS on my computer but apparently my configuration isn't quite
> right. I have the following code below in a "test.aspx" file, but when I
> bring it up in my browser, I get a blank page.
>
> I've already granted the "ASPNET" user Admin rights on this computer and
> used that as the default account for anonymous access. I'm probably missing
> something basic but I can't for the life of me figure out.
>
> Here's the code that doesn't seem to be firing:
>
> <% @Page Language="VB" Debug="True" %>
>
>
>
>
>
> ASP.Net Test Site
>
>
>
>
>
> <%
>
>
> Response.Write("

Test

")
>
>
> %>
>
>
>
>
>
>
>
>
> --
> Hmm...they have the Internet on COMPUTERS now!

Re: ASP.Net Code Not Firing

am 23.04.2008 16:56:41 von Madhur

Its not just IIS, you also need ASP setup on this machine.

--
Madhur

"Juan T. Llibre" wrote in message
news:OSZhE$UpIHA.1736@TK2MSFTNGP04.phx.gbl...
> re:
> !> I just enabled IIS on my computer but apparently my configuration isn't
> quite right.
>
> Which OS are you running ?
>
> re:
>>
>> <%
>> Response.Write("

Test

")
>> %>
>>
>
> That is ASP code, not ASP.NET code.
>
> Try something like this :
>
>

>

> Label Test

>

>

>
>
> That will tell you if ASP.NET code is being processed.
> If it is being processed, a label with the text "Label Test" will be
> displayed.
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> ======================================
> "MDW" wrote in message
> news:5E9D094C-EB3E-49B2-AD2B-F88A0C00D54A@microsoft.com...
>>I just enabled IIS on my computer but apparently my configuration isn't
>>quite
>> right. I have the following code below in a "test.aspx" file, but when I
>> bring it up in my browser, I get a blank page.
>>
>> I've already granted the "ASPNET" user Admin rights on this computer and
>> used that as the default account for anonymous access. I'm probably
>> missing
>> something basic but I can't for the life of me figure out.
>>
>> Here's the code that doesn't seem to be firing:
>>
>> <% @Page Language="VB" Debug="True" %>
>>
>>
>>
>>
>>
>> ASP.Net Test Site
>>
>>
>>
>>
>>
>> <%
>>
>>
>> Response.Write("

Test

")
>>
>>
>> %>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Hmm...they have the Internet on COMPUTERS now!
>
>

Re: ASP.Net Code Not Firing

am 23.04.2008 17:27:00 von MDW

Yes, that's what the problem was, more or less.

Found the speicifc solution at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;3250 93

--
Hmm...they have the Internet on COMPUTERS now!


"Madhur" wrote:

> Its not just IIS, you also need ASP setup on this machine.
>
> --
> Madhur
>
> "Juan T. Llibre" wrote in message
> news:OSZhE$UpIHA.1736@TK2MSFTNGP04.phx.gbl...
> > re:
> > !> I just enabled IIS on my computer but apparently my configuration isn't
> > quite right.
> >
> > Which OS are you running ?
> >
> > re:
> >>
> >> <%
> >> Response.Write("

Test

")
> >> %>
> >>
> >
> > That is ASP code, not ASP.NET code.
> >
> > Try something like this :
> >
> >

> >

> > Label Test

> >

> >

> >
> >
> > That will tell you if ASP.NET code is being processed.
> > If it is being processed, a label with the text "Label Test" will be
> > displayed.
> >
> >
> >
> >
> > Juan T. Llibre, asp.net MVP
> > asp.net faq : http://asp.net.do/faq/
> > foros de asp.net, en español : http://asp.net.do/foros/
> > ======================================
> > "MDW" wrote in message
> > news:5E9D094C-EB3E-49B2-AD2B-F88A0C00D54A@microsoft.com...
> >>I just enabled IIS on my computer but apparently my configuration isn't
> >>quite
> >> right. I have the following code below in a "test.aspx" file, but when I
> >> bring it up in my browser, I get a blank page.
> >>
> >> I've already granted the "ASPNET" user Admin rights on this computer and
> >> used that as the default account for anonymous access. I'm probably
> >> missing
> >> something basic but I can't for the life of me figure out.
> >>
> >> Here's the code that doesn't seem to be firing:
> >>
> >> <% @Page Language="VB" Debug="True" %>
> >>
> >>
> >>
> >>
> >>
> >> ASP.Net Test Site
> >>
> >>
> >>
> >>
> >>
> >> <%
> >>
> >>
> >> Response.Write("

Test

")
> >>
> >>
> >> %>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Hmm...they have the Internet on COMPUTERS now!
> >
> >
>
>

Re: ASP.Net Code Not Firing

am 23.04.2008 20:10:51 von nomailreplies

re:
!> Its not just IIS, you also need ASP setup on this machine.

I'm well aware of that, but the OS type is needed
in order to be able to recommend courses of action.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Madhur" wrote in message news:0FBA2CE4-A5B9-4EC2-9DCA-EAABC6CE125A@microsoft.com...
> Its not just IIS, you also need ASP setup on this machine.
>
> --
> Madhur
>
> "Juan T. Llibre" wrote in message news:OSZhE$UpIHA.1736@TK2MSFTNGP04.phx.gbl...
>> re:
>> !> I just enabled IIS on my computer but apparently my configuration isn't quite right.
>>
>> Which OS are you running ?
>>
>> re:
>>>
>>> <%
>>> Response.Write("

Test

")
>>> %>
>>>
>>
>> That is ASP code, not ASP.NET code.
>>
>> Try something like this :
>>
>>

>>

>> Label Test

>>

>>

>>
>>
>> That will tell you if ASP.NET code is being processed.
>> If it is being processed, a label with the text "Label Test" will be displayed.
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en español : http://asp.net.do/foros/
>> ======================================
>> "MDW" wrote in message news:5E9D094C-EB3E-49B2-AD2B-F88A0C00D54A@microsoft.com...
>>>I just enabled IIS on my computer but apparently my configuration isn't quite
>>> right. I have the following code below in a "test.aspx" file, but when I
>>> bring it up in my browser, I get a blank page.
>>>
>>> I've already granted the "ASPNET" user Admin rights on this computer and
>>> used that as the default account for anonymous access. I'm probably missing
>>> something basic but I can't for the life of me figure out.
>>>
>>> Here's the code that doesn't seem to be firing:
>>>
>>> <% @Page Language="VB" Debug="True" %>
>>>
>>>
>>>
>>>
>>>
>>> ASP.Net Test Site
>>>
>>>
>>>
>>>
>>>
>>> <%
>>>
>>>
>>> Response.Write("

Test

")
>>>
>>>
>>> %>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Hmm...they have the Internet on COMPUTERS now!
>>
>>
>