I have scheduled a workflow to load data from a SQL data source into an excel output. Running from Alteryx it works fine, but the scheduled version fails because it cannot locate the database. I use Aliases to point to my databases and I use the UserAlias.xml file to define my databases consistently. The error is "Unable to translate alias aka:<Databasename>"
Is there any reason for the scheduled version of the package not to be able to see the alias database?
This is how my database is defined:
</Alias>
<Alias name="AdventureWorks2012">
<Connection>odb:Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=AdventureWorks2012;Data Source=.\MSSQLSERVER2012;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=.;Use Encryption for Data=False;Tag with column collation when possible=False</Connection>
<Password />
</Alias>