Error #2046 when going to my flex viewer

3476
5
Jump to solution
03-18-2013 09:09 AM
ChristopherLong1
New Contributor II
Hello all,

I've recently upgraded desktop and server to 10.1 While I was trying to get new service's to work I started getting this error on my viewer #2046 I Googled it for a bit and it looks like its maybe some adobe/flex error not really sure.

Has anyone gotten this before and fixed it?

here is the link to my map http://radfordgis.radford.va.us/flexmap3.0/flexviewer/index.html

Thanks,

Chris
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Chris,

  Aerial Photos 2011 is still using the wrong url address and it looks like your SearchWidget_Louisville.xml is still using the old urls as well.

View solution in original post

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
Chris,

  Aerial Photos 2011 is still using the wrong url address and it looks like your SearchWidget_Louisville.xml is still using the old urls as well.
0 Kudos
ChristopherLong1
New Contributor II
Robert,

I just took out Aerial Photos 2011 (I haven't remade that service yet) and replaced the wrong url address in the SearchWidget_Louisville.xml.

It looks like I'm still getting the #2046 error. Do you also get it if you go to the map?

Thanks!

Chris
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Chris,

   No I do not get that error. I do get a blank map though until I do a search and zoom to its results then I get a map and all is well. It looks like your full extent is out beyond all of your current scale dep.
0 Kudos
ChristopherLong1
New Contributor II
Robert,

Good to know! This is a really noobie question but where do I change my extent so It zoomed in on my data? this is what I had before the update in my Config.

<map wraparound180="true" initialextent="10844307.6098603 3544187.4876902 10930210.3876381 3601548.59880131" top="40" addarcgisbasemaps="false" esrilogovisible="false"> I used

Thanks!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Chris,

   This is what you need to change.
initialextent="10844307.6098603 3544187.4876902 10930210.3876381 3601548.59880131"
0 Kudos