on 10-16-2008 2:57 PM
Hi
One of our customers has just upgraded from SBO 2005 to SBO 2007.
I wrote a few years ago a vb6 addon which stores contact information. On the LAN all the users have upgraded and are using my addon fine, I did recompile it under SBO 2007
They have some remote sites which they run SAP over a vpn and my addon seems to hang when SAP has been loaded, no error message, just hangs
We have tried to reinstall it on these pc's but the addon still seems to hang when SAP loads as before
Can anyone suggest anything please ?
Thanks
Regards Andy
Hi...
Use this one Application Event.
If (EventType = SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged) Or (EventType = SAPbouiCOM.BoAppEventTypes.aet_ShutDown) Then
System.Windows.Forms.Application.Exit()
End If
Regards..
Billa 2007
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tristan,
I think that quickest way is connect your devlopment PC through clients VPN to network and debug the code to see, where exactly is the problem. Then you will be able to catch the error and based on this may people here help you better.
We have companies which are using SBO 2007 and are connected through DSL connection and there is no problem with addons. The only problem we had is through remote wireless connection, but it was problem with speed.
hi
in VPN addons will not run properly, you can use any othe remote connections like citrix, their you wont get this type of problem.
regards
hariprasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tristan,
although I have no solution for you (sorry..) I'm interested in the VPN connection.
I think the VPN-Clients needs a high bandwidth for up- and downstream, right?
My experience with a connection over DSL is a VERY long time of loading B1 (I think it's because of the SM-OBS-stuff which must be downloaded).
I only would need this for debugging of AddOns from a local client in our office connected to the B1-Server of our customer.
Maybe an idea for your problem (if it's a singleSignOn-problem - I don't know):
Have you tried out the new method for single sign on in 2007 (Company.GetDICompany) ?
I've only read about it - development is still on 2005 here.
Again: just an idea...
Cheers & good luck,
Roland
Hi Tristan,
Single sign on is used for connecting to both UI and DI APIs with a single connection (to avoid having to make 2 separate connections to UI and DI). In single sign-on, you connect to UI API first then use a session cookie to connect to DI API (Don't need to connect to DI API using a user/password). You can find details on how to use single sign on in the SDK Help.
One of the posts on forum indicated a similar problem that when Add-On tries to connect to DI API the system hangs. May be using single sign-on can get you around this?
As a test, have you tried to see if this works?
Set the Add-On's "Default Group" setting to "Manual" (not Automatic), let Business One start up completely and then Start the Add-On?
HTH
Aravind
Hi Andy,
Dont know if this will help u.. But once I had a similar problem my addon works fine in the local machine, but it gives a error in VPN and remote connections.... how i solved this is, i found out that some files required by my addon are missing, as in our local machines the files will be found in the root path which is C: but in the case of the remote connections the root drive would be G: or something.
Hope this info is helpful to u..
Vasu Natari.
delete sm_obs_dll folder from %temp% folder (windows temp directory) on all affected machines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
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.