Powershell DSC - xSQLServer -- xSQLServerSetup error.

Hi All,
I've been trying to automate the installation of SQL Server using the experiment DSC Module for SQL Server.  This issue occurs in my vagrant environments and vCenter environments.
This is the entirety of the script that does the meat and potatoes of the install.
#use xSQLServerSetup of xSQLServer
#sql install error log can be found at C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\log
param (
[string]$SetupCredA = $(throw "error -SetupCredA is required. Need installer username."),
[string]$SetupCredPW = $(throw "error -SetupCredPW is required. Need installer password."),
[string]$SvcAccountCredA = $(throw "error -SvcAccountCred is required. Need to know service account."),
[string]$SvcAccountPW = $(throw "error -SvcAccountCred is required. Need to know service account pw."),
[string]$Features = $(throw "error -Features is required."),
[string]$SAArray = $(throw "error -SAArray is required. Need to know sysadmins.")
$SetupCred=New-Object System.Management.Automation.PSCredential ($SetupCredA, $(ConvertTo-SecureString $SetupCredPW -AsPlainText -Force))
$SvcAccountCred=New-Object System.Management.Automation.PSCredential ($SvcAccountCredA, $(ConvertTo-SecureString $SvcAccountPW -AsPlainText -Force))
$Extract="C:\InstallSQL"
$ServerCoreFeatures="SQLENGINE,REPLICATION,FULLTEXT,AS,CONN,IS,SNAC_SDK"
$ServerGUIFeatures="SQLENGINE,REPLICATION,FULLTEXT,DQ,AS,DQC,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,SNAC_SDK,MDS,DREPLAY_CTLR,DREPLAY_CLT"
$ServerGUIFeaturesWithReporting="$ServerGUIFeatures,RS"
$ReportServerFeatures="RS"
switch ($Features) {
"ServerCoreFeatures" { $Features = $ServerCoreFeatures }
"ServerGUIFeatures" { $Features = $ServerGUIFeatures }
"ServerGUIFeaturesWithReporting" { $Features = $ServerGUIFeaturesWithReporting }
"ReportServerFeatures" { $Features = $ReportServerFeatures }
$configData = @{
AllNodes = @(
NodeName = "$($env:computername)"
PSDscAllowPlainTextPassword = $true
Configuration SetupSQL
Import-DSCResource -ModuleName xSQLServer
Node "$($env:computername)"
xSQLServerSetup Install-SQL
SourcePath = $Extract
SourceFolder = "SQL2014"
SetupCredential = $SetupCred
SQLSvcAccount = $SvcAccountCred
AgtSvcAccount = $SvcAccountCred
SQLSysAdminAccounts = $SAArray
UpdateEnabled = "False"
UpdateSource = "$Extract\SQL2014\Updates"
ErrorReporting = "True"
SQLUserDBDir = "M:\Data"
SQLUserDBLogDir = "L:\Log"
SQLTempDBDir = "T:\TempDB"
SQLTempDBLogDir = "T:\TempLog"
SQLBackupDir = "M:\Backup"
InstanceName= "MSSQLSERVER"
Features = $Features
SetupSQL -ConfigurationData $configData
Start-DscConfiguration .\SetupSQL -force -wait -verbose
The environment is prestaged with
$Modules="C:\Program Files\WindowsPowerShell\Modules"
$Extract="C:\InstallSQL"
$ResourceKit="$Extract\DSCRK9.zip"
$WinSXSFiles="$Extract\sxsfiles.zip"
$SQLInstall="$Extract\SQL2014.zip"
mkdir $Extract -force
write-host "$(get-date) Downloading install resources"
start-bitstransfer "http://downloads.yosemite.local/files/application/microsoft/sqlinstall/dscrk9.zip" $ResourceKit
start-bitstransfer "http://downloads.yosemite.local/files/application/microsoft/sqlinstall/sxsfiles.zip" $WinSXSFiles
start-bitstransfer "http://downloads.yosemite.local/files/application/microsoft/sqlinstall/sql2014.zip" $SQLInstall
write-host "$(get-date) Download completed"
Configuration PreStageSQL
Archive Extract-Resource-Kits
Ensure = "Present"
Path = $ResourceKit
Destination = $Extract
Archive Extract-WinSXS-Files
Ensure = "Present"
Path = $WinSXSFiles
Destination = $Extract
DependsOn = "[Archive]Extract-Resource-Kits"
Archive Extract-SQL-Files
Ensure = "Present"
Path = $SQLInstall
Destination = $Extract
DependsOn = "[Archive]Extract-WinSXS-Files"
File Move-Resource-Files
SourcePath = "$Extract\All Resources"
DestinationPath = $Modules
Ensure = "Present"
Type = "Directory"
Recurse = $True
MatchSource = $True
DependsOn = "[Archive]Extract-SQL-Files"
WindowsFeature Install-NET35
Name = "NET-Framework-Core"
Source = "$Extract\sxs"
Ensure = "Present"
DependsOn = "[File]Move-Resource-Files"
PreStageSQL
Start-DscConfiguration .\PreStageSQL -force -wait -verbose
write-host "$(get-date) completed"
The setup errors out at the end with the following messages in the console/event log.  The SQL Install itself appears to be complete.  I've tried this with UpdateEnabled = "true" as well and it errors at the same location.
So the install appears to complete successfully but powershell reports an error
'C:\InstallSQL\SQL2014\setup.exe' started in process ID 192
VERBOSE: [WINDOWS2012R2]: [[xSQLServerSetup]Install-SQL] Importing function 'NetUse'.
VERBOSE: [WINDOWS2012R2]: [[xSQLServerSetup]Install-SQL] Importing function 'ResolvePath'.
VERBOSE: [WINDOWS2012R2]: [[xSQLServerSetup]Install-SQL] Importing function
'StartWin32Process'.
VERBOSE: [WINDOWS2012R2]: [[xSQLServerSetup]Install-SQL] Importing function
'WaitForWin32ProcessEnd'.
VERBOSE: [WINDOWS2012R2]: [[xSQLServerSetup]Install-SQL] Path:
C:\InstallSQL\SQL2014\setup.exe
VERBOSE: [WINDOWS2012R2]: LCM: [ End Set ] [[xSQLServerSetup]Install-SQL] in 500.8120 seconds.
PowerShell DSC resource MSFT_xSQLServerSetup failed to execute Set-TargetResource functionality with error message:
Set-TargetResouce failed
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
+ PSComputerName : WINDOWS2012R2
The SendConfigurationApply function did not succeed.
+ CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MI RESULT 1
+ PSComputerName : WINDOWS2012R2
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 501.455 seconds
With the following errors in event viewer.  
Job {5E0C5C09-B7B2-11E4-80B6-000C29F93310} :
Message Set-TargetResouce failed
HResult -2146233087
StackTrack at System.Management.Automation.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Job {5E0C5C09-B7B2-11E4-80B6-000C29F93310} :
This event indicates that failure happens when LCM is processing the configuration. ErrorId is 0x1. ErrorDetail is The SendConfigurationApply function did not succeed.. ResourceId is [xSQLServerSetup]Install-SQL and SourceInfo is C:\InstallSQL\InstallSQL.ps1::41::9::xSQLServerSetup. ErrorMessage is PowerShell DSC resource MSFT_xSQLServerSetup failed to execute Set-TargetResource functionality with error message: Set-TargetResouce failed .
Job {5E0C5C09-B7B2-11E4-80B6-000C29F93310} :
DSC Engine Error :
Error Message The SendConfigurationApply function did not succeed.
Error Code : 1
However everything from the SQL install summary appears to have been created.
Overall summary:
Final result: Passed
Exit code (Decimal): 0
Start time: 2015-02-18 21:09:08
End time: 2015-02-18 21:17:01
Requested action: Install
Machine Properties:
Machine name: WINDOWS2012R2
Machine processor count: 2
OS version: Windows Server 2012
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered Configured
Package properties:
Description: Microsoft SQL Server 2014
ProductName: SQL Server 2014
Type: RTM
Version: 12
SPLevel: 0
Installation location: C:\InstallSQL\SQL2014\x64\setup\
Installation edition: Enterprise Edition: Core-based Licensing
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: false
AGTSVCACCOUNT: Administrator
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Automatic
ASBACKUPDIR: C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Config
ASDATADIR: C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Data
ASLOGDIR: C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: NT Service\MSSQLServerOLAPService
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: Administrator
ASTEMPDIR: C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME:
CLTRESULTDIR: C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir\
CLTSTARTUPTYPE: Manual
CLTSVCACCOUNT: NT Service\SQL Server Distributed Replay Client
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\WorkingDir\
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150218_210907\ConfigurationFile.ini
CTLRSTARTUPTYPE: Manual
CTLRSVCACCOUNT: NT Service\SQL Server Distributed Replay Controller
CTLRSVCPASSWORD: <empty>
CTLRUSERS:
ENABLERANU: false
ENU: true
ERRORREPORTING: true
FEATURES: SQLENGINE, REPLICATION, FULLTEXT, DQ, AS, DQC, CONN, IS, BC, SDK, BOL, SSMS, ADV_SSMS, DREPLAY_CTLR, DREPLAY_CLT, SNAC_SDK, MDS
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: NT Service\MSSQLFDLauncher
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: MSSQLSERVER
INSTANCENAME: MSSQLSERVER
ISSVCACCOUNT: NT Service\MsDtsServer120
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: true
QUIETSIMPLE: false
ROLE:
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: C:\Backup
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: Administrator
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: Administrator, Administrator
SQLTEMPDBDIR: C:\TempDB
SQLTEMPDBLOGDIR: C:\TempLog
SQLUSERDBDIR: C:\Data
SQLUSERDBLOGDIR: C:\Log
SQMREPORTING: false
TCPENABLED: 1
UIMODE: Normal
UpdateEnabled: true
UpdateSource: C:\InstallSQL\SQL2014\Updates
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150218_210907\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Complete
Status: Passed
Feature: Client Tools Connectivity
Status: Passed
Feature: Client Tools SDK
Status: Passed
Feature: Client Tools Backwards Compatibility
Status: Passed
Feature: Management Tools - Basic
Status: Passed
Feature: Database Engine Services
Status: Passed
Feature: Data Quality Services
Status: Passed
Feature: Full-Text and Semantic Extractions for Search
Status: Passed
Feature: SQL Server Replication
Status: Passed
Feature: Master Data Services
Status: Passed
Feature: Distributed Replay Client
Status: Passed
Feature: Distributed Replay Controller
Status: Passed
Feature: Integration Services
Status: Passed
Feature: Data Quality Client
Status: Passed
Feature: Analysis Services
Status: Passed
Feature: SQL Browser
Status: Passed
Feature: Documentation Components
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: SQL Client Connectivity
Status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
Feature: Setup Support Files
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150218_210907\SystemConfigurationCheck_Report.htm
The problem I run into is when I attempt to invoke this particular script from CI tools, the error triggers a false exit of the provision.  Additionally the error seems to happen before I can install updates.  
I am using SQL2014.  Does anybody have any ideas?

Hi jrv,
1. Unsure there is almost 0 documentation of this methodology on the internet.
2. Remembered, which is why I posted.  I'm hoping somebody else has run into this road block before.
3. As far as debugging the script, I have tried all variety of options in the form of flags that I can think of.  I haven't had the time to debug the actual xSQLServer resource.
4.  What do you mean?  Those are the errors. :)  These are the only things the system has presented.
I'd like to continue using the DSC methodology as it falls inline with our current automation patterns.  However it seems using a pre-built ini or a flagged install might have to be the primary method.  This is disappointing because it means that
puppet still does a better job of configuring SQL than DSC, it's also disappointing to hear the suggestion that the latest DSC resources aren't being developed for the latest products.
Nathan Julsrud

Similar Messages

  • Powershell DSC xChrome Sample failing on AzureVM

    I'm attempting to run the xChrome sample (https://gallery.technet.microsoft.com/scriptcenter/DSC-Resource-Kit-All-c449312d) on an Azure VM and it fails to run.  Everything runs and executes, but I receive the error (larger log snippet below): 
    CategoryInfo          : ObjectNotFound: (MSFT_xChrome\MSFT_xChrome:String) [Configuration]
    AzureVM is Windows Server 2012 with Powershell Version 5:
    $PSVersionTable.PSVersion
    Major  Minor  Build  Revision
    5      0      9883   0       
    The steps I use to execute are:
    Download xChrome extension (from above url) and inflate it into my modules directory
    Publish-AzureVMDscConfiguration  -ConfigurationPath C:\Users\<username>\Documents\WindowsPowerShell\Modules\xChrome\Example\Sample_xChrome.ps1 -Force
    Get-AzureVM -ServiceName '<servicename>' -Name '<vmname>' | Set-AzureVMDscExtension -ConfigurationArchive Sample_xChrome.ps1.zip -ConfigurationName Sample_InstallChromeBrowser  -ConfigurationArgument @{Language='en'; LocalPath='$env:SystemDrive\Windows\DtlDownloads\GoogleChromeStandaloneEnterprise.msi'}
    | Update-AzureVM
    The error snippet:
    [2015-04-17T23:35:06] Executing the configuration function to generate the MOF files.
    PSDesiredStateConfiguration\Configuration : The module 'MSFT_xChrome' could not be loaded. For more information, run 'Import-Module MSFT_xChrome'.
    At C:\Packages\Plugins\Microsoft.Powershell.DSC\1.7.0.0\DSCWork\Sample_xChrome.ps1.8\Sample_xChrome.ps1:3 char:1
    + Configuration Sample_InstallChromeBrowser
    + ~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (MSFT_xChrome\MSFT_xChrome:String) [Configuration], ParentContainsErrorRecordException
        + FullyQualifiedErrorId : CouldNotAutoLoadModule,Configuration
    [2015-04-17T23:35:08] Removing file lock
    C:\Packages\Plugins\Microsoft.Powershell.DSC\1.7.0.0\bin\DscExtensionHandler.ps1 : Error enabling the DSC Extension: Errors occurred while processing configuration 'Sample_InstallChromeBrowser'.
    At line:7 char:2
    +  C:\Packages\Plugins\Microsoft.Powershell.DSC\1.7.0.0\bin\DscExtensio ...
    +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DscExtensionHandler.ps1
    [2015-04-17T23:35:08] Writing handler status to C:\Packages\Plugins\Microsoft.Powershell.DSC\1.7.0.0\Status\8.status

    Use the Q&A tab for that gallery entry to ask questions about it.
    https://gallery.technet.microsoft.com/scriptcenter/DSC-Resource-Kit-All-c449312d/view/Discussions#content
    -- Bill Stewart [Bill_Stewart]

  • Installing executables with Powershell DSC

    I am trying to install Visual Studio 2013 using PowerShell DSC but I'm running into a few issues and hoping that you guys could clear it up for me. Is DSC capable for rebooting the node and then resuming an installation of VS? Does anyone know what this
    error means? "vs_ultimate.exe was installed, but the specified ProductId and/or Name does not match package details"
    Any help would be great!

    Hi,
    Just checking in to see if the suggestion was helpful. Please let us know if you would like further assistance.
    TechNet Subscriber Support
    If you are
    TechNet Subscription
    user and have any feedback on our support quality, please send your feedback
    here.
    Regards, Yan Li

  • Powershell DSC - xSQLServerInstall - Fails When Using Domain Service Accounts

    I'm using the xSQLServerInstall  from
    http://www.powershellmagazine.com/2014/02/09/desired-state-configuration-dsc-resource-kit-wave-2/ which I've modified to accept parameters for the SQL Server service account and the SQL Agent service account.  The script runs to the point where it
    validates the service accounts, then fails with an error saying it can't find the account.  I'm running it in Powershell ISE as Administrator.  When I run ISE under my own credentials the script fails sooner saying I lack permissions even though
    I'm a local admin.  Any thoughts?
    Michael Brule Senior Database Specialist Microsoft SQL Server Voya Financial

    When I open ISE using the "Run as Administrator" option I get this error in ISE:
    PowerShell DSC resource MSFT_xSqlServerInstall  failed to execute Set-TargetResource functionality with error message: SQL
    Server installation did not succeed. For more details please refer to the logs under C:\Program Files\Microsoft SQL
    Server\110\Setup Bootstrap\Log folder.
        + CategoryInfo          : InvalidOperation: (:) [], CimException
        + FullyQualifiedErrorId : ProviderOperationExecutionFailure
        + PSComputerName        : localhost
    The SendConfigurationApply function did not succeed.
        + CategoryInfo          : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
        + FullyQualifiedErrorId : MI RESULT 1
        + PSComputerName        : localhost
    ....and this error in the bootstrap log:
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2068578304
      Exit facility code:            1204
      Exit error code:               0
      Exit message:                  Account 'ORANGE\SQLSERVICE' provided for service 'SQLAgent$APPLE' does not exist. Provide an existing account name for the service.
      Start time:                    2015-02-26 09:35:09
      End time:                      2015-02-26 09:35:48
      Requested action:              Install
    Exception type: Microsoft.SqlServer.Chainer.Infrastructure.InputSettingValidationException
        Message:
            Account 'ORANGE\SQLSERVICE' provided for service 'SQLAgent$APPLE' does not exist. Provide an existing account name for the service.
        HResult : 0x84b40000
            FacilityCode : 1204 (4b4)
            ErrorCode : 0 (0000)
        Data:
          SQL.Setup.FailureCategory = InputSettingValidationFailure
          DisableWatson = true
        Stack:
            at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.LogAllValidationErrorsAndThrowFirstOne(ValidationState vs)
            at Microsoft.SqlServer.Configuration.SetupExtension.ValidateFeatureSettingsAction.ExecuteAction(String actionId)
            at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)
        Inner exception type: Microsoft.SqlServer.Configuration.Agent.InputValidationException
            Message:
                    Account 'ORANGE\SQLSERVICE' provided for service 'SQLAgent$APPLE' does not exist. Provide an existing account name for the service.
            HResult : 0x851c0001
                    FacilityCode : 1308 (51c)
                    ErrorCode : 1 (0001)
    Michael Brule Senior Database Specialist Microsoft SQL Server Voya Financial

  • Powershell DSC user resource

    Hi there,
    I'm trying to create a local user on a remote machine using Desired State Configuration. My script so far:
    Configuration testuser {
      param($pass = $("Pa$$w0rd" | ConvertTo-SecureString -AsPlainText -Force))
       node server-web {
         User testuser {
            UserName = "user1"
            FullName = "UserOne"
            PasswordChangeRequired = $false
            PasswordNeverExires = $false
            Password = $pass
    Calling the configuration is throwing an error - somehow I have no idea how to get a password credential object into the DSC configuration.
    Yours
    FG Clodt
    fgc

    PasswordNeverExpires is a property though. Looks like a misspelling occurred with expires.
    get-dscresource User | Select -Expand Properties
    <#
    Name PropertyType IsMandatory Values
    UserName [string] True {}
    DependsOn [string[]] False {}
    Description [string] False {}
    Disabled [bool] False {}
    Ensure [string] False {Absent, Present}
    FullName [string] False {}
    Password [PSCredential] False {}
    PasswordChangeNotAllowed [bool] False {}
    PasswordChangeRequired [bool] False {}
    PasswordNeverExpires [bool] False {}
    #>
    Configuration testuser {
    param($pass='Pa$$w0rd')
    $pwd= $pass | ConvertTo-SecureString -AsPlainText -Force
    node server-web{
    User testuser{
    UserName = "user1"
    FullName = "UserOne"
    PasswordChangeRequired = $false
    PasswordNeverExpires = $false
    Password = $pwd
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book

  • ALC-DSC-213-000 Error on WebService

    I created a process/Web Serbice in Workbench that goes out to the edcprincipaluserentity in the repository and pulls back the 'uidstring' from the db table. I have created a DataConnection in Designer that talks back to the LC Server and it connects to the WSDL file. When I invoke the button from the DataConnection link, it does not pull any information back into the output fields.
    While in workbench I can put in a test value and can see the results in the XML returned.
    I have Disabled sercuirty in ADMINUI for this process and it still does not work.
    Livecycle 8.1 is the version.
    Below is the error from the server.log.
    2009-01-15 13:32:34,990 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterLocal.doRequiresNe w(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.Transa ctionCallback) throws com.adobe.idp.dsc.DSCException:
    ALC-DSC-213-000: com.adobe.idp.dsc.DSCException: No Credential or Context set
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:84)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:88)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 0)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.workflow.engine.PEUtil.propogateFault(PEUtil.java:202)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker$1.doInTransaction(WorkflowDSCInvoke r.java:285)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:282)
    at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:389)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
    at $Proxy174.doRequiresNew(Unknown S

    Paul - in 8.1 there is no parameter for Run As, you only have Security Enable/Disable. Is there someplace else that this would have to be set. I went to Services > Archive Management > Endpoint Management

  • Powershell Add Network Printer Error

    Hope someone can assist me in this.
    I am trying to add a network printer using PowerShell but I keep getting the error:
    Exception calling "AddWindowsPrinterConnection" with "1" argument(s): "The
    printer name is invalid. (Exception from HRESULT: 0x80070709)"
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ComMethodTargetInvocation
    Here is my code:
    $PrinterPath =\\server.domain.com\printershareName
    $netPrint =new-Object-ComObjectWScript.Network
    $netPrint.AddWindowsPrinterConnection ($PrinterPath)
    Thanks,
    Isaac Oben MCITP:EA, MCSE,MCC <a href="https://www.mcpvirtualbusinesscard.com/VBCServer/4a046848-4b33-4a28-b254-e5b01e29693e/interactivecard"> View my MCP Certifications</a>

    Yes, the name is valid. If I run just a direct PowerShell on my workstation it adds the printer with no issue but when I run the script on a remote computer that's when I get the error.
    Isaac Oben MCITP:EA, MCSE,MCC <a href="https://www.mcpvirtualbusinesscard.com/VBCServer/4a046848-4b33-4a28-b254-e5b01e29693e/interactivecard"> View my MCP Certifications</a>

  • ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error

    Hi,
    I am new to the PDF generator.
    I am using Adobe's merge pdf functionality.
    While invoking it I am getting error. Please check attached file.
    For some pdf it is working perfectly fine but for some it gives error.
    Thanks in advance.

    There is nothing in the server log under jboss\server\all\log\server.log. Is there anywhere else this might get logged?

  • Powershell DSC - Get registry value and send $True / $False depending on present or not

    Hello,
    With the script below, I can check if a registry key is present, and if it is not, it will create that registry key. But I just want to know if that registry key is present, and get $True / $False as a result of script. - Is this possible with DSC?
    Configuration ClientConfig
    Param ($MachineName)
    Node $MachineName
    Registry FooCorpReg1
    Ensure = "Present"
    Key = "HKEY_LOCAL_MACHINE\SOFTWARE\Test1"
    ValueName = "Name"
    ValueData = "DSCDemo"
    # Save the MOF file
    ClientConfig -MachineName "localhost" -OutPutPath "c:\Temp\DSC"
    #Start configuration
    Start-DscConfiguration -Path "C:\Temp\DSC\" -Wait -Verbose
    Best regards,
    Anders Johansson

    Not what DSC does or is for.  Use erg to look for vale.
    Test-Path HKLM:\SOFTWARE\Test1\Name
    That is all - it returns true or false.
    ¯\_(ツ)_/¯

  • Can't create VM with existing VHDX via Powershell. Nothing but errors because of Permissions BS/Nightmare

    -

    Can you please provide more details?
    Also, 'everyone' permissions on a share won't cut it. (and has not for a few years).  Everyone is not like setting '777' in Linux - it really isn't 'everyone'.
    And, administration shares were never supported.
    http://technet.microsoft.com/en-us/library/jj134187.aspx
    Note the computer object permissions in Step 3.
    Also, loopback shares won't work.  (as in the Hyper-V Server being its own SMB share).
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • Install workflow manager using DSC powershell

    Hi,
    i am trying to install workflow manager using DSC powershell.
    I am using WebpiCmd.exe to install it.
    Below is the DSC powershell script
    configuration C_WFMgr
        Node $AllNodes.NodeName
            Script WF_Install
                GetScript = { @{ Name = "WF_Install" } }
                TestScript = {                
                    $false
                SetScript =
                $currentPrincipal = New-Object Security.Principal.WindowsPrincipal( [Security.Principal.WindowsIdentity]::GetCurrent() )
                if ($currentPrincipal.IsInRole( [Security.Principal.WindowsBuiltInRole]::Administrator ) -eq $false) {
                (get-host).UI.RawUI.Backgroundcolor="DarkRed"                                   
                    write-Verbose "Warning: PowerShell is not running as an Administrator.`n"  
                    exit 
                 else
                    #set-executionpolicy "Execution user account"
                    write-Verbose $currentPrincipal.Identity.Name
                    write-Verbose "Warning: PowerShell is running as an Administrator.`n"                
                    Write-Verbose "Workflow Manager installation started.."
                    $cmd = "& 'C:\WorkflowManagerFiles\bin\WebpiCmd.exe' /Install /Products:WorkflowManager /XML:c:/WorkflowManagerFiles/feeds/latest/webproductlist.xml /log:C:/Users/backup/t1.txt
    /AcceptEula"
                    Invoke-Expression $cmd | Write-Verbose                             
    Below is the error message
    Started downloading products...
     Started installing Products...
     Started installing: 'Execute ASP.NET IIS Registration tool
     Started downloading: 'Workflow Manager Client 1.0 Refresh'
     Downloaded: 'Workflow Manager Client 1.0 Refresh'
     Started downloading: 'Service Bus 1.0'
     Downloaded: 'Service Bus 1.0'
     Started downloading: 'Workflow Manager 1.0'
     Downloaded: 'Workflow Manager 1.0'
     Install completed (Success): 'Execute ASP.NET IIS Registra
    tion tool'
     Execute ASP.NET IIS Registration tool : Installed
     Started installing: 'Workflow Manager Client 1.0 Refresh'
     Install completed (Failure): 'Workflow Manager Client 1.0
    Refresh'
     WorkflowClient : Failed.
     Error opening installation log file. Verify that the speci
    fied log file location exists and is writable.
     Started installing: 'Service Bus 1.0'
     Install completed (Failure): 'Service Bus 1.0'
     ServiceBus : Failed.
     Error opening installation log file. Verify that the speci
    fied log file location exists and is writable.
     DependencyFailed: Workflow Manager 1.0
     Verifying successful installation...
     Execute ASP.NET IIS Registration tool              True
     Workflow Manager Client 1.0 Refresh                False
         Log Location: C:\Windows\system32\config\systemprofile
    \AppData\Local\Microsoft\Web Platform Installer\logs\install\2015-01-02T14.58.57\WorkflowManagerClient_x64.txt
     Service Bus 1.0                                    False
         Log Location: C:\Windows\system32\config\systemprofile
    \AppData\Local\Microsoft\Web Platform Installer\logs\install\2015-01-02T14.58.57\Service_Bus.txt
     Workflow Manager 1.0                               False
     Install of Products: FAILURE

    I am pretty sure that DSC requires WFM.  If  I am right then WFM is in use and cannot be replaced unless you specify another logfile location.  Look at the DSC and see how to specify a new log location that can be used for the install. 
    If the MSU is built correctly then you will require a reboot to update the install.
    Try just doing WFM alone until you work it out.
    I also recommend posting in the Management forum for any other issues that might be known.
    Management
    DSC is a work in progress so many things have to be worked out as you need them.  Be sure to get the latest kits.  I think we are at Wave 9 now.
    PowerShell
    DSC Resource Kit Wave 9
    ¯\_(ツ)_/¯

  • DSC error while pushing to win 2008 r2 node

    Hello,
    I'm starting to "play" with Powershell DSC. 
    Right now I'm testing the push mode: I created a basic configuration with a few resources to test (file, script, package, etc.). Push to a win 2012 R2 node is working without any problem. Push to a win 2008 r2 node gives me the error:
    The connection to the specified remote host was refused. Verify that the WS-Management service is running on the remote host and configured to listen for requests on the correct port and HTTP URL.
        + CategoryInfo          : ResourceBusy: (root/Microsoft/...gurationManager:String) [], CimException
        + FullyQualifiedErrorId : HRESULT 0x80338112
        + PSComputerName        : servername
    Node is win 2008 r2, all updates, wmf 4.0. "Enter-PSSession" is working, WinRS is working.
    I'm not sure what to look for so any help would be appreciated.
    Regards,
    JP

    No error on the remote node.
    On the server I have those errors in Windows Remote Management:
    The WinRM protocol operation failed due to the following error: The connection to the specified remote host was refused. Verify that the WS-Management service is running on the remote host and configured to listen for requests on the correct port and HTTP
    URL..
    and
    WSMan operation Get failed, error code 2150859026
    I also noticed this informational event:
    WSMan operation Invoke started with resourceUri
    http://schemas.microsoft.com/wbem/wsman/1/config/service
    Does it means the remote node needs to access this URL?
    That is a good question.  Many schema reesources are located locally so they do not need to be retrieved.
    THat is pretty explicit.  Are you on a different subnet?  Is the firewall open for all remote management and WinRM
    Are you going through a proxy?  Are you using an netbios name or an FQDN.  Note that an IP address might not work here.
    ¯\_(ツ)_/¯
    Yes, server and node are on a different subnet, but in the same domain. network firewall is temporary wide open between the 2 servers. There is no internal proxy, however external access uses one. I'm using the FQDN.
    For the record here is the MOF file for the node (some info obfuscated):
    @TargetNode='myserver.mydomain.org'
    @GeneratedBy=my_domain_admin_account
    @GenerationDate=11/27/2014 11:00:14
    @GenerationHost=MDC-DSC01
    instance of MSFT_FileDirectoryConfiguration as $MSFT_FileDirectoryConfiguration1ref
    ResourceID = "[File]FirstTest";
     Ensure = "Present";
     Contents = "This is a Test";
     DestinationPath = "c:\\temp\\FirstTest\\File.txt";
     ModuleName = "PSDesiredStateConfiguration";
     SourceInfo = "C:\\DSC\\firsttest.ps1::6::3::File";
     ModuleVersion = "1.0";
    instance of OMI_ConfigurationDocument
     Version="1.0.0";
     Author="Me";
     GenerationDate="11/27/2014 11:00:14";
     GenerationHost="MDC-DSC01";

  • DSC Configuration error

    Hi,
    I've built a Windows Server 2012 R2 server, running Powershell DSC. However, I get the error in the screenshot after compiling the MOF. Any suggestions why?

    What's the name of the MOF file in the NewPullServer folder?  Does it match the computername of the machine you're trying to configure?
    Edit:  Nevermind, I can see the computer name in the error output.  The error is pretty explicit about what's happening; it can't create a WinRM session to that computer.  It gives lots of possible reasons why: computer is in an untrusted
    domain, etc.
    You can try creating a CimSession to that computer with NTLM authentication using the New-CimSession cmdlet, and pass that CimSession object on to Start-DscConfiguration, if the default Kerberos authentication isn't working for you.  In order to use
    NTLM auth, you'll need either an HTTPS WinRM listener, or you'll have to add the remote computer to the TrustedHosts list on your local computer.  There's a similar discussion on this topic (including steps to enable TrustedHosts, etc) at http://powershell.com/cs/forums/p/10640/18106.aspx

  • Singol Thread Error (STA) when open script by powershell

    hi everyone. this is my script:
    [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")
    [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
    function global:stamp(){
    param([string]$string)
    $string=$string.replace(' ',',')
    $string | Out-File "C:\test.txt" -Append
    $form.close()
    $form = New-Object System.Windows.Forms.Form
    [int32]$x=(Get-WmiObject -Class Win32_DesktopMonitor | ForEach-Object {$_.ScreenWidth}) - 100
    [int32]$y=(Get-WmiObject -Class Win32_DesktopMonitor | ForEach-Object {$_.ScreenHeight}) - 100
    $x1 = $x - 100
    $y1 = $y - 400
    $form.Size = New-Object System.Drawing.Size($x,$y)
    $dataGridView = New-Object System.Windows.Forms.DataGridView
    $dataGridView.Size=New-Object System.Drawing.Size($x1,$y1)
    $dataGridView.Location = New-Object System.Drawing.Size(100,40)
    $dataGridView.AutoSizeColumnsMode = "Fill"
    $go = New-Object System.Windows.Forms.Button
    $go.Location = New-Object System.Drawing.Size(300,450)
    $go.Size = New-Object System.Drawing.Size(80,30)
    $go.text = "ok"
    $form.Controls.Add($go)
    $form.Controls.Add($dataGridView)
    $Column0 = New-Object System.Windows.Forms.DataGridViewTextboxColumn
    $Column0.HeaderText = "Pacchetti"
    $Column0.Width = 300
    $dataGridView.Columns.Add($Column0)
    $Column1 = New-Object System.Windows.Forms.DataGridViewComboBoxColumn
    $Column1.HeaderText = "Azione"
    $Column1.width = 300
    $Options="Promozione","Regressione"
    $Column1.Items.AddRange($Options)
    $dataGridView.Columns.Add($Column1)
    $Column2 = New-Object System.Windows.Forms.DataGridViewComboBoxColumn
    $Options2="Promozione","Regressione", "Null"
    $Column2.HeaderText = "Tipo_Dipendenza"
    $Column2.Width = 300
    $Column2.Items.AddRange($Options2)
    $dataGridView.Columns.Add($Column2)
    $Column3 = New-Object System.Windows.Forms.DataGridViewTextboxColumn
    $Column3.HeaderText = "Pacchetti_Dipendenti"
    $Column3.Width = 300
    $dataGridView.Columns.Add($Column3)
    $go.Add_Click(
    $p=$true
    $intestazione="Pkt,Azione,Dip,PktDip" | Out-File "C:\test.txt"
    $data=New-Object System.Collections.ArrayList
    for($j=0;$j -le ($dataGridView.RowCount - 2); $j++){
    #$dataGridView.Rows[$j].Selected = $true
    for($i=0;$i -le ($dataGridView.Columns.Count -1);$i++){
    $export=$dataGridView.Rows[$j].Cells[$i].Value
    $columnName = $dataGridView.Columns[$i].HeaderText
    $riga = $j+1
    switch ($i){
    0 { if(!($log=cmd /c hudp -b harvest -en HarvestOper -st Accettazione -usr c.nosari -pw harvest -pn QueryPkg -ap $export -o " C:\log.txt" | Select-String -Pattern "NON ESISTE")){$data.Add($export)}
    else{[System.Windows.Forms.MessageBox]::Show("Campo $columnName riga $riga Errato","WARNING",0,48)
    $p=$false
    1 {$data.Add($export)}
    2 {$data.Add($export)}
    3 { if(!($log=cmd /c hudp -b harvest -en HarvestOper -st Accettazione -usr c.nosari -pw harvest -pn QueryPkg -ap $export -o " C:\log.txt" | Select-String -Pattern "NON ESISTE") -or $export -eq ""){$data.Add($export)}
    else{[System.Windows.Forms.MessageBox]::Show("Campo $columnName riga $riga Errato","WARNING",0,48)
    $p=$false
    if(!($p)){break}
    if($p){
    stamp $data
    $data.clear()
    else{
    break
    [void]$form.ShowDialog()
    When i execute it by powershell i receive thi error:
    System.ThreadingThreadStateException:
    Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.
    System.Windows.Forms.ComboBoxset_AutoCompleteSource (Autoco
    mpleteSource value)
    System.Windows.Forms.DataGridViewComboBoxCell.InitializeEditingCo
    ntrol (1nt32 rowlndex,, Object
    initialFormattedValue,,
    DataGridViewCellStyle dataGridViewCellStyle)
    System.Windows.Forms.DataGridViewJnitializeEditingC ontrolValue
    (Dat
    aGridViewCellStyle & dataGridViewCellStyle,,
    DataGridViewCell
    DataGridViewCell)
    To replace this default dialog box,
    handle the event
    DataError.
    How can i fix this? where do i have to insert what it say?
    Thanks so much
    Cristian

    I forget which versions this applies to, but some of the older versions of PowerShell launch the console in MTA mode by default, while the ISE is always STA. On my computer with PowerShell 4.0 installed, this is no longer the case; both ISE and Console both
    use STA by default.
    Anyhow, just use the -Sta switch when launching PowerShell.exe, and you'll be able to run that script. You could even add code to the beginning of the script which detects the current apartment state, and relaunches a new copy of powershell.exe if needed,
    very similar to code which people have used to detect whether PowerShell.exe was running in an elevated process. Something along these lines:
    if ([System.Threading.Thread]::CurrentThread.ApartmentState -eq [System.Threading.ApartmentState]::MTA)
    powershell.exe -Sta -File $MyInvocation.MyCommand.Path
    return
    # Rest of your script code here

  • How to solve Invocation error: ALC-DSC-003-000.

    Hi,
    I upgraded the "Reader Extensions 7.2" Using "ReaderExtensions ES" for watch folder concept. It worked well for so many days but now it throws the below mentioned errorlog. How could i rectify the following error. Please advice.
    Failure Time----Fri Jul 04 16:42:10 IST 2008
    source location ---- Reason of failure is-----Invocation error.
    Invocation error.
    ALC-RES-001-015: The requested usage right, [CommentsOnline], is not allowed by the credential, [SampleReaderExtensionsCredential].
    ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:152)
    Regards,
    Prabudass

    hi,
         Am trying to write document to the file system after rendering into pdf form, but the workflow got stalled in the service 'writedoctofilesys' and here is the stalled error message...
    2010-01-21 21:20:27,190 ERROR [com.adobe.workflow.AWS] stalling action-instance: 122251 with message: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:152)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
    at sun.reflect.GeneratedMethodAccessor299.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at $Proxy178.doSupports(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:861)
    at com.adobe.workflow.engine.ProcessEngineBMTBean.executeAction(ProcessEngineBMTBean.java:19 47)
    at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncExecuteActionCommand(ProcessEngineBMT Bean.java:1901)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)
    at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at $Proxy218.asyncExecuteActionCommand(Unknown Source)
    at com.adobe.idp.workflow.dsc.service.ProcessCommandExecutorService.executeAction(ProcessCom mandExecutorService.java:31)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:154)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
    at sun.reflect.GeneratedMethodAccessor299.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at $Proxy178.doSupports(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.workflow.engine.PEExecuteActionCommand.execute(PEExecuteActionCommand.java:86)
    at com.adobe.workflow.workadapter.WorkflowCommandExecutionUnit.execute(WorkflowCommandExecut ionUnit.java:22)
    at com.adobe.idp.dsc.workmanager.adapter.ManagedAsynchronousWorkAdapter.run(ManagedAsynchron ousWorkAdapter.java:70)
    at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
    at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: ALC-FUT-001-001: Unable to overwrite file c:\test\.
    at com.adobe.livecycle.fileutils.FileUtilsService.writeDocument(FileUtilsService.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    Pls help me in this.
    Thanx
    Balaji.

Maybe you are looking for

  • [SOLVED]Java Plugin in Firefox 4 - no sound, pls hlp, tnx

    Hi! Okay, I hope this question belong here. I have FireFox 4, and JRE 6_25, and G3 (dunnow if that's the problem). As described in the docs, I'm supposed to make a symlink to the plugin. The about : plugins keeps reporting File: libnpjp2.so as file,

  • Can I store iPhoto and iTunes libraries on an external hard disk?

    I have a Mac Book Pro with Retina Display that I bought new in late 2014. It has 250GB of storage but apparently I am already running out of space already. I want to know if I can store my iTunes and iPhoto libraries on an external drive to help free

  • Conditional Mapping to 835 schema

    I am interrogating a value in the incoming flat file schema and if the value is greater than '0' I am supposed to set some values in the CLP segment. However, if the value in the incoming schema is '0', I should not create the CLP segment. I'm not qu

  • I have icloud in my pc, ipad and iphone, but nothing is synced. what am i supposed to do?

    I tapped back up and storage button and it worked, but i do not see the apps on my ipad, the ones I have on my iphone.. also the calendor goes the same.. my pc, iphone and ipad all have different info. weren't they supposed to merge when i started us

  • Point to dynamical internal table

    hi friends, i have a dynamic internal table A holding some data based on an ddic-structure. now i have a second table B - self defined - that should in one column hold kind of a pointer ( or better the row data ) to a row of table A. how to achieve t