microsoft / CRM-Performance-Toolkit

The Microsoft Dynamics CRM 2015 Performance Toolkit was created by the Microsoft CRM product team to formalize performance testing of Microsoft CRM 2013 and later releases. The performance toolkit can be used by the Microsoft CRM partners and customers to collect data to support their CRM deployment decisions.
44 stars 18 forks source link

problems with ToolkitSetup.ps1 #15

Open DanWEB opened 8 years ago

DanWEB commented 8 years ago

We have some errors with the toolkitsetup.ps1, everything looks fine until the script runs into a "Error: There is an error in XML document (1, 11)." script error. Is there a problem with the used .NET Framework or anything else we could do?

We also tried to build the solution over visualstudio. Here we had the issue, that some references which are defintifly loaded, are not recognized. (Screenshot)

I am happy about each hint, which get me one step further to get the toolkit running.

Best regards,

Daniel

PS Log: Compile Utility project in C:\CRMDEV\CRMToolkit\CRM_Perf_Toolkit\Utility Running command - C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe C:\CRMDEV\CRMToolkit\CRM_Perf_Toolkit\Utility\Utility.csproj /noconsolelogger Microsoft (R) Build Engine version 4.0.30319.34209 [Microsoft .NET Framework, version 4.0.30319.34209] Copyright (C) Microsoft Corporation. All rights reserved.

Download WSDL for RelatedInformation Running command - C:\CRMDEV\CRMToolkit\CRM_Perf_Toolkit\Utility\bin\Debug\PerfUtility.exe /actionType:DownloadWSDL http://CRM.DOMAIN.COM Admin Adminpw RelatedInformation C:\CRMDEV\CRMToolkit\Setup\WSDL\WSDL onprem domain Generage proxy for RelatedInformation Running command - C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\wsdl.exe /n:RelatedInformation C:\CRMDEV\CRMToolkit\Setup\WSDL\WSDL\RelatedInformation.wsdl /out:C:\CRMDEV\CRMToolkit\CRM_Perf_Toolkit\CRM_Perf_BenchMark\WSDL Microsoft (R) Web Services Description Language Utility [Microsoft (R) .NET Framework, Version 2.0.50727.3038] Copyright (C) Microsoft Corporation. All rights reserved. Error: There is an error in XML document (1, 11).

If you would like more help, please type "wsdl /?". C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\wsdl.exe /n:RelatedInformation C:\CRMDEV\CRMToolkit\Setup\WSDL\W screenshot SDL\RelatedInformation.wsdl /out:C:\CRMDEV\CRMToolkit\CRM_Perf_Toolkit\CRM_Perf_BenchMark\WSDL failed -1

andrescolodrero commented 8 years ago

hi, are you having problems with the assembly (screenshoot) or de wsdl.?

coolsama commented 8 years ago

Hi there, I have tried to install this tool against CRM 2016 in powershell scripts in work station.

Upon execution of - ToolkitSetup.ps1 -adminName: -adminPassword:<CRM Administrator > -domainName: -crmServerName: -sqlServerName -orgName: -configSku: -release -crmSdkBinDir -crmSDKReservedDllPath -outlookDllsPath

This is the result

Compile Utility project in C:\Softwares\personalfolder\crmtoolkit\crmtoolkit\CRM_Per f_Toolkit\Utility Running command - C:\Windows\Microsoft.NET\Framework64\v2.0.50727\msbuild.exe C: \Softwares\personalfolder\crmtoolkit\crmtoolkit\CRM_Perf_Toolkit\Utility\Utility.csp roj /noconsolelogger Microsoft (R) Build Engine Version 2.0.50727.5483 [Microsoft .NET Framework, Version 2.0.50727.5485] Copyright (C) Microsoft Corporation 2005. All rights reserved.

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\msbuild.exe C:\Softwares\personalfolder\crmtoolkit\crmtoolkit\CRM_Perf_Toolkit\Utility\Utility.csproj /noconsolelogg er failed -1

So how to proceed further? please assist!

Environment CRM 2016 Onpremise

Thanks, Sama.

