We have a development server and a production server for SoftPro.
I've built an API to communicate with the SoftPro server.
When I connect to the development server, everything works fine. When I connect to the production server, I get the error:
on the line:Could not load file or assembly 'Microsoft.AI.ServerTelemetryChannel, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Code: Select all
if (!ss.TryAuthenticate(out reason))
Code: Select all
string username = ConfigurationManager.AppSettings["SoftProUser"];
string userpassword = ConfigurationManager.AppSettings["SoftProPassword"];
string softprodomain = ConfigurationManager.AppSettings["SoftProDomain"];
string softproserver = ConfigurationManager.AppSettings["SoftProServer"];
errorMessage = string.Empty;
NetworkCredential creds = new NetworkCredential(username, userpassword, softprodomain); //"pekappd06");
using (SelectServer ss = new SelectServer(new Uri(softproserver), creds))
{
string reason;
if (!ss.TryAuthenticate(out reason))
{
errorMessage = reason;
return null;
}
Does anyone have any ideas?ConfigurationManager.AppSettings["SoftProServer"]
No one can find a difference between the two servers file-system-wise.
I have the DLL in both bin and ./ of the API locally. The DLL exists in the same place remotely on both servers. Is there any way to get any more information on this? Thanks in advance.