Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • javier 64 posts 84 karma points
    Jan 20, 2011 @ 14:08
    javier
    0

    not version dependant?

    just installed on 4.0.4.2 and for now my website is down

     

     

    This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

     

    I think is only for >4.5 an .net framework 4


    isn't it?

     

    best regards

  • javier 64 posts 84 karma points
    Jan 20, 2011 @ 14:14
    javier
    0

    just deleted *.dll and website works again.

     

  • Eran 292 posts 436 karma points
    Jan 20, 2011 @ 14:35
    Eran
    0

    1. the "notversion dependent" refers to umbraco xml schema. so in this aspect, yes, its not version dependent.
        but you are right, i should mention that its feet to umbraco installation that is using the .NET framework 4.0.
        OR, maybe i will recompile and release the package with .NET 2.0, so it will solve this problem.

    2. you can download the source and compile it again with your .net framework. that should solve the problem.

    Thanks.

    Eran.

  • Eran 292 posts 436 karma points
    Jan 20, 2011 @ 15:22
    Eran
    0

    i updated the project page with .net 2.0 / 3.5 version of this package. that should solve your problems.

    i have also added vs 2010 source code for this version.

    if its solved your problem please mark this answer as solution. also, if you like this package, please vote for it.

    Thanks,

    Eran.

  • javier 64 posts 84 karma points
    Jan 21, 2011 @ 08:37
    javier
    0

    eran!, thanks for your fast reply and your fast changes. But bad news, now my site stops parsin all XSLT files. I dont know why, but just installed new package, the website shows all correct excepts all that works with XSLT file "error parsing xslt: /xslt/Filexxxxx.xslt" .

    Again, just uninstall and start working aging.

    i'm sorry :(, what more can we do?. Can be something related to xsltExtensions? or what?

     

    Best regards

  • javier 64 posts 84 karma points
    Jan 21, 2011 @ 10:19
    javier
    0

    Here seems to be the problem:

     

    umbracoMacro InnerException No se puede cargar el archivo o ensamblado 'file:///c:\inetpub\wwwroot\umbraco\..RVContactForm.dll' ni una de sus dependencias. The system cannot find the file specified.
    No se puede cargar el archivo o ensamblado 'file:///c:\inetpub\wwwroot\umbraco\..RVContactForm.dll' ni una de sus dependencias. The system cannot find the file specified.
      en System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
      en System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
      en System.Reflection.Assembly.LoadFrom(String assemblyFile)
      en umbraco.macro.GetXsltExtensions() en d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\macro.cs:línea 834

     

    Error rendering Item 3 (NodeId '' : pageID).
    Could not load assembly c:\inetpub\wwwroot\umbraco\..RVContactForm.dll for XSLT extension RVContactForm.XsltExtensions. Please check config/xsltExentions.config.
      en umbraco.macro.GetXsltExtensions() en d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\macro.cs:línea 854
      en umbraco.presentation.templateControls.ItemRenderer.XsltTransform(String xpath, String itemData, Boolean disableEscaping) en d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\umbraco\templateControls\ItemRenderer.cs:línea 227
      en umbraco.presentation.templateControls.ItemRenderer.Render(Item item, HtmlTextWriter writer) en d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\umbraco\templateControls\ItemRenderer.cs:línea 60

  • javier 64 posts 84 karma points
    Jan 21, 2011 @ 11:02
    javier
    0

    I found the error!! but i dont know if there will be more problems related to this:

    the problem is on xsltExtensions.config on \config\xsltExtensions.config

    the line of RVContacts dont have the correct path

    the original is:

    <ext assembly="RVContactForm" type="RVContactForm.XsltExtensions" alias="RVContactForm.XsltExtensions">

    The corect version is:

    <ext assembly="\bin\RVContactForm" type="RVContactForm.XsltExtensions" alias="RVContactForm.XsltExtensions">

    now i must test package to confirm that the rest works OK

     

     

  • Eran 292 posts 436 karma points
    Jan 21, 2011 @ 12:03
    Eran
    0

    OK javier, the problems is because as far as i understand, the syntax of the xsltExtension.config was changed between the umbraco version.

    so, in 4.5.2 and above, this line is working well:

    <ext assembly="RVContactForm" type="RVContactForm.XsltExtensions" alias="RVContactForm.XsltExtensions">

    while is cause error in earlier versions like you. i didnt found this problems because probably untill know noone installed this package on version like you are using and nobody tell me..

    so, please test is this path thing sloved your problem - just download the package and open the package.xml file.
    look for line:

    <Action runat="install" alias="addXsltExtension" assembly="RVContactForm" type="RVContactForm.XsltExtensions" extensionAlias="RVContactForm.XsltExtensions" />

    and change it to:

    <Action runat="install" alias="addXsltExtension" assembly="\bin\RVContactForm" type="RVContactForm.XsltExtensions" extensionAlias="RVContactForm.XsltExtensions" />

    and PLEASE tell me if it works. if it does, i will upload fixed version that contain this change, so other people will not have this problem.

    Thanks,

    Eran.

Please Sign in or register to post replies

Write your reply to:

Draft