cancel
Showing results for 
Search instead for 
Did you mean: 

APPEON 2015 WILL NOT DEPLOY AFTER ADDING TOPWIZ PBL

Former Member
0 Kudos

Greetings All,

I have shot myself in the foot.

I wanted to add email capability to my Appeon Web Application and included the TopWiz Email PBL in my PB Classic 12.5 project.

When I test in 32-bit mode it all works great.

But when I deploy, the deployment halts with a vague message: Exception at: Generating Files

Is it possible that I have to deploy some .dll file to make this work?

When I was testing, I simply imported the PBL and did not bring over one or more .dll files that had been in the original example TopWiz project.

So now I am hosed and the site does not work.

Would really appreciate any help!!

Thanks!!

Paul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

if is was just a missing dll i think it would still generate ok.  it would just fail upon running the mail code.

I think something else must have changed since it is the generation fails. 

change the log setting from summary to debug mode.  maybe it will give more info

Former Member
0 Kudos

Thanks M,

So I tried to configure the deployment to deploy to another folder and and when I opened the 'Appeon Developer Configuration' dialogue, and clicked to Edit the profile, a message popped up (attached) stating that there is 'More than one application: ap, emailsmtp'

So I now realized that when I added the emailsmtp.pbl to my target, I ended up with two application objects.

The problem is that I don't know how to get rid of the application object in the emailsmtp.pbl.

Thank you!!

Paul

Former Member
0 Kudos

Hi Paul;

  If it's not the current AO, then just RHMB it and select "Delete" in either the System Tree or within the Library Painter.

Regards ... Chris

Former Member
0 Kudos

I don't know what RHMB means.  I looked it up on Google and the only reference I could see was '

Red Hot Muzzle Brake

I finally figured out that I had to remove it from source control and then I was able to remove it.  Now I can deploy the application again.

Thanks Chris and M for your help!!

Paul

P.S., I did create the email web service last night.  Only took a few minutes.  PB and Appeon are fabulous.  Now I will test the deployed application to see if I can use the imported EmailSMTP functionality or end up using the email web service.

ricardojasso
Participant
0 Kudos

RHMB = Right Hand Mouse Button

Is that correct Chris?

Former Member
0 Kudos

LOL!

A Windows 3.0 term ... "Right Hand Mouse Button".

In today's politically correct times though, we use AHMB (Alternate Hand Mouse Button vs " Primary") so that you don't offend left handed people.   😉

Former Member
0 Kudos

"Right on" Ricardo!   🙂

Former Member
0 Kudos

Thanks for that. 

Anyway, I did find out that I was able to use portions of the EmailSMTP PBL to send email via Appeon.

Works Great!!

Paul

Former Member
0 Kudos

That is Great news Paul!   

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Paul;

  Another alternative suggestion would be to implement the email feature as a web service. As a PB based WS, you might be able to use Roland's code OK (just a guess).

Regards ... Chris

Former Member
0 Kudos

Hi Paul;

  Have you looked at this for Appeon Web email (click here)?

Regards .... Chris

Former Member
0 Kudos

Hi Chris,

I download the code from the Appeon link.  It appears to be identical to the TopWiz except the email To says jason@venturesoft.com or something like that.

I 'could' create a web service to handle this as I am not using attachments.  And if I did, I would do it using the .NET code I know (I think).

But since the code in the Appeon Link appears to be identical to the TopWiz code, I would prefer to get this working as all of the code is already in place.

Could it be something goofy like when you occasionally try to deploy a .net webform and the easiest way is to just delete everything in the target folder or in the winform_output folder for winforms?

Paul

Former Member
0 Kudos

Hi Paul;

  It is a remote possibility. You could try publishing it under a new Appeon name and see.

  I have never used the Web Browser to send SMTP email as this would mean every client would be connecting to the email server. Instead, I use my STD Web Service framework's support for SMTP to accomplish this task. So I can't advise you on the browser side if it even does work as I've never tried it using my STD Integrated Framework. I use my client side framework's SMTP all the time in native Win32 applications.

Regards ... Chris

Former Member
0 Kudos

I should have stated that I get the error when I do a full deployment.

When I do an incremental deployment, the deployment seems to complete with no problem, but when I run it, I get a blank page with no error.

Former Member
0 Kudos

One more thing...

I tried looking the log referenced in the screenshot.  I can't make heads or tails of what it says but I did notice that the log writes the database password in the clear.  I think that should be changed to '**********'.