安装时出错 - 无法绑定到空字符串 [英] Error on install - can't bind to an empty string

查看:99
本文介绍了安装时出错 - 无法绑定到空字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

来自Jon Hildebrand @ snoopj123来自Twitter,


我在步骤38(SetupMux)开始出现问题。被告知我无法绑定空字符串。



https://twitter.com/snoopj123/status/695774910535184384





谢谢,


@AzureSupport

解决方案

这是我的日志:


SetupMux错误


System.Management.Automation.RemoteException

PowerShell DSC资源MSFT_xAzureStackScriptResource 无法执行&bbsp
Set-TargetResource功能,错误消息:无法将参数绑定到 

参数'vmGuid',因为它是一个空字符串。 
$
作业失败到期状态:失败



PocFabricInstaller错误


Start-PocFabricInstallerTasks:POCFabricInstaller失败,因为&b;
后续任务失败:SetupMux

在C:\ProgramData \ MicroCos \AzureStack \Deployment \ RunAzureStackDeploymentTask.p

s1:158 char:19

+ ...       


result =& "开始 -

moduleName`Tasks" -StatusUpdatedCallback {

+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~

    + CategoryInfo          ;: NotSpecified :( :) [Write-Error],WriteErrorExcep 

    tion

    + FullyQualifiedErrorId:Microsoft.PowerShell.Commands.WriteErrorExceptio 

    n,Start-PocFabricInstallerTasks


SetupMux - 详细



[MUXVM]:LCM:[结束   资源]  [[Script] DoAllCerts]

[MUXVM]:LCM:  [Start  Resource]  [[AzureStackScript] AddVirtualServerToNC]

[MUXVM]:LCM:[开始 测试    ] [[AzureStackScript] AddVirtualServerToNC]

[MUXVM]:                            [[AzureStackScript] AddVirtualServerToNC] 

JSON获取[/ VirtualServers / d2b75161-ec7d-4141-8653-39ab194a2291]

[MUXVM]:                            [[AzureStackScript] AddVirtualServerToNC] 
$
GET异常:异常调用" GetResponse"用"0"表示"0"。参数:" 
$
远程服务器返回错误:(404)Not Found。"
$
[MUXVM]:                            [[AzureStackScript] AddVirtualServerToNC] 

GET例外:

[MUXVM]:LCM:  [End   测试    ] [[AzureStackScript] AddVirtualServerToNC] 

在0.9840秒。

[MUXVM]:LCM:  [开始 设置     ]  [[AzureStackScript] AddVirtualServerToNC]




From Jon Hildebrand @snoopj123 via Twitter,

I'm starting to have issues at step 38 (SetupMux). Being told I can't bind to an empty string.

https://twitter.com/snoopj123/status/695774910535184384


Thanks,

@AzureSupport

解决方案

Here's my logs:

SetupMux Error

System.Management.Automation.RemoteException
PowerShell DSC resource MSFT_xAzureStackScriptResource  failed to execute 
Set-TargetResource functionality with error message: Cannot bind argument to 
parameter 'vmGuid' because it is an empty string. 
Job fail due state: Failed

PocFabricInstaller Error

Start-PocFabricInstallerTasks : POCFabricInstaller failed because the 
following tasks failed: SetupMux
At C:\ProgramData\Microsoft\AzureStack\Deployment\RunAzureStackDeploymentTask.p
s1:158 char:19
+ ...        


result = & "Start-


moduleName`Tasks" -StatusUpdatedCallback {
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep 
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio 
   n,Start-PocFabricInstallerTasks

SetupMux - Verbose

[MUXVM]: LCM:  [ End    Resource ]  [[Script]DoAllCerts]
[MUXVM]: LCM:  [ Start  Resource ]  [[AzureStackScript]AddVirtualServerToNC]
[MUXVM]: LCM:  [ Start  Test     ]  [[AzureStackScript]AddVirtualServerToNC]
[MUXVM]:                            [[AzureStackScript]AddVirtualServerToNC] 
JSON Get [/VirtualServers/d2b75161-ec7d-4141-8653-39ab194a2291]
[MUXVM]:                            [[AzureStackScript]AddVirtualServerToNC] 
GET Exception: Exception calling "GetResponse" with "0" argument(s): "The 
remote server returned an error: (404) Not Found."
[MUXVM]:                            [[AzureStackScript]AddVirtualServerToNC] 
GET Exception:
[MUXVM]: LCM:  [ End    Test     ]  [[AzureStackScript]AddVirtualServerToNC]  
in 0.9840 seconds.
[MUXVM]: LCM:  [ Start  Set      ]  [[AzureStackScript]AddVirtualServerToNC]


这篇关于安装时出错 - 无法绑定到空字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