I am uploading some layers dynamically and this is the code I am using for that:ArcGISDynamicMapServiceLayer layer = new ArcGISDynamicMapServiceLayer(); layer.Url = myUrl; //this is just a string I acquire somewhere else layer.InitializationFailed += new EventHandler<EventArgs>(layer_InitializationFailed); //I added this in case our service was down layer.Initialize(); //I initialized here and... if (layer.IsInitialized) //when I test in this line it says false map1.Layers.Insert(1, layer); ...... void layer_InitializationFailed(object sender, EventArgs e) { MessageBox.Show("Your Layer was not initialized properly. The service may be down or there is a network problem."); } As you notice in the code, I initialize the layer and then test to make sure it has been initialized otherwise I do not add the layer. I did this since our internal service is sometimes down for maintenance. That way we avoid crashes or errors in the application. The interesting thing is that this code was working fine before. Now it does not add the layer to the map because it is always returning false and there is no error being handle either, no message box comes up ever.Any ideas??Thanks