Getting Error During on Clicking the Deployment 

Getting Error During on Clicking the Deployment 

  

System.Runtime.Serialization.SerializationException: Unable to load type OutSystems.HubEdition.ICompilerContext required for deserialization.

Server stack trace:
   at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder holder, Boolean bObjectFullyComplete)
   at System.Runtime.Serialization.ObjectManager.DoNewlyRegisteredObjectFixups(ObjectHolder holder)
   at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
   at System.Runtime.Serialization.ObjectManager.DoFixups()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMessage(String objectUri, Stream inputStream, Boolean bStrictBinding, TypeFilterLevel securityLevel)
   at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)

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 OutSystems.HubEdition.ICompiler.CompileOmlAsync(ICompilerContext context, Byte[] oml, Boolean debugMode, String espaceName, Int32 espaceVersionId, String testAreaName, Boolean forceDontReuseTables)
   at OutSystems.NssOMLProcessor.CssOMLProcessor.MssCompileEspaceAsync(Boolean ssDebug, Byte[] ssOML, String ssEspaceName, Int32 ssEspaceVersionId, String ssPTA, Boolean forceDontReuseTables, RLHEMessageRecordList& ssMessages, Int32& ssErrorCount, String& ssErrorText)

Server stack trace:
   at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder holder, Boolean bObjectFullyComplete)
   at System.Runtime.Serialization.ObjectManager.DoNewlyRegisteredObjectFixups(ObjectHolder holder)
   at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
   at System.Runtime.Serialization.ObjectManager.DoFixups()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMessage(String objectUri, Stream inputStream, Boolean bStrictBinding, TypeFilterLevel securityLevel)
   at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)

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 OutSystems.HubEdition.ICompiler.CompileOmlAsync(ICompilerContext context, Byte[] oml, Boolean debugMode, String espaceName, Int32 espaceVersionId, String testAreaName, Boolean forceDontReuseTables)
   at OutSystems.NssOMLProcessor.CssOMLProcessor.MssCompileEspaceAsync(Boolean ssDebug, Byte[] ssOML, String ssEspaceName, Int32 ssEspaceVersionId, String ssPTA, Boolean forceDontReuseTables, RLHEMessageRecordList& ssMessages, Int32& ssErrorCount, String& ssErrorText)

Please guide to solve the problem

Hi Devaraj,

That is an ugly error you got there. I thoroughly recommend, when you get that error in Service Studio, that you submit it to us using the "Submit Feedback" button, since it will also send us internal data that will help us troubleshooting the situation.

Have you been able to publish another eSpace in that server? Have you installed the Agile Platform Community Edition in the server you are trying to publish to? Are you using the latest Agile Platform version? You can download it here.

Regards,

Paulo Tavares
Devaraj -

If this is the server that you already tried manually deploying to by copying the ASPX files over, that could be the cause of problems as well.

J.Ja