-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors while creating new DSC pull server #191
Comments
I realized an issue after debugging directly into the shipped psm1 files. I'm not saying this is directly link to my above reported issue but may have some deeper links. The problem lies under this block: If user has both IIS and IIS Express installed on his machine, $appHostConfig variable would hold IISExpress' applicationHost.config by default. And if this file doesn't have a location section for $WebSite i.e. PSDSCPullServer then line number 580 poops out. The real culprit is line number 573 The sample code below does succeeds for IIS and behaves as expected:
Here you can see I am brute forcing the correct dll for IIS. Let me know if I can be of further help. Sameer |
Fixed with PR #277. Please close. |
Closing this as per previous comment. If this was closed in error then please reopen or comment. |
Hello @johlju .. I tried to deploy a DSC Pullserver on a machine on which IIS and IIS Express are installed and surprisingly I ran into the above described error although the error has been marked as fixed. Shall I open new issue and refer to the old one? Or would you prefer to reopen the old issue #277 |
I don’t have the permission any longer to reopen this, so only the author or a maintainer can reopen it. |
@johlju because I already have implemented a working fix, I'll provide an PR without waiting for the reopening of this bug |
Tag me in that PR and I can help you review it when I got a chance. |
@mhendric is the current reviewer |
I'm trying to create a new DSC web pull server following the sample scripts provided at
https://github.com/PowerShell/Whitepapers/blob/master/PullServerCPIG/PullServerCPIG.md
However, I get following errors:
And, when I try to run the new pull server in browser, I get this error:
My environment:
Thanks for your help!
The text was updated successfully, but these errors were encountered: