Results 1 to 2 of 2

Thread: Simple .aspx page(urgent pls help)

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    14

    Unhappy Simple .aspx page(urgent pls help)

    Hi all,

    I have installed Visual Studio.net on my system(WIn2000).
    with SP2 for .net.

    My IIS is configured and am able to run my asp scripts without any problem.

    But none of my asp.net scripts get executed.

    eg:

    <script langauge="vb" runat="server">
    Sub Page_load()
    time.text=Hour(Now) & ":" & Minute(Now) & ":" & Second(Now)
    End Sub
    </script><html>
    <head><title>Punctual Web Server</title></head>
    <body>
    <h1>Welcome</h1>
    In WebserveLand the time is currently:
    <asp:label id="time" runat="server" />
    <asp:textbox id="text" runat="server" />
    </body>
    </html>

    The above scripts just returns the foll output:
    In WebserveLand the time is currently:

    Is there anything else which i have to install.
    pls help...



    Thanks in advance,
    edna.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    you probably got hit with the very common isntall bug.

    open up a dos command prompt
    goto

    winnt/microsoft.net/framework/v1.0.3xxxx/

    then run

    aspnet_regiis -i

    it should work after that
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width