on 2016 Aug 24 10:34 PM
Can I install SDK without DI API?
I have a development machine outside of the network that has my SAP server. I am trying to get the SDK installed (and registered) so I can code on my development machine.
I can't install DI API because I can't connect to the license server during installation. This is because the network is secure (not a networking guy, but probably wouldn't want to break through the firewall anyway), and my development machine is outside of that network.
I have a business requirement to not install Visual Studio on any of the machines in network. I don't pay the bills, I don't get to make the requirements.
If not, can someone give me the registry codes from your regedit so I can register the COM objects myself?
SAP B1 8.82
Sounds like the consensus is that, no, I can't 'install' SDK without DI API, and I can't install DI API (or client/etc.) without connection to the server.
But, using Regsvr32 on any of the SDK COM objects will, in others' experiences, work in Visual Studio as if the SDK had been installed the same as through traditional methods, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Pretty much everything requires the "license server" connection to be available. In any case you showed the DI API installer running, so you should be able to get the Server Tools (License Server) installer from the same place.
Then you can install it and you'll have a 30 days trial to use B1. This will allow you to install the client, DI API, etc... . Once the trial is up you'll still have all the COM components registered, so you can continue your work, but you won't be able to run it on your machine as it was already pointed out.
Good luck.
Pedro Magueija
If this answer was helpful or correct consider marking it as such.
Hi David,
First of all installing SDK won't install DI API.
SDK setup just install code samples and some tools.
You can install DI API with dedicated setup, you can find it under '...\packages\DI API' folder.
You can also install SAP B1 client that will install DI API.
Anyway installing one of those you will be able to 'code'.
Of course you will not be able to run/debug.
Paolo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
As far as I remember you don't need a license to install DI API, so as Paolo said, you can install the DI API from the packages within the Installation Package, you will be able to develop but of course you will not be able to connect anywhere and debug since you won't have a SAP server
Danilo,
That would be great if it were true. Let's pretend I am stupid, and take me through, step by step, what I am doing wrong, and what I should be doing.
First, I double click on the setup.exe, and see this:
After a few seconds, This window pops up:
If I click Next, I see:
I see no way past that screen, without connecting to an active License Server.
So... what am I doing wrong? How do I install DI API, if I don't need a license?
you are right, sorry, long time I don't install it... Try to install the server tools in your computer and start the license manager then proceed with the DI API installation and point to your localhost or your computer name, you should be fine, but again you will not have a license but you will be able to use the library.
Hi David,
You can install the server tools on your local machine. SAP Business One has a trial mode, so you can install everything and everything will work until it expires. After that you have to get a license.
In any case, the registration of the COM objects, installation of the SDK will already have been performed, so you can at least keep "coding" the application.
Pedro Magueija
If this answer was helpful or correct consider marking it as such.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
I think version 8.82 is not available anymore. But you can get version 9.1 or 9.2. These are the current versions.
Note that installation packages are available for partners and customers. They can be obtained from the Portal, but you need credentials to get in. These your customer/partner should provide to you.
Pedro Magueija
If this answer was helpful or correct consider marking it as such.
Hi David,
If you are not connected, how are you going to debug your application ?
Even if you succeeded in registering the com manually, there is no use of having DI API only.
You can write codes, but you can not run and test it.
One way is to install the whole set of SAP Server and Client + DI API + SDK on your development machine.
But you need to apply a license for your development machine.
Another way is if you are not allowed to install VS on the machines in network, do your programming on Excel VBA. Surely they allows excel on the machines ?
Or PHP if you are into web.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you.
Yes, debugging will be one of my challenges...
It is an interesting idea to install the server on the development machine. Unfortunately, the partner does not have installation files for 8.82, and has told us that it is not possible to get them.
There is Office 2007, and I suppose I could do that, but I need to call external APIs and FTP servers multiple times/day in the finished product, and using VBA to accomplish that goal seems inefficient. VBScript could work, and frankly I know I could do the whole thing in Notepad... but I doubt I am alone in thinking that is not ideal.
Is there really no way to have registered COM objects on a machine that is not and never has been on the same network as the server?
User | Count |
---|---|
94 | |
9 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.