Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
Author | Forum: PowerTCP Mail for ActiveX Topic: Distribution under IIS - PowerBuilder |
tatco tthibault@oppenheimerfunds.com From: Englewood, CO USA Posts: 10 Member Since: 12/18/03 |
posted January 16, 2004 1:35 PM The specific error is at login. It is a PowerBuilder error error calling external object function login. In your documentation you say to "install your development license into the registry" App works fine on development machine. Compiled and distributed to our test enviornment. Copied the dll's to a server that is pathed to the test system. App fails when run from the test system. I can run the deployed app from my machine which tells me that is does need the registry licenese info. Can I just put the registry info on the IIS server for all users or do I have to put it on each user machine? The documentation also says "most compiled applications , your PowerTCP Serial Number is automatically included when you compile". |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 16, 2004 1:48 PM You probably forgot to remove ad readd the control after installing the license, as explained in the Readme. Open your project in PB on the machine that has the license. Select the dart control. Press CTRL-X to cut the control from the form, then hit CTRL-V to paste it back again. Now rebuild the app and try again. |
tatco tthibault@oppenheimerfunds.com From: Englewood, CO USA Posts: 10 Member Since: 12/18/03 |
posted January 21, 2004 12:48 PM The issue seems to be that the dll's are not found when deployed to the production servers. It looks like the dll's must be registered on the server and the application compiled with the registered dll so that it can find them. When I originally installed the mail product it registered the dll's in my winnt/system32 folder. I copied the dll's to our production servers, that have a map to these dll's. My question is do I have to register the dll's on each server? Thanks |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 21, 2004 12:52 PM Yes. This is explained in the Online Help under Distribution: "PowerTCP DLLs must be registered. Most installation utilities will do this automatically; however, you can also use Regsvr32.exe." |
tatco tthibault@oppenheimerfunds.com From: Englewood, CO USA Posts: 10 Member Since: 12/18/03 |
posted January 21, 2004 5:15 PM I unregestered the dll/ocx's and regestered them FROM MY DESKTOP to their new home on the dll server. Lets call this server "D". Lets call my desktop "M". It has made the registration entries in my registry, that is on "M". Before I thunder off and do rebuilds, I would like to understand a little better. Do I need to physically go to the server, "D" and log-on to that server and then regester the dll/ocx's so that it updates the registry on the server "D"? And if so how then does the exe find it when a user only points to the dll location? Thanks |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 21, 2004 5:20 PM You don't need to rebuild when you change the location of the DLL. The DLL has to be registered on the machine that the exe is running on. When the app creates the control it gets information from the registry on where to find the DLL. |
Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
![]() |