Please check if the DbType node database type in DNT.config is correct, for example: SqlServer, access, MYSQL

  
                  Please check if the DbType node database type in DNT.config is correct, for example: SqlServer, Access, MYSQL

Description:
An unhandled exception occurred during the execution of the current web request. Check the stack trace information for details about the error and the source of the error in the code. Exception Details:
System.Exception: Please check if the Dbtype node database type in DNT.config is correct, for example: SqlServer, Access, MySql source error:
An unhandled exception was generated during the execution of the current web request. The following exception stack trace information can be used to determine information about the cause of the anomaly and where it occurred. Stack Trace:
[Exception: Please check if the DbType node database type in DNT.config is correct, for example: SqlServer, Access, MYSQL] Discuz.Data.DatabaseProvider.GetProvider()+137 Discuz.Data.DatabaseProvider .. Cctor()+48 [TypeInitializationException: Discuz.Data.DatabaseProvider” type initializer throws an exception] Discuz.Data.DatabaseProvider.GetInstance()0 Discuz.Data.Templates.GetValidTemplateIDList()+52 Discuz.Forum .Templates.GetValidTemplateIDList()92 Discuz.Forum.HttpModule.ReUrl_BeginRequest(Object Sender, EventArgs V) 1501 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+68 System.Web.HttpApplication.ExecuteStep (IExecutionStep step, Brin and completedSynchronously) +75 version information:
Microsoft NET Framework version: 2.0.50727.3655; ASP.NET version: 2.0.50727.3658 See if there is Discuz.Data.SqlServer.dll in your bin directory It should be here. Solution
1. View IIS Is the setting correct? 2.Discuz.Web has no reference to Discuz.Data.SqlServer
3.DNT.config There is no administrative authority to add

Copyright © Windows knowledge All Rights Reserved