I misstyped in the first post, I was working in DesktopEdition, but after the tips You provided, i tried the WebEd, and i've got simillar situation there too. It compiles, severs is up, and empty map displays with a message in the map "an item with the same key has already been added".
Someone already posted that problem, but with Oracle base, but only when there is more than one schema in the database, and I have got only one schema.
1. unit of the coordinate system of this table has to be meter (although i tried decimal, but with same results), and the data type of the column is geometry
2. table name is topologija and the_geom is the column name
3. geometrytype of the_geom column is Polygon
4. i set the bounding box for current extent
Later i copied code You provided above, but with the same message on the map : "an item with the same key has already been added"
p.s.
But if i change current extent to rectangle
Map1.CurrentExtent = new RectangleShape(-140, 60, 140, -60);
i don't get the same message as above, just an empty map.