EMDBLoader.exe required SQL Admin privilege

Feb 22, 2011 at 4:48 PM

I had trouble running the EMDBLoader.exe and was receiving the following error in the console:

System.NullReferenceException: Object reference not set to an instance of an object.

at CRM_Perf_BenchMark.EntityManager.GetRandomOrg() in C:\CRM 4.0 Toolkit\CRM4_Perf_Toolkit\CRM_Perf_BenchMark\Utilities\EntityManager.cs:line 225

at CRM_Perf_BenchMark.EntityManager.get_OrgId() in C:\CRM 4.0 Toolkit\CRM4Perf_Toolkit\CRM_Perf_BenchMark\Utilities\EntityManager.cs:line 209

at EMDBLoader.Program.Main(String[] args) in C:\CRM 4.0 Toolkit\CRM4_Perf_Toolkit\EMDBLoader\Program.cs:Line14

It turned out to be because I wasn't a SQL admin. As I was running this in a sensitive organisation, this information would have been useful to know earlier.

Maybe the documentation could be updated to include this prerequisite?

Rob Boyers