Please check that the DBTYPE node database type is correct in dnt.config, for example, SQL Server, Access, MYSQL
Note: An unhandled exception occurred during the execution of the current Web request. Check the stack trace for more information about the error and where the error occurred in the code. Exception Details: System.Exception: Check that the DBTYPE node database type is correct in Dnt.config, for example: SQL Server, Access, MYSQL source error:
An unhandled exception was generated during the execution of the current Web request. You can use the following exception stack trace to determine information about the cause of the exception and where it occurred.
Stack trace:
[Exception: Please check that the DBTYPE node database type is correct in Dnt.config, for example: SQL Server, 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 () Discuz.Forum.HttpModule.ReUrl_BeginRequest (object sender, EventArgs v) 1501 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute () +68 System.Web.HttpApplication.ExecuteStep (IExecutionStep one 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's any Discuz.Data.SqlServer.dll in your bin directory.
The problem should be right here.
Solutions
1. See if IIS settings are correct
2.discuz.web have any references to Discuz.Data.SqlServer
3.dnt.config have administrators control authority