cannot get ASP.NET running with simple testfile

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ernst

    cannot get ASP.NET running with simple testfile

    Hello,
    I cannot get ASP.NET running with a simple testfile
    called "test.aspx" . It contains the following lines:

    <html>
    <head>
    <script language="vb" runat="server">
    sub page_load()
    meinLabel.text = "Hallo ASP.net Server funktioniert"
    end sub
    </script>
    </head>
    <body>
    <h1>hier kommt's:<h1>
    <form id="Form1" runat="server" />
    <asp:label id="meinLabel" runat="server" />
    </form>
    </body>
    <html>

    my browser (IE 6.0) shows the line "hier kommt's:" but the
    interesting rest is missing. Normal asp is working.

    my Config: WIN XP prof SP1, Visual Studio 1.0, .NET
    Framework SDK and all Components of IIS are installed.

    who can help me?
    Ernst
  • Joshua Flanagan

    #2
    Re: cannot get ASP.NET running with simple testfile

    Make sure the folder containing your file is set up as a vroot in IIS
    Manager, and that Script permissions are allowed.

    "ernst" <anonymous@disc ussions.microso ft.com> wrote in message
    news:065f01c39b c0$ddf6f000$a40 1280a@phx.gbl.. .[color=blue]
    > Hello,
    > I cannot get ASP.NET running with a simple testfile
    > called "test.aspx" . It contains the following lines:
    >
    > <html>
    > <head>
    > <script language="vb" runat="server">
    > sub page_load()
    > meinLabel.text = "Hallo ASP.net Server funktioniert"
    > end sub
    > </script>
    > </head>
    > <body>
    > <h1>hier kommt's:<h1>
    > <form id="Form1" runat="server" />
    > <asp:label id="meinLabel" runat="server" />
    > </form>
    > </body>
    > <html>
    >
    > my browser (IE 6.0) shows the line "hier kommt's:" but the
    > interesting rest is missing. Normal asp is working.
    >
    > my Config: WIN XP prof SP1, Visual Studio 1.0, .NET
    > Framework SDK and all Components of IIS are installed.
    >
    > who can help me?
    > Ernst[/color]


    Comment

    • Joe Agster

      #3
      cannot get ASP.NET running with simple testfile

      Set:

      AutoEventWireup ="true"

      At the top of your .aspx page.
      [color=blue]
      >-----Original Message-----
      >Hello,
      >I cannot get ASP.NET running with a simple testfile
      >called "test.aspx" . It contains the following lines:
      >
      ><html>
      ><head>
      ><script language="vb" runat="server">
      >sub page_load()
      >meinLabel.te xt = "Hallo ASP.net Server funktioniert"
      >end sub
      ></script>
      ></head>
      ><body>
      ><h1>hier kommt's:<h1>
      ><form id="Form1" runat="server" />
      ><asp:label id="meinLabel" runat="server" />
      ></form>
      ></body>
      ><html>
      >
      >my browser (IE 6.0) shows the line "hier kommt's:" but[/color]
      the[color=blue]
      >interesting rest is missing. Normal asp is working.
      >
      >my Config: WIN XP prof SP1, Visual Studio 1.0, .NET
      >Framework SDK and all Components of IIS are installed.
      >
      >who can help me?
      >Ernst
      >.
      >[/color]

      Comment

      • ernst

        #4
        thanks to Yoshua and Joe, problem is solved...

        ....in a different way: deinstalling the .NET Framework and
        installing it again. I've heard, when you install the IIS
        after the .NET Framework, ASP.NET is not working
        because of missing ISAPI Extensions.
        ciao
        Ernst
        [color=blue]
        >-----Original Message-----
        >Hello,
        >I cannot get ASP.NET running with a simple testfile
        >called "test.aspx" . It contains the following lines:
        >
        ><html>
        ><head>
        ><script language="vb" runat="server">
        >sub page_load()
        >meinLabel.te xt = "Hallo ASP.net Server funktioniert"
        >end sub
        ></script>
        ></head>
        ><body>
        ><h1>hier kommt's:<h1>
        ><form id="Form1" runat="server" />
        ><asp:label id="meinLabel" runat="server" />
        ></form>
        ></body>
        ><html>
        >
        >my browser (IE 6.0) shows the line "hier kommt's:" but[/color]
        the[color=blue]
        >interesting rest is missing. Normal asp is working.
        >
        >my Config: WIN XP prof SP1, Visual Studio 1.0, .NET
        >Framework SDK and all Components of IIS are installed.
        >
        >who can help me?
        >Ernst
        >.
        >[/color]

        Comment

        Working...