coolsama commented 8 years ago

Amazing tool, tool a while to do some tweaks to fit in our environment, Load testing output is good help. Great stuff guys.

rajeessh commented 7 years ago

Hi @coolsama ,

I am trying to run performance tool kit 2013 onpremise

when i run the following commands in power shell as admin

Upon execution of - ToolkitSetup.ps1 -adminName: -adminPassword: -domainName: -crmServerName: -sqlServerName -orgName: -configSku: -release -crmSdkBinDir -crmSDKReservedDllPath -outlookDllsPath

a wsdl folder is created but inside its empty C:\Users\crm.users\Desktop\xxxcrm\crmtkit\CRMToolkit\Setup\WSDL\WSDL

and throws following error

CRMToolkit\Setup\WSDL\WSDL onprem xxxchennai.local The remote server returned an error: (404) Not Found.

Error: There was an error processing 'file:///C:/Users/crm.users/Desktop/xxxcrm/crmtkit/CRMToolkit/Setup/WSDL/WSDL/Relat edInformation.wsdl'.

There was an error downloading 'file:///C:/Users/crm.users/Desktop/xxxcrm/crmtkit/CRMToolkit/Setup/WSDL/WSDL/Related Information.wsdl'. Could not find file 'C:\Users\crm.users\Desktop\xxxcrm\crmtkit\CRMToolkit\Setup\WSDL\WSDL\RelatedInformation.wsdl'. Could not find file 'C:\Users\crm.users\Desktop\xxxcrm\crmtkit\CRMToolkit\Setup\WSDL\WSDL\RelatedInformation.wsdl' Its saying RelatedInformation.wsdl is not found - and its not creating automatically inside the folder - please guide where i went wrong

Regards, Rajesh rajesh.ravi@gsr-inc.com

rafilks commented 7 years ago

Hi In my case, the solution fail to build (CRM2013SP1 OnPrem)

Some objects aren't recognize by solution. They belong to CRM SDK 2015 DLL and don't exist in CRM 2013 package

How can I resolve that?

