I need to upload two REST SOE to ArcGIS Server. They are technically same and I just copied second one from the first and renamed the project and built it but when I tried to upload the second SOE ArcGIS server Complained that
so I tried to change some configurations at second SOE as
1- in Properties/AssemblyInfo.cs I changed
[assembly: AssemblyTitle("GeometricNetworkUtility")]
[assembly: AssemblyDescription("Geometric Network Utility")]
[assembly: AddInPackage("ArcGIS.Soe.Rest.GeometricNetworkUtilitybyPhase", "f15446f6-4217-4c50-a970-078c0b64a20a",
Author = " ",
Company = " ",
Description = "Geometric Network Utility",
TargetProduct = "Server",
TargetVersion = "10.4",
Version = "1.3")]
To
[assembly: AssemblyTitle("GeometricNetworkUtility2")]
[assembly: AssemblyDescription("Geometric Network Utility 2")]
[assembly: AddInPackage("ArcGIS.Soe.Rest.GeometricNetworkUtility2", "f15446f6-4217-4c50-a970-078c0b64a20a",
Author = " ",
Company = " ",
Description = "Geometric Network Utility 2",
TargetProduct = "Server",
TargetVersion = "10.4",
Version = "1.3")]
and in GeometricNetworkUtility.cs I changed the
Description = "Geometric Network Utility",
DisplayName = "Geometric Network Utility",
to
Description = "Geometric Network Utility 2",
DisplayName = "Geometric Network Utility 2",
but still after rebuilding the solution and uploading the new SOE I am getting the same error message. Can you please let me know how to solve this?
Have you tried change guid of addinpackage and of the class?
Also asked on GIS Stack Exchange. I still question the need to two identical SOEs.
- V
We've needed to do that same, having 3 code streams.
A way around this is to do the following:
We successfully using the same SOE, with subtle differences, having changed the details aboe.