Sage MAS 90 and 200 Sage MAS 500 blogs Product Feedback Support Training
Reply
Contributor
wwvanselow
Posts: 19
Registered: 11-11-2009
0
Accepted Solution

Upgraded to 7.4, not finding the Mas500 Framework dll's

We have a App that works in 7,20, & 7.30.  Its built using C# .Net, and it uses the Mas500 Framework dlls (..\Sage MAS 500 Client\Managed Applications\Framework).

 

We are working with a Windows 7, 64-bit machine.

 

After upgrading the projects to VS 2010, and updating the projects to use .Net 4.0, we got everything to compile.  But when we run the app inside of Mas, it errored out saying ...

 

"Could not load file or assembly 'Accounting.Framework.Session, Version=7.40.0.0, Culture=neutral, PublicKeyToken=7a51847dac3e4ba7' or one of its dependencies. The system cannot find the file specified."

 

So I then copied the apropriate "Accounting.Framework.*" files from the "Framework" folder, to the "Managed Applications" folder where our apps are suppose to live.  After doing that, it worked fine.

 

Note, we are using Mas500 7.4 Beta.

 

Why would we have to copy these dll's into the folder, why is it not seeing the files in the "Framework" folder, like it did with 7.20 and 7.30?

 

thanks,

Bill Vanselow

HighJump Software, TrueCommerce EDI Solutions Group



Sage MAS Partner
LouDavis
Posts: 545
Registered: 10-29-2008

Re: Upgraded to 7.4, not finding the Mas500 Framework dll's

Have you included code in your application configuration file as to where to look for the MAS 500 assemblies?

 

Here is an example of doing so from a VB .NET project:

 

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<runtime>
		<!--  Area to configure where to find MAS 500 and 3rd part assemblies -->
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
         <probing privatePath="Framework;Third Party;Business Insights;Interop Assemblies;Primary Interop Assemblies"/>
      </assemblyBinding>
	</runtime>
</configuration>

 

Louis Davis MCSD, MCAD, MCITP
e2b teknologies, inc
www.e2btek.com

Contributor
wwvanselow
Posts: 19
Registered: 11-11-2009
0

Re: Upgraded to 7.4, not finding the Mas500 Framework dll's

That worked, thank you!