Error 6 The type or namespace name 'ExecuteTransactionRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\CRM_Perf_BenchMark\UnitTests\GeneralUnitTests\ExecuteTransactionUnitTest.cs 173 11 CRM_Perf_BenchMark Error 7 The type or namespace name 'ExecuteTransactionRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\CRM_Perf_BenchMark\UnitTests\GeneralUnitTests\ExecuteTransactionUnitTest.cs 359 12 CRM_Perf_BenchMark Error 8 The type or namespace name 'ExecuteTransactionRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\CRM_Perf_BenchMark\UnitTests\GeneralUnitTests\ExecuteTransactionUnitTest.cs 364 12 CRM_Perf_BenchMark Error 9 The type or namespace name 'ExecuteTransactionResponse' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\CRM_Perf_BenchMark\UnitTests\GeneralUnitTests\ExecuteTransactionUnitTest.cs 365 12 CRM_Perf_BenchMark Error 10 Metadata file 'C:\CRMToolkit\CRM_Perf_Toolkit\CRM_Perf_BenchMark\bin\CRM2013SP1\CRM_Perf_BenchMark.dll' could not be found C:\CRMToolkit\CRM_Perf_Toolkit\EMDBLoader\CSC EMDBLoader Error 16 Metadata file 'C:\CRMToolkit\CRM_Perf_Toolkit\CRM_Perf_BenchMark\bin\CRM2013SP1\CRM_Perf_BenchMark.dll' could not be found C:\CRMToolkit\CRM_Perf_Toolkit\Outlook_Perf_Benchmark\CSC Outlook_Perf_Benchmark Error 22 'Microsoft.Crm.Extensibility.EntityName' does not contain a definition for 'sharepointdocument' C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 1079 30 DbPopulator Error 23 The type or namespace name 'CreateFolderRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 1131 5 DbPopulator Error 24 The type or namespace name 'CreateFolderRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 1131 51 DbPopulator Error 25 The type or namespace name 'CreateFolderResponse' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 1137 6 DbPopulator Error 26 The type or namespace name 'CreateFolderResponse' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 1137 81 DbPopulator Error 27 The type or namespace name 'UploadDocumentRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 1153 4 DbPopulator Error 28 The type or namespace name 'UploadDocumentRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 1153 46 DbPopulator Error 29 The type or namespace name 'UploadDocumentResponse' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 1160 5 DbPopulator Error 30 The type or namespace name 'UploadDocumentResponse' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 1160 76 DbPopulator Error 31 The type or namespace name 'AddDynamicPropertyRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 2548 5 DbPopulator Error 32 The type or namespace name 'AddDynamicPropertyRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 2548 45 DbPopulator Error 33 The type or namespace name 'AddDynamicPropertyResponse' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 2553 5 DbPopulator Error 34 The type or namespace name 'AddDynamicPropertyResponse' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 2553 44 DbPopulator Error 35 The type or namespace name 'PublishProductHierarchyRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 3942 4 DbPopulator Error 36 The type or namespace name 'PublishProductHierarchyRequest' could not be found (are you missing a using directive or an assembly reference?) C:\CRMToolkit\CRM_Perf_Toolkit\dbPopulator\CrmEntityTemplate.cs 3942 49 DbPopulator Error 37 'Microsoft.Xrm.Sdk.Metadata.DateTimeAttributeMetadata' does not contain a definition for 'FormulaDefinition' c:\crmtoolkit\crm_perf_toolkit\createcustomization\createentityorattribute.cs 28 7 CreateCustomization Error 38 'Microsoft.Xrm.Sdk.Metadata.DateTimeAttributeMetadata' does not contain a definition for 'SourceType' c:\crmtoolkit\crm_perf_toolkit\createcustomization\createentityorattribute.cs 29 7 CreateCustomization Error 39 'Microsoft.Xrm.Sdk.Metadata.PicklistAttributeMetadata' does not contain a definition for 'FormulaDefinition' c:\crmtoolkit\crm_perf_toolkit\createcustomization\createentityorattribute.cs 58 7 CreateCustomization Error 40 'Microsoft.Xrm.Sdk.Metadata.PicklistAttributeMetadata' does not contain a definition for 'SourceType' c:\crmtoolkit\crm_perf_toolkit\createcustomization\createentityorattribute.cs 59 7 CreateCustomization Error 41 'Microsoft.Xrm.Sdk.Metadata.StringAttributeMetadata' does not contain a definition for 'SourceType' c:\crmtoolkit\crm_perf_toolkit\createcustomization\createentityorattribute.cs 89 8 CreateCustomization Error 42 'Microsoft.Xrm.Sdk.Metadata.MoneyAttributeMetadata' does not contain a definition for 'FormulaDefinition' c:\crmtoolkit\crm_perf_toolkit\createcustomization\createentityorattribute.cs 118 7 CreateCustomization Error 43 'Microsoft.Xrm.Sdk.Metadata.MoneyAttributeMetadata' does not contain a definition for 'SourceType' c:\crmtoolkit\crm_perf_toolkit\createcustomization\createentityorattribute.cs 119 7 CreateCustomization Error 44 'Microsoft.Xrm.Sdk.Metadata.IntegerAttributeMetadata' does not contain a definition for 'FormulaDefinition' c:\crmtoolkit\crm_perf_toolkit\createcustomization\createentityorattribute.cs 224 7 CreateCustomization Error 45 'Microsoft.Xrm.Sdk.Metadata.IntegerAttributeMetadata' does not contain a definition for 'SourceType' c:\crmtoolkit\crm_perf_toolkit\createcustomization\createentityorattribute.cs 225 7 CreateCustomization Error 46 'Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata' does not contain a definition for 'IsHierarchical' c:\crmtoolkit\crm_perf_toolkit\createcustomization\createentityorattribute.cs 274 7 CreateCustomization

jules09235 commented 7 years ago

@coolsama how did you get past the C:\Softwares\personalfolder\crmtoolkit\crmtoolkit\CRM_Perf_Toolkit\Utility\Utility.csproj /noconsolelogg er failed error?