05-16-2013 06:28 AM
Colleague was on site today and received this error:
"Unable to locate assembly Sage.Platform in path 'c:\program files (x86)\SalesLogix' or it's subdirectories (Sage.Platform.Orm.Codegen)"
Thanks to Beck Blackburn (and John Perona plus others) the fix is in the build path:
After installation of v8.0, the Build Search path is gets set to this:
%BASEBUILDPATH%\assemblies;%BASEBUILDPATH%\interfaces\bin;%BASEBUILDPATH%\forminterfaces\bin
(This is the cause of the issue)
The path should be:
%BASESAGEINSTALLPATH%\SalesLogix;%BASESAGEINSTALLPATH%\Platform;%BASESAGEINSTALLPATH%\SupportFiles;%BASESAGEINSTALLPATH%
Posting here for searchability and assistance to others hopefully !
05-20-2013 01:51 PM
Thanks!!!
We almost reinstall everything!
05-20-2013 01:53 PM
I can tell you - that wouldn't have helped as we did that to no avail !
05-29-2013 02:42 AM
I am getting the same error - i have changed the Build Search Path accordingly, cleaned build folders and restarted the App Architect but i am still getting the same error.
Did you need to amend any of the other Build Settings?
05-29-2013 02:56 AM
05-29-2013 11:29 AM
"Unable to locate assembly Sage.Platform in path 'c:\program files (x86)\SalesLogix' or it's subdirectories (Sage.Platform.Orm.Codegen)"
I've checked and sage.platform.orm.codegen.dll does exist in c:\program files (x86)\SalesLogix\Platform
05-29-2013 11:54 AM
05-29-2013 12:13 PM
Yes
05-29-2013 02:00 PM
05-30-2013 12:45 AM
Build Path:
C:\Users\Administrator\AppData\Roaming\Sage\Platform\Output
Build Search Path:
%BASESAGEINSTALLPATH%\SalesLogix;%BASESAGEINSTALLPATH%\Platform;%BASESAGEINSTALLPATH%\SupportFiles;%BASESAGEINSTALLPATH%
When i type SET i get:
ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\BPUser\AppData\Roaming CLIENTNAME=SAGE012825 CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=SWIFTPA-SLX ComSpec=C:\Windows\system32\cmd.exe DEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\BPUser LOCALAPPDATA=C:\Users\BPUser\AppData\Local LOGONSERVER=\\SWIFTPA-SLX NUMBER_OF_PROCESSORS=2 OS=Windows_NT Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x 86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\1 10\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Fi les (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Fi les (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQ L Server\80\Tools\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 5, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=1a05 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program File s (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\ PUBLIC=C:\Users\Public SESSIONNAME=RDP-Tcp#0 SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\BPUser\AppData\Local\Temp\2 TMP=C:\Users\BPUser\AppData\Local\Temp\2 USERDOMAIN=SWIFTPA-SLX USERNAME=BPUser USERPROFILE=C:\Users\BPUser VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection windir=C:\Windows windows_tracing_flags=3 windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
C:\Users\BPUser>SET ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\BPUser\AppData\Roaming CLIENTNAME=SAGE012825 CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=SWIFTPA-SLX ComSpec=C:\Windows\system32\cmd.exe DEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\BPUser LOCALAPPDATA=C:\Users\BPUser\AppData\Local LOGONSERVER=\\SWIFTPA-SLX NUMBER_OF_PROCESSORS=2 OS=Windows_NT Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x 86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\1 10\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Fi les (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Fi les (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQ L Server\80\Tools\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 5, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=1a05 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program File s (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\ PUBLIC=C:\Users\Public SESSIONNAME=RDP-Tcp#0 SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\BPUser\AppData\Local\Temp\2 TMP=C:\Users\BPUser\AppData\Local\Temp\2 USERDOMAIN=SWIFTPA-SLX USERNAME=BPUser USERPROFILE=C:\Users\BPUser VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection windir=C:\Windows windows_tracing_flags=3 windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log