T
torus
Is the aspnet account called "aspnet" for all non-English versions of
Windows and IIS?
Windows and IIS?
Yes, for Windows XP in all languages.
For Windows 2003 Server, the aspnet account is "network service".
- Show quoted text -
Thanks for the response, Juan.
I am actually more confused than when I started, since the "Network
Service" account does not appear in the list of users configured on my
Win2003 Server (ie under Computer Management -> Local Users and Groups
-> Users). However, "Network Service" does appear in IIS's Application
Pool Identity dialog.
hence the need to look up the SID using the account name
Yes, for Windows XP in all languages.
For Windows 2003 Server, the aspnet account is "network service".
- Show quoted text -
The user name of the account is IIS_WPG.
re:
!> the "Network Service" account does not appear in the
!> list of users configured on my Win2003 Server
That's because it's a local account.
re:
You can do it manually, so you must be able to do it programmatically.
Manually, if you right-click the directory where your web service resides; select "Properties";
select the "Security" tab; click the "Add" button; click the "Advanced" button; and, finally,
click the "Find now" button, you'll see the "Network Service" account listed.
Double-click it, and it will be added to the list of accounts which can access
the directory. You must OK your way out of the dialogs, of course.
You can also write in the name after you click the "Add" button
and the Network Service account will be located and added.
Have you tried adding the Network Service account, even if it's not listed ?
Don't forget to give the Network Service account read/write permissions for the temp directory, too.
Webservices require permission to that directory.
See:http://support.microsoft.com/default.aspx/kb/823196
You'll find more information at:http://support.microsoft.com/kb/315736/EN-US/
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
Thanks for the response, Juan.
I am actually more confused than when I started, since the "Network
Service" account does not appear in the list of users configured on my
Win2003 Server (ie under Computer Management -> Local Users and Groups
-> Users). However, "Network Service" does appear in IIS's Application
Pool Identity dialog.
The reason for my post is that I have a web service. I need to deny
access to the "Users" group to enforce that web service users belong
to a group specific to my application. However I have found that if I
do not add the "aspnet" user, the web service will not operate. I need
to perform all configuration from an install script, and it must work
on English and international versions of Windows XP and Windows 2003.
Ideally the "aspnet" user would have a well-known SID, but it does not
appear to have one, hence the need to look up the SID using the
account name.
re:
!> the "Network Service" account does not appear in the
!> list of users configured on my Win2003 Server
That's because it's a local account.
re:
You can do it manually, so you must be able to do it programmatically.
Manually, if you right-click the directory where your web service resides; select "Properties";
select the "Security" tab; click the "Add" button; click the "Advanced" button; and, finally,
click the "Find now" button, you'll see the "Network Service" account listed.
Double-click it, and it will be added to the list of accounts which can access
the directory. You must OK your way out of the dialogs, of course.
You can also write in the name after you click the "Add" button
and the Network Service account will be located and added.
Have you tried adding the Network Service account, even if it's not listed ?
Don't forget to give the Network Service account read/write permissions for the temp directory,
too.
Webservices require permission to that directory.
See: http://support.microsoft.com/default.aspx/kb/823196
You'll find more information at: http://support.microsoft.com/kb/315736/EN-US/
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
message
Thanks for the response, Juan.
I am actually more confused than when I started, since the "Network
Service" account does not appear in the list of users configured on my
Win2003 Server (ie under Computer Management -> Local Users and Groups
-> Users). However, "Network Service" does appear in IIS's Application
Pool Identity dialog.
The reason for my post is that I have a web service. I need to deny
access to the "Users" group to enforce that web service users belong
to a group specific to my application. However I have found that if I
do not add the "aspnet" user, the web service will not operate. I need
to perform all configuration from an install script, and it must work
on English and international versions of Windows XP and Windows 2003.
Ideally the "aspnet" user would have a well-known SID, but it does not
appear to have one, hence the need to look up the SID using the
account name.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.