This project is read-only.
1
Vote

Version difference in ASTrace2012 SourceCode and Downloadable exe

description

The Source Code that has been given at the location https://sqlsrvanalysissrvcs.codeplex.com/SourceControl/latest#ASTrace for ASTrace2012 is not the same as the one for the executable is given at https://sqlsrvanalysissrvcs.codeplex.com/downloads/get/382237. I needed to run multiple instances of ASTrace on my machine so I downloaded the Source Code and tried to modify the name from ASTrace to ASTraceMonitor. But the trace never starts even though all the parameters are same. On further analysis, it seems that the version of the code for ASTrace2012 is different. Below are the snapshots from the file app.config.

Content from Source Code
<applicationSettings>
        <ASTrace.Properties.Settings>
            <setting name="AnalysisServerNames" serializeAs="String">
                <value>localhost\TABULAR</value>
            </setting>
            <setting name="SQLServer" serializeAs="String">
                <value>DBName</value>
            </setting>
            <setting name="SQLServerDatabase" serializeAs="String">
                <value>CubeMonitor</value>
            </setting>
            <setting name="TraceTableName" serializeAs="String">
                <value>CubeHistory</value>
            </setting>
            <setting name="TraceDefinition" serializeAs="String">
                <value>Standard.tdf</value>
            </setting>
            <setting name="PreserveHistory" serializeAs="String">
                <value>True</value>
            </setting>

            #Change 1
            <setting name="AnalysisServerNames" serializeAs="String">
                <value />
            </setting>

            #Change 2
            <setting name="AppendDateToSQLTable" serializeAs="String">
                <value>False</value>
            </setting>

            <setting name="RestartRetries" serializeAs="String">
                <value>3</value>
            </setting>
            <setting name="RestartDelayMinutes" serializeAs="String">
                <value>5</value>
            </setting>
        </ASTrace.Properties.Settings>
    </applicationSettings>
</configuration>
content from Executable
<applicationSettings>
        <ASTrace.Properties.Settings>
            <setting name="AnalysisServerNames" serializeAs="String">
                <value>localhost\TABULAR</value>
            </setting>
            <setting name="SQLServer" serializeAs="String">
                <value>DBName</value>
            </setting>
            <setting name="SQLServerDatabase" serializeAs="String">
                <value>CubeMonitor</value>
            </setting>
            <setting name="TraceTableName" serializeAs="String">
                <value>CubeHistory</value>
            </setting>
            <setting name="TraceDefinition" serializeAs="String">
                <value>Standard.tdf</value>
            </setting>
            <setting name="PreserveHistory" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="RestartRetries" serializeAs="String">
                <value>3</value>
            </setting>
            <setting name="RestartDelayMinutes" serializeAs="String">
                <value>5</value>
            </setting>
        </ASTrace.Properties.Settings>
    </applicationSettings>

# Change 3
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
   <runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
         <dependentAssembly>
            <assemblyIdentity name="Microsoft.SqlServer.ConnectionInfo" publicKeyToken="89845dcd8080cc91" />
            <bindingRedirect oldVersion="10.0.0.0" newVersion="11.0.0.0" />
            <publisherPolicy apply="no" />
         </dependentAssembly>
      </assemblyBinding>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
         <dependentAssembly>
            <assemblyIdentity name="Microsoft.SqlServer.ConnectionInfoExtended" publicKeyToken="89845dcd8080cc91" />
            <bindingRedirect oldVersion="10.0.0.0" newVersion="11.0.0.0" />
            <publisherPolicy apply="no" />
         </dependentAssembly>
      </assemblyBinding>
   </runtime>
</configuration>
As we can see there are differences between the files. But I cannot ensure about the remaining part of the code as it is an executable.

Can anyone please confirm whether the code is the latest one? If yes, then can you please explain why there is discrepancy between the config files? (Am I looking at wrong link?)

If this is not the Latest Source Code, Can you please point me to the Latest Version of the ASTrace2012 code?

Thanks and Regards,
Vijeth

comments