Hello everyone, I've created an Authentication Provider in C# for DNN and have been attempting to test it out, but whenever I try to get to the settings screen to enable it, I get the following error come up:
A critical error has occurred.
Could not load type 'EverestAuth.AuthenticationProvider.Settings'.
I've tried numerous ideas and plenty of fixes, and have followed numerous examples online to attempt to avoid the error, to no avail. If anyone has any idea as to why this happens, the insight would be much appreciated. Thanks in advance!
The log file of the error in Event Viewer is as follows:
AssemblyVersion: 5.3.1
PortalID: 0
PortalName: DNN Portal
UserID: 1
UserName: host
ActiveTabID: 46
ActiveTabName: Extensions
RawURL: /dotnetnuke_community/Admin/Extensions/tabid/46/ctl/Edit/mid/363/PackageID/111/Default.aspx
AbsoluteURL: /DotNetNuke_Community/Default.aspx
AbsoluteURLReferrer: http://localhost/dotnetnuke_community/Admin/Extensions.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 9298356d-aa34-4ebb-bf98-54ecea8ba0fd
InnerException: Could not load type 'EverestAuth.AuthenticationProvider.Settings'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.TemplateParser.GetType
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Could not load type 'EverestAuth.AuthenticationProvider.Settings'. ---> System.Web.HttpParseException: Could not load type 'EverestAuth.AuthenticationProvider.Settings'. ---> System.Web.HttpParseException: Could not load type 'EverestAuth.AuthenticationProvider.Settings'. ---> System.Web.HttpException: Could not load type 'EverestAuth.AuthenticationProvider.Settings'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath) at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.Modules.Admin.Authentication.AuthenticationEditor.get_SettingsControl() in C:\Working\DotNetNuke\DotNetNuke_Community_05.03.01_Source\Website\DesktopModules\Admin\Extensions\Editors\AuthenticationEditor.ascx.vb:line 68 at DotNetNuke.Modules.Admin.Authentication.AuthenticationEditor.Initialize() in C:\Working\DotNetNuke\DotNetNuke_Community_05.03.01_Source\Website\DesktopModules\Admin\Extensions\Editors\AuthenticationEditor.ascx.vb:line 118 at DotNetNuke.Modules.Admin.Extensions.EditExtension.BindData() in C:\Working\DotNetNuke\DotNetNuke_Community_05.03.01_Source\Website\DesktopModules\Admin\Extensions\EditExtension.ascx.vb:line 156 at DotNetNuke.Modules.Admin.Extensions.EditExtension.Page_Load(Object sender, EventArgs e) in C:\Working\DotNetNuke\DotNetNuke_Community_05.03.01_Source\Website\DesktopModules\Admin\Extensions\EditExtension.ascx.vb:line 221 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
|