My Government Service Address Issue

344
2
Jump to solution
05-02-2012 01:32 PM
JordanBrod
New Contributor III
My town recently upgraded servers and operating systems from Mircrosoft Windows Server 2003 to Microsoft Windows Server 2008R2.  We had the My Governments Services app running on the old server and it ran fine, when we installed it to the new server it would run the address search on the first open of the web page but any refresh or reopening after that it would hang while searching for an address.  If you restart the default website from IIS on the server it will let you search the first time the webpage is open but on subsequent openings it hangs with the loading dialogue up.  If you try to type a new address into the container it quickly flashes loading before giving the error dialogue that says "Cannot read property 'visible' of undefined".  This is really making me tear my hair out trying to figure out why it gets stuck on the second page load when trying to search an address, this problem does not occur on any of the other apps that we have installed.  Any insight or help would be much appreciated.
0 Kudos
1 Solution

Accepted Solutions
JordanBrod
New Contributor III
Okay I have answered my own questions by digging into the code, the reason why the My Government Services address locator wasn't working was because I had the config file pointing to an imagery basemap service that I have not published yet, when I set it to ESRI's imagery service the address location started working fine.  The Public Information Center address tool was not working because the downloaded default.htm file had the zoom slider visibility set to false instead of true and the locator function references the zoom slider for zooming into locations, so setting that to true fixed that.

View solution in original post

0 Kudos
2 Replies
JordanBrod
New Contributor III
As an update this continues to not work and we have now noticed that the addressing is not working on the Public Information Center that we deployed either.  It will place the push pin but not zoom in to the location and it throws this error on the screen: "TypeError: Cannot read property 'maximum' of null".  We just moved these web apps to a new server so I was wondering if there was anything else I needed to update or install to make the java script perform correctly.  I've checked the code against what's on arcgis.com and it all looks the same so it has to be a setting or an upgrade on my part.  We are looking at deploying these apps to our citizens soon and it would be great to have them all working correctly.  Any help would be much appreciated.
0 Kudos
JordanBrod
New Contributor III
Okay I have answered my own questions by digging into the code, the reason why the My Government Services address locator wasn't working was because I had the config file pointing to an imagery basemap service that I have not published yet, when I set it to ESRI's imagery service the address location started working fine.  The Public Information Center address tool was not working because the downloaded default.htm file had the zoom slider visibility set to false instead of true and the locator function references the zoom slider for zooming into locations, so setting that to true fixed that.
0 Kudos