I have a MS SQL Server 2008 R2 and have a stored procedure in here. I want to create a layer in Geoserver using this. I try:

EXECUTE [dd_base].[dbo].[Request BaseSration]

And get error near key word EXECUTE.

In Geoserver logs:

ERROR [geoserver.web] - Failed to create feature type
java.io.IOException: Error occurred building feature type

What am I doing wrong?

1 Answer 1


I don't know what instructions you are following, could you post them here to further study your issue? I found a link that addresses configuring the mssql for geoserver correctly, which if the error is not a coding issue perhaps it will help. http://docs.geoserver.org/2.1.3/user/data/sqlserver.html

  • Im already install MS sql plugin in geoserver. Anyway you cant use ms sql procedures on geoserver. Only way its create view in data base or use simple SELECt query to create view on geoserver. Also geoserver cant read geography type its recognise it as byte[] so you gonna use geometry only.
    – Kliver Max
    Feb 6, 2013 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.