You must Sign In to post a response.
  • Category: ASP.NET

    Build errors in my service side module

    Not able to build solution because of errors encountered in service module

    errors are:
    The name 'CommonBusiness logic' does not exist in current context

    Error 23 Metadata file 'D:\SL\DealerPortal.DataAccess\bin\DealerPortal.DNN.ProcessAccount.DataAccessLayer.dll' could not be found D:\SL\DealerPortal.DNN.ProcessAccount.BusinessLogic\CSC DealerPortal.DNN.ProcessAccount.BusinessLogic

    Error 24 Metadata file 'D:\SL\DealerPortal.DNN.ProcessAccount.BusinessLogic\bin\DealerPortal.DNN.ProcessAccount.BusinessLogic.dll' could not be found D:\SL\DealerPortal.DNN.ProcessAccount.ServiceLayer\CSC DealerPortal.DNN.ProcessAccount.ServiceControllerLayer
  • #762579
    Hello Priyanka Mishra,

    Is it website project or web application..??

    If it's Web Site project try removing namespace completely in your BusinessLogicWrapper.cs file:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Text;
    using System.Runtime.InteropServices;

    public class Wrapper
    [DllImport("BusinessLogicLib.dll", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
    public static extern int init(string loginFilePath, string remoteServerName, string[] itemsConnection, int cItems);

    Then access your Wrapper class like: Wrapper.WRITE_TRACE

    Hope this will help you.

    Nirav Lalan
    DNS Gold Member
    "Failure is the path of least persistence"

  • #762594
    It is a web applicatiion

  • Sign In to post your comments