![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | SetupCA.vbs - added ValidityPeriod - getting did not match data t I am trying to modify the setupca.vbs script for settung up a CA in windows 2008 core. The script does not include the option for validityperiod, so I am trying to add it to the script. When I call the function g_oCASetup.SetCASetupProperty, it returns the error: "Error Info: -2147019001: CCertSrvSetup::SetCASetupProperty: The actual data type of the property did not match the expected data type of the property. 0x80071707 (WIN32: 5895)" I was passing it as a string - we we tried changing it to a number - same error. I put the number directly in the function call - same error. I'm stuck - any ideas? The specific call is: Call g_oCASetup.SetCASetupProperty(SETUPPROP_VALIDITYPERIOD, ValidityPeriod) SETUPPROP_VALIDITYPERIOD is set to 5 at the start of the script. ValidityPeriod is set to a number (10) through the command line. I've tried this value as both a string and integer (by putting it through cint()). I'd post the whole thing here, but the limit for messages is 30k. . . This was added to the script at: http://blogs.technet.com/pki/archive...nd-2008r2.aspx |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| -match V1 vs V2 | PowerShell | |||
| Trying to -match across lines of a .txt | PowerShell | |||
| Filenames Do Not Match | Vista file management | |||
| appdata-local-Application Data-Application Data-Application Data infinitum ad nauseum. WHY | Vista General | |||
| Product key does not match... | Vista installation & setup | |||