none
SkuEnforcementException RRS feed

  • Question

  • Working with the beta and getting a SkuEnforcementException suddenly. Any advice on whats causing this or how to fix it?
    Tuesday, July 10, 2007 9:30 PM

Answers

  • Fixed the issue by restarting the Speech Server service. Little annoying for development Sad

    Here are the details (maybe you can find an easier solution). This is on Vista.

     

    Code Snippet

    Log Name:      Application
    Source:        Office Communications Server 2007 Speech Server
    Date:          2007/07/10 11:17:34 PM
    Event ID:      32768
    Task Category: Telephony Application Host
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      robertmaclean.i5.int
    Description:
    The Telephony Manager declined a call with Call Id '3b06522979ff410596abd8daf7fe5d19' for the following reason in component speech session: 'The speech session failed to open: The session cannot be created because the maximum number of sessions have been created for this edition..'. 
     
    Further trace information for support personnel follows:
     
    Microsoft.SpeechServer.SpeechApplicationException: The speech session failed to open: The session cannot be created because the maximum number of sessions have been created for this edition.. ---> Microsoft.SpeechServer.SpeechEngineServices.RequestFailedException: The session cannot be created because the maximum number of sessions have been created for this edition. ---> Microsoft.SpeechServer.SkuEnforcementException: The session cannot be created because the maximum number of sessions have been created for this edition.

    Server stack trace:
       at Microsoft.SpeechServer.SessionManager.CheckSkuEnforcement(SesContext context)
       at Microsoft.SpeechServer.SessionManager.CreateSession(SesContext context, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver& sesMainReceiver, Guid& sesMainReceiverId, Boolean proxyInDebugger)
       at Microsoft.SpeechServer.Broker.CreateSession(SesContext sesContext, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IList`1& supportedVoices, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver& sesMainReceiver, Guid& sesMainReceiverId, Boolean proxyInDebugger)
       at Microsoft.SpeechServer.AuthenticatedBrokerSessionManager.CreateSession(SesContext sesContext, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IList`1& supportedVoices, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver& sesMainReceiver, Guid& sesMainReceiverId, Boolean proxyInDebugger)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    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 Microsoft.SpeechTransport.CreateSessionDelegate.EndInvoke(IList`1& supportedVoices, IRemotingEventBatchReceiver& sesMainReceiver, Guid& sesMainReceiverId, IAsyncResult result)
       at Microsoft.SpeechTransport.SessionInfo.CreateSessionComplete(IAsyncResult ar)
       --- End of inner exception stack trace ---
       --- End of inner exception stack trace ---
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Office Communications Server 2007 Speech Server" />
        <EventID Qualifiers="32768">32768</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2007-07-10T21:17:34.000Z" />
        <EventRecordID>2753</EventRecordID>
        <Channel>Application</Channel>
        <Computer>robertmaclean.i5.int</Computer>
        <Security />
      </System>
      <EventData>
        <Data>3b06522979ff410596abd8daf7fe5d19</Data>
        <Data>speech session</Data>
        <Data>The speech session failed to open: The session cannot be created because the maximum number of sessions have been created for this edition..</Data>
        <Data>Microsoft.SpeechServer.SpeechApplicationException: The speech session failed to open: The session cannot be created because the maximum number of sessions have been created for this edition.. ---&gt; Microsoft.SpeechServer.SpeechEngineServices.RequestFailedException: The session cannot be created because the maximum number of sessions have been created for this edition. ---&gt; Microsoft.SpeechServer.SkuEnforcementException: The session cannot be created because the maximum number of sessions have been created for this edition.

    Server stack trace:
       at Microsoft.SpeechServer.SessionManager.CheckSkuEnforcement(SesContext context)
       at Microsoft.SpeechServer.SessionManager.CreateSession(SesContext context, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver&amp; sesMainReceiver, Guid&amp; sesMainReceiverId, Boolean proxyInDebugger)
       at Microsoft.SpeechServer.Broker.CreateSession(SesContext sesContext, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IList`1&amp; supportedVoices, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver&amp; sesMainReceiver, Guid&amp; sesMainReceiverId, Boolean proxyInDebugger)
       at Microsoft.SpeechServer.AuthenticatedBrokerSessionManager.CreateSession(SesContext sesContext, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IList`1&amp; supportedVoices, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver&amp; sesMainReceiver, Guid&amp; sesMainReceiverId, Boolean proxyInDebugger)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp; outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp; outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
       at Microsoft.SpeechTransport.CreateSessionDelegate.EndInvoke(IList`1&amp; supportedVoices, IRemotingEventBatchReceiver&amp; sesMainReceiver, Guid&amp; sesMainReceiverId, IAsyncResult result)
       at Microsoft.SpeechTransport.SessionInfo.CreateSessionComplete(IAsyncResult ar)
       --- End of inner exception stack trace ---
       --- End of inner exception stack trace ---</Data>
      </EventData>
    </Event>

     

     

    Wednesday, July 11, 2007 6:16 AM
  • The important portion is the description:

     

    "The Telephony Manager declined a call with Call Id '3b06522979ff410596abd8daf7fe5d19' for the following reason in component speech session: 'The speech session failed to open: The session cannot be created because the maximum number of sessions have been created for this edition."

    On client machines i.e. Vista & XP, the developer edition of MSS is installed which is limited to 2 concurrent sessions. This message indicates that you're trying to exceed those restrictions so the new sessions are not created.

    Wednesday, July 11, 2007 4:48 PM

