I am trying to use the crmsvcutil.exe
for a CRM 2011 On Premise installation. I am running it from command line using the following command:
CrmSvcUtil.exe /url:http://crmx36/FMGLegal/XRMServices/2011/Organization.svc
/out:Xrm /username:owsike /password:test /domain:CORP
/namespace:XRM /serviceContextName:LegalDataContext /codeCustomization:"Microsoft.Xrm.Client.CodeGeneration.CodeCustomization,Microsoft.Xrm.Client.CodeGeneration"
The window for the crmsvcutil.exe
will then open, but close after less than a second. I am trying to enable tracing, but all the posts I've seen suggest adding a line to its config file. My SDK download did not include a config file for this exe, so I created one with the following content:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
</appSettings>
<system.diagnostics>
<trace autoflush="false" indentsize="4">
<listeners>
<add name="configConsoleListener"
type="System.Diagnostics.ConsoleTraceListener">
<filter type="System.Diagnostics.EventTypeFilter"
initializeData="Error" />
</add>
</listeners>
</trace>
</system.diagnostics>
</configuration>
But logging/tracing is still not being enabled, so I can't see the error that it is throwing. Does anyone know why the exe is still not using logging/tracing, or why my crmsvcutil.exe
is erroring out?