Ask our Experts
Didn't find what you are looking for? Ask our experts!
Share Your Feedback – Help Us Improve Search on Community! Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately. Click here to take the survey
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Search in
Link copied. Please paste this link to share this article on your social media post.
Hi Jeff,
I have upgraded my SmartConnector Configuration processor to version 2.4.7. SmartConnector version is also 2.4.7 on my machine. AutomationClientInterfaces login api is throwing run time exception. Please advise.
My code (Second line, Login function is throwing exception–
AutomationClientInterfaces _aci = new AutomationClientInterfaces(iAdvanced: true, iOnlineSession: true, iSession: true, iNavigate: true, iHyperlink: true);
_aci.OnlineSession.Login($"https://{SboServer.Server}:{SboServer.Port}", SboServer.Username, SboServer.Password, SboServer.Domain).Throw();
Exception --- {"Method Login failed. Login failed. ServerVersionsNotCompatible "}
Source - "SE.WorkStation.Automation.Interface" string
Trace "=== exception from automation ===\r\nMigrationException ' Login failed. ServerVersionsNotCompatible'\r\n at SE.WorkStation.Migration.MigrateSession.LogIn(Uri uri, String userName, String password, String domain)\r\n === inner exception ===\r\n InvalidOperationException 'Login failed. ServerVersionsNotCompatible'\r\n at SE.WorkStation.Migration.MigrateSession.LogonToServer(Uri uri, String userName, String password, String domain)\r\n" string
Thanks!
Neeraj Tomar
Link copied. Please paste this link to share this article on your social media post.
Hi Neeraj,
I don't think this is an issue with Smart Connector. But it is likely an issue with the WorkStation SDK version you are using. Please upgrade these assemblies to the 2.0.X version.
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.