+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / System.IO.FileLoadException for Telerik.Web.UI v36 r1870

System.IO.FileLoadException for Telerik.Web.UI v36 r1870

3 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    03 Apr 2009
    Link to this post
    Hi,

    During Paypal integration I have this issue :

    Détails de l'exception:
    System.IO.FileLoadException: Impossible de charger le fichier ou l'assembly 'Telerik.Web.UI' ou une de ses dépendances. Paramètre incorrect. (Exception de HRESULT : 0x80070057 (E_INVALIDARG))

    Made :
    My sol have crashed during compiling and after I have this issue. 
    Added in bin : paypal_base.dll (4.4.53.0) and log4net.dll
    No changes in config file are made.
    Telerik.Web.UI have been refreshed with no issue.
    No others changes between.

    Advise plz, Regards 

    Erreur source:

    [FileLoadException: Impossible de charger le fichier ou l'assembly 'Telerik.Web.UI' ou une de ses dépendances. Paramètre incorrect. (Exception de HRESULT : 0x80070057 (E_INVALIDARG))]  
     
    [FileLoadException: Impossible de charger le fichier ou l'assembly 'Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutralPublicKeyToken=121fae78165ba3d4' ou une de ses dépendances. Paramètre incorrect. (Exception de 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) +32  
     
    [ConfigurationErrorsException: Impossible de charger le fichier ou l'assembly 'Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutralPublicKeyToken=121fae78165ba3d4' ou une de ses dépendances. Paramètre incorrect. (Exception de HRESULT : 0x80070057 (E_INVALIDARG))]  
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +590  
       System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203  
       System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +45  
       System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178  
       System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +126  
       System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +724  
       System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +167  
       System.Web.Compilation.BuildManager.CompileCodeDirectories() +440  
       System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +420  
     
    [HttpException (0x80004005): Impossible de charger le fichier ou l'assembly 'Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutralPublicKeyToken=121fae78165ba3d4' ou une de ses dépendances. Paramètre incorrect. (Exception de HRESULT : 0x80070057 (E_INVALIDARG))]  
       System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58  
       System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +520  
       System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +728  
     
    [HttpException (0x80004005): Impossible de charger le fichier ou l'assembly 'Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutralPublicKeyToken=121fae78165ba3d4' ou une de ses dépendances. Paramètre incorrect. (Exception de HRESULT : 0x80070057 (E_INVALIDARG))]  
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +752  
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +70  
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +270  
     

    log file no more information.

  2. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    03 Apr 2009
    Link to this post

    Hi,

    Problem caused by application corruption during compilation process. After complete deleting  Microsoft.Net/framework/ temporary folders and rebuilding process the issue is fixed. I apologize for issue.

    Regards.

     

  3. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    06 Apr 2009
    Link to this post
    Hello,

    No worries, Romi.
    We are glad you have managed to fix the problem.

    Best wishes,
    Georgi
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Register for webinar
3 posts, 0 answered