I have number of production applications using v 4.5 of the Web Edition (and few using v 3).
What is the preferred way of upgrading to the version 5?
Mind you, these are production apps so the upgrade must be smooth and everything needs to work.
I have number of production applications using v 4.5 of the Web Edition (and few using v 3).
What is the preferred way of upgrading to the version 5?
Mind you, these are production apps so the upgrade must be smooth and everything needs to work.
Jakub,
The 5.0 version is backwards compatible with 4.5 and you can install the versions side by side. To upgrade your project all that is required is running th 5.0 installer (leave the 4.5 installed too) then download the latest daily build of th 5.0 dlls and replace them so you have the bug fix.
Finally just reference your project to the new 5.0 dlls and evertying should run just as it did before in 4.5.
If you have any problems please don’t hesitate to let us know.
Thanks,
Gary
I did that. Now I am getting "Unllicensed" text instead of a map on some pages and on others I am getting "Object reference not set to an instance of an object"
The code works fine on 4.5 on Vista and SQL 2005
New computer with v 5 had Windows 7 and SQL2008. Both are compiled to NET 3.5
Looks like your forum does not like Explorer 9. It posted over and over.
Sorry.
I added the latest build. Now I am getting "Unllicensed" text instead of a map on some pages and on others I am getting "Object reference not set to an instance of an object"
The code works fine on 4.5 on Vista and SQL 2005
New computer with v 5 had Windows 7 and SQL2008. Both are compiled to NET 3.5
What do I need to do to fix it?
Dear Jakub,
Thanks for you post.
First, could you please upload the sample which will make the error? Because we have some breaking change in Google Map and Bing map and some others. It will help us find the error quickly .
Second, is the “unlicensed” problem show in some simple page? Did you found this problem in our How Do I Samples?
Any more questions please feel free to let me know.
Thanks,
Gary
It is in the Dynaminc Overlay.
If I switch it off, the undelying Google map shows up.
Simplified code is attached
It does not happen on samples.
None of my layers (shapefile or markers) are showing on any page. Other error is "Object reference is not set to instance of object"
this code creates it
Map1.CustomOverlays.Add(layerOverlay)
Default2.aspx.zip (1.97 KB)
Dear Jakub,
Thanks for your sample, that will help us to find the root cause faster. I will let you know the result as soon as possible.
Gary
Dear Jakub,
I have tested your code, Looks like everything is fine, but I didn’t tested the SQL part.
First, your markerOverlay can display, but your marker coordinate is too far away from your current extent, so you need zoom out more times to see it, please try that.
Second, your dynamicOverlay have a InMemoryFeatureLayer, but you only set there is layer’s style not added any features to the layer, so it can’t display anything.
Third, about the error, I didn’t meet that problem, can you make sure you reference all necessary Dlls? Or could you please try to comment the sql part and try?
Thanks,
Gary