{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/652","repository_url":"https://api.github.com/repos/Azure/service-fabric-issues","labels_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/652/labels{/name}","comments_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/652/comments","events_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/652/events","html_url":"https://github.com/Azure/service-fabric-issues/issues/652","id":274613345,"number":652,"title":"TestConfiguration.ps1 TypeLoad Exception","user":{"login":"rufio620","id":1992395,"avatar_url":"https://avatars2.githubusercontent.com/u/1992395?v=4","gravatar_id":"","url":"https://api.github.com/users/rufio620","html_url":"https://github.com/rufio620","followers_url":"https://api.github.com/users/rufio620/followers","following_url":"https://api.github.com/users/rufio620/following{/other_user}","gists_url":"https://api.github.com/users/rufio620/gists{/gist_id}","starred_url":"https://api.github.com/users/rufio620/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rufio620/subscriptions","organizations_url":"https://api.github.com/users/rufio620/orgs","repos_url":"https://api.github.com/users/rufio620/repos","events_url":"https://api.github.com/users/rufio620/events{/privacy}","received_events_url":"https://api.github.com/users/rufio620/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-16T18:14:42Z","updated_at":"2017-11-22T15:07:28Z","closed_at":null,"author_association":"NONE","body":"I am running into an issue with the latest version of the standalone package (http://go.microsoft.com/fwlink/?LinkId=730690). \r\n\r\nWhen running the following command.\r\n\r\n```\r\nPS C:\\Users\\horvathg\\Desktop\\Microsoft.Azure.ServiceFabric.WindowsServer.6.0.232.9494> .\\TestConfiguration.ps1 -ClusterConfigFilePath .\\ClusterConfig.Windows.MultiMachine.json\r\nTest Config failed with exception: System.TypeLoadException: Could not load type 'ExtensionsEventsInternal' from assembly 'System.Fabric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.\r\n   at Microsoft.ServiceFabric.DeploymentManager.SFDeployerTrace.WriteInfo(String format, Object[] args)\r\n   at Microsoft.ServiceFabric.DeploymentManager.SFDeployerTrace.UpdateFileLocation(String traceFolder)\r\n   at Microsoft.ServiceFabric.DeploymentManager.DeploymentManagerInternal.BpaAnalyzeClusterSetup(String clusterConfigPath, String oldClusterConfigPath, String fabricPackagePath)\r\n   at Microsoft.ServiceFabric.Powershell.ClusterCmdletBase.TestConfig(String clusterConfigPath, String oldClusterConfigPath, String fabricPackagePath)\r\n   at System.Management.Automation.CommandProcessor.ProcessRecord()\r\nPS C:\\Users\\horvathg\\Desktop\\Microsoft.Azure.ServiceFabric.WindowsServer.6.0.232.9494>\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/comments/346377641","html_url":"https://github.com/Azure/service-fabric-issues/issues/652#issuecomment-346377641","issue_url":"https://api.github.com/repos/Azure/service-fabric-issues/issues/652","id":346377641,"user":{"login":"rufio620","id":1992395,"avatar_url":"https://avatars2.githubusercontent.com/u/1992395?v=4","gravatar_id":"","url":"https://api.github.com/users/rufio620","html_url":"https://github.com/rufio620","followers_url":"https://api.github.com/users/rufio620/followers","following_url":"https://api.github.com/users/rufio620/following{/other_user}","gists_url":"https://api.github.com/users/rufio620/gists{/gist_id}","starred_url":"https://api.github.com/users/rufio620/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rufio620/subscriptions","organizations_url":"https://api.github.com/users/rufio620/orgs","repos_url":"https://api.github.com/users/rufio620/repos","events_url":"https://api.github.com/users/rufio620/events{/privacy}","received_events_url":"https://api.github.com/users/rufio620/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T15:07:28Z","updated_at":"2017-11-22T15:07:28Z","author_association":"NONE","body":"Below is the error I get when attempting to run on a Server 2012 R2 box. The FabricCommon.dll is in the downloaded DeploymentComponents directory so I'm not quite sure what is going on.\r\n\r\n`.\\TestConfiguration.ps1 -ClusterConfigFilePath .\\ClusterConfig.Unsecure.DevCluster.json`\r\n\r\n```\r\nTest Config failed with exception: System.Management.Automation.CommandNotFoundException: Argument 'Test-ServiceFabricConfiguration' is not recognized as a cmdlet: Unable to load DLL 'FabricCommon.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> System.DllNotFoundException: Unable to load DLL 'FabricCommon.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)\r\n   at System.Fabric.Interop.Utility.RunInMTA[TResult](Func`1 func)\r\n   at Microsoft.ServiceFabric.Powershell.CommonCmdletBase.Ensure_IgnoreUpdateFailures()\r\n   at Microsoft.ServiceFabric.Powershell.CommonCmdletBase..ctor()\r\n   at lambda_method(Closure )\r\n   at System.Management.Automation.CommandProcessor.Init(CmdletInfo cmdletInformation)\r\n   --- End of inner exception stack trace ---\r\n   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)\r\n   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)\r\n   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\r\n   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"rufio620"}}