Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8990

Add-On crashes after a few seconds of starting. Help!

$
0
0

I am trying to run an AddOn that works within SAP Business One but it always crashes!

 

  • The AddOn uses DI Api and UI API
  • It is compiled for x86 (not "Any CPU" nor x64)
  • The .ard was built through the Visual Studio "SAP B1 AddOnInstaller .NET Wizard"
  • I created another .ard through the AddOn Registration Data Generator, the x64 checkbox was unchecked
  • I am trying to run the AddOn under the 32 bits FrontEnd (SAP Client)

 

After I have build the .ard, I go to SAP Business One and register the AddOn. The proccess goes smoothly untill I start the AddOn. I click "Start" in the AddOn Manager. I get the "Add-On <name> is connected" and after around 15 seconds, it crashes and all I get is this:

AddOn Error x86.jpg

 

My test environment is as follows:

- One Virtual Machine I use for development. 2 procs x64 and 4gb RAM, Win 7 Ultimate

- One Virtual Machine with SQL Server 2012 Express. 2 procs x64 and 4gb RAM, Win 7 Ultimate

- One Virtual Machine with both frontends (x86 and x64). 1 proc x64 and 2gb RAM, Win 7 Ultimate

 

I tried running the addon with only the 32bits front end (just like my client who only has 1 frontend in his computer) and had the same error. Either way, both versions of the frontend can co-exist within the same environment.

 

THE WEIRDEST AND MOST IMPORTANT THING TO NOTE IS:

The AddOn workswithout ANY issue if I compile it for "Any CPU" and then create the .ard with the checkbox "x64" marked. I install it on the x64 FrontEnd and runs perfectly, the problem is that the cliend WANTS the addon installed in 2 computers that run under win 7 32 bits with (obviously) the 32bits FrontEnd. He's not willing to buy 2 computers and 2 Win7x64 just to run de AddOn.

 

I am at loss here. I don't really know what else to try. I hope you can shed some light here and help me solve this problem >__<


Viewing all articles
Browse latest Browse all 8990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>