All Forums Connectivity
gfinzer 5 posts Joined 11/13
06 Dec 2013
The NTLM authentication token is not supported

I am using integrated security with TeraData and ASP.NET MVC3.  I am getting the following exception when trying to open a connection:
Server Error in '/' Application.
The NTLM authentication token is not supported.
ErrorCode: -452984668 Severity: Error Facility: DotNet
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Teradata.Net.Security.TdgssException: The NTLM authentication token is not supported.
ErrorCode: -452984668 Severity: Error Facility: DotNet

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[TdgssException: The NTLM authentication token is not supported.
ErrorCode: -452984668 Severity: Error Facility: DotNet]
   Teradata.Net.Security.Mechanisms.SPNEGOSession.Authent icateAsClientImplementation(TdgssAuthenticationTokenEx change tokenAuthenticationExchange, String credential, String targetName) +4506
   Teradata.Net.Security.Mechanisms.Session.AuthenticateA sClient(TdgssAuthenticationTokenExchange tokenAuthenticationExchange, String credential, String targetName) +159
   Teradata.Client.Provider.WpSecurityManager.Action() +134

[TdException (0x80004005): [TeraGSS Security Library] [115022] Exception occurred in TERAGSS layer.  See inner exception for details.]
   Teradata.Client.Provider.WpSecurityManager.Action() +268
   Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout, String password) +2258
   Teradata.Client.Provider.Connection.Open(UtlConnection String connectionString, UInt32 timeout) +1028
   Teradata.Client.Provider.ConnectionPool.CreateConnecti on(UInt32 timeout) +53
   Teradata.Client.Provider.ConnectionPool.GetConnectionF romPool(Object owningObject) +820
   Teradata.Client.Provider.ConnectionFactory.GetConnecti on(Object owningObject, UtlConnectionString connStr) +842
   Teradata.Client.Provider.TdConnection.Open() +172
   ProductDevelopmentRequestSystem.Data.AMAPS.MaterialRep ository.get_Connection() +389
   ProductDevelopmentRequestSystem.Data.AMAPS.MaterialRep ository.GetSuffixPlantMapping() +107
   ProductDevelopmentRequestSystem.Reports.Supply.SupplyD ataLogic.GetAmapsPlantMappings() +114
   ProductDevelopmentRequestSystem.Reports.Supply.SupplyD ataLogic.GetData(SupplyReportData data) +120
   ProductDevelopmentRequestSystem.Reports.Supply.SupplyR eportLogic.Generate(SupplyReportData data) +115
   ProductDevelopmentRequestSystem.Controllers.SupplyAndD emandController.Index(SupplyAndDemandViewModel model) +1836
   lambda_method(Closure , ControllerBase , Object[] ) +127
   System.Web.Mvc.ReflectedActionDescriptor.Execute(Contr ollerContext controllerContext, IDictionary`2 parameters) +274
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMet hod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethod WithFilters>b__12() +120
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMet hodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +637
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMet hodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +307
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(Co ntrollerContext controllerContext, String actionName) +720
   System.Web.Mvc.Controller.ExecuteCore() +162
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +305
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest >b__5() +62
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDeleg ate>b__0() +15
   System.Web.CallHandlerExecutionStep.System.Web.HttpApp lication.IExecutionStep.Execute() +606
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18055
 

NetFx 346 posts Joined 09/06
10 Dec 2013

Are you using the Integrated Security (a.k.a Single-Sign-On) on ASP.NET?
You should open an incident if the answer is yes. The Integrated Security uses SPNEGO; the .NET Framework SPNEGO provider will fallback to NTLM if there is something wrong with Kerberos.
You should remove "Integrated Security=Yes" attribute from the connection-string if the answer is no.
 

You must sign in to leave a comment.