cancel
Showing results for 
Search instead for 
Did you mean: 

Add-on failing

Former Member
0 Kudos

I have and add-on that is failing during start up and returning the following message:

"Connection string doesn't match UI Development work mode."

This seems different from most connection issues. Does anyone know what this is? Is there a chance that this is a licensing issue?

Any help is appreciated.

Thanks,

Mel Dodd

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

What connection string use to connect?

I recomend to use

ui.Connect(Environment.GetCommandLineArgs.GetValue(1))

And set the development conection string as property in the project properties.

You use the AddOnIdentifier?

Best Regards.

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks all.

I am going to address this as a licensing issue as mentioned.

Mel

Former Member
0 Kudos

If I remember correctly, this error occurs because you need to get an updated license file from SAP. You should have gotton a notification from SAP that "AddOn's" will fail after January 17 (I belive this was the date).

Frank

Former Member
0 Kudos

Sebastien, David

I think you are both right because I am not setting the addonidentifier property. It's not clear to me how this licensing works.

This particular add-on belongs to the client. Do I have to get the addonidentifier string from SAP? Or do I generate it myself. If so, how?

Thanks for your help.

Former Member
0 Kudos

You generate the AddonIdentifier string from Business One.

You can do it when you have Business One linked to a valid licence server.

the form to generate is under

Administration - Licence - Add-On Identifier Generator

then you generate the type folowing the SDK licence the customer bought.

here is the part of the SDK help file

<i><b>SDK Development</b>

Intended for partners and customers who want to:

Create industry solutions which will interface with SAP Business One (for this mainly the DI API is used). SAP Business One will be used for data exchange with 3rd-party applications.

Modify the program logic and processes (features and modules)of SAP Business One by using the tools and interfaces of the SDK (for this mainly the UI API is used).

Possible solutions include :e-banking solution, customer service solution.

Sell or license the created solution or add-on to 3rd-parties.

<b>SDK Implementation</b>

Intended for partners and customers who want to:

Modify the screen layout of a single SAP Business One implementation (for this only the UI API is needed). Add, hide, move, change buttons or fields, and screens to individual customer settings.

No source code is allowed to be created with the Implementation version that will change the business logic of SAP Business One. Modifications made with the Implementation version are not allowed to be sold or licensed to 3rd-parties.

For example, hide fields in screens based on user role and authorizations.</i>

Former Member
0 Kudos

David,

Thanks for your reply.

I am getting the Command Line Arg as follows:

sConnectionString = Environment.GetCommandLineArgs.GetValue(1)

This seems in line with your suggestion.

The add-on was working and then started failing with no change. This makes me think that maybe a license may have expired or some other external change occurred.

Former Member
0 Kudos

Hello,

How do you set your AddonIdentifier code ?

Are you using the one generetad with the business one where you want to install your add-on ?