locked
Specified Module cannot be found RRS feed

  • Question

  •  

    Has anyone ever received this error, if so would you know how to fix it

     

    The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    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.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

     

    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. 

     

    Stack Trace:

     

     

    [FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]

       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) +32

     

    [ConfigurationErrorsException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]

       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596

       System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +70

       System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177

       System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +267

       System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +39

       System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +429

       System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +75

       System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +582

       System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93

       System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +111

       System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +54

       System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31

       System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40

       System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139

       System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128

       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161

     

     

     

     

    --------------------------------------------------------------------------------

    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

     Windows Serer 2003 Standard Edition SP2

     

    • Moved by Bruno Yu Tuesday, June 3, 2008 5:26 AM ASP.NET question
    Wednesday, May 28, 2008 8:58 PM

Answers

  • It cannot locate a required assembly.  We'd normally store it in the GAC to avoid this, ASP.NET has its own quirks.  You'll need to post to forums.asp.net to find out what they are.
    • Marked as answer by Zhi-Xin Ye Tuesday, June 3, 2008 6:29 AM
    Wednesday, May 28, 2008 10:53 PM