Author |
|
cirkel Newbie
Joined: 13 May 2013 Location: Netherlands
Online Status: Offline Posts: 2
|
Posted: 13 May 2013 at 2:54am | IP Logged
|
|
|
Hello,
I installed WebMail Lite on my webserver and it works fine. Cause in future I have to present it to users I'm now embedding the webmail in my own .asp website. It looks good with the Iframe, but now I want to build a single sign on for users.
At the documentation you say to use the following:
using WebMail;
Integration integr = new Integration(@"C:\WebMail-Lite-Net\data", @"http://myserver/webmaillite/");
However, I'm not trying to embed it in an .asp application. I'm trying to embed it into an .asp site, so 'using WebMail' doesn't work for me.
I tried the following:
Dim myObject
myObject = Server.CreateObject("Webmail.Integration")
resulting in an error:
error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
Google search results show that this error means that 'Webmail.Integration' isn't present in my registry. So I looked in my registry with regedit and indeed, I couldn't find a 'Webmail.Integration'. However, I found a 'Webmail.integr' so I used the following code:
Dim myObject
myObject = Server.CreateObject("Webmail.integr")
I expected it should work now, but now I get this error:
error 'ASP 0177 : 80131509'
Server.CreateObject Failed
With google I can't find a working solution (I've been searching and trying for an hour), so maybe you could telle me what I'm doing wrong?
I did register WebMail.dll (placed in D:\Inetpub\vhosts\securemail\bin) with regasm (standard location on disk C in the Framework\v2.0.50727 folder) and checked the security settings for the folder securemail\bin so IIS_IUSRS has read and read & execute acces to this folder.
Thanks in advance!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 13 May 2013 at 2:59am | IP Logged
|
|
|
WebMail Lite supports integration with ASP.NET applications only. We've never tested it with ASP apps, so we're out of ideas here it seems.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
cirkel Newbie
Joined: 13 May 2013 Location: Netherlands
Online Status: Offline Posts: 2
|
Posted: 13 May 2013 at 6:01am | IP Logged
|
|
|
Thanks for the remark. An .asp.net SSO is now working well and there are methods to pass data from .asp to .asp.net, so I'm sure it will work at the end of this day.
|
Back to Top |
|
|