on 04-14-2015 3:31 PM
Hi all,
I have a problem in creating addon of SAP b1 9.0,
At start time when I build my project but it does not create a file of Interop.SAPbouiCOM.dll except that it creates the file of SAPbouiCOM.dll in Bin folder of project. And as I thing, that missing of Interop.SAPbouiCOM.dll file is causing my addon to be not registered in SAP b1 9.0 PL11.
How can I solve that problem? I edited system form (Employee master data in VS2010(VB.NET)) that form runs correctly in SAP b1 at run time, the problem is missing file of Interop.SAPbouiCOM.dll which will be associated with project1.exe in Bin folder. even if I create another new project, it can not create that file,
What is the problem?
please anyone can help me.
Hi Rurangwa,
Attach here the property of SAPbouiCOM reference in your Visual Studio.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edit,
As I said I'm editing Employee master data of SAP b1 9.0 PL11 I want to create the addon which has the same properties of employee master data because it will receive Members instead of employees.
is that the reason why I did not add another logic in codes except that I added one field of BPCode (choose from list), so if there is any codes which can help me to browse or to create file of Interop.SAPbouiCOM.dll in my project, you can help me please.
I attach the references I have in VS2010 and the files created in Bin folder.
Your help is highly appreciated.
Hi Rurangwa,
After you have add the SAPbouiCOM reference, under your solution explorer, right click on this reference, property.
I need to see this property.
Another way, is you can manually create the interop file using VS Command Prompt and use the tlbimp command.
E:\Test\x86>tlbimp SAPbouiCOM.exe /out:Interop.SAPbouiCOM.dll /namespace:SAPbouiCOM
And reference this output file instead.
Regards
Edy
Hi Edy,
Thank you so much, so how can I add reference of SAPbouiCOM in my project? Because I have added those 2 references DI and UI API version 9.0 but they give errors in each line contains SAPbouiCOM..... in menu.vb.
if it's possible can you try to explain me step by step as you explained to this link http://scn.sap.com/thread/3440046
Your help is highly appreciated Edy.
Hi all,
Thank you so much! it works, Interop.SAPbouiCOM has been found.
The problem I still have is:
When I register Add-on I get error message which tells me that The Access to the path 'C:\program files\SAP\SAP Business One\AddOns\HelloWorld\HelloWorld' is denied.
like
If someone knows the solution of this problem can continue to help me.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
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.