cancel
Showing results for 
Search instead for 
Did you mean: 

Could not load file or assembly 'Interop.SAPbobsCOM, Version=8.8.0.0

former_member244307
Participant
0 Kudos

Hi,

We recently upgraded our SAP B1 to 8.8, our add-on still remains 2007A and so far it works fine. But when i tried to replace the assembly(UI & DI) in my project from 2007A to 8.8 and run it, then I got this error. During my replacing the assembly SAPbobsCOM and SAPbouiCOM in visual studio 2008, I didn't notice any problem. Below are what I did for the upgrading:

1. I launched my SAP and connect to our new SAP B1 server and was asked to do the upgrading.

2. Once my SAP B1 client upgrade finished then I can login into new version of SAP B1 8.8

3. Then I open my Add-On project and remove the assembly (old ver 2007, UI & DI) then re-add the reference using 8.8

When I run the add-on in debugging mode with my current SAP B1 8.8 client, then I got an errors saying "Could not load file or assembly 'Interop.SAPbobsCOM, Version=8.8.0.0"

Any idea?

Many thanks!

Lan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Lan,

The reference may still link to old version. You have to clean the old files and restart everything to try again.

Thanks,

Gordon

former_member244307
Participant
0 Kudos

Hi Gordon,

Thanks for your reply. I have checked the assembly in my project it does points to ver 8.8 and I even did a restart of my PC. but still have same error.

Lan

Former Member
0 Kudos

Have you cleaned up #temp files?

former_member244307
Participant
0 Kudos

Hi Gordon,

I am not running the new add-on inside SAP B1, I am running it inside visual studio under debugging mode. Do you think i still need to clean the temp folder? Can you tell me which temp folder or what specific file need to be removed?

Thanks,

Lan

Former Member
0 Kudos

Yes. You should. The temp folder is under your user account. Search %TEMP% - locate SM_OBS_DLL folder and delete it.

rasmuswulff_jensen
Active Contributor
0 Kudos

The error can also come you in VS is set to Any CPU and you are on a 64 bit machine. You should build using the x86 debug/release option