Solved! Go to Solution.
Ibrahim,
I'm wondering if you have deployed all the files you need for the local server which is what you need for your MPK files. The fact that your TPK suggests this as a tile package doesn't use the local server.
If you have an application which uses the local server I would expect to see the following directories under the arcgisruntime10.2 folder:
- client32
- client64
- LocalSever32 (files for the local server if you are 32bit)
- LocalServer64 (files for the local server if you are 64bit)
- resources
Are you familiar with the deployment tool? This helps you build a deployment based on the functionalily you have added to your application. The LocalServer directories contain quite a lot of files which might not all be needed. You can copy them all (this is very easy, but your deployment might be a bit bigger than needed.
Note that my answer is assuming you are using Windows; but the story is very similar for Linux.
Let me know how you get on.
Mark
Hey, little update, got it working with the help of one of the IT guys. we figured it was a networking issue. But something is still off, in the MPK only certain layers show up on the URL (out of 41 layers total, only 7 show up; and its not the first seven). I am going to try to recompile the MPK later tonight and see if that fixes it. I know on the SDK pc all 41 show up.
Hi Ibrahim,
Sorry I've not been on the forum for a few days.
Great to hear you have partially solved the issue. Now the fact that you only see a few of layers on one machine, but all of them on another suggests we should be taking a closer look at your MPK...
One idea might be when you create your package in ArcMap are you unchecking the option for "Include enterprise data instead of referencing data"? So if your MPK contains reference data are you able to get to it? If it's a file path can you read it from your other machine? If it's an SDE direct connect link to Oracle for axample, do you have the Oracle client setup?
Also when you create the MPK does your Analyse button give you any clues about potential issues?
Mark
Okay so lets dig into the wMeters layer as a example.
Try to consider:
- What is the layer data source? - I'm assuming it's likely to be a file geodatabase or shape file
- Can you access the path which is referenced in the MPK?
As you say this sounds like a permissions or firewall issue which always makes life interesting 🙂
Mark