We are Trying to connect to Laser fiche 8.2 repository with dll version 9.2 of laserfiche
We have added below reference dll of version 9.2
Laserfiche.DocumentServices.dll
Laserfiche.RepositoryAccess.dll
ClientAutomation.dll
Laserfiche.I18n.dll
Laserfiche.HttpClient.dll
When i am trying to connect to the repository we are able to establish the connection with laser fiche server but unable to login into the server we are getting the below issue
Could not load file or assembly 'Laserfiche.I18n.dll' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)":"Laserfiche.I18n.dll"}
do i need to add any other references to override this issue or is there any other process to do this below is the code which we are using
visual studio:2012
framework :4.5
using System;
using System.Data;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Laserfiche.RepositoryAccess;
using Laserfiche.DocumentServices;
using Laserfiche.RepositoryAccess.Records;
using Laserfiche.RepositoryAccess.Linq;
namespace MovingFiles
{
class Program
{
static void Main(string[] args)
{
string rtnstring = "";
string serverName = "Servername", repoName = "reponame";
string username = "username", password = "password";
try
{
// log into the repository
RepositoryRegistration repository = new RepositoryRegistration(serverName, repoName, 4050, 443);
Session session = new Session();
//session.IsSecure = true;
Console.WriteLine("i am here");
session.Connect(repository);
//we are getting the issue in the below line when we are trying to login into the session
session.LogIn(username, password, repository);
Console.WriteLine("i am here too");
String rootFolder = "\\1.1.1 record series";
int intfolder = Folder.CreateRecordSeries(rootFolder, "", "", EntryNameOption.None, session);
Console.WriteLine("Success");
}
catch (Exception ex)
{
throw;
}
}
}
}
let us know if laserfiche version 9.2 dll will work to connect to the repository 8.2 or do we need to download the 8.2 version dll if so where we can get the above dlls to be downloaded
Thanks