You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Running a script via the commanline and -S is not working #27
I can run a C# script in TE2 or TE3 with no problem.
When invoking the same script via the command line I get an error as follows. C# is all new to me
The script also works from TE2 when I open the tool from the command line using the SPN so I doubt its access related.
Executing script 0...
Script compilation errors:
Error CS1024 on line 1, col 2: Preprocessor directive expected
Error CS1025 on line 1, col 4: Single-line comment or end-of-line expected
Script has LF as EOL. Error occurirng at line 2. I'll dig around and see if I need to install anything else that comes built into TE
#r "Microsoft.AnalysisServices.Core.dll"
using ToM = Microsoft.AnalysisServices.Tabular;
Activity
albertospelta commentedon Jul 18, 2023
@MikkyD2 The current version seems to require CRLF as EOL. Replacing LF to CRLF in the script should fix the error.
MikkyD2 commentedon Jul 18, 2023
Thank you
otykier commentedon Sep 6, 2023
This should now be fixed in 2.20.0!