.NET Environment setup?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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 --
Hello and Welcome!

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
 
I've uninstalled .NET and the .SDK again and reinstalled 'em too.

NOW...woohoo..when 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\JIM\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_machinename 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?
 
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
 
Back
Top