PC Review


Reply
Thread Tools Rate Thread

Accessing SafeUser.SMTPAddress crashes Outlook (Redemption)

 
 
Kukulkan
Guest
Posts: n/a
 
      9th Jun 2010
Hi,

One of our customer has a problem with our AddIn. He uses Windows 7
with OL2003 (latest ServicePacks) connected to Exchange. His Outlook
crashes, if our AddIn (VB6) accesses the data of the current user like
this:

Dim SafeUser As New Redemption.SafeCurrentUser
Dim Address As String
Dim SMTPAddress As String
Address = SafeUser.Address
SMTPAddress = SafeUser.SMTPAddress ' <- crash

This happens on multiple system. Many other customers are running out
AddIn without any problems. Virus-scanner and firewalls have been
temporary disabled. Outlook has been reinstalled. Nothing helps.

Outlook crashes this way (german):
Ereignistyp: Fehler
Ereignisquelle: Microsoft Office 11
Ereigniskategorie: Keine
Ereigniskennung: 1000
Faulting application outlook.exe, version 11.0.8312.0, stamp 4a403990,
faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0,
fault address 0x00000001.

Any Idea to prevent the crash? Can we do something? It is an important
customer...

Kukulkan
 
Reply With Quote
 
 
 
 
Diane Poremsky [MVP]
Guest
Posts: n/a
 
      9th Jun 2010
You might want to try this forum for developer questions now that Microsoft
closed their nntp servers:
http://social.msdn.microsoft.com/For...ookdev/threads

--
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com/

Outlook Tips by email:
mailto:dailytips-subscribe-(E-Mail Removed)



"Kukulkan" <(E-Mail Removed)> wrote in message
news:ec7616ee-db78-4f58-ba44-(E-Mail Removed)...
> Hi,
>
> One of our customer has a problem with our AddIn. He uses Windows 7
> with OL2003 (latest ServicePacks) connected to Exchange. His Outlook
> crashes, if our AddIn (VB6) accesses the data of the current user like
> this:
>
> Dim SafeUser As New Redemption.SafeCurrentUser
> Dim Address As String
> Dim SMTPAddress As String
> Address = SafeUser.Address
> SMTPAddress = SafeUser.SMTPAddress ' <- crash
>
> This happens on multiple system. Many other customers are running out
> AddIn without any problems. Virus-scanner and firewalls have been
> temporary disabled. Outlook has been reinstalled. Nothing helps.
>
> Outlook crashes this way (german):
> Ereignistyp: Fehler
> Ereignisquelle: Microsoft Office 11
> Ereigniskategorie: Keine
> Ereigniskennung: 1000
> Faulting application outlook.exe, version 11.0.8312.0, stamp 4a403990,
> faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0,
> fault address 0x00000001.
>
> Any Idea to prevent the crash? Can we do something? It is an important
> customer...
>
> Kukulkan


 
Reply With Quote
 
Ken Slovak
Guest
Posts: n/a
 
      9th Jun 2010
See what else he's running that integrates with Outlook. If the code works
on other systems but not his there's something different about his system.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Kukulkan" <(E-Mail Removed)> wrote in message
news:ec7616ee-db78-4f58-ba44-(E-Mail Removed)...
> Hi,
>
> One of our customer has a problem with our AddIn. He uses Windows 7
> with OL2003 (latest ServicePacks) connected to Exchange. His Outlook
> crashes, if our AddIn (VB6) accesses the data of the current user like
> this:
>
> Dim SafeUser As New Redemption.SafeCurrentUser
> Dim Address As String
> Dim SMTPAddress As String
> Address = SafeUser.Address
> SMTPAddress = SafeUser.SMTPAddress ' <- crash
>
> This happens on multiple system. Many other customers are running out
> AddIn without any problems. Virus-scanner and firewalls have been
> temporary disabled. Outlook has been reinstalled. Nothing helps.
>
> Outlook crashes this way (german):
> Ereignistyp: Fehler
> Ereignisquelle: Microsoft Office 11
> Ereigniskategorie: Keine
> Ereigniskennung: 1000
> Faulting application outlook.exe, version 11.0.8312.0, stamp 4a403990,
> faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0,
> fault address 0x00000001.
>
> Any Idea to prevent the crash? Can we do something? It is an important
> customer...
>
> Kukulkan


 
Reply With Quote
 
