473,796 Members | 2,741 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't Upload files, ASPNet Account required

Hi

I'm running Windows Server 2003 as a Domain Controller (with Active
Directory) as a development server. I created an app that uploads graphics
but it doesn't have permission. ASPNET machine account requires permission.
The problem is, this server is a domain controller so there is not a local
ASPNET account. How can I rectify this ?

Paul
Nov 18 '05 #1
3 1780
When you upgraded the server to support ASPX web pages, it should have
created the secure ASPNET account. This is the account that runs the
aspnet.ws worker service that handles aspx pages. By default, this
account has no write privileges. Go to the directory where the uploads
will be placed and add permission to that folder for write privs for
the ASPNET account.
On Sat, 6 Mar 2004 14:06:55 -0500, "Paul D. Fox" <pd*****@comcas t.net>
wrote:
Hi

I'm running Windows Server 2003 as a Domain Controller (with Active
Directory) as a development server. I created an app that uploads graphics
but it doesn't have permission. ASPNET machine account requires permission.
The problem is, this server is a domain controller so there is not a local
ASPNET account. How can I rectify this ?

Paul


Nov 18 '05 #2
Th
"Dan Brussee" <db******@nc.rr .com> wrote in message
news:ld******** *************** *********@4ax.c om...
When you upgraded the server to support ASPX web pages, it should have
created the secure ASPNET account. This is the account that runs the
aspnet.ws worker service that handles aspx pages. By default, this
account has no write privileges. Go to the directory where the uploads
will be placed and add permission to that folder for write privs for
the ASPNET account.
On Sat, 6 Mar 2004 14:06:55 -0500, "Paul D. Fox" <pd*****@comcas t.net>
wrote:
Hi

I'm running Windows Server 2003 as a Domain Controller (with Active
Directory) as a development server. I created an app that uploads graphicsbut it doesn't have permission. ASPNET machine account requires permission.The problem is, this server is a domain controller so there is not a localASPNET account. How can I rectify this ?

Paul

Nov 18 '05 #3
Thanks for the response, however this was not an upgrade. This is a Windows
Server 2003 which has the framework installed. However, since its also a
Domain Controller, there are no Local Accounts such as ASPNET. Therefore
I'm trying to figure out how to rectify this so I can run "Upload" functions
as well as third party tools such as "radEditor"

Paul

"Dan Brussee" <db******@nc.rr .com> wrote in message
news:ld******** *************** *********@4ax.c om...
When you upgraded the server to support ASPX web pages, it should have
created the secure ASPNET account. This is the account that runs the
aspnet.ws worker service that handles aspx pages. By default, this
account has no write privileges. Go to the directory where the uploads
will be placed and add permission to that folder for write privs for
the ASPNET account.
On Sat, 6 Mar 2004 14:06:55 -0500, "Paul D. Fox" <pd*****@comcas t.net>
wrote:
Hi

I'm running Windows Server 2003 as a Domain Controller (with Active
Directory) as a development server. I created an app that uploads graphicsbut it doesn't have permission. ASPNET machine account requires permission.The problem is, this server is a domain controller so there is not a localASPNET account. How can I rectify this ?

Paul

Nov 18 '05 #4

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

Similar topics

2
9678
by: mt | last post by:
Is there a way to upload a file to a different server other than the one hosting the web app? I've tried using the following syntax: Request.Files.SaveAs("\\\\servername\\sharename\\directory" + strFileName); but receive the message that the location cannot be found. The Windows account it is running under has full permissions to this directory. Thanks!
3
1116
by: Bart | last post by:
Hi all, I just created a new page to upload some files to a webserver. I put it on my test server (IIS 6.0) and to my supprise I have to give "NT AUTHORIY\NETWORK SERVICE" write access to save the uploaded files. It was my understanding this kind of things ran under the "ASPNET" account of the server?? I'm mistaken of is there a mis configartion of my server? rgds,
2
6064
by: Tom Wells | last post by:
I have a little file upload page that I have been able to use to successfully upload files to the C: drive of LocalHost (my machine). I need to be able to upload to a network drive from the intranet server. On the line: dirs = Directory.GetDirectories(currentDir) I get "Access to the path "\\les-net\les\Special Projects\ATSPDF" is denied." How do I get the GetDirectories command to user my user ID and password when it tries to hit the...
2
3610
by: Ian Taite | last post by:
Hello All, ASP.NET has stopped working on my development server. I've read the various posts re this subject, but my circumstances seem unique. I need to know what causes the problem and how to remedy it. If possible I would prefer not to rebuild the server, as the SQL setup is quite involved, and I'd prefer not to add the ASPNET account to the local administrators group since that defeats the point of having the ASPNET account.
2
1300
by: Jay | last post by:
As described in http://support.microsoft.com/kb/323246 I set the permissions on folder that I am uploading to as full control for Computername\ASPNET. This worked on my development laptop but not on the production server. I was very careful to make sure the permissions were set correctly. In order to upload files I had to add Everyone and set permissions to full control. Obviously, I do not want that. Any thoughts as to why...
15
2837
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. Everything is the default settings I believe. IIS is running under Local System. In IIS the DefaultAppPool is running under Network Service. Annonymous access uses the account IUSR_JASMINE (machine name is Jasmine).
1
1296
by: Prasath | last post by:
We are able to upload files to a localhost. Pl. help on uploading files to a remote web server using VB code Thanks
5
3429
by: rogersw8n | last post by:
Some how, some way the account that creates folders under Temporary Internet files has been changed to a domain account for VS 2003 and VS 2005. I recently installed VS 2005. All seemed to be ok afterwards. I did no development for a couple of weeks, came back and I kept receiving Access Denied to Microsoft.Net\Temporary Internet Files\... Access is Denied. ASPNET had full access to that file and all subfolders. The website I am...
3
2544
by: Domac | last post by:
Hi, I want to upload *.jpg files to server using FileUpload control. Hosting is shared and administrator informed me that I have to use medium trust level to upload files. How to achieve that? I get error: : The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9535
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10201
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7558
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6802
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.