Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.


Resolution

Workaround:

1- Update F:\DeployablePackages\MinorVersionDataUpgrade_Retail\RetailServer\Scripts\ApplyRetailDBScriptInSQLSURetailSchema.ps1:



2- F:\DeployablePackages\MinorVersionDataUpgrade_Retail\RetailServer\Scripts\RetailMinorUpgrade.ps1

Step 3: RetailMinorUpgrade.ps1

10/25/2017 11:15:20 PM: Error executing the script ApplyRetailDBScriptInSQLSURetailSchema:
PSMessageDetails      :
Exception             : Microsoft.SqlServer.Management.PowerShell.SqlPowerShellSqlExecutionException: The parameter
                        PASSWORD cannot be provided for users that cannot authenticate in a database.
TargetObject          :
CategoryInfo          : InvalidOperation: (:) [Invoke-Sqlcmd], SqlPowerShellSqlExecutionException
FullyQualifiedErrorId : SqlError,Microsoft.SqlServer.Management.PowerShell.GetScriptCommand
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at , F:\DeployablePackages\MinorVersionDataUpgrade_Retail\RetailServer\Scripts\App
                        lyRetailDBScriptInSQLSURetailSchema.ps1: line 104
                        at , F:\DeployablePackages\MinorVersionDataUpgrade_Retail\RetailServer\Scripts\Ret
                        ailMinorUpgrade.ps1: line 205
                        at , : line 1
PipelineIterationInfo : {}

.
10/25/2017 11:15:20 PM:
PSMessageDetails      :
Exception             : System.Management.Automation.RuntimeException: Error executing the script
                        ApplyRetailDBScriptInSQLSURetailSchema:
                        PSMessageDetails      :
                        Exception             :
                        Microsoft.SqlServer.Management.PowerShell.SqlPowerShellSqlExecutionException: The parameter
                                                PASSWORD cannot be provided for users that cannot authenticate in a


F:\DeployablePackages\MinorVersionDataUpgrade_Retail\RetailServer\Scripts\RetailMinorUpgrade.ps1
Exiting with error code .
out-file : SQL Server PowerShell provider error: Path SQLSERVER:\RetailMinorVersionUpgrade.log does not exist. Please
specify a valid path.
At F:\DeployablePackages\MinorVersionDataUpgrade_Retail\RetailServer\Scripts\Common-Servicing.psm1:395 char:5
+     aspnet_regiis -pe $webConfigSection -app $targetWebApplicationPat ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (SQLSERVER:\RetailMinorVersionUpgrade.log:SqlPath) [out-file], GenericProvi
   derException
    + FullyQualifiedErrorId : PathDoesNotExist,Microsoft.PowerShell.Commands.OutFileCommand

↑ Back to the top


More information

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained here in is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


Article Info
Article ID : 4053585
Revision : 1
Created on : 11/7/2017
Published on : 11/7/2017
Exists online : False
Views : 166