All replies

  • It would help to know the details of the exception and any event log messages.
    Tuesday, July 10, 2007 9:54 PM
  • Fixed the issue by restarting the Speech Server service. Little annoying for development Sad

    Here are the details (maybe you can find an easier solution). This is on Vista.

     

    Code Snippet

    Log Name:      Application
    Source:        Office Communications Server 2007 Speech Server
    Date:          2007/07/10 11:17:34 PM
    Event ID:      32768
    Task Category: Telephony Application Host
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      robertmaclean.i5.int
    Description:
    The Telephony Manager declined a call with Call Id '3b06522979ff410596abd8daf7fe5d19' for the following reason in component speech session: 'The speech session failed to open: The session cannot be created because the maximum number of sessions have been created for this edition..'. 
     
    Further trace information for support personnel follows:
     
    Microsoft.SpeechServer.SpeechApplicationException: The speech session failed to open: The session cannot be created because the maximum number of sessions have been created for this edition.. ---> Microsoft.SpeechServer.SpeechEngineServices.RequestFailedException: The session cannot be created because the maximum number of sessions have been created for this edition. ---> Microsoft.SpeechServer.SkuEnforcementException: The session cannot be created because the maximum number of sessions have been created for this edition.

    Server stack trace:
       at Microsoft.SpeechServer.SessionManager.CheckSkuEnforcement(SesContext context)
       at Microsoft.SpeechServer.SessionManager.CreateSession(SesContext context, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver& sesMainReceiver, Guid& sesMainReceiverId, Boolean proxyInDebugger)
       at Microsoft.SpeechServer.Broker.CreateSession(SesContext sesContext, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IList`1& supportedVoices, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver& sesMainReceiver, Guid& sesMainReceiverId, Boolean proxyInDebugger)
       at Microsoft.SpeechServer.AuthenticatedBrokerSessionManager.CreateSession(SesContext sesContext, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IList`1& supportedVoices, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver& sesMainReceiver, Guid& sesMainReceiverId, Boolean proxyInDebugger)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    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 Microsoft.SpeechTransport.CreateSessionDelegate.EndInvoke(IList`1& supportedVoices, IRemotingEventBatchReceiver& sesMainReceiver, Guid& sesMainReceiverId, IAsyncResult result)
       at Microsoft.SpeechTransport.SessionInfo.CreateSessionComplete(IAsyncResult ar)
       --- End of inner exception stack trace ---
       --- End of inner exception stack trace ---
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Office Communications Server 2007 Speech Server" />
        <EventID Qualifiers="32768">32768</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2007-07-10T21:17:34.000Z" />
        <EventRecordID>2753</EventRecordID>
        <Channel>Application</Channel>
        <Computer>robertmaclean.i5.int</Computer>
        <Security />
      </System>
      <EventData>
        <Data>3b06522979ff410596abd8daf7fe5d19</Data>
        <Data>speech session</Data>
        <Data>The speech session failed to open: The session cannot be created because the maximum number of sessions have been created for this edition..</Data>
        <Data>Microsoft.SpeechServer.SpeechApplicationException: The speech session failed to open: The session cannot be created because the maximum number of sessions have been created for this edition.. ---&gt; Microsoft.SpeechServer.SpeechEngineServices.RequestFailedException: The session cannot be created because the maximum number of sessions have been created for this edition. ---&gt; Microsoft.SpeechServer.SkuEnforcementException: The session cannot be created because the maximum number of sessions have been created for this edition.

    Server stack trace:
       at Microsoft.SpeechServer.SessionManager.CheckSkuEnforcement(SesContext context)
       at Microsoft.SpeechServer.SessionManager.CreateSession(SesContext context, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver&amp; sesMainReceiver, Guid&amp; sesMainReceiverId, Boolean proxyInDebugger)
       at Microsoft.SpeechServer.Broker.CreateSession(SesContext sesContext, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IList`1&amp; supportedVoices, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver&amp; sesMainReceiver, Guid&amp; sesMainReceiverId, Boolean proxyInDebugger)
       at Microsoft.SpeechServer.AuthenticatedBrokerSessionManager.CreateSession(SesContext sesContext, IBrokerSessionListener listener, Boolean inbound, Boolean applyRateThrottling, IList`1&amp; supportedVoices, IRemotingEventBatchReceiver sesProxyReceiver, Guid sesProxyReceiverId, IRemotingEventBatchReceiver&amp; sesMainReceiver, Guid&amp; sesMainReceiverId, Boolean proxyInDebugger)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp; outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp; outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
       at Microsoft.SpeechTransport.CreateSessionDelegate.EndInvoke(IList`1&amp; supportedVoices, IRemotingEventBatchReceiver&amp; sesMainReceiver, Guid&amp; sesMainReceiverId, IAsyncResult result)
       at Microsoft.SpeechTransport.SessionInfo.CreateSessionComplete(IAsyncResult ar)
       --- End of inner exception stack trace ---
       --- End of inner exception stack trace ---</Data>
      </EventData>
    </Event>

     

     

    Wednesday, July 11, 2007 6:16 AM
  • The important portion is the description:

     

    "The Telephony Manager declined a call with Call Id '3b06522979ff410596abd8daf7fe5d19' for the following reason in component speech session: 'The speech session failed to open: The session cannot be created because the maximum number of sessions have been created for this edition."

    On client machines i.e. Vista & XP, the developer edition of MSS is installed which is limited to 2 concurrent sessions. This message indicates that you're trying to exceed those restrictions so the new sessions are not created.

    Wednesday, July 11, 2007 4:48 PM