Developer forum

Forum » CMS - Standard features » Perfion API & DW 8.6 System.Reflection error

Perfion API & DW 8.6 System.Reflection error

Kim Søjborg Pedersen
Reply

When I add the dll's from the official Perfion API to DW's bin folder and clik on "Management Center" we get the yellow screen of death (See Attachments)

STEPS:

Install a 8.6.x.x add the offical perfion api dll's to your web bin folder and click on "Management Center"

I tryed with version 8.6.1.0 and version 8.6.1.8 

With version 8.5.1.8 you don't have the problem.

ff-2015-05-18_1451.png

Replies

 
Oleg Rodionov
Reply

Hi,

Please, submit new request against the issue to DW support service.

BR, Oleg QA 

 
Nicolai Høeg Pedersen
Reply

Hi Kim

If you look at the exception, it says exactly what is wrong. It cannot load the assembly it mentions. Probably because your custom solution (or some other assembly that you have added) contains a reference to that assembly, and it does not exist.

8.6 has MEF added - and that will try to load types that you have referenced - like this one, and it is not there. So it is MEF from Microsoft that raises the exception.

BR Nicolai

 
Kim Søjborg Pedersen
Reply

Hi Nicolai,
Yes the error message is pretty clear and we are 100% aware of what happens, but thats the way Perfion has builded the API. 

I'm looking for a solution and I see 2 ways:

1: DW make a change so we can use the Persion API assembly?

2: We will ask Perfion to se if they can change the API (we are already in contact with them, but we don't found a soultion yet)

Regards
Kim

 

 
Nicolai Høeg Pedersen
Reply

They should definitely not have a reference to an assembly not used... That is an error. Or they could provide you with the assembly in spe.

Alternative would be us try catching MEF and gaining a performance hit...

 
Kim Søjborg Pedersen
Reply

Hi, just an update on this.

Perfion API is not MEF compatible but we got a workaround so we can use the API on DW 8.6

 
Kim Søjborg Pedersen
Reply

you are right about that, but It is DevExpress that reference to assembly not used..

 

You must be logged in to post in the forum