I have a windows service that works fine referencing Map 2010's dlls
I need to upgrade the service to Map 3D 2012
I am using only Topobase.Data in references
Basically the problem is in creating SySConnection
This is code from service for 2010 version :
TopobaseAPI.Data.Sys.SysConnection sysConnection = new TopobaseAPI.Data.Sys.SysConnection(sysusr, syspwd, dataSource, false);
but constructor for SysConnection, that is used here, is obsolete in 2012 and error says that I should use ConnectionIdentifier class
So I changed code to this:
ConnectionIdentifier.Oracle sysIdentifier = ConnectionIdentifier.Create<ConnectionIdentifier.O
sysIdentifier.UserName = sysUser;
sysIdentifier.Password = sysPassword;
sysIdentifier.ServiceName = dataSource;
Topobase.Data.Sys.SysConnection sysConn = new Topobase.Data.Sys.SysConnection(sysIdentifier);
but now the first line of code ( ConnectionIdentifier.Oracle sysIdentifier = ConnectionIdentifier.Create<ConnectionIdentifier.O
Specified argument was out of the range of valid values.
Parameter name: T
This is the list of dlls thet service is using in it's bin folder. They were automatiaclly copied from \AutoCAD Map 3D 2012\bin folder during building.
Did you get a solution for this? I am also trying to migrate code from Topobase 2011 to Map3D 2015, which has a windows service and I am getting the same exact error. Could you resolve this?