Halo guys,,
When i run the DotNetNuke Code, I receive the following error, Kindly help me in fixing this error.
All replies are appreciated
Could not load file or assembly 'DotNetNuke.Membership.Dataprovider' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
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: System.IO.FileLoadException: Could not load file or assembly 'DotNetNuke.Membership.Dataprovider' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
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. |
Assembly Load Trace: The following information can be helpful to determine why the assembly 'DotNetNuke.Membership.Dataprovider' could not be loaded.
=== Pre-bind state information ===
LOG: User = TM5\ADMIN
LOG: DisplayName = DotNetNuke.Membership.Dataprovider
(Partial)
LOG: Appbase = file:///D:/Website/
LOG: Initial PrivatePath = D:\Website\bin
Calling assembly : System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\Website\web.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/website/9004ad4e/bd3efd7e/DotNetNuke.Membership.Dataprovider.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/website/9004ad4e/bd3efd7e/DotNetNuke.Membership.Dataprovider/DotNetNuke.Membership.Dataprovider.DLL.
LOG: Attempting download of new URL file:///D:/Website/bin/DotNetNuke.Membership.Dataprovider.DLL.
LOG: Using application configuration file: D:\Website\web.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
ERR: Failed to complete setup of assembly (hr = 0x80070057). Probing terminated.
|
Stack Trace:
[FileLoadException: Could not load file or assembly 'DotNetNuke.Membership.Dataprovider' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
[FileLoadException: Could not load file or assembly 'DotNetNuke.Membership.Dataprovider, Version=2.0.0.16698, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly.Load(String assemblyString) +25
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +98
[ConfigurationErrorsException: Could not load file or assembly 'DotNetNuke.Membership.Dataprovider, Version=2.0.0.16698, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +734
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +297
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +71
System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +39
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +203
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +95
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +936
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +198
System.Web.Compilation.BuildManager.CompileResourcesDirectory() +52
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +384
[HttpException (0x80004005): Could not load file or assembly 'DotNetNuke.Membership.Dataprovider, Version=2.0.0.16698, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +81
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +524
System.Web.Compilation.BuildManager.CallAppInitializeMethod() +27
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +805
[HttpException (0x80004005): Could not load file or assembly 'DotNetNuke.Membership.Dataprovider, Version=2.0.0.16698, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +642
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +121
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +314
|