I have ArcIMS 9.2 sp6 and I install sde92-931directconnect.zip for ArcGIS Desktop and ArcIMS 9.2.
Now I can connect to ArcSDE 9.3.1 Workgroup from ArcCatalog and ArcMap. But I couldn't create ArcIMS ArcMapImageServer map service for mxd with layers from ArcSDE WG 9.3.1.
I have ERROR0125 in ArcIMS Administrator. I found in sdedc_SQL server.log: IDBInitialize::Initialize Failed CAN'T OPEN INSTANCE: sde:sqlserver. Spatial Engine Connection Failed (-9). Cannot Get Access to Instance sde:sqlserver