Komponente konnte nicht bereitgestellt werden - "Das aktuelle JSON-Objekt kann nicht deserialisiert werden ..."

Hintergrundinformatio

TFS 2015 RC2Release Management Server 2015Azure VM mit Deployment Agent 2015Physical lokaler Computer mit Deployment Agent 2015

Beide Maschinen benötigen den Ablageort mit demThrough Release Management Server over HTTP(S) Möglichkeit. Derzeit verwenden wir die HTTP-Seite von Dingen über Port 1000.

Arbeitsablau

Stop App Pool (funktioniert)Stop Website (Working) Kopieren des Website-Verzeichnisses an den Sicherungsort (Working)Backup-Datenbank (funktioniert)Deploy Component (Not Working), entweder mit xcopymsdeploy (Web Deploy-Paket)

The Error (TL; DR)
Es wird jedes Mal derselbe Fehler angezeigt, unabhängig davon, auf welchem Computer oder mit welcher Bereitstellungsmethode. Die Komponente schlägt immer mit einem JSON.NET-Problem fehl.

7/22/2015 3:03:39 PM - Error - (13704, 104) - Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.String[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'ErrorMessage', line 1, position 16.: \r\n\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Microsoft.TeamFoundation.Release.Data.Proxy.RestProxy.BaseDeploymentControllerServiceProxy.GetPackageFileInfos(String packageLocation)
   at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.HttpPackageDownloader.CopyPackageAndUnpackIt(String packageSourceLocation, String filesDestinationLocation)
   at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.CopyComponentFiles()
   at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.DeployComponent()

Update (Problemumgehung)
Wenn ich die Build-Konfiguration so bearbeite, dass sie einen UNC-Pfad als Ablageort enthält, ist die Bereitstellung erfolgreich. Ich möchte jedoch das @ verwendCopy build output to server Möglichkeit

Antworten auf die Frage(6)

Ihre Antwort auf die Frage