I think something went broken for SSAS 2014 version in ASSP 1.4.0. I'm doing the following:
- Create an Azure VM using a standard image "SQL Server 2014 SP2 Enterprise on Windows Server 2012 R2"
- Download a 1.4.0 version of the ASSP and unblock it (also placed it on C: drive)
- Start SSMS 2014 and try to add an assembly using UI => "Clr Assembly must have main file specified" error, the assembly is not added.
Here are the Fusion logs:
*** Assembly Binder Log Entry (11/17/2016 @ 9:38:06 PM) ***
The operation failed.
Bind result: hr = 0x8007000b. An attempt was made to load a program with an incorrect format.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Ssms.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: Where-ref bind. Location = D:\assp_2014_v1_4_0\ASSP.dll
LOG: Appbase = file:///C:/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/ManagementStudio/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = Ssms.exe
Calling assembly : (Unknown).
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Ssms.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: Attempting download of new URL file:///D:/assp_2014_v1_4_0/ASSP.dll.
LOG: Assembly download was successful. Attempting setup of file: D:\assp_2014_v1_4_0\ASSP.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: ASSP, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null
ERR: Invalid assembly platform or ContentType in file (hr = 0x8007000b).
ERR: Run-from-source setup phase failed with hr = 0x8007000b.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
The version 1.3.7 can be deployed with no problems.