Hello everyone, I recently publish my site and it was working fine until today. I got this message:
http://screencast.com/t/BdTyk4X7
Do you know what it is? How can I fix this? When I run the same code locally, it is working fine.
Thanks
Hi Ryan,
You can try using Chrome Developer Tools or IE debugging to get more information about errors.
One thing with geometry services is that they often require a proxy to be configured.
Owen
Ryan,
Another bit of advice is that esri sample servers are NOT meant to be used in production environments. You should always change to use your own servers geometry service.
Sample Services:
Licensee may use these services for internal evaluation and development purposes only. All licenses for ArcGIS Online Services are subject to these terms of use and any additional restrictions or requirements identified in the Documentation
Thanks Robert. That's what I figure. Could you share with me some articles on how I can set this up? I am new to this.
Ryan,
Sure here is the documentation link for starting the geometry service from Desktop on your ArcGIS Server: http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000004zs000000
and this one is for doing the same using ArcGIS Server Manager:
Robert, I have a question. I quickly read the document and it seems that I would need my own server machine to host this. Is it correct? If it is the case, then it is a problem for me since I host my site with a hosting service and there is no way they will allow me to do that on their server.
Thanks
Ryan,
Yes this would require you to have ArcGIS Server and all of it's system requirements. Do you at least have a ArcGIS Organizational account where you are hosting your organizations data, and can satisfy the esri terms of use requirements?
Robert, I am still learning this. So please be patient with me here. I used asp.net and I learned how to code through the sample codes in ArcGIS API for JavaScript. I have not run across any requirement about ArcGIS organizational account. Could you please explain a little bit more? What kind of organization data are we talking about here? All I need for my web application is the basemap and arcgis services. Do I need to host any data in this case? I would appreciate it if you could give me some real examples just to clear this up.
Thanks.
Ryan,
I can not do anything but provide the link to esri terms and conditions for use of Web Mapping APIs and ArcGIS Online Services:
Terms of Use | ArcGIS for Developers
These type of use questions have been asked on GIS Stack Exchange before:
Is the ArcGIS Server JavaScript API free to use? - Geographic Information Systems Stack Exchange
Just one question about hosting organization data. What kind of data is it? What I have in mind is perhaps my company needs to some map of its own and then it would need to host that map data. But in my case, I don't need that yet. I only need the basemap from arcmap, which will be pull using the javascript api. So is it this data that you are referring to?