473,386 Members | 1,819 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,386 software developers and data experts.

Worker Process Write Permissions

Hi

I am trying to get an online gallery (www.ngallery.org - open source) to
upload image to a folder. At the moment I am using localhost but plan to
move to some web space when I get it all working.

I need to update my 'images' folder permissions so the ASP.NET worker
process has write permissions.

However, when I go to the folder permissions, there is not worker process
entry. I have IIS on my machine and I am running Windows XP Pro.

How can I get the worker process to show up in the security tab?
Would it help if I tried working with some web space rather than on a
desktop?

Regards, Carl Gilbert
Nov 19 '05 #1
2 4563
It's not the worker process which needs write permissions.

It's the account the worker process is running as which needs
write permissions.

Run this short file I wrote :

identity.aspx
-----------------
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = tmp
End Sub
</script>
<html>
<head>
<title>WindowsIdentity.GetCurrent.Name()</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
-------------

That will return the account the aspnet worker process is running under.
Then, give whatever write permissions you need to give to that account.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Carl Gilbert" <no****@nospam.com> wrote in message
news:ui**************@TK2MSFTNGP10.phx.gbl...
Hi

I am trying to get an online gallery (www.ngallery.org - open source) to upload image to
a folder. At the moment I am using localhost but plan to move to some web space when I
get it all working.

I need to update my 'images' folder permissions so the ASP.NET worker process has write
permissions.

However, when I go to the folder permissions, there is not worker process entry. I have
IIS on my machine and I am running Windows XP Pro.

How can I get the worker process to show up in the security tab?
Would it help if I tried working with some web space rather than on a desktop?

Regards, Carl Gilbert

Nov 19 '05 #2
Cheers Juan

That page proved to be rather helpful.
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
It's not the worker process which needs write permissions.

It's the account the worker process is running as which needs
write permissions.

Run this short file I wrote :

identity.aspx
-----------------
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = tmp
End Sub
</script>
<html>
<head>
<title>WindowsIdentity.GetCurrent.Name()</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
-------------

That will return the account the aspnet worker process is running under.
Then, give whatever write permissions you need to give to that account.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Carl Gilbert" <no****@nospam.com> wrote in message
news:ui**************@TK2MSFTNGP10.phx.gbl...
Hi

I am trying to get an online gallery (www.ngallery.org - open source) to
upload image to a folder. At the moment I am using localhost but plan to
move to some web space when I get it all working.

I need to update my 'images' folder permissions so the ASP.NET worker
process has write permissions.

However, when I go to the folder permissions, there is not worker process
entry. I have IIS on my machine and I am running Windows XP Pro.

How can I get the worker process to show up in the security tab?
Would it help if I tried working with some web space rather than on a
desktop?

Regards, Carl Gilbert


Nov 19 '05 #3

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

Similar topics

9
by: Matt Calhoon | last post by:
Hi there, I have specified a aspnet user account to run all .net sites. This account needs access to start a .BAT File (in my global.asax on session start the app needs to execute this bat...
1
by: Jesper | last post by:
Im running Windows Server 2003 trying to get my ASP.NET applications to access the file system. My Web application needs to have write access to some folders in the virtual directory from which...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
7
by: sammy | last post by:
ok... so i restarted my server and i get a "Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh"...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
5
by: J-T | last post by:
I guess I'm a litte bit confused about app pool and worker process. In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process...
6
by: Joe Jax | last post by:
I have an object that spawns a worker thread to process one of its methods. That method processes methods on a collection of other objects. During this processing, a user may request to cancel the...
2
by: Matt MacDonald | last post by:
Hi all, If this isn't the write forum for this question, I appologize, but it's kind of a mix of ASP.NET and IIS. Anyway, my question is this. If an ASP.NET site is writing to a file, does the...
1
by: wojski696969 | last post by:
Hi.. i've got the serious problem.. In my ASP.NET 2.0 application I'm using COM dll file referenced by interop dll. I'm using few properties from in one of the objects made from this library...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.