On Wed, May 30, 2012 at 11:49 PM, Ultrabyte <ultrab...@gmail.com> 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 example), we get a file named "wms" with the following > contents:
The layer does not have a default style associated. Which is rather strange, the GeoServer GUI populates the default style automatically. How did you create the layer? In any case, you can go into the GUI and assocaite the layer with a style, look inside the "Publishing" tab Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users