Copied to clipboard

Flag this post as spam?

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


  • Nahabi Wandera 9 posts 39 karma points
    Aug 04, 2014 @ 15:23
    Nahabi Wandera
    0

    PDF Creator not working on localhost

    Hi,

    I've bought a licence for PDF Creator but first I'm testing it on a localhost. It does not see to work.

    When I use the Razor Example template, I get the following error:
    Error loading MacroEngine script (file: )

    When I use the Razor Hello World template, it downloads an XSL file.

    What's wrong?

    Umbraco Version 7.1.1
    Windows 7:
    ASP.net 4.5

     

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 04, 2014 @ 16:16
    Darren Ferguson
    0

    Hi,

    Could you post the full exception? You need to temporarily set the MacroErrors option in umbracosettings.config to throw.

    You'll then need to recycle the application.

    If you post the exception it should give us an idea of what is happening.

    Thanks!

  • Nahabi Wandera 9 posts 39 karma points
    Aug 04, 2014 @ 19:30
    Nahabi Wandera
    0

    I did what you said and uploaded the screenshot of the error it is now giving.

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 05, 2014 @ 08:33
    Darren Ferguson
    0

    This error suggests that the package isn't installed correctly. is our DLL file in the bin directory of your applicaction?

  • Nahabi Wandera 9 posts 39 karma points
    Aug 05, 2014 @ 10:06
    Nahabi Wandera
    0

    No.  There is nothing named PDF Creator or similar in the bin directory.

    I installed directly from the packages node in the Umbraco back-end.

    Any suggestions of what I could do?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 05, 2014 @ 10:19
    Darren Ferguson
    0

    The package file is a zip, so I would extract the zip manually and add the DLL files to the /bin folder of your site.

    Let me know how that goes.

    Thanks.

  • Nahabi Wandera 9 posts 39 karma points
    Aug 05, 2014 @ 14:44
    Nahabi Wandera
    0

    I've uninstalle and re-installed the package locally (from the zip file).

    The DLLs did not copy to the bin automatically so I copied them there manually.

    Now when I try it, it insists on downloading the XSL file.

    Still not working ....

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 06, 2014 @ 08:39
    Darren Ferguson
    0

    If the XSL file is downloading then it normally means that PDF creator HTTP modules aren't registered in web.config.

    It sounds like your environment doesn't have the correct permissions to run Umbraco set up, if the package installer was unable to access the /bin folder or modify web.config.

    Does your application pool user have full control over your web root?

  • Nahabi Wandera 9 posts 39 karma points
    Aug 06, 2014 @ 22:26
    Nahabi Wandera
    0

    I don't know how to set this up (or how to check if it's been set up correctly) ... could you guide me?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 07, 2014 @ 08:44
    Darren Ferguson
    0

    I'm trying - you haven't answered my question.

    Does your application pool user have full control over your web root?

    Also, which version of Umbraco, Windows, IIS, SQL server etc are you running?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 07, 2014 @ 08:45
    Darren Ferguson
    0

    Sorry - just seen you versions of Umbraco etc above.

  • Nahabi Wandera 9 posts 39 karma points
    Aug 07, 2014 @ 12:32
    Nahabi Wandera
    0

    Just noticed that in among my folders, there is another folder with the same name as my application (aln_workbench).  Inside this folder is another bin folder, among others and in that bin folder, your DLLs are present.

    Does this help?

    As for the application pool user, I don't know how to check which user this is (I have googled quite a bit).  I gave full control to the user IIS_IUSRS.

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 08, 2014 @ 08:25
    Darren Ferguson
    100

    Are you running in a virtual directory?

    I'm not really sure that I can help a great deal debugging your setup, but am confused that you would need/have two bin folders. How have you set up Umbraco, which set of instructions have you followed to get to this point?

     

  • Nahabi Wandera 9 posts 39 karma points
    Aug 08, 2014 @ 09:36
    Nahabi Wandera
    0

    Yes, I'm running a virtual directory.

    I set up Umbraco through the wizard.  I did not install any starter kits and I'm using MS SQL Server for the database.

    This is happening on both my local host and my production server.  It is worth mentioning that I'm running a virtual directory on the production server as well.

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 08, 2014 @ 10:14
    Darren Ferguson
    0

    I've reached the limit of my knowledge - having neve run Umbraco in a virtual directory - but if the DLL files are in the same folder as the Umbraco DLLs then I see no reason why .net can't discover them other than permissions.

    The only thing I can offer is for one of our team to screen share with you to try and figure out what is happening.

  • Nahabi Wandera 9 posts 39 karma points
    Aug 08, 2014 @ 11:33
    Nahabi Wandera
    0

    Ok ... let me know when you want to do the screenshare

  • Nahabi Wandera 9 posts 39 karma points
    Aug 08, 2014 @ 18:09
    Nahabi Wandera
    0

    Hi Darren,

    I did fresh installation of Umbraco on my localhost and did not install it on a virtual server.

    Everything works as it should.

    Allow me to keep this thread open in case I run into problems on my production server.

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 11, 2014 @ 08:49
    Darren Ferguson
    0

    Sure - just let us know if you have more problems.

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft