Re: [Geoserver-users] Cannot preview a layer in a MS SQL Server 2008 R2 data store

2013-03-06 Thread smmousavi
I have the same problem. I am running geoserver 2.1.4 and sql server 2008 r2. I can't figure out what to do. It's Ok with the shape file ,but as I import shape file to sql server and create a new layer I can't see layer preview and when I open the KML or GML I get a null exception error! --

Re: [Geoserver-users] Cannot preview a layer in a MS SQL Server 2008 R2 data store

2012-05-31 Thread Andrea Aime
On Thu, May 31, 2012 at 5:00 PM, Ultrabyte wrote: > Hi, again > > When we try to reload feature type, we get this message in console: > > 09:57:36,964 INFO  [org.geoserver.catalog] (http--0.0.0.0-8080-14) Disposing > dat > astore 'coldep_sqlserver' > 09:57:37,097 WARN  [org.geotools.jdbc] (http--

Re: [Geoserver-users] Cannot preview a layer in a MS SQL Server 2008 R2 data store

2012-05-31 Thread Ultrabyte
Hi, again When we try to reload feature type, we get this message in console: 09:57:36,964 INFO [org.geoserver.catalog] (http--0.0.0.0-8080-14) Disposing dat astore 'coldep_sqlserver' 09:57:37,097 WARN [org.geotools.jdbc] (http--0.0.0.0-8080-14) Could not find ma pping for 'CODIGO', ignoring th

Re: [Geoserver-users] Cannot preview a layer in a MS SQL Server 2008 R2 data store

2012-05-31 Thread Ultrabyte
Hi, Andrea We created the layer by adding a new resource, selecting our SQL Server datastore (previously created) and selecting our layer. When we did that, GeoServer did not load the native SRS, the native frames and the feature type details. We attach an image with the result. Thanks. 2012/5/3

Re: [Geoserver-users] Cannot preview a layer in a MS SQL Server 2008 R2 data store

2012-05-30 Thread Andrea Aime
On Wed, May 30, 2012 at 11:49 PM, Ultrabyte wrote: > Hello, Everybody. > > We have a server in which we installed Microsoft SQL Server 2008 R2 > Standard and GeoServer. We created a new data store and a new layer in > GeoServer. However, when we try to preview the new layer (in > OpenLayers, for e

[Geoserver-users] Cannot preview a layer in a MS SQL Server 2008 R2 data store

2012-05-30 Thread Ultrabyte
Hello, Everybody. We have a server in which we installed Microsoft SQL Server 2008 R2 Standard and GeoServer. We created a new data store and a new layer in GeoServer. However, when we try to preview the new layer (in OpenLayers, for example), we get a file named "wms" with the following contents: