Copied to clipboard

Flag this post as spam?

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


  • Peter Cort Larsen 421 posts 1038 karma points
    Aug 13, 2014 @ 10:20
    Peter Cort Larsen
    0

    The type or namespace name 'businesslogic' does not exist in the namespace 'umbraco.cms'

    I get this error, running the website on shared hosting, but not on localhost.

    Can anyone help.

    The solutions are eaxtcly the same.

     

    Here is my error

     

    Server Error in '/' Application.

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0234: The type or namespace name 'businesslogic' does not exist in the namespace 'umbraco.cms' (are you missing an assembly reference?)

    Source Error:

    Line 17: @using Umbraco.Core.Services;
    Line 18: @using Ontranet.Custom.Code;
    Line 19: @using umbraco.cms.businesslogic.web;
    Line 20: @using umbraco.NodeFactory;
  • Peter Cort Larsen 421 posts 1038 karma points
    Aug 13, 2014 @ 10:21
    Peter Cort Larsen
    0

    Its a Umbraco version 7.1.4

    Line 19 is the problem.

    Line19:@using umbraco.cms.businesslogic.web;
  • Asbjørn 82 posts 195 karma points c-trib
    Aug 13, 2014 @ 11:05
    Asbjørn
    0

    Just to confirm, the file cms.dll is in the bin folder on the shared host?

  • Peter Cort Larsen 421 posts 1038 karma points
    Aug 14, 2014 @ 17:14
    Peter Cort Larsen
    100

    Hi,

     

    I ended up deleting all the files on the shared host. Then uploaded the local copy. There must have been some inconsistency between the 2 solutions afterall, maybe because i uploaded the local ontop of the remote version, instead of removing everything first.

     

    But now it works.

Please Sign in or register to post replies

Write your reply to:

Draft