Add Layer (.LYR) failed

1749
1
04-15-2013 01:30 AM
Santosh_Pavan_KumarNukala
New Contributor III
Namaste,
I am trying to create a layer and save it on a stand alone Engine based application in C#. I have created a graphics layer and tried putting some graphic elements on layer. I was able to save the Layer in .LYR format, I am able to successfully display the same when selected from Add Data button in toolbar. When I transfer the file over to another system over LAN and try to open the same layer on another machine, I am getting error message , "Adding the selected layer failed" and says the layer might have been created in older version as you can find in the attachment. I am using same version of ArcObjects 10.1 on both machines. Please let me know how I can display .LYR files on another machine, or is there something I have to do before transferring the layer file like Import/ export.
Please Help as I have got Stuck up at this point.

Thanks and Regards,
Pavan
0 Kudos
1 Reply
nicogis
MVP Frequent Contributor
In these machines have you same config (x64 or x32, O.S., same service pack arcengine). Have you tried see version of layer saved (use IDocumentVersion)?
0 Kudos