on 02-19-2016 10:55 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
I don't know what RHMB means. I looked it up on Google and the only reference I could see was '
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.