Failed to load type in C #

In my C # class, which worked well, and suddenly from yesterday, when I try to run the program, I get the following error. When I try to build a solution, it completes successfully.

Could not load type 'FileNet.Api.Admin.IRepository' from

assembly 'FileNet.Api, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = 63fc2fb3fdeef4f1'.

When I try to debug a solution, I get the above error in SetOSNames (); I can not enter SetOSNames (); Method.

Please, help

private void IntializeVariables(IConnection connection)
{
    domain = Factory.Domain.FetchInstance(connection, null, null);
    domainName = domain.Name;
    ost = domain.ObjectStores;
    SetOSNames(); ///Error thrown here
}

//
// Intializes the ArrayList osNames with object store names.
//
public void SetOSNames()
{
    IEnumerator ie = ost.GetEnumerator();
    while (ie.MoveNext())
    {
        IObjectStore os = (IObjectStore)ie.Current;
        osNames.Add(os.DisplayName);
    }
}
+3
source share
1 answer

, , , . Fuslogvw.exe, , . , . , FileNet.Api.dll, , , GAC. GAC dev.

+5

Source: https://habr.com/ru/post/1785609/


All Articles