Copied to clipboard

Flag this post as spam?

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


  • nick 2 posts 22 karma points
    Sep 25, 2010 @ 17:20
    nick
    0

    error when using the method getproperty.

    Hello all umbraco lovers :)

     

    for a new project i created a new umbraco (v4.5.2) wich looks awsome btw :)

    but in my usercontrol as soon as i use the code:

    Document doc = new Document(umbraco.presentation.nodeFactory.Node.GetCurrent().Id);

    string flickrFeed = doc.getProperty("flickrFeed").ToString();

     

    i get an error:

    Could not find file 'c:\windows\system32\inetsrv\umbraco.cms.businesslogic.property.Property'.

     

    the server is running umbraco 4.5.2 (.NET 3.5)

    any idea what is causing this error and more important how do i solve this?

     

    Regards,

    Nick

     

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Sep 26, 2010 @ 00:01
    Aaron Powell
    0

    Is the businesslogic assembly in your sites /bin folder?

    Is the assembly 'trusted'? (If you download a ZIP from the web Windows will mark it as untrusted, and if you extract with something like Windows Explorer the files are left as untrusted, you can fix this by going the the properties of it and click Unblock)

  • nick 2 posts 22 karma points
    Sep 29, 2010 @ 20:39
    nick
    0

    to bad i dont have server acces, i will send this to the server admin to check on it!

    i hope it helps!

Please Sign in or register to post replies

Write your reply to:

Draft