09-30-2010 12:03 PM - edited 09-30-2010 12:12 PM
We are building a service which performs calculations using NationalInstruments.Analysis.Professional and NationalInstruments.Common. We have a valid license for Measurement Studio 8.6.1. Our project can be built and deployed successfully, but recently when running the application we are seeing the following exception being thrown. My best guess is that something isn't being configured correctly at build-time but I'm not sure what can be done to correct the issue. Any help would be appreciated.
NationalInstruments.Restricted.AnalysisLicenser is unlicensed. at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter) at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(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)
Thanks,
Greg
10-01-2010 10:48 AM
Hi Greg,
Are you using Visual Studio 2010? If so here is a document that shows you how to manually license your frameworks.
Let us know if this helps!
Regards