Author |
|
rudolf.riegler Newbie
Joined: 12 November 2012
Online Status: Offline Posts: 18
|
Posted: 13 December 2012 at 1:30pm | IP Logged
|
|
|
Hello,
I have integrated the webmail into my webapplication like it is described here (Integration object).
Everythink works well on a local (test)server. But deploying the webmail-application at the (public) server, the following error-message occurs:
"Error: failed to log into the account. Reason: Imap component not licensed. LicenseKey is invalid. See documentation on LicenseKey property of the component for more information."
What is Imap and LicenseKey? Does anybody have an advice for me.
Regards
Rudi
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 14 December 2012 at 2:42am | IP Logged
|
|
|
Make sure your integration code (i.e. the code where integration method is used) is located within WebMail directory, otherwise licensing error will be thrown.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
rudolf.riegler Newbie
Joined: 12 November 2012
Online Status: Offline Posts: 18
|
Posted: 14 December 2012 at 6:29am | IP Logged
|
|
|
Hy Igor,
both the "test-iframe.aspx"-site (i.e. my integration code) and the site where I call the iframe ("myWebmail.aspx") are one directory above the Webmail-directory as it is described here. At the local (test) server this works without any troubles.
Are there any other possibilities to get this error???
best regards
Rudi
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 14 December 2012 at 1:44pm | IP Logged
|
|
|
Let me clarify what's going on there. WebMail Lite, as well as WebMail Pro ASP.NET, is powered by commercial product called MailBee.NET Objects which is used for email-related operations: sending, receiving, parsing messages etc. In terms of WebMail Lite, these components are available free of charge. However, we had to ensure that they're not used outside of WebMail Lite. Thus, to make things work and to avoid licensing errors, you need to place the integration code inside WebMail directory.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
rudolf.riegler Newbie
Joined: 12 November 2012
Online Status: Offline Posts: 18
|
Posted: 15 December 2012 at 12:50am | IP Logged
|
|
|
Hi Igor,
what is the "integration code" for you exactly? The "integr.aspx" and "integration.cs" files which are provided by Afterlogic??? These files are by default in the following directory:
\\myserver\webmail\Integration\
Or do you mean the file where e.g. the "UserLoginByEmail"-method is called??? The actual webapplication is, as described in the installation guide of Afterlogic, one level above the webmail-directory, i.e.
webapplication fiels are stored at: \\myserver\
webmail files by Afterlogic are stored at: \\myserver\webmail\
As I mentioned before, my testapplication works wonderfull! Both the testapplication and the public appplication have exactly the same directory structure, so I do not understand this error!
Are there any other possibilities to fix this error???
Best regards
Rudi
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 16 December 2012 at 11:58pm | IP Logged
|
|
|
Code:
Or do you mean the file where e.g. the "UserLoginByEmail"-method is called??? |
|
|
Yes, that's the one I'm speaking of.
Code:
one level above the webmail-directory, |
|
|
- which is exactly why this isn't working. webmail directory should be one level above the application which uses the integration.
Code:
Are there any other possibilities to fix this error??? |
|
|
Sure, you can use WebMail Pro, it doesn't have that limitation.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
rudolf.riegler Newbie
Joined: 12 November 2012
Online Status: Offline Posts: 18
|
Posted: 17 December 2012 at 1:30am | IP Logged
|
|
|
Hy Igor,
first, thanks for your reply!
Just to clarify to fix my problem...my directory structure has to look like this:
webapplication fiels are stored at: \\myserver\webmail\myWebApp\
webmail files by Afterlogic are stored at: \\myserver\webmail\
or everything is in the same directory?
However, please tell me, why does my currently used directory structure work at the local test server. How distinguishs the Lite-Version between local and public server???
Best regards
Rudi
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 17 December 2012 at 1:58am | IP Logged
|
|
|
This behavior is controlled by web.config file, which overrides machine.config file settings. So if you observe different behavior on different system, it's something related to either of those two files.
It shouldn't matter if the integration code is placed directly to webmail directory or one of its subdirectories, should work fine in both cases.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|