.NET Environment setup?

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

    #1

    .NET Environment setup?

    Hello all...
    newbie here to .NET, but have dev asp pages for years. I'm trying to setup
    my workstation to now show .aspx pages - with no luck.
    I have the 1.1 NET framework installed, IIS5 and a simple EditPlus text
    editor that I use nicely with asp pages that are served up fine. But a simple
    ..aspx page like below shows me that the code is NOT being served...

    Here's the code for this simple test page....
    <%@Page Language="VB" Debug="True" %>

    <html>
    <head>
    <title>Hello and Welcome Page</title>
    </head>
    <body>
    <center>
    <% Dim TextSize As Integer %>
    <% For TextSize = 1 To 7 %>
    <font size = <%=TextSize%> >
    Hello and Welcome!
    </font>
    <% Next %>
    </center>
    </body>
    </html>

    And this is all that it shows --
    [color=blue]
    > Hello and Welcome![/color]

    IE there are NOT 7 phrases that 'grow' in size on the screen. what am I
    doing wrong in setting up my .NET environment, or what don't I know?

    Jim
  • JVRudnick

    #2
    MUCH closer....but now have a .NET error?

    I've uninstalled .NET and the .SDK again and reinstalled 'em too.

    NOW...woohoo..w hen I run that simple text, I get the .NET error report -
    which means it's at least running .NET, right?

    ANd here's the error....
    Server Error in '/' Application.
    Compilation Error
    Description: An error occurred during the compilation of a resource required
    to service this request. Please review the following specific error details
    and modify your source code appropriately.
    Compiler Error Message: BC30138: Unable to create temp file in path
    'C:\DOCUME~1\JI M\ASPNET\LOCALS ~1\Temp\': Access is denied.
    Source Error:
    [No relevant source lines]

    So after googling that error, I found that I must add both the ASPNET and
    IUSR_machinenam e to the Securty tabs and enable those users to read/write
    perms wise. I just did that...and I continue to get that same error...

    Can anyone offer why that might be?

    Comment

    • DineshUST

      #3
      RE: MUCH closer....but now have a .NET error?

      Hi,
      What google told you is exactly true. But i would recommend you add the
      aspnet_user to the administrators group in ur machine. Also, if you want to
      create a file in the project directory, give "Write" access to your virtual
      directory, by using the IIS Directory security tab.

      Thanks,
      Dinesh


      "JVRudnick" wrote:
      [color=blue]
      > I've uninstalled .NET and the .SDK again and reinstalled 'em too.
      >
      > NOW...woohoo..w hen I run that simple text, I get the .NET error report -
      > which means it's at least running .NET, right?
      >
      > ANd here's the error....
      > Server Error in '/' Application.
      > Compilation Error
      > Description: An error occurred during the compilation of a resource required
      > to service this request. Please review the following specific error details
      > and modify your source code appropriately.
      > Compiler Error Message: BC30138: Unable to create temp file in path
      > 'C:\DOCUME~1\JI M\ASPNET\LOCALS ~1\Temp\': Access is denied.
      > Source Error:
      > [No relevant source lines]
      >
      > So after googling that error, I found that I must add both the ASPNET and
      > IUSR_machinenam e to the Securty tabs and enable those users to read/write
      > perms wise. I just did that...and I continue to get that same error...
      >
      > Can anyone offer why that might be?
      >[/color]

      Comment

      Working...