Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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]
  'param1',
  'param2',
  'param3',
  'param4'
GO

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 im doing wrong?

share|improve this question

1 Answer 1

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. http://docs.geoserver.org/2.1.3/user/data/sqlserver.html

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

 
discard

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.