Kukulkan
Guest
Posts: n/a
 
      10th Jun 2010
Hi Ken,

> See what else he's running that integrates with Outlook. If the code works
> on other systems but not his there's something different about his system.


Thank your for your reply. The customer swears that he does not run
any other Outlook AddIn and his virus scanner has been disabled. There
is no other internet security suite installed. The Outlook
installation in renewed and actualized with the latest service pack.
No difference. It crashes directly by calling the SMTPAddress
property.

Andy other idea about the reason of such a crash? Andy idea what to
test? Exchange options to check? Should I use the dependency walker?
Any SysInternals tool? I am grateful for any additional information...

Kukulkan
 
Reply With Quote
 
Ken Slovak
Guest
Posts: n/a
 
      10th Jun 2010
If the user has an email account set up they should have an SMTP address for
SafeUser. About all you can do is to add extra error logging and make sure
Redemption is registered and running. I'd check for SafeUser not being null
before trying to access SMTPAddress. I'd then use String.IsNullOrEmpty() on
that string property, it might not even be there.

I've had lots of users swear a lot of things and almost all the time the
error is PEBKAC (problem exists between keyboard and chair).

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Kukulkan" <(E-Mail Removed)> wrote in message
news:9c519a22-b04b-42e1-918b-(E-Mail Removed)...
> Hi Ken,
>
>> See what else he's running that integrates with Outlook. If the code
>> works
>> on other systems but not his there's something different about his
>> system.

>
> Thank your for your reply. The customer swears that he does not run
> any other Outlook AddIn and his virus scanner has been disabled. There
> is no other internet security suite installed. The Outlook
> installation in renewed and actualized with the latest service pack.
> No difference. It crashes directly by calling the SMTPAddress
> property.
>
> Andy other idea about the reason of such a crash? Andy idea what to
> test? Exchange options to check? Should I use the dependency walker?
> Any SysInternals tool? I am grateful for any additional information...
>
> Kukulkan


 
Reply With Quote
 
Kukulkan
Guest
Posts: n/a
 
      21st Jun 2010
Hi Ken,

the problem is solved. The reason has been a telephony addin by AVAYA
Com4Tel. Is there any chance to fix the problem without the help of
their developers? We currently do not know any other incompatibilities
of our addin with other addins. We care about closing all
references...

> I've had lots of users swear a lot of things and almost all the time the
> error is PEBKAC (problem exists between keyboard and chair).


how true...

Kukulkan
 
Reply With Quote
 
Ken Slovak
Guest
Posts: n/a
 
      21st Jun 2010
Hi,

I think you'd either need to work with their developers or to have a FAQ
that lists their application as incompatible. Not much else you can do.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Kukulkan" <(E-Mail Removed)> wrote in message
news:3d12af0a-7e97-43c9-af7a-(E-Mail Removed)...
> Hi Ken,
>
> the problem is solved. The reason has been a telephony addin by AVAYA
> Com4Tel. Is there any chance to fix the problem without the help of
> their developers? We currently do not know any other incompatibilities
> of our addin with other addins. We care about closing all
> references...
>
>> I've had lots of users swear a lot of things and almost all the time the
>> error is PEBKAC (problem exists between keyboard and chair).

>
> how true...
>
> Kukulkan


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook crashes when accessing public folders Sam Microsoft Outlook 5 6th Feb 2008 09:48 AM
outlook crashes when accessing pst-files =?Utf-8?B?cGVyZ2E=?= Microsoft Outlook Discussion 4 12th Jul 2005 06:01 AM
Outlook 2002 crashes when accessing Redemption.AddressEntry -> workaround? Carsten Hecht Microsoft Outlook VBA Programming 9 25th Aug 2003 11:31 PM
Re: Outlook 2002 crashes when setting MAPI properties with Redemption Dmitry Streblechenko Microsoft Outlook VBA Programming 1 17th Jul 2003 05:37 PM
Re: Outlook 2002 crashes when setting MAPI properties with Redemption Carsten Hecht Microsoft Outlook VBA Programming 0 16th Jul 2003 02:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:10 PM.