I have emailed you the solution. Thanks!
The tenant DB was created I just don't see the tenant entry in the tenant table or index page of tenants. In the new tenant DB, it does seem to have updated all the tables with data. I dont see the permissions or roles created. At this point I don't know how many steps in the tenant creation process are not completed?
public async Task<int> CreateWithAdminUserAsync(string tenancyName, string name, string adminPassword, string adminEmailAddress, string connectionString, bool isActive, int? editionId, bool shouldChangePasswordOnNextLogin, bool sendActivationEmail)
{
int newTenantId;
long newAdminId;
using (var uow = _unitOfWorkManager.Begin(TransactionScopeOption.RequiresNew))
When you say remove transaction from create tenant methods. Are you referring to the "UOW" using stmt above? If yes, this is used in quite a few places in ABP solution. Will I have to remove this everywhere?
Ok issue is resolved now!
The hosting team provided me with updated SMTP host name. Plus I had to remove the domain name from the ABP settings page to make it work. But emails are now going out. Thanks!
There are no references to "GetAddresses" method in the logs.txt file.
The hosting provider actually setup a simple ASPX page(within my domain) with the C# code below and it works just fine. This sends emails to any address.
protected void sendEmailButton_Click(object sender, EventArgs e)
{
MailMessage newMessage = new MailMessage();
newMessage.From = new MailAddress(fromTextBox.Text);
newMessage.To.Add(toTextBox.Text);
newMessage.Subject = subjectTextBox.Text;
newMessage.Body = messageBodyTextBox.Text;
SmtpClient smtp = new SmtpClient("mail.mydomain.com", 25);
NetworkCredential Credentials = new NetworkCredential("[email protected]", "xxxxx");
smtp.Credentials = Credentials;
smtp.Send(newMessage);
messageStatusLabel.Text = "Email sent";
}
Here you go... [https://drive.google.com/file/d/0BzbrPy41GhA4d18xSmJZQlJkRUk/view?usp=sharing])
It does not appear to even make the call to the address method?
Here you go:
JS [https://drive.google.com/file/d/0BzbrPy41GhA4clQxYW9tRDkyWDg/view?usp=sharing])
HTML [https://drive.google.com/file/d/0BzbrPy41GhA4dWJpVXljdXR2YlU/view?usp=sharing])
Here is my controller code: [https://drive.google.com/file/d/0BzbrPy41GhA4a18tYUN2TkVFWEU/view?usp=sharing])
Here is the JS error:
TypeError: Object doesn't support property or method 'method'
at Anonymous function (http://localhost:6240/Abp/Framework/scripts/libs/abp.jtable.js:53:21)
at Deferred (http://localhost:6240/libs/jquery/jquery.min.js:2:29021)
at self.options.actions.listAction (http://localhost:6240/Abp/Framework/scripts/libs/abp.jtable.js:45:17)
at _reloadTable (http://localhost:6240/libs/jquery-jtable/jquery.jtable.min.js:36:103)
at Anonymous function (http://localhost:6240/libs/jquery-ui/jquery-ui.min.js:6:7939)
at load (http://localhost:6240/libs/jquery-jtable/jquery.jtable.min.js:34:478)
at Anonymous function (http://localhost:6240/libs/jquery-ui/jquery-ui.min.js:6:7939)
at load (http://localhost:6240/libs/jquery-jtable/jquery.jtable.min.js:124:3)
at Anonymous function (http://localhost:6240/libs/jquery-ui/jquery-ui.min.js:6:8911)
at each (http://localhost:6240/libs/jquery/jquery.min.js:2:2876)
I replied to your latest email and I made some more updates to the DTO classes based on your email.
Can you check the updated code and respond to my latest email? I am very much at a standstill due to this issue.
Thanks!
Thanks!
I have emailed you solution for review.