Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a MS SQL Server 2008 R2 with and have stored procedure in here. I want to create 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 Error occurred building feature type

What im doing wrong?

share|improve this question
up vote 2 down vote accepted

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.

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. – Chad Cooper Feb 1 '13 at 15:32
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 '13 at 11:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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