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.AuthenticateAsClientImplementation(TdgssAuthenticationTokenExchange tokenAuthenticationExchange, String credential, String targetName) +4506
Teradata.Net.Security.Mechanisms.Session.AuthenticateAsClient(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(UtlConnectionString connectionString, UInt32 timeout) +1028
Teradata.Client.Provider.ConnectionPool.CreateConnection(UInt32 timeout) +53
Teradata.Client.Provider.ConnectionPool.GetConnectionFromPool(Object owningObject) +820
Teradata.Client.Provider.ConnectionFactory.GetConnection(Object owningObject, UtlConnectionString connStr) +842
Teradata.Client.Provider.TdConnection.Open() +172
ProductDevelopmentRequestSystem.Data.AMAPS.MaterialRepository.get_Connection() +389
ProductDevelopmentRequestSystem.Data.AMAPS.MaterialRepository.GetSuffixPlantMapping() +107
ProductDevelopmentRequestSystem.Reports.Supply.SupplyDataLogic.GetAmapsPlantMappings() +114
ProductDevelopmentRequestSystem.Reports.Supply.SupplyDataLogic.GetData(SupplyReportData data) +120
ProductDevelopmentRequestSystem.Reports.Supply.SupplyReportLogic.Generate(SupplyReportData data) +115
ProductDevelopmentRequestSystem.Controllers.SupplyAndDemandController.Index(SupplyAndDemandViewModel model) +1836
lambda_method(Closure , ControllerBase , Object[] ) +127
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +274
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +120
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +637
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +307
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext 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.<MakeVoidDelegate>b__0() +15
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.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