esriConfig.defaults.io.proxyUrl = "/arcgisserver/apis/javascript/proxy/proxy.ashx";
i think youre probably on the right track regarding the proxy. the line of code above is looking in a location relative to the web application on the same server, but I recognize it as the location of the proxy in use for our published applications.example:http://[servername.domain.com]/webapplication.html
[servername.domain.com]/arcgisserver/apis/javascript/proxy/proxy.ashx
see the following article for more information about installing/configuring proxies and the situations in which they are required:http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/ags_proxy.htm