Locate Widget not working in Sample Viewer

1195
8
04-07-2010 11:31 PM
MostafaAsadi
New Contributor
The widget box shows up but none of the fields are visible; all I have are the Locate and Clear buttons -and they do nothing.

Any ideas as to what the problem may be? I have tested this on multiple machines and multiple browsers (IE and Firefox).

Thanks!
0 Kudos
8 Replies
anthonylau
New Contributor
0 Kudos
MostafaAsadi
New Contributor
www.r4i-sdhc.com
www.zstar.hk
www.ndsill.com


Using an ESRI forum to advertise? That's weak...
0 Kudos
JamesGonsoski
New Contributor III
You'll get the symptoms you're seeing if the locator service isn't functioning. Check the LocateWidget.json file (js/com/esri/solutions/jsviewer/widgets/config folder). You should be able to paste the locator URL you'll find there into any browser and get a response showing the field names if it's functioning.

Jim G.
GIS Specialist, Mn Dept of Agriculture
0 Kudos
nicogis
MVP Frequent Contributor
what's proxy are using?
0 Kudos
ZlatkoGrebenar1
New Contributor II
The fields are not showing up so you can't search for addresses at all. Also the icons is the locate toolbar in the right hand corner are missing. I'm beginning to think it has to be a projection issue. I have tested it in Internet explorer 8 and the little icons show up but the field still don't. There also seems to be a cross browser problem going on.

Any help would be appreciated..


Thanks
0 Kudos
nicogis
MVP Frequent Contributor
I have asked proxy type because I use asp type  and I have fixed original file ashx because it created problem call web service.

you also can try some fix in comments gallery code of ESRI Viewer Download.

I advise Aptana and fiddler or Visual studio and fiddler for discover problem.
0 Kudos
karenvolarich
New Contributor III
Has anyone figured out this issue?!?  I have one server where the locator works and the fields appear and another where it doesn't.  I am able to open IE and put the path to the locator there and I see everything.  I'm under the impression that somehow the index (idx) fields are being blocked from loading.  IIS is configured with the MIME types, permissions are all there, the url is in the proxy page, etc... Really need to resolve this!
0 Kudos
Yann-EricBoyeau
Occasional Contributor
Has anyone figured out this issue?!?  I have one server where the locator works and the fields appear and another where it doesn't.  I am able to open IE and put the path to the locator there and I see everything.  I'm under the impression that somehow the index (idx) fields are being blocked from loading.  IIS is configured with the MIME types, permissions are all there, the url is in the proxy page, etc... Really need to resolve this!


I used to get the same error.
Changing the proxytype value at the end of the config.xml resolved the issue for me. You have to put the value corresponding to your webserver type.
0 Kudos