-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I have error when running commands:
VERBOSE: Adding a resource definition for 'servicename_vmname_armpublicip' public IP address
You cannot call a method on a null-valued expression.
At C:\tools\asm2armVm.ps1:491 char:5
-
$dnsSuffix = '{0}.cloudapp.azure.com' -f $Location.Replace(' ','' ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
The property 'Length' cannot be found on this object. Verify that the property exists.
At C:\tools\asm2armVm.ps1:492 char:5
-
$maxServiceNameLength = 253 - $dnsSuffix.Length -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
- FullyQualifiedErrorId : PropertyNotFoundStrict
Any idea?
Metadata
Metadata
Assignees
Labels
No labels