locked
Could not load file or assembly RRS feed

  • Question

  • Hi

    I am getting below exception. What is the meaning of it and how can I fix it?

    Thanks

    Regards

    System.IO.FileNotFoundException occurred
      _HResult=-2147024894
      _message=Could not load file or assembly 'DevExpress.XtraGrid.v15.1.Design' or one of its dependencies. The system cannot find the file specified.
      HResult=-2147024894
      IsTransient=false
      Message=Could not load file or assembly 'DevExpress.XtraGrid.v15.1.Design' or one of its dependencies. The system cannot find the file specified.
      Source=mscorlib
      FileName=DevExpress.XtraGrid.v15.1.Design
      FusionLog==== Pre-bind state information ===
    LOG: DisplayName = DevExpress.XtraGrid.v15.1.Design
     (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: DevExpress.XtraGrid.v15.1.Design | Domain ID: 1
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly.
    WRN: It is recommended to provide a fully specified textual identity for the assembly,
    WRN: that consists of the simple name, version, culture, and public key token.
    WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
    LOG: Appbase = file:///C:/My Project/My Project/Events.Win/bin/x86/Debug/
    LOG: Initial PrivatePath = NULL
    Calling assembly : DevExpress.Data.v15.1, Version=15.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\My Project\My Project\Events.Win\bin\x86\Debug\Events.Win.vshost.exe.Config
    LOG: Using host configuration file: 
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: The same bind was seen before, and was failed with hr = 0x80070002.
    
      StackTrace:
           at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
           at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
      InnerException: 

    • Moved by Kristin Xie Wednesday, October 7, 2015 8:42 AM
    Tuesday, October 6, 2015 8:59 PM

All replies

  • You probably need a legal developer license for DevExpress.

    See this link:

    DevExpress documentation


    Dan Randolph - My Code Samples List

    Tuesday, October 6, 2015 10:52 PM
  • You probably need a legal developer license for DevExpress.

    See this link:

    DevExpress documentation


    Dan Randolph - My Code Samples List

    Hi

    I have a legal dev license. Also this is on dev machine not production. What next?

    Thanks

    Regards


    • Edited by Y a h y a Wednesday, October 7, 2015 12:13 AM
    Wednesday, October 7, 2015 12:12 AM
  • Hi Yahya,

    Based on your error information, your case more related to DevExpress. Thia is a third-party product. I am afraid this is out of our support.

    Please submet a ticket to their support center. Thanks for your understanding.

    https://www.devexpress.com/Support/Center/

    Have a nice day!

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, October 7, 2015 8:42 AM
  • See if you can find a file ending in *.Design.dll and try to add it in References to your project.

    I'm not sure if adding the reference will work. If it doesn't, contact DevExpress support.

    Usually these packages are copy protected and it might not be able to authenticate your license for some reason.


    Dan Randolph - My Code Samples List


    • Edited by Dan Randolph Thursday, October 8, 2015 9:11 PM spelling
    Wednesday, October 7, 2015 9:18 PM