Could not find referenced assembly VI.TSUtils.Dll

I'm compiling the database on a sql server 2017, installed on a windows server 2019 and I get the following message during compilation: "Could not find referenced assembly VI.TSUtils.Dll.", when I close the error message is prompted for a authentication method that requires username and password, which username would this be? I need help, I'm installing version 8.1.4...

  • You need to ensure that the VI.TSUtils.Dll is present in the directory where you started the compiler. It normally is if you have installed either the API, Client, or Server target.

  • I get the same error after upgrading IM 9.2 to 9.3 when running synchronization with RACF. When compiling database I don't get that error. 

    It happens on 3 different servers.

    (2025-01-23 23:22:02.373) [2134003] Error running synchronization. [1777018] Error running synchronization project (RACF)'s workflow (Initial Synchronization). [1777203] Error compiling synchronization project (RACF (15fb4f07-e35c-491e-bcca-44b9dc8c10e9)). [2501001] Could not find referenced assembly VI.TSUtils.dll;. at StdioProcessor.StdioProcessor._Execute(Job job) at VI.Projector.JobComponent.ProjectorComponent.Activate(String task) at VI.Projector.JobComponent.ProjectorComponent._FullProjection() ---- Start of Inner Exception ---- at VI.Projector.JobComponent.ProjectorComponent._FullProjection() at VI.Projector.Database.ProjectorExecutor.Project(ISession session, IProjectionConfiguration configuration, ProjectionOption options, ISystemObject adHocObject, CancellationToken cancellationToken) at VI.Projector.Projection.Extensions.Execute(IProjectorEngine engine, IProjectionConfiguration configuration, ProjectionOption options, ISystemObject adHocObject, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) ---- Start of Inner Exception ---- at VI.Projector.Projection.ProjectorEngine.ExecuteAsync(IProjectionConfiguration configuration, ProjectionOption options, IEnumerable`1 adHocObjects, CancellationToken cancellationToken) ---- Start of Inner Exception ---- at VI.Projector.Projection.ProjectorEngine.ExecuteAsync(IProjectionConfiguration configuration, ProjectionOption options, IEnumerable`1 adHocObjects, CancellationToken cancellationToken) at VI.Projector.Scripting.Extensions._Compile(IShellScriptEnvironment scriptEnv, Object baseElement, Boolean forceCompilation, Int32 errorNr, String baseObjectType) ---- Start of Inner Exception ---- at VI.Projector.Scripting.Extensions._Compile(IShellScriptEnvironment scriptEnv, Object baseElement, Boolean forceCompilation, Int32 errorNr, String baseObjectType) at VI.Projector.Scripting.ScriptProcessor.Process() at VI.Projector.Scripting.ScriptProcessor._Process(ICompilationCache cache, Boolean processLibrary) at VI.Projector.Scripting.ScriptCompiler.Compile(ScriptCompileOption option) at VI.Projector.Scripting.ScriptCompiler.OnCompile() at VI.Projector.ScriptSupport.Compiler.Roslyn.RoslynBasedCompiler.OnCompileCode(ScriptCompilerCodeGenerationResult codeGenerationResult) at System.Linq.OrderedEnumerable`1.ToArray() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source, Int32& length) at VI.Base.Extensions.Distinct[T,TKey](IEnumerable`1 enumerable, Func`2 keySelector, IEqualityComparer`1 comparer)+MoveNext() at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext() at VI.Projector.ScriptSupport.Compiler.Roslyn.RoslynBasedCompiler.FindAssembly(String dll) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at VI.Projector.ScriptSupport.Compiler.Roslyn.RoslynBasedCompiler.<>c.<FindAssembly>b__4_0(String f)

    The dlll is in the "C:\Program Files\One Identity\One Identity Manager" folder.

  • Are you using any scripted properties, scripted variables, or internal synchronization scripts in your synchronization project that reference the assembly VI.TSUtils.Dll via #References?

  • Thank you for the right question. I discovered error in the script property.