Aman Nain
unread,May 11, 2012, 11:11:28 AM5/11/12You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I am trying to create a basic SSRS report in Visual Studio 2010 with
AX 2012. I want to display basic CustTable data. When i link the
dataset with the query CustTableSRS (a query in AOT), i get an error.
The error says,
A call to SSPI failed, see inner exception.
This doesnt happen if i do the same steps in AX 2009 with Visual
Studio 2008. On googling, i found that this has something to do with
"misconfigured SPN". SPN is Server Principal Name, a name given to a
server instance in a Kerboros environment. But i am not able to set it
right. I am using AX2012 image running on Oracle VirtualBox.
Error log in Visual Studio
Error 3 The "GenerateRdlTask" task failed unexpectedly.
Microsoft.Dynamics.AX.Framework.Services.Client.UserSessionServiceException:
A call to SSPI failed, see inner exception. --->
System.ServiceModel.Security.SecurityNegotiationException: A call to
SSPI failed, see inner exception. --->
System.Security.Authentication.AuthenticationException: A call to SSPI
failed, see inner exception. --->
System.ComponentModel.Win32Exception: The target principal name is
incorrect
--- End of inner exception stack trace ---
at
System.Net.Security.NegoState.StartSendAuthResetSignal(LazyAsyncResult
lazyResult, Byte[] message, Exception exception)
at System.Net.Security.NegoState.StartSendBlob(Byte[] message,
LazyAsyncResult lazyResult)
at
System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[]
message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[]
message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.StartReceiveBlob(LazyAsyncResult
lazyResult)
at
System.Net.Security.NegoState.CheckCompletionBeforeNextReceive(LazyAsyncResult
lazyResult)
at System.Net.Security.NegoState.StartSendBlob(Byte[] message,
LazyAsyncResult lazyResult)
at
System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[]
message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[]
message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.StartReceiveBlob(LazyAsyncResult
lazyResult)
at
System.Net.Security.NegoState.CheckCompletionBeforeNextReceive(LazyAsyncResult
lazyResult)
at System.Net.Security.NegoState.StartSendBlob(Byte[] message,
LazyAsyncResult lazyResult)
at
System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult
lazyResult)
at
System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential
credential, ChannelBinding binding, String targetName, ProtectionLevel
requiredProtectionLevel, TokenImpersonationLevel
allowedImpersonationLevel)
at
System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential
credential, String targetName, ProtectionLevel
requiredProtectionLevel, TokenImpersonationLevel
allowedImpersonationLevel)
at
System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream
stream, SecurityMessageProperty& remoteSecurity)
--- End of inner exception stack trace ---
Server stack trace:
at
System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream
stream, SecurityMessageProperty& remoteSecurity)
at
System.ServiceModel.Channels.StreamSecurityUpgradeInitiatorBase.InitiateUpgrade(Stream
stream)
at
System.ServiceModel.Channels.ConnectionUpgradeHelper.InitiateUpgrade(StreamUpgradeInitiator
upgradeInitiator, IConnection& connection, ClientFramingDecoder
decoder, IDefaultCommunicationTimeouts defaultTimeouts, TimeoutHelper&
timeoutHelper)
at
System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection
connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper)
at
System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection
connection, TimeoutHelper& timeoutHelper)
at
System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan
timeout)
at
System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan
timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan
timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout)
at System.ServiceModel.