Deployment Controller Service Issue + Licensing Info

Deployment Controller Service Issue + Licensing Info

  
I just received this error message in both Service Studio 6.0 and Service Center:

Internal Error
Environment Fault: Unable to contact OutSystems Deployment Controller Service. Please make sure this service is running on 'localhost' to obtain licensing information.


I've been trying to look up what to do, but I can't find anything helpful. I get the error in Service Studio when I try to publish and in Service Center when I try to log in.

I just got a new laptop, plus I just upgraded from 5.1 to 6.0, and I've been having a ton of issues with Service Studio on the new laptop, so it's probably something related to that.

Windows 7 Proffesional (64-bit)
HP Probook 4720s
Service Pack 1
Service Studio 6.0 Standard 300 Free Trial

I've been having a lot of issues with an eSpace that was upgraded from 5.1, so I tried creating a new test application to see if it was just the eSpace, or something else. I got the error in the test application that was created from the start in 6.0. I can't even log into Service Center without getting the error.

Any help is much appreciated!
More details in the error message:

Environment Fault: Unable to contact OutSystems Deployment Controller Service. Please make sure this service is running on 'localhost' to obtain licensing information.
   at ssServiceCenter.RssExtensionOMLProcessor.MssActivationIsFeatureSupported(HeContext heContext, String inParamFeatureId, IRecord& outParamResponse)
   at ssServiceCenter.Actions.ActionActivation_IsFeatureSupportedByName(HeContext heContext, String inParamFeatureId, Boolean& outParamIsSupported)
   at ssServiceCenter.Actions.ActionActivation_IsFeatureSupportedById(HeContext heContext, String inParamFeatureId, Boolean& outParamIsSupported)
   at ssServiceCenter.Actions.ActionActivation_SupportsDbDirectConnect(HeContext heContext, Boolean& outParamHasDbDirectConnect)
   at ssServiceCenter.Functions.ActionActivation_SupportsDbDirectConnect(HeContext heContext)
   at ssServiceCenter.Flows.FlowCommon.WBlkHeader.Preparation(HeContext heContext)
   at ssServiceCenter.Flows.FlowCommon.WBlkHeader.Page_Load(Object sender, EventArgs e)
   at ssServiceCenter.Flows.FlowCommon.WBlkHeader.PageStartHook()
   at ASP.blocks_servicecenter_common_header_ascx.__DataBind__control2(Object sender, EventArgs e)
   at System.Web.UI.Control.OnDataBinding(EventArgs e)
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at OutSystems.HubEdition.WebWidgets.OSUserControl.DataBind()
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at OutSystems.HubEdition.WebWidgets.TableCell.DataBind()
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at OutSystems.HubEdition.WebWidgets.Tr.DataBind()
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at OutSystems.HubEdition.WebWidgets.Table.DataBind()
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at System.Web.UI.Control.DataBindChildren()
   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
   at OutSystems.HubEdition.WebWidgets.OSPage.DataBind()
   at ssServiceCenter.Flows.FlowCommon.ScrnGeneralReportError.DataBind()
   at ssServiceCenter.Flows.FlowCommon.ScrnGeneralReportError.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Hi Britni,

As a first suggestion, could you try to restart the OutSystems services, and re-check if that message still shows up?

If that still happens, let us know what kind of error messages do you get in Windows' Event Viewer (under Control Panel > Administrative Tools).

Let us know what you find.

Regards,

Paulo Tavares
After restarting and trying again, here's the error details I got in Service Studio 6.0:

[2] System.ServiceModel.FaultException
Target : System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage
Source : mscorlib
Message : System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: input
   at ssServiceCenter.WebServices.ServiceStudio.GetLicenseInformation(String username, String password, WORCActivationLicenseInformationRecord& licenseInfo, WORCSS_LicensingFeatureInfoRecord& softwareUnits, WORCSS_LicensingFeatureInfoRecord& namedUsers, DateTime& serverDate, Boolean& trialCommunityInstalled)
   --- End of inner exception stack trace ---
Stack Trace

