我想在收据上做一些更改。我有一台带抽屉,打印机等的测试机。所以我可以测试打印收据。 但是在尝试打印收据时我收到2个错误。并在Axe窗口上发出警告"无法打印收据。你想再次尝试打印吗?"以下是错误说明:
- 错误
醇>LSRetailPosis.TransactionServices.EstablishConnection: System.Net.Sockets.SocketException(0x80004005):没有这样的主机 在System.Net.Dns.GetAddrInfo(String name)处 System.Net.Dns.InternalGetHostByName(String hostName,Boolean includeIPv6)在System.Net.Dns.GetHostEntry(String hostNameOrAddress)at System.ServiceModel.Channels.DnsCache.Resolve(Uri uri)。
- 错误
醇>LSRetailPosis.TransactionServices.EstablishConnection: System.ServiceModel.EndpointNotFoundException:不存在DNS条目 对于主机axpos_dev。 ---> System.Net.Sockets.SocketException:没有这样的 host在System.Net.Dns.GetAddrInfo(String name)中已知 System.Net.Dns.InternalGetHostByName(String hostName,Boolean includeIPv6)在System.Net.Dns.GetHostEntry(String hostNameOrAddress)at System.ServiceModel.Channels.DnsCache.Resolve(Uri uri)---结束 内部异常堆栈跟踪---
服务器堆栈跟踪:at System.ServiceModel.Channels.DnsCache.Resolve(Uri uri)at System.ServiceModel.Channels.SocketConnectionInitiator.GetIPAddresses(URI uri)at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(URI uri,TimeSpan超时)at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(URI uri,TimeSpan超时)at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(时间跨度 超时)at System.ServiceModel.Channels.StreamedFramingRequestChannel.StreamedFramingRequest.SendRequest(消息 消息,TimeSpan超时)at System.ServiceModel.Channels.RequestChannel.Request(消息消息, TimeSpan超时)at System.ServiceModel.Channels.SecurityChannelFactory
1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout) at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionClientSettings
1.ClientSecuritySessionChannel.OnOpen(时间跨度 超时)at System.ServiceModel.Channels.CommunicationObject.Open(时间跨度 超时)at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
在System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan 超时)at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel 频道,TimeSpan超时)at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(时间跨度 超时,CallOnceManager级联)at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway,ProxyOperationRuntime操作,Object [] ins, 对象[]出局,TimeSpan超时)at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,ProxyOperationRuntime operation)at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(即时聊天 消息)在[0]处重新抛出异常:at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(即时聊天 reqMsg,IMessage retMsg)at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&安培; msgData,Int32类型)at Microsoft.Dynamics.Retail.TransactionServices.ClientProxy.ITransactionService.IsAlive() 在LSRetailPosis.TransactionServices.CheckConnection()。
我用测试软件测试了打印机,它运行得很好。我该如何解决这个问题?
答案 0 :(得分:0)
我认为您可以打印其他报告。因此,在AX2012 R2 / R3中部署报告确实非常痛苦。你有没有尝试过?