Problem opening form or debugging a form

Posted by: bettyt on 8 September 2017, 2:58 pm EST

  • Posted 8 September 2017, 2:58 pm EST

    I'm getting the following error:


    GRA.classes.utility.RTSException: Could not load file or assembly 'FarPoint.CalcEngine, Version=5.0.3520.2008, Culture=neutral, PublicKeyToken=327c3516b1b18457' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> GRA.classes.utility.RTSException: Could not load file or assembly 'FarPoint.CalcEngine, Version=5.0.3520.2008, Culture=neutral, PublicKeyToken=327c3516b1b18457' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'FarPoint.CalcEngine, Version=5.0.3520.2008, Culture=neutral, PublicKeyToken=327c3516b1b18457' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'FarPoint.CalcEngine, Version=5.0.3520.2008, Culture=neutral, PublicKeyToken=327c3516b1b18457' ---> System.IO.FileLoadException: Could not load file or assembly 'FarPoint.CalcEngine, Version=1.0.2.2, Culture=neutral, PublicKeyToken=327c3516b1b18457' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'FarPoint.CalcEngine, Version=1.0.2.2, Culture=neutral, PublicKeyToken=327c3516b1b18457'


    === Pre-bind state information ===
    LOG: User = NAOXY\tarverbx
    LOG: DisplayName = FarPoint.CalcEngine, Version=1.0.2.2, Culture=neutral, PublicKeyToken=327c3516b1b18457
     (Fully-specified)
    LOG: Appbase = file:///C:/inetpub/wwwroot/RTS/Client/bin/Debug/
    LOG: Initial PrivatePath = NULL
    Calling assembly : FarPoint.Win.Spread, Version=1.0.2.0, Culture=neutral, PublicKeyToken=327c3516b1b18457.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\inetpub\wwwroot\RTS\Client\bin\Debug\GRA.vshost.exe.config
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
    LOG: Redirect found in application configuration file: 1.0.2.2 redirected to 5.0.3520.2008.
    LOG: Post-policy reference: FarPoint.CalcEngine, Version=5.0.3520.2008, Culture=neutral, PublicKeyToken=327c3516b1b18457
    LOG: The same bind was seen before, and was failed with hr = 0x80131040.


    This is a very old program now being converted from VS 2003 to VS2005, It is a windows forms project. Is there a way to solve the problem? I'll appreciate your answer.

  • Replied 8 September 2017, 2:58 pm EST

    Hello,

    It would be difficult to debug the issue without replicating the same at my end.  Could you please explain the scenario that causes this exception to occur. It would be easier for me to debug the issue further if you could provide me some steps to replicate the issue at my end or if you could provide me a sample depicting your issue.

    Please provide me with some additional information to guide you ahead with the same.

    Thanks,

    Manpreet Kaur

  • Replied 8 September 2017, 2:58 pm EST

    Bettyt,

    Please make sure that you have correctly referenced all the newly added dlls. Please check if you have reference added for 'FarPoint.CalcEngine, Version=5.0.3520.2008'. It looks like you still have the older version for this file referenced some where in your project.

     

    Thanks,

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels