execution of iisapppool task on remote machine fails with "access denied" #6

Closed
spanevin opened this Issue Dec 16, 2011 · 6 comments

Comments

Projects
None yet
2 participants
@spanevin

I don't know is it bug of nant-0.91 or nantcontrib-0.91, but it works fine with nant-0.85 + nantcontrib-0.85, and task is a part of nantcontrib project.

        Failed stopping application pool "PoolName" on "machinename".
            Access denied

In event log of remote machine there is:


Event Type: Error
Event Source: WinMgmt
Event Category: None
Event ID: 5605
Date: 16.12.2011
Time: 11:47:10
User: N/A
Computer: computername
Description:
Access to the root\MicrosoftIISv2 namespace was denied. The namespace is marked with RequiresEncryption but the client connection was attempted with an authentication level below Pkt_Privacy. Re try the connection using Pkt_Privacy authentication level.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

I think it refers to the old one unresolved issue http://sourceforge.net/tracker/index.php?func=detail&aid=1729572&group_id=31650&atid=402868

@spanevin

This comment has been minimized.

Show comment
Hide comment
@spanevin

spanevin Dec 16, 2011

I'm so sorry about "working" nant-0.85. I haven't know that we use a patched version of nant.contrib.dll
It's not work with original 0.85 too.

I'm so sorry about "working" nant-0.85. I haven't know that we use a patched version of nant.contrib.dll
It's not work with original 0.85 too.

@spanevin

This comment has been minimized.

Show comment
Hide comment
@spanevin

spanevin Dec 16, 2011

I've patched src/tasks/web/ApplicationPool.cs as described in the link above (snippet.txt) and it works for me now. Please apply the same patch to the main project tree.

I've patched src/tasks/web/ApplicationPool.cs as described in the link above (snippet.txt) and it works for me now. Please apply the same patch to the main project tree.

@dguder

This comment has been minimized.

Show comment
Hide comment
@dguder

dguder Dec 16, 2011

Member

I'll check this

Member

dguder commented Dec 16, 2011

I'll check this

@dguder

This comment has been minimized.

Show comment
Hide comment
@dguder

dguder Dec 23, 2011

Member

Is this always needed? What happens on local machines when this is set?
Might it be usefull to enable/provide user credentials too?

Member

dguder commented Dec 23, 2011

Is this always needed? What happens on local machines when this is set?
Might it be usefull to enable/provide user credentials too?

@dguder dguder referenced this issue Dec 23, 2011

Merged

Iisapppoolfix #7

@spanevin

This comment has been minimized.

Show comment
Hide comment
@spanevin

spanevin Dec 29, 2011

Pull Request #7: Iisapppoolfix closed
Does it mean the issue is fixed and can be closed too? I'm new in github issue workflow.

Is there any planned date of a new release with this fix included?

Pull Request #7: Iisapppoolfix closed
Does it mean the issue is fixed and can be closed too? I'm new in github issue workflow.

Is there any planned date of a new release with this fix included?

@dguder

This comment has been minimized.

Show comment
Hide comment
@dguder

dguder Jan 11, 2012

Member

Yes, this issue could be closed too.
No there is currently no planned release date.

Member

dguder commented Jan 11, 2012

Yes, this issue could be closed too.
No there is currently no planned release date.

@dguder dguder closed this Jan 11, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment