Outlook 2013 has stopped working – 0xc0000005

Another Oulook issue is here. All products from Ofiice 2013 and specially Outlook and Lync were being repeatedly and accidentally crashed (no other program) in W7 64-bit computer.

Error Message: Crashing Outlook from Windows point of view:

outlook-crash

Error Event: Crashed application (Outlook) left following trail in Application Log:

Log Name: Application
Source: Application Error
Event ID: 1000
Task Category: (100)
Level: Error
Description:
Faulting application name: OUTLOOK.EXE, version: 15.0.4420.1017, time stamp: 0x506742d6
Faulting module name: nvwgf2umx.dll, version: 8.15.11.8621, time stamp: 0x4a37d5f3
Exception code: 0xc0000005
Fault offset: 0x00000000000586c3
Faulting process id: 0xc8c
Faulting application start time: 0x01cded0bf4be8cf4
Faulting application path: C:\Program Files\Microsoft Office\Office15\OUTLOOK.EXE

Failed Attempts: I tried to repair Ofiice 2013disable add-ins in Officeinstall latest .NET and other things but unfortunately without success to solve the problem.

Solution: All errors indicate nvwgf2umx.dll related issue. This files (Dynamic-link Library) most often belongs to product NVIDIA drivers and this library can be loaded and executed in any running process such as Outlook. Due to this reason I checked display adapter and its driver:

12-01-2013 12-13-47

Updating process for driver informed me: Windows has determined the driver software for your device is up to date. It is know Windows issue so official driver is needed directly from Nvidia site (310.90-quadro-notebook-win8-win7-winvista-64bit-international-whql.exe). New driver solved the problem so it would be great to check always the associated DLL at the beginning.

 

 

Problems with certificate renewal Exchange 2010 / Exchange 2013 coexistence, Failed to enable constraints

Scenario:

I have a LAB, with Exchange 2010 / Exchange 2013 in coexitence:

  • 1 Exchange 2010 CHM
  • 2 DAG servers with FrontEnd and Backend roles and HAProxy load balancer

I have selected renew Exchange Certificate from EMC and got certificate request. Requested certificatee renewal on Startcom Certification authority -> Completed pending request

Problem:

When I was trying to renew certificate for SMTP / TLS, I started to get error message on the Picture.

Error

It was not possible to do anything with certificates in EMC, because list was empty.

Solution:

  • Run EMS
  • List certificates
Get-ExchangeCertificate | Select Status,Thumbprint,Notafter,Services | ft -Autosize
  • In the list you will see pending requests

List of certificates

  • Complete pending request
Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path Z:Z_DOKUMENTYSALONOVI.CZSMTP_certifikat_renewal_2013_2.cer -Encoding byte -ReadCount 0))
completed pending request
  • Check certificate if it is valid
Get-ExchangeCertificate <Thumbprint> |fl ; Thumprint from previous command
  • Assign services to certificate (Requires confirmation to overwrite existing SMTP certificate)
Get-ExchangeCertificate <Thumbprint> | Enable-ExchangeCertificate -Services SMTP
Assigning Services
  • Once CSR is completed an all certificates are in place, it is possible to access  certificates in EMC again.

After

Hyperlinks are not working in Outlook

10.01.2013

I noticed following problem – Hyperlinks are not working in Outlook (Office 2013)

Error Messages:

This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.
Your organization’s policies are preventing us from completing this action for you. For more info, please contact your help desk.

This usually happens when there is no default Internet browser (properly) registered in Windows. It often happens after uninstalling the Google Chrome browser but there are also other instances for which this can happen.

More info can be found here – http://www.msoutlook.info/question/242

The solution is quite simple by MS Fix-it   – http://support.microsoft.com/kb/310049/en-us

Dowload: Microsoft Fix it 50388 (MS source), Microsoft Fix it 50388 (Ficility source)

How to connect to shared / additional mailbox via IMAP (Exchange 2010/2013)

I was solving the issue for one of our customers. They have application, which needs to log on to mailbox via IMAP, but administrator user doesn´t have mailbox. Here is the solution:

  • Administrator user “Anatolij.Stokurev” doesn´t have a mailbox
  • Anatolij.Stokurev needs to access mailbox “Shared.mailbox1”
  • Syntax to log on to additional / shared mailbox via IMAP is to use: DOMAIN\USERNAME\MAILBOXALIAS in username field and password in your application,
  • NOTE: get-credential command doesn´t accept syntax from point above (double in username) so you shoud enter credentials directly

Example:

  • I have created shared mailbox in Exchange 2013 and user in AD

shared creation1

I granted full access to user, who doesnt have mailbox Anatolij.Stokurev by command

Add-MailboxPermission Shared.Mailbox1 -user Anatolij.Stokurev -AccessRights FullAccess

permissions1

Note: You cannot add permissions for user without mailbox in EAC / ECP. Powershell is the only option here.

Test via Telnet:

  • Prerequisite here is to have Plain text login set on Exchange servers (IMAP). Use the following commands to set plaintext login. IMAP services must be restarted before change takes effect.
Set-IMAPSettings -Server <SERVERNAME> -LoginType PlaintextLogin
Get-Service *ima* | Restart-Service
  • type the following command into the command line. I use Windows Server 2008 R2 and there is no Telnet client feature installed by default, so if you dont have it, please install it via Server manager MMC.
telnet <name of your imap server> imap (where imap is key word of protocol used by telnet client)
  • You will get OK answer from your setver if everything is OK
a1 LOGIN SALONOVI\Anatolij.Stokurev\Shared.Mailbox1 Minus30*  (According to IMAP protocol you have to insert valid username / password combination to logon to mailbox)
a2 LIST "" "*" (list folders from the mailbox)
a5 LOGOUT (End session)
  • Result is in the following Picture

result

Test via Outlook

  • Add IMAP connection to your existing profile or create new profile (File -> Account Settings -> New -> Manual Configuration -> POP/IMAP)
  • Open Settings
  • Change settings according the Picture:

outlook settings

  • Our admin user doesnt have e-mail address. Fill in e-mail address of the shared account instead
  • Into the username use the same syntax as before “DOMAIN\USER\MAILBOXALIAS”
  • In More settings TAB use working configuration of your SMTP server
  • Hit NEXT and you will get the test window. After test is OK you are ready touse new profile with IMAP connected to shared mailbox

Tips for good articles and tools

Here is articles list. I like those, need those and don´t have time to look for them again and again.

Active Sync features comparison:

http://en.wikipedia.org/wiki/Comparison_of_Exchange_ActiveSync_Clients

Free e-mail checking tools:

http://centralops.net/co/

http://mxtoolbox.com/

RBAC manager

http://rbac.codeplex.com/

My friend’s Exchange-related blog!!!!

http://ficility.net

Exchange 2010 Logs and Logging

Just a note for me for me to keep post about Exchange logs in mind (sorry).

OWA log

IIS LOG: C:\inetpub\logs\LogFiles\W3SVC1

2012-11-26 09:02:11 10.37.15.45 POST /owa/auth.owa - 443 APO 10.37.15.45 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0) 302 0 0 343
2012-11-26 09:02:11 10.37.15.45 GET /owa/forms/premium/StartPage.aspx &Initial+Budget>>Conn:1,HangingConn:0,AD:18000/18000/0%,CAS:90000/90000/0%,AB:18000/18000/0%,RPC:90000/90000/0%,FC:1000/0,Policy:DefaultThrottlingPolicy_278bb2c6-fa19-45b2-974c-d3139382e799,Norm&mbx=APO1.app.apo.com&sessionId=9dc116ce03aa4b65866f6a294e9a9cf8&prfltncy=551&prfrpccnt=61&prfrpcltncy=484&prfldpcnt=6&prfldpltncy=0&prfavlcnt=0&prfavlltncy=0&End+Budget>>Conn:1,HangingConn:0,AD:18000/18000/0%,CAS:90000/89704/1%,AB:18000/18000/0%,RPC:90000/89772/1%,FC:1000/0,Policy:DefaultThrottlingPolicy_278bb2c6-fa19-45b2-974c-d3131382e799,Norm[Resources:(Mdb)Mailbox+Database+04(Health:-1%,HistLoad:0),(DC)APO1.app.apo.com(Health:-1%,HistLoad:0),] 443 EROS 10.37.15.45 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0) 200 0 0 655

Email Address Policy and Capital Letters – Exchange 2007

05.01.2013

I worked on a request to omit capitals letters in email address (WindowsEmailAddress attribute). Nice to see how can be this request solved. If you have granted email address like  Ficility@windowslive.com you cannot update value (WindowsEmailAddress or PrimarySMTPAddress attribute) within ficility@windowslive.com through EMS or EMC. The value is still Ficility@windowslive.com. As I heard from clever guys many times Exchange and RFC 2821 (SMTP) is not so tantamount “The local-part of a mailbox
MUST BE treated as case sensitive. Therefore, SMTP implementations
MUST take care to preserve the case of mailbox local-parts.“. Additionally, we do not have a restriction for the case in Exchange mail-flow, but how can we change the value while the address is still same (with capital letters). Just rename it e.g. _Ficility@windowslive.com and after that you can apply lower format ficility@windowslive.com without problem. Unfortunately mentioned fact is the same as for Email Address Policy. We cannot change granted capital letters in WindowsEmailAddress or PrimarySMTPAddress by the policy for existing objects.

Basic related management ragarding to Email Address Policy is described in following article: http://www.msexchange.org/articles-tutorials/exchange-server-2007/management-administration/managing-email-address-policies.html.

The main declaration elements are:

%g - Used for given name (first name)
%i - Used for middle initial
%s - Used for surname (last name)
%d - Used for display name
%m - Used for Exchange alias
%xs - Uses the x number of letters of the surname. For example if x=2, then the first two letters of the surname are used.
%xg - Uses the x number of letters of the given name. For example, if x=2, then the first two letters of the given name are used.

But I have used most frequently element %r as replace factor: %rÄa%rÖo%rÅa%räa%röo%råa%rÜu%rüu%rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%rPp%rQq%rRr%rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz

Original policy was updated by:

Get-EmailAddressPolicy -identity "Defaulr Policy" | Set-EmailAddressPolicy -EnabledEmailAddressTemplates "smtp:%m@contoso.com","SMTP:%rÄa%rÖo%rÅa%räa%röo%råa%rÜu%rüu%rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%rPp%rQq%rRr%rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz%g.%i.%s@contoso.com"

After that each new mailbox do not have capital letters in its email address. I changed also old addresses with capital letters by a script – HERE – but the script is customized for my a purpose so ask if anything.