PDA

View Full Version : the requested address is not valid in this context


Unregistered
23-Jun-2010, 04:33 AM
Hi,
I have just started using EurekaLog. I m using Delphi 7.

I am trying to catch all the memory leaks and sending email to specified person in Eureka Options.

I have suppressed the Memory Leak Error Dialog by adding EMemoryLeak filter into Exception Filter.

When i tried on my development PC which has Delphi IDE and MS Office installed, it works fine and send email without a problem.

When i deploy this application in the client PC and when i try to catch memory leaks by closing application i get an error saying "the requested address is not valid in this context" logfile

I m not sure why is this problem occurring...Can somebody please help me resolve this

regards,
Ajay.

Alex
23-Jun-2010, 08:47 AM
Hi,

Which e-mail send mode did you select? And what e-mail client is installed on client PC?

If you select EMail client mode - EurekaLog will use default e-mail client on the machine. EurekaLog uses Simple MAPI protocol to communicate with this client. If e-mail client doesn't support Simple MAPI or have bugs in its implementation - this send mode will not work.

I suggest you to try other send modes.

See also: http://news.eurekalog.com/tags.php?tag=mapi

Ajay
28-Jun-2010, 02:09 AM
Hi,
I did send u a reply before but i m not sure why it did not appear here.

Anyway I m using SMTP Client and specified all the Parameters correctly.

No, i do not have any E-Mail Client(MS Outlook or Outlook Express) Installed on Deployment PC.

What could be the problem?

Regards,
Ajay.

Alex
28-Jun-2010, 06:25 PM
Hi,

Can you send us a demo to illustrate this issue?

Ajay
29-Jun-2010, 02:13 AM
How do i attach sample file?

I can't find any button to attach file...

Alex
29-Jun-2010, 08:41 AM
Hi,

If you're using forum - hit on "Post reply" button. There should be "Addtional options" area below reply box. There is "Manage attachments" option.

If you're using newsgroups - then I don't know.

You can also publish file on any free file hosting.

Ajay
30-Jun-2010, 01:10 AM
Hi Alex,
There is "Additional options" area below reply box but no "Manage attachments" option.

I think i m using newsgroup my URL Address starts with http://news.eurekalog.com/......

Anyway i have uploaded a sample program which i have re-created after looking at ur demo.

Program is almost same except EurekaLog options.


The URL for my program is :

http://hotfile.com/dl/51483630/df20a51/SampleTestApp.zip.html

Please download it from here.

Thanks,
Ajay.

Alex
30-Jun-2010, 08:01 AM
Hi,

There is "Additional options" area below reply box but no "Manage attachments" option.

I think you must be a registered user on forum to be able to attach files.

Anyway, in your demo this error means that client PC can not resolve SMTP server name ("mailclient.local"). I think that your second machine have no access to your SMTP server.

For SMTP client mode you must specify the correct (real) SMTP server and two real e-mail accounts. You need to specify your e-mail account with password - it will be used to send e-mails to target (another) account.

When using SMTP client mode, EurekaLog logs to specified SMTP server, says "hi, I'm login-name and here is my-password". Server checks that this is indeed valid account and let it pass: "Okay, you're the real one, welcome to your e-mail account". Once logged in to the server, EurekaLog forms e-mail message and send it to the second (target) e-mail. This can be any e-mail address, not nessesary belonging to the same server.

In other words, SMTP client mode works very similar to your everyday usage of e-mail client application: you log in in your e-mail service, you click on "Write a message" button and compose&send mail.

See also: http://support.eurekalog.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=14

Ajay
05-Jul-2010, 04:20 AM
Hi Alex,
Thank u very much 4 ur support.

I have solved the problem, of course with ur support.

The problem was I was not specifying my DNS server IP in my network setting. That's all.

Due to this the client PC cannot resolve the DNS server and hence the problem was coming.

Thank u again.

Regards,
Ajay.

Alex
05-Jul-2010, 09:32 AM
Hi,

Thank you for the feedback!