on 11-28-2017 7:38 AM - last edited on 02-04-2024 12:41 AM by postmig_api_4
Hello everyone
I'm quite a novice in SAP and its integration. I've developed a small console application in C# that read csv files and write data in SAP Business One. To do so, I added a reference to the library SAPbobsCOM90.dll.
However, when I generate an installer (install-shield) and that I deploy my application on any computers, I get the following message during the installation:
Error 1904. Module C:\...\SAPbobsCOM90.dll failed to register. HRESULT - 2147220473. Contact your support personnel.
I tried to deploy this application on a computer that has SAP Business One 9.x and the DI API already. But I also got the same result from with a computer that has none of them installed.
Anyone experienced that problem? What should I do? What is the best practice?
Thank you in advance.
Hi Frederic,
For the SAP Customization to run, it will require that the DI API (SAPbobsCOM) is already installed on the target PC.
Install this from SAP Installer.
Your Addon itself, just need to reference the SAPbobsCOM, no need to register again on the target pc.
By default installshield will automatically register this dll.
When you create the installshield installer, at the step of selecting the project output, you can choose NOT to register this.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to run your console app using administrator and make sure that those PC you are trying to install your apps has SAP DI API 32bit.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I already tried (for the installer), but with no result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.