Performance Toolkit on x64 OS with Visual Studio 2008

Aug 19, 2008 at 8:57 PM
Hi,

To use the CRM performance toolkit on a 64bit server we had to do the following (VS 2008 on Win2k3 x64)

Install VS2008 Team Suite
Install VS2005 C++ Components

When opening solution do not double click - otherwise vs2005 will load not 2008.  Open in VS 2008 and then convert solution if required.

To resolve issue with 64bit (found when running dbpopultaor)

For all dll's in dbpopultaor folder

1. Set coreflags 32- /Force
2. SN -Vr
3. Register in gac using gacutil /i

Everything then works.

If anyone else has got this working another way (with less effort!) please let me know - otherwise the above has worked for me

(this post is more for others benefit and to offer feedback)

Andy

Nov 8, 2008 at 12:28 PM
Actual commands used (change paths accordingly):

@ECHO Set CorFlags
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\CorFlags.exe" "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.dll" /32BIT- /Force
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\CorFlags.exe" "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.Passport.IdCrl.dll" /32BIT- /Force
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\CorFlags.exe" "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.Platform.Sdk.dll" /32BIT- /Force
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\CorFlags.exe" "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.Platform.Server.dll" /32BIT- /Force
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\CorFlags.exe" "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.SdkProxy.dll" /32BIT- /Force
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\CorFlags.exe" "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.SdkProxy.XmlSerializers.dll" /32BIT- /Force

@ECHO --------------------------------------

@ECHO Set Strong Name
@ECHO --------------------------------------
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\SN.exe" -Vr "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\SN.exe" -Vr "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\SN.exe" -Vr "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.Passport.IdCrl.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\SN.exe" -Vr "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.Platform.Sdk.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\SN.exe" -Vr "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.Platform.Server.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\SN.exe" -Vr "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.SdkProxy.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\SN.exe" -Vr "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.SdkProxy.XmlSerializers.dll"

@ECHo --------------------------------------

 

@ECHO Register in GAC
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\gacutil.exe" /i "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\gacutil.exe" /i "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\gacutil.exe" /i "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.Passport.IdCrl.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\gacutil.exe" /i "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.Platform.Sdk.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\gacutil.exe" /i "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.Platform.Server.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\gacutil.exe" /i "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.SdkProxy.dll"
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\gacutil.exe" /i "D:\CRM 4.0 Toolkit\Binaries\DbPopulator\Microsoft.Crm.SdkProxy.XmlSerializers.dll"

 

@ECHO ---------------------------------------

pause