From: jmlm on
Hi,

I want to run an IIS 6 service as domain user or domain admin !

How can I do it ?

Regards
From: Chris M on
On 26/03/2010 16:27, jmlm wrote:
> Hi,
>
> I want to run an IIS 6 service as domain user or domain admin !

Running as a Domain Admin would be a bad idea, but you can do it if you
want to...

If you want to run the actual IIS services as a particular user, just
change the logon identity in the services console, same as you would for
any other service. IIS uses the IIS Admin, World Wide Web Publishing and
HTTP SSL services, amongst others. I can't think of a reason why you
would want to change those though.

If you want to change the user account that a particular web site runs
as, simply change the identity in the Application Pool that the site
uses. If you don't want this to adversely affect other sites, create a
new application pool for the site.

--
Chris M.
From: jmlm on
I just want to access network files with IIS.

Changing user in the service admin does not work (Access denied - But I
don't know where !!!).
I'm trying to add an app-pool running as user domain or domain admin but
with no success for the moment.
If there is another way to access a network file from IIS...

Regards
---
JMLM
From: Chris M on
On 29/03/2010 06:54, jmlm wrote:
> I just want to access network files with IIS.
>
> Changing user in the service admin does not work (Access denied - But I
> don't know where !!!).
> I'm trying to add an app-pool running as user domain or domain admin but
> with no success for the moment.
> If there is another way to access a network file from IIS...

We'd need more infomation about what you're trying to achieve and how
you're doing it.

If you just want the files in a remote location to be available within
the site, just create a Virtual Directory, point it at the UNC path
where the files are located, and specify a user account with correct
privileges to access the files over the network.

--
Chris M.
From: jmlm on
Hi,

The VD doesn't because I wan't to acces the network file with a CGI
script in perl (plx file).
For example :
stat(\\server\share) returns true (it exists).
stat(\\server\share\file) always return false even the file exists and I
've got a 401 error in the IIS log.
I couldn't change the user running IIS server (error 5 Access denied) -->
I don't know where and nothing special in the logs and Eventvwr...
I''m going to try to add an app pool to test.
If you have another idea...

Regards.