Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Error while running the DotNetNuke CodeError while running the DotNetNuke Code
Previous
 
Next
New Post
6/8/2008 9:23 AM
 

 

 

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

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Error while running the DotNetNuke CodeError while running the DotNetNuke Code


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out