6

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?

  • Hev you compiled project with target x86 (not any platform)? – nicogis Dec 24 '11 at 21:10
4

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

  • 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
0

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

  • 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
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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