Hi,
We've been using ASTRACE with SQL 2012/Windows Server 2008 R2 for a good while now. We are currently migrating to new SQL Server 2016 SP1/CU1 Windows 2012 R2 servers. I have tried to install the version of AStrace we have been using on 2012 and also copied
the latest ASTrace from GitHub.
It seems to install OK but I cannot start the service - I get the following error:
Log Name: Application
Source: .NET Runtime
Date: 11/04/2017 16:30:41
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: XXXWISQLP14.BlueCrest.local
Description:
Application: ASTrace.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info:
System.IO.FileNotFoundException
Exception Info: System.IO.FileNotFoundException
at ASTrace.Trace..ctor()
at ASTrace.Program.Main()
Does anyone have any suggestions, please, why I am having this issue? The config file is shown below and the service account should have permissions:
regardd
Ken
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="ASTrace.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</sectionGroup>
</configSections>
<applicationSettings>
<ASTrace.Properties.Settings>
<setting name="AnalysisServerNames" serializeAs="String">
<value>XXXWISQLP14\SSAS01</value>
</setting>
<setting name="SQLServer" serializeAs="String">
<value>XXXLWISQLP14\INST01</value>
</setting>
<setting name="SQLServerDatabase" serializeAs="String">
<value>TraceDB</value>
</setting>
<setting name="TraceTableName" serializeAs="String">
<value>ASTraceTable</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>
<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>
Ken E