Copied to clipboard

Flag this post as spam?

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


  • Marc 21 posts 40 karma points
    Aug 19, 2011 @ 20:00
    Marc
    0

    the dll file not created

    Hi,

    I tried to install this on umbraco but its not creating the dll file automatically.

    I put server name on output machinename inside the config file, everything else is default like this

    <?xml version="1.0"?>
    <autoExport2DotNet mode="abs" datacontextname="MyUmbraco" namespace="MyUmbraco">
      <output machinename="APP2" outputdir="~/../Lib" format="dll" />
    </autoExport2DotNet>

     

    Im  a newbie, sorry if this question too simple. Thanks.

  • Matt Brailsford 2633 posts 13097 karma points MVP 7x c-trib
    Aug 21, 2011 @ 20:52
    Matt Brailsford
    0

    Hi Marc,

    Does exporting work if you do it manually? (right clicking on a doc type and exporting)

    Cheers

    Matt

  • Marc 21 posts 40 karma points
    Aug 22, 2011 @ 17:40
    Marc
    0

    Hi,

    I tried export the doctype, the code showed on the browser. But I didn't see it create a file anywhere in the Umbraco folders. Should I just save it as .cs filename? Thanks

  • Marc 21 posts 40 karma points
    Aug 22, 2011 @ 18:10
    Marc
    0

    ok it create .txt and .cs files in media/exported-doctypes/ folder, but I didn't see any dll file.

     

  • Matt Brailsford 2633 posts 13097 karma points MVP 7x c-trib
    Aug 22, 2011 @ 18:19
    Matt Brailsford
    0

    Exporting by hand doesn't create DLL's as that is something built into my AutoExport2Net package, but if the exporting is working, then it shouldn't be a problem that.

    Is APP2 your computer name as displayed when you right click on your computers "Computer" icon, and select properties? as this is how it works out which machine that rule applies to (it does this to allow different configs for different users if you have multiple developers working on a project).

    Failing that, I'd try some alternatives to the outputdir attribute, and also make sure the ASP.NET process has permission to write to that directory.

    Give these a go, and let me know how you get on.

    Cheers

    Matt

  • Marc 21 posts 40 karma points
    Aug 22, 2011 @ 20:08
    Marc
    0

    It works now, it created a file under inetpub/Lib folder, i thought it will be under root/Lib. But I cannot change the config path, i try to move to root (/) and media/exported-file, but it still create the dll file under inetpub/lib folder.

  • Marc 21 posts 40 karma points
    Aug 22, 2011 @ 22:14
    Marc
    0

    OK I got it works to the folder I want thanks.

Please Sign in or register to post replies

Write your reply to:

Draft