I am at a complete loss... I have a Server 10.0 license on my machine but the following code fails:
if (ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Server) == false)
throw new Exception("License Failed");
MapServerClass mapServer = new MapServerClass();
mapServer.Connect(pathToMap); // Fails!
ComException was unhandled
MapServer is not supported with the current license.