473,395 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

.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 --
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
Jul 21 '05 #1
2 1736
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?

Jul 21 '05 #2
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:
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?

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Victor B. Berdin | last post by:
Hi everyone, I'm trying to make PostgreSQL 7.4 to work on a minimal Linux (2.4.22/libc-2.3.1) environment comprised of selected libraries and the latest busybox. So far, the binaries: "initdb",...
1
by: Bonj | last post by:
Hi My application installs a front-end GUI, which runs code when buttons are clicked. It also installs a command-line utility, that is a console application. They are both installed to the...
0
by: Jesper | last post by:
Hi, On a 3GHz computer with XP service pack 2 (and before service pack 2) with 1 gb ram, I experience a very long time (30-45 sec.) for VS to setup a debug version environment. On my laptop ( a...
1
by: darrel | last post by:
We've purchased a component that requires us to install two DLLs. One we add as a reference to our project, but the otherone we have to add to the 'environment setup' as a system path reference....
4
by: Kai Grossjohann | last post by:
I wrote a test case that depends on a certain file existing in the environment. So, I guess I should test that the file exists in the setUp method. But what if it doesn't exist? How do I fail in...
4
by: Richard Levasseur | last post by:
(Forewarning, most of these problems and solutions come from being the only developer in a 1 server department with no budget, few resources, unresponsive IT, and non-technical managers, so thats...
2
by: uniqueknight | last post by:
hi, can anybody help me setting up development environment under 2003 server domain controller, i want to setup secure development environment with least privilleges on the client machines, for...
2
by: Ran Raj | last post by:
In Windows environment, I want to create/update both system and user environment variables. By default, I can access/modify the variables using Start > Control panel > System > Advanced >...
3
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
Last week I asked a question about connection to database from client machine (developer machine). I have changed the database security setup for "SQL Server and Windows" under (local)Windows NT...
1
by: AccessHunter | last post by:
I am new to ASP, but been asked to look into a production issue. I was looking at the code and found this, data_source = "driver={Microsoft Access Driver...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.