Thanks for your reply, Jian.
I have this....
esri.config.defaults.io.proxyUrl = "/arcgisserver/apis/javascript/proxy/proxy.ashx";
Is that correct?
RGibson
If that's the directory structure where your proxy file is stored, then yes. However, most likely your directory structure is not exactly the same as the sample files. So in your web directory you need to find where you have your proxy file stored and then reference that path where you are setting the proxy using esri.config.defaults.io.proxyUrl.Here is an example. I have a website stored in a folder called testmap, within that folder I have another folder called proxy and inside that proxy folder I have a file called proxy.ashx. Then I would use the below in my JS file to set my proxy path.esri.config.defaults.io.proxyUrl = "/testmap/proxy/proxy.ashx";
Hope this helps.