Server stack trace:
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at ServiceStudio.ServerCommunications.SS.DotNET.ServiceStudioSoap.EndGetLicenseInformation(IAsyncResult result)
   at ServiceStudio.ServerCommunications.SS.DotNET.ServiceStudioSoapClient.ServiceStudio.ServerCommunications.SS.DotNET.ServiceStudioSoap.EndGetLicenseInformation(IAsyncResult result)
   at ServiceStudio.ServerCommunications.SS.DotNET.ServiceStudioSoapClient.EndGetLicenseInformation(IAsyncResult result, SS_LicensingFeatureInfo& softwareUnits, SS_LicensingFeatureInfo& namedUsers, DateTime& serverDate, Boolean& trialCommunityInstalled)
   at ServiceStudio.ServerCommunications.SS.DotNET.DotNetWebService.<>c__DisplayClassd0.<GetLicenseInformation>b__cf(ServiceStudioSoapClient ws, IAsyncResult r)
   at ServiceStudio.ServerCommunications.Framework.WebServiceBase`2.<>c__DisplayClass9`1.<MakeCall>b__5(IAsyncResult result)
   at OutSystems.Common.GenericInterruptibleCommunication.Execute[TResult](Func`1 begin, Func`2 end, Int32 timeoutInMiliseconds)
   at ServiceStudio.ServerCommunications.Framework.WebServiceBase`2.MakeCall[TResult](String name, Func`2 begin, Func`3 end)
   at ServiceStudio.ServerCommunications.SS.DotNET.DotNetWebService.GetLicenseInformation(String username, String password, SSActivationInfo& licenseInfo, SSLicensingFeatureInfo& softwareUnits, SSLicensingFeatureInfo& namedUsers, DateTime& serverDate, Boolean& trialCommunityInstalled)
   at ServiceStudio.ServerCommunications.WebServicesServerCommunicationProvider.<>c__DisplayClass8f.<GetLicenseInformation>b__8e()
   at ServiceStudio.ServerCommunications.CommunicationsProvider.<>c__DisplayClass1.<SafeDo>b__0()
   at ServiceStudio.ServerCommunications.CommunicationsProvider.SafeDo[ResultType](Func`1 operation).

Details from Windows Event Viewer:

System
   
- Provider
      [ Name] OutSystems Platform
   
- EventID 0
      [ Qualifiers] 0
   
  Level 2
   
  Task 0
   
  Keywords 0x80000000000000
   
- TimeCreated
      [ SystemTime] 2011-06-29T16:11:01.000000000Z
   
  EventRecordID 5971
   
  Channel Application
   
  Computer 10121-BRITNIM.Gemvision.local
   
  Security
- EventData
      Error sending log: System.InvalidOperationException: Message Queuing has not been installed on this computer. at System.Messaging.Interop.SafeNativeMethods.MQPathNameToFormatName(String pathName, StringBuilder formatName, Int32& count) at System.Messaging.MessageQueue.ResolveFormatNameFromQueuePath(String queuePath, Boolean throwException) at System.Messaging.MessageQueue.get_FormatName() at System.Messaging.MessageQueue.SendInternal(Object obj, MessageQueueTransaction internalTransaction, MessageQueueTransactionType transactionType) at System.Messaging.MessageQueue.Send(Object obj, String label, MessageQueueTransaction transaction, MessageQueueTransactionType transactionType) at System.Messaging.MessageQueue.Send(Object obj, String label) at OutSystems.HubEdition.RuntimePlatform.Log.LoggerAsynchronous.GetMessageQueue(LogType logType) at OutSystems.HubEdition.RuntimePlatform.Log.LoggerAsynchronous.Log(Object log, LogType logType, MessagePriority priority) at OutSystems.HubEdition.RuntimePlatform.Log.LoggerAsynchronous.Log(WebServiceLog log) at OutSystems.HubEdition.RuntimePlatform.Log.RuntimeLogger.Log(WebServiceLog log) Message generated by eSpace ServiceCenter.
Hi Britni,

I have to say that this behavior is extremely weird. If you haven't had the chance to submit it to our support team, please do so - they need to be aware that this is happening.

In the meanwhile, after you submit it, I recently bumped into a post by Pedro Coelho, where he experienced that latest behavior, and he describes how he fixed it.

Could you try it out and see if it works for you? Let us know how it goes.

Regards,

Paulo Tavares
I submitted this to support. I can't try the solution in that post though, because I can't access Server Management. I either get the same licensing error message or the program crashes.
Try this:

Make sure that the service Net.Msmq Listener Adapter is running.

Hope that it works for you.