Copied to clipboard

Flag this post as spam?

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


  • Dan 1288 posts 3921 karma points c-trib
    Jul 26, 2013 @ 14:38
    Dan
    0

    XSLT files broken after installing TwitterOAuthOap

    Hi,

    I just installed TwitterOAuthOap_1.zip file into an Umbraco 4.0.2.1 site (using old schema obviously, and .NET2.0.50727).  I then copied the new hotfix dll into the bin directory.  However, all XSLT macros on the site are now broken.  They just give an error like this:

    Error parsing XSLT file: \xslt\MainNavigation.xslt

    In the debug trace it shows this:

    Could not load file or assembly 'file:///D:\inetpub\vhosts\thesite.com\httpdocs\umbraco\..TwitterOAuthOap.dll' or one of its dependencies. The system cannot find the file specified.

    So that would be an issue with the double dot in the dll path, right?  But how to fix?

    Many thanks!

  • Dan 1288 posts 3921 karma points c-trib
    Jul 26, 2013 @ 14:42
    Dan
    0

    Sorted I think.  I changed the assembly reference in the xsltExtensions.config file to include 'bin' in the path.  I think this is needed prior to 4.5, so possibly could be something to mention in the package notes, if this is indeed the issue?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jul 26, 2013 @ 15:20
    Ismail Mayat
    100

    Is it working now?  I was going to suggest you check that config file as you say it has changed >4.5

    Regards

    Ismail

  • Dan 1288 posts 3921 karma points c-trib
    Jul 26, 2013 @ 15:25
    Dan
    0

    Yep, all good thanks Ismail.  That was the only issue.  Mega-useful package, thanks!

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jul 26, 2013 @ 15:27
    Ismail Mayat
    0

    Dan,

    Cool, built it becuase we had a load of sites on umbraco <4.5 and .net 2 and no upgrade. Also in todays update there is extra element in the xml tweet_link which is link to the tweet.

    Regards

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft