# xWebAdministration problem

**URL:** <https://forums.powershell.org/t/xwebadministration-problem/8530>\
**Category:** DSC\
**Created:** [April 28, 2017, 6:24am UTC](https://forums.powershell.org/t/xwebadministration-problem/8530 "2017-04-28T06:24:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![noldus](https://avatars.discourse-cdn.com/v4/letter/n/7993a0/32.png) [@noldus](https://forums.powershell.org/u/noldus)\
**Post date:** [April 28, 2017, 6:24am UTC](https://forums.powershell.org/t/xwebadministration-problem/8530/1 "2017-04-28T06:24:53Z")

</div>

Hi  
I got this issue when trying to pull a website configuration from my pull server.

```
Job {A5BE771F-2C05-11E7-80C5-00155DA7BE14} : 
MIResult: 1
Error Message: Cannot find module xWebAdministration_1.17.0.0 from the server http://qfrspvsma002:8080/PSDSCPullServer.svc/Modules(ModuleName='xWebAdministration',ModuleVersion='1.17.0.0')/ModuleContent.
Message ID: WebDownloadManagerModuleNotFound,Microsoft.PowerShell.DesiredStateConfiguration.Commands.GetDscModuleCommand
Error Category: 21
Error Code: 1
Error Type: MI
```

here is my website configuration:

```
Configuration service
{
param ($Machine)
Import-DscResource -Module xWebAdministration

 

Node $Machine
{
#Install the IIS Role
 # Install the IIS role
        WindowsFeature IIS
        {
            Ensure = 'Present'
            Name = 'Web-Server'
        }

        # Install the ASP .NET 4.5 role
        WindowsFeature AspNet45
        {
            Ensure = 'Present'
            Name = 'Web-Asp-Net45'
        }

        # Stop the default website
        xWebsite DefaultSite 
        {
            Ensure = 'Present'
            Name = 'Default Web Site'
            State = 'Stopped'
            PhysicalPath = 'C:\inetpub\wwwroot'
            DependsOn = '[WindowsFeature]IIS'
        }

        # Copy the website content
        File WebContent
        {
            Ensure = 'Present'
            SourcePath = 'C:\inetpub\wwwroot'
            DestinationPath = 'C:\inetpub\wwwroot'
            Recurse = $true
            Type = 'Directory'
            DependsOn = '[WindowsFeature]AspNet45'
        }       

        # Create the new Website
        xWebsite NewWebsite
        {
            Ensure = 'Present'
            Name = 'site1'
            State = 'Started'
            PhysicalPath = 'C:\inetpub\wwwroot'
            DependsOn = '[File]WebContent'
        }
}
}

service –Machine “server2"
```

And my LCM Config

```
[DSCLocalConfigurationManager()]
configuration PullClient
{
    Node localhost
    {
        Settings
        {
            RefreshMode = 'Pull'
            RefreshFrequencyMins = 30 
            RebootNodeIfNeeded = $true
            ConfigurationMode = 'ApplyAndMonitor'
            ConfigurationModeFrequencyMins = 15
        }
        ConfigurationRepositoryWeb DSC-Pull
        {
            ServerURL = 'http://site:8080/PSDSCPullServer.svc'
            RegistrationKey = 'mykey'
            ConfigurationNames = @('service')
            AllowUnsecureConnection = $true #Use this parameter only if you do not have a certificate installed on the pull server
        }

        ReportServerWeb DSC-Pull
        {
            ServerURL = 'http://site:8080/PSDSCPullServer.svc'
            RegistrationKey = 'mykey'
            AllowUnsecureConnection = $true
        }      
    }
}
PullClient
Set-DSCLocalConfigurationManager localhost –Path .\PullClient –Verbose -Force
```

Thank’s

---

<div class="post-metadata">

**Author:** ![typozh](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@typozh](https://forums.powershell.org/u/typozh)\
**Post date:** [April 28, 2017, 8:03am UTC](https://forums.powershell.org/t/xwebadministration-problem/8530/2 "2017-04-28T08:03:00Z")

</div>

Hi Arnold,

Did you copy the xWebAdministration\_1.17.0.0.zip file with the checksum file to the C:\Program Files\WindowsPowerShell\DscService\Modules Folder? LCM is trying to download the module from this location if the module is not installed on the target machine.  
See here for details: [https://msdn.microsoft.com/en-us/powershell/dsc/pullserver#dsc-resource-module-package-format](https://msdn.microsoft.com/en-us/powershell/dsc/pullserver#dsc-resource-module-package-format)  
Regards,  
Brian

---

<div class="post-metadata">

**Author:** ![noldus](https://avatars.discourse-cdn.com/v4/letter/n/7993a0/32.png) [@noldus](https://forums.powershell.org/u/noldus)\
**Post date:** [May 2, 2017, 3:32am UTC](https://forums.powershell.org/t/xwebadministration-problem/8530/3 "2017-05-02T03:32:04Z")

</div>

Hi Brian,

Thank you for your help.

I copy the xWebAdministration\_1.17.0.0.zip file with the checksum file to the C:\Program Files\WindowsPowerShell\DscService\Modules Folder but still have the same errors.

Have you any idea?

Thank’s  
Regards

---

<div class="post-metadata">

**Author:** ![noldus](https://avatars.discourse-cdn.com/v4/letter/n/7993a0/32.png) [@noldus](https://forums.powershell.org/u/noldus)\
**Post date:** [May 2, 2017, 7:14am UTC](https://forums.powershell.org/t/xwebadministration-problem/8530/4 "2017-05-02T07:14:31Z")

</div>

Hello!

I fix the issue. I missed one letter in the module name ^o

Regards

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 9:16pm UTC](https://forums.powershell.org/t/xwebadministration-problem/8530/5 "2024-05-16T21:16:42Z")

</div>


