Giter VIP home page Giter VIP logo

dsc-generator's People

Contributors

kevinsea avatar peschuster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dsc-generator's Issues

System Type Initialization Exception

Hello

I have compiled code and am trying to run the DCS Generator on Win 2012 R2 IIS 8.5 with default settings.
PowerShell Version 5 is running.

It runs and immediately pop up error box System.TypeInitializationException

I was able to get that it hits at IISObjectFactory.cs Line 16.

The generator run fine when select the bottom box 'Generate IIS Windows Features'

It only errors when I select 'Generate IIS Sites and Pools' with any of the sub button checked.

Thanks a Million,

Brian

Where are "OrphanedApps" & "OrphanedApps_Pool" coming from?

See image below. Looking at the web server, all I can figure is that these are "old" sites that are no longer in use. In fact, they aren't showing up in IIS or in the website directories at all so.... how are these being created or where are they coming from?

In the meantime I'm going to go through and manually pull all these lines out of the generated DSC code.

image

Correct PowerShell command not present

When I run on one of our servers I get only one feature exported:

WindowsFeature IIS_Feature  # Correct PowerShell command not present, settting IIS Base
{
   Name = "Web-Server"
   Ensure = "Present"
}

What does Correct PowerShell command not present, settting IIS Base mean? Is some Powershell version required which I don't have?

Using version: 2.1.1

Invalid MOF definition for node -- Exception calling ValidateInstanceText

After quite a bit of troubleshooting I think I've finally got it paired down to where the error is actually coming from. I've screenshot the full error output below in case you'd like to see it.

Here below is the bit of configuration that seems to be causing the error. When trying to run the configuration sequentially, this seems to be the culprit at least.

xWebSite AddressValidationTest_Site
{
Name = "AddressValidationTest"
Ensure = "Present"
State = "Started"
ApplicationPool = "AddressValidationTest"
PhysicalPath = "D:\Websites\AddressValidation" # This folder must already exist
LogPath = $logFilePath # overriding "D:\websites\logs\LogFiles"
DependsOn = "[xWebAppPool]AddressValidationTest_Pool"
BindingInfo =
@(
MSFT_xWebBindingInformation
{
Protocol = "http"
Port = "80"
IPAddress = "xxx.xxx.xxx.161"
}
MSFT_xWebBindingInformation
{
Protocol = "http"
Port = "80"
IPAddress = "xxx.xxx.xxx.161"
}
)
AuthenticationInfo =
MSFT_xWebAuthenticationInformation
{
}
}

image

Cannot read configuration file

Hi,

I built the code and copied the exe to a windows 2008 box and tried to create dsc configuration for IIS and it throws below error. i tried going through the code and find the issue but so far no success. Could you please look in to it.

Filename: redirection.config
Error: Cannot read configuration file

Thanks
SJ
dsc-generator-error

Getting it to build in Visual Studio

I'm pretty new to coding and building solutions but I can't seem to get the solution to build into anything. I just get a bunch of errors. Are there some instructions somewhere for getting this to build?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.