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 built a server object extension in C# and Visual Studio 2010, using the ESRI sample for the Spatial Query SOE as a starting point.

(see the page on resources.esri.com)

The SOE never displays a property page in ArcCatalog or in Server Manager. If I enable it, it won't allow the map service to start, saying that the CLSID for the MapServer is not registered.

I think this is a bogus message, but I can't debug this - it doesn't even hit write any of my log messages to the server log. All the libraries I use (interfaces, extension, property page, server manager and register) have all been registered and GAC'd. The property page class shows up in Categories.exe and the assemblies all show up in the assembly folder.

It seems like there's some unstated step or steps that I haven't followed, but I can't find much on this. Has anybody actually built a working SOE? Any suggestions?

share|improve this question
    
Hev you compiled project with target x86 (not any platform)? –  nicogis Dec 24 '11 at 21:10
add comment

3 Answers 3

up vote 4 down vote accepted

Take a look at the 10.0 documentation for this sample, the steps are a bit more readable (and likely still applicable).

share|improve this answer
1  
Thanks, Kirk. I'm in the middle of upgrading several servers to 10.0, so I haven't looked at it yet. The 9.x server samples do look like they were written by underwear gnomes. –  Tim Rourke Sep 15 '10 at 17:09
1  
@Tim, you have no idea, Step 1. Write Doc, Step 2. Try to Create Demo for Doc, Step 3. ???? Step 4. Profit! This is the ESRI business model... –  D.E.Wright Dec 25 '11 at 6:17
add comment

Is it a MSD map service? Does this help any?

share|improve this answer
1  
Sorry, I hadn't thought to mention that. It's a MapServer service with an MXD document. I'm having enough trouble without trying out MSDs. :) –  Tim Rourke Aug 6 '10 at 21:04
add comment

The part where you're supposed to register the SOE with the MapServer can also be done using the SOEXplorer tool. It doesn't seem like it is working for ArcGIS Server 10 yet though.

I couldn't have been developing SOE without this tool.

share|improve this answer
add comment

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.