Created
October 16, 2021 11:08
-
-
Save FH-Inway/939489e0b350d89cd770df8ee4431f81 to your computer and use it in GitHub Desktop.
d365fo.tools Enable-MaintenanceMode error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
********************** | |
Windows PowerShell transcript start | |
Start time: 20211016130105 | |
Username: AAA-1V-FH01\Administrator | |
RunAs User: AAA-1V-FH01\Administrator | |
Machine: AAA-1V-FH01 (Microsoft Windows NT 10.0.14393.0) | |
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | |
Process ID: 7336 | |
PSVersion: 5.1.14393.4530 | |
PSEdition: Desktop | |
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.4530 | |
BuildVersion: 10.0.14393.4530 | |
CLRVersion: 4.0.30319.42000 | |
WSManStackVersion: 3.0 | |
PSRemotingProtocolVersion: 2.3 | |
SerializationVersion: 1.1.0.1 | |
********************** | |
Transcript started, output file is C:\Temp\Enable-D365MaintenanceMode.log | |
C:\Users\Administrator | |
> | |
PS>Get-Module d365fo.tools | |
ModuleType Version Name ExportedCommands | |
---------- ------- ---- ---------------- | |
Script 0.6.67 d365fo.tools {Add-D365AzureStorageConfig, Add-D365BroadcastMessageConfi... | |
C:\Users\Administrator | |
> | |
PS>Get-D365ProductInformation | |
ProductVersion : 7.0 | |
ProductBuildVersion : 7.0.6060.45 | |
ProductBuildBranch : main | |
PlatformVersion : Update44 | |
PlatformBuildVersion : 7.0.6060.45 | |
PlatformBranch : main | |
ApplicationVersion : 10.0.20 | |
ApplicationBuildVersion : 10.0.886.48 | |
ApplicationBranch : main | |
ProductRegisteredName : Microsoft Dynamics 365 for Finance and Operations | |
C:\Users\Administrator | |
> | |
PS>Enable-D365MaintenanceMode | |
Server DisplayName Status StartType Name | |
------ ----------- ------ --------- ---- | |
AAA-1V-FH01 Microsoft Dynamics 365 Unified Operations: Batch Manageme... Running Automatic DynamicsAxBatch | |
AAA-1V-FH01 Microsoft Dynamics 365 Unified Operations: Data Import Ex... Running Automatic Microsoft.Dyna... | |
AAA-1V-FH01 Management Reporter 2012 Process Service Running Automatic MR2012ProcessS... | |
AAA-1V-FH01 World Wide Web Publishing Service Running Automatic w3svc | |
[ | |
13:01:33 | |
][ | |
Get-SQLCommand | |
] Something went wrong while working with the sql server connection objects | Exception setting "ConnectionString": "The value's length for key 'password' exceeds it's limit of '128'." | |
WARNING: [13:01:34][Get-SQLCommand] Stopping because of errors | |
The property 'CommandText' cannot be found on this object. Verify that the property exists and can be set. | |
At line:26047 char:9 | |
+ $sqlCommand.CommandText = (Get-Content "$FilePath") -join [En ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException | |
+ FullyQualifiedErrorId : PropertyNotFound | |
The property 'CommandText' cannot be found on this object. Verify that the property exists and can be set. | |
At line:26047 char:9 | |
+ $sqlCommand.CommandText = (Get-Content "$FilePath") -join [En ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException | |
+ FullyQualifiedErrorId : PropertyNotFound | |
[ | |
13:01:34 | |
][ | |
Invoke-D365SqlScript | |
] Something went wrong while | |
executing custom sql script | |
against the database. | You cannot call a method on a null-valued expression. | |
WARNING: [13:01:34][Invoke-D365SqlScript] Stopping because of errors. | Something went wrong while executing custom sql script against the database. | |
You cannot call a method on a null-valued expression. | |
At line:26068 char:13 | |
+ $sqlCommand.Connection.Close() | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException | |
+ FullyQualifiedErrorId : InvokeMethodOnNull | |
You cannot call a method on a null-valued expression. | |
At line:26068 char:13 | |
+ $sqlCommand.Connection.Close() | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException | |
+ FullyQualifiedErrorId : InvokeMethodOnNull | |
You cannot call a method on a null-valued expression. | |
At line:26071 char:9 | |
+ $sqlCommand.Dispose() | |
+ ~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException | |
+ FullyQualifiedErrorId : InvokeMethodOnNull | |
You cannot call a method on a null-valued expression. | |
At line:26071 char:9 | |
+ $sqlCommand.Dispose() | |
+ ~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException | |
+ FullyQualifiedErrorId : InvokeMethodOnNull | |
Import-Module : Process should have elevated status to access IIS configuration data. | |
At line:29795 char:5 | |
+ Import-Module -Name "WebAdministration" -Scope "Local" | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : OperationStopped: (:) [Import-Module], InvalidOperationException | |
+ FullyQualifiedErrorId : Module_ImportModuleError,Microsoft.PowerShell.Commands.ImportModuleCommand | |
Import-Module : Process should have elevated status to access IIS configuration data. | |
At line:29795 char:5 | |
+ Import-Module -Name "WebAdministration" -Scope "Local" | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : OperationStopped: (:) [Import-Module], InvalidOperationException | |
+ FullyQualifiedErrorId : Module_ImportModuleError,Microsoft.PowerShell.Commands.ImportModuleCommand | |
PS>TerminatingError(Start-WebItem): "Cannot find drive. A drive with the name 'IIS' does not exist." | |
>> TerminatingError(Start-WebItem): "Cannot find drive. A drive with the name 'IIS' does not exist." | |
start-webitem : Cannot find drive. A drive with the name 'IIS' does not exist. | |
At line:29828 char:13 | |
+ Start-Website -Name "AOSService" | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : ObjectNotFound: (IIS:String) [Start-WebItem], DriveNotFoundException | |
+ FullyQualifiedErrorId : DriveNotFound,Microsoft.IIs.PowerShell.Provider.StartItemCommand | |
start-webitem : Cannot find drive. A drive with the name 'IIS' does not exist. | |
At line:29828 char:13 | |
+ Start-Website -Name "AOSService" | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : ObjectNotFound: (IIS:String) [Start-WebItem], DriveNotFoundException | |
+ FullyQualifiedErrorId : DriveNotFound,Microsoft.IIs.PowerShell.Provider.StartItemCommand | |
Server DisplayName Status StartType Name | |
------ ----------- ------ --------- ---- | |
AAA-1V-FH01 World Wide Web Publishing Service Running Automatic w3svc | |
C:\Users\Administrator | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment