Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

DSC - Website not working

$
0
0

Hi,

I'm moving my first steps on dsc, I have a basic script to deploy a web site, but the resource website is completely ignored.

I have defined thenresource website between ASP and TailspinSourceFiles resource in this way

WebsiteDefaultSite


    {

       

Ensure="Present"


       

Name="Default Web Site"


       

PhysicalPath="C:\inetpub\wwwroot"


       

State="Stopped"


       

Requires="[WindowsFeature]IIS"


    }

Basically it should simply stops default web site. When I startndsc configuration that resource is completely skipped

here is the output I got, from this output you can verify that nothing is executed between ASP  and TsilspinSourceFiles, Ingot no error, no warning, but every website resource is simply ignored, any clue??

VERBOSE: [WEBTEST2]: LCM:  [ End    Test     ]  [[WindowsFeature]ASP]  in 0.1560 seconds.

VERBOSE: [WEBTEST2]: LCM:  [ Skip   Set      ]  [[WindowsFeature]ASP]

VERBOSE: [WEBTEST2]: LCM:  [ End    Resource ]  [[WindowsFeature]ASP]

VERBOSE: [WEBTEST2]: LCM:  [ Start  Resource ]  [[File]TailspinSourceFiles]

VERBOSE: [WEBTEST2]: LCM:  [ Start  Test     ]  [[File]TailspinSourceFiles]

VERBOSE: [WEBTEST2]:                            [[File]TailspinSourceFiles] Building file list from cache.


Ricci Gian Maria. (http://www.codewrecks.com)


Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>