Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: My first login to webmail failed Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
AnassL
Newbie
Newbie
Avatar

Joined: 21 October 2012
Location: France
Online Status: Offline
Posts: 6
Posted: 21 October 2012 at 1:49pm | IP Logged Quote AnassL

Hello,
After having installed and configured and tested hMailServer 5.3.3 on Windows Server 2008 R2 (IIS 7.5), I installed for the first time WebMail ASP.Net Lite v5.3.1.
Then I have followed the configuration tutorial: "Integration with hMailServer(WebMail Pro 5 .NET)" (written based on XP and 2003), so I added the NETWORK SERVICE to the "Launch and Activation Permissions" for hMailServer item.
When I wanted to login for the first time, I went to https://mydomain.com/webmail and there I typed the existing admin email address already configured on hMailServer, the Login: "mailadm" and the password: "12345".
Then I got the error message: "Internal Server Error. Please, contact your system administrator in order to report the problem."
Please advice what could be done to resolve this issue?
Back to Top View AnassL's Profile Search for other posts by AnassL
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 22 October 2012 at 4:26am | IP Logged Quote Igor

As its name suggests, the article addresses WebMail Pro only.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
AnassL
Newbie
Newbie
Avatar

Joined: 21 October 2012
Location: France
Online Status: Offline
Posts: 6
Posted: 22 October 2012 at 6:37am | IP Logged Quote AnassL

Hi Igor,
On another Windows 7 x64 machine, I used Microsoft Webmatrix to load a newly unzipped webmail Lite. When I run it I got the same error message on the login page:"Internal Server Error. Please, contact your system administrator in order to report the problem."
In the login page I have 3 inputs: I entered user1@domain1.com, mailadm, 12345
localhost POP3 110, localhost 25, SMTP auth. checked.
Please, what have I done wrong?
Back to Top View AnassL's Profile Search for other posts by AnassL
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 23 October 2012 at 4:37am | IP Logged Quote Igor

Quote:
In the login page I have 3 inputs: I entered user1@domain1.com, mailadm, 12345


mailadm/12345 applies to adminpanel only. On main login page, you should be entering credentials of your email account.

Quote:
When I run it I got the same error message on the login page:"Internal Server Error. Please, contact your system administrator in order to report the problem."


To find out what's causing this, you need to enable logging (of both the types), replicate the problem and see what's recorded in the logs.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 24 October 2012 at 5:06am | IP Logged Quote Igor

Quote:
CREATE TABLE permission denied in database 'MailTable'.


Looks like that user doesn't have enough privileges to create new database table. Consider tweaking the permissions for that user.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
AnassL
Newbie
Newbie
Avatar

Joined: 21 October 2012
Location: France
Online Status: Offline
Posts: 6
Posted: 24 October 2012 at 8:56am | IP Logged Quote AnassL

Hello,
Yes Igor, I've seen that just before deleting my last post, I allowed the permission to the SQL server user and it worked well, thank you very much.

Now I need two more things to get ready with WebMail ASP.Net Lite v5.3.1.

1/ - I cannot access to the admin panel using the newly configured password, as soon as I click Login both text zones are cleared, and no error message is shown.

2/ - I need to connect WebMail .Net Lite to hMailServer, is there a special link for the relative instructions ?

Thanks in advance.
Back to Top View AnassL's Profile Search for other posts by AnassL
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 24 October 2012 at 5:54pm | IP Logged Quote Igor

Quote:
I cannot access to the admin panel using the newly configured password, as soon as I click Login both text zones are cleared, and no error message is shown.


Is my understanding correct that it's just AdminPanel login doesn't work while you can log into email accounts? If none of those works, this is probably a session-related issue of ASP.NET config, this one might help. Otherwise, check the logs and see if there's anything relevant there.

In case if you might require adminpanel password reset, it's found in configuration file under App_Data/settings. There are two files there, not sure which one needs to be modified so try both of them.

Quote:
2/ - I need to connect WebMail .Net Lite to hMailServer, is there a special link for the relative instructions ?


There are no special instructions for that particular server, it can be used via IMAP/POP3 and SMTP just like any other one. Assuming you run both WebMail and hMailServer on the same host, default settings will work. Just make sure email account exists on hMailServer, and logging into it from WebMail should be available straight away.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
AnassL
Newbie
Newbie
Avatar

Joined: 21 October 2012
Location: France
Online Status: Offline
Posts: 6
Posted: 25 October 2012 at 4:10am | IP Logged Quote AnassL

Hi Igor,

1/ - I can access to only 1 email account and still cannot access to admin panel, by typing "mailadm" and giving the same password found in the "adminpanel.xml", in the "settings.xml" file I have found that the password wasn't changed "<AdminPassword>12345</AdminPassword>" then I changed it manualy to the new one.
After that still cannot access to admin panel, I uncommented in web.config the line related to log file location, and tried then to log in the admin panel, no log file or temp directory was created.

2/ - I have already configured email accounts on hMailServer, as said above WebMail could access to my default email account in hMailServer. my wish is to make both use the same sql server database to avoid redundancy, what could be the best practice for that?

Thanks to your help, Things are progressing.

Regards.
Back to Top View AnassL's Profile Search for other posts by AnassL
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 25 October 2012 at 6:41am | IP Logged Quote Igor

No idea on the 1st one I'm afraid.

Quote:
my wish is to make both use the same sql server database to avoid redundancy, what could be the best practice for that?


You can use the same database, but still different database tables would be used.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
AnassL
Newbie
Newbie
Avatar

Joined: 21 October 2012
Location: France
Online Status: Offline
Posts: 6
Posted: 30 October 2012 at 11:49am | IP Logged Quote AnassL

Hi Igor,

I could finally access to adminpanel by browsing the web site from the physical directory, not the virtual.

Also I could use one database for both hMailserver and WebMail .Net

Now please, I would ask you for the next ?

1/ - How to Remove tables prefix to make webmail use shorter table names.

2/ - How to modify the Login page (i.e. adding a picture) and re-compile it using .Net Framework 4.0 or 4.5 (Visual Studio 2012)?

3/ - Which folders (of source code) have to be removed, to keep only compiled webmail.
Back to Top View AnassL's Profile Search for other posts by AnassL
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 31 October 2012 at 1:08am | IP Logged Quote Igor

Quote:
1/ - How to Remove tables prefix to make webmail use shorter table names


In case if you mean awm_ and similar prefixes, there's no easy way to get rid of those. You would need to modify quite a lot code for that.

Quote:
2/ - How to modify the Login page (i.e. adding a picture) and re-compile it using .Net Framework 4.0 or 4.5 (Visual Studio 2012)?


That wouldn't require recompilation, you just need to modify default.aspx file.

Also, we have a knowledge base article on adding/modifying header image which might be helpful in this case.

Quote:
3/ - Which folders (of source code) have to be removed, to keep only compiled webmail.


You can try removing all the files with .cs or .aspx.cs extensions. While the product should keep working after such removal, we haven't actually tested that.

Note that the product contains a lot of HTML, CSS, JavaScript and other files which are not compiled and thus can't really be removed.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
hackman
Newbie
Newbie
Avatar

Joined: 22 October 2015
Online Status: Offline
Posts: 4
Posted: 24 October 2015 at 3:53am | IP Logged Quote hackman

Thank you very much, i was able to figure out why first login was failing. My installation was incomplete, there is a lot i had not done. I just watched a video in youtube and all is well now. Am a pro now !

The very helpful video is here: https://www.youtube.com/watch?v=cg0jMxB8bS8


Thank you very much
Back to Top View hackman's Profile Search for other posts by hackman
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide