Writing to SQL fails via scheduler fails

More
1 year 1 month ago - 2 months 1 week ago #25367 by Concina
Hi,

I have updated Advanced ETL Enterprise (64) to version 6.4.5.67
Running a package in debug works fine, but the scheduled execution fails with the following log.

Information    03/07/2025 10:52:04    Executing Transformation: Analisi Adozioni - Importa ELS_CustomerInventory su ETL
Information    03/07/2025 10:52:04        Starting Transformation...
Information    03/07/2025 10:52:04        Map Name: Analisi Adozioni - Importa ELS_CustomerInventory su ETL
Information    03/07/2025 10:52:04        Author: 
Information    03/07/2025 10:52:04        Version: 
Information    03/07/2025 10:52:04        Description: 
Information    03/07/2025 10:52:04        Preparing Writers...

Error    03/07/2025 10:52:04         42000 [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near '0'.
 
Last edit: 2 months 1 week ago by admin.
The following user(s) said Thank You: Peter.Jonson

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #25368 by Peter.Jonson
I assume that  you are using agent for execution

Most likely the problem you are having is related to user regional settings.

Eg you have two users

USER1 user used to design transformations and everything is working fine
USER2 is used to run transformations using agent and it is failing

Check user USER2 regional settings and make sure that they are the same as USER1.

Also are you using windows authentification for sql server connections ot you are using sql server users?

It might also related to sql server user defalt language

Peter Jonson
ETL Developer

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #25369 by Concina
everything was working fine before the update and neither the SQL settings nor the users used have changed

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #25370 by admin
We are trying to reproduce it in the office.

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #25371 by admin
Please provide a screenshot of sql server connection dialogue

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #25372 by Concina
The package uses a transformation that reads a view from an SQL database and writes a table to another SQL database on the same server SQL 2019.
Both the ETL server and the SQL server are Windows 2022 standard
 
Attachments:
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save