SelectServer in 4.3 causing issues
Posted: Tue Dec 11, 2018 12:23 pm
When we copied the Softpro DLL's from the mid-tier server to our local (and production), we got NewtonSoft.JSON mismatched. Do the softpro DLL's use NewtonSoft.JSON as a dependancy? If so, which version?
When we made our project to be 9.0.1, we get the following error on using SelectServer ss.
An exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll but was not handled in user code
--> using (SelectServer ss = new SelectServer(new Uri(_DBConn.CnnSelectUrl()), creds))
NetworkCredential creds = _DBConn.CnnSelectServer();
using (SelectServer ss = new SelectServer(new Uri(_DBConn.CnnSelectUrl()), creds))
When we made our project to be 9.0.1, we get the following error on using SelectServer ss.
An exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll but was not handled in user code
--> using (SelectServer ss = new SelectServer(new Uri(_DBConn.CnnSelectUrl()), creds))
NetworkCredential creds = _DBConn.CnnSelectServer();
using (SelectServer ss = new SelectServer(new Uri(_DBConn.CnnSelectUrl()), creds))