Adding gmail addresse in Outlook 2016

Copper Contributor

Hello,

 

I am trying to add my gmail address in my list of addresses used in Outlook 2016 but I get an error message :

"We were unable to create the Outlook Data File. Make sure the disk you are recording to is not full or write-protected and the file is not in use."

 

Translated from french : "Nous n'avons pas pu créer le fichier de données Outlook. Assurez-vous que le disque sur lequel vous effectuez l'enregistrement n'est pas saturé ou protégé en écriture et que le fichier n'est pas en cours d'utilisation."

 

How can I solve this problem ? I would prefer this gmail address to be included in the same PST file as my  other mail addresses but I wasn't asked which file should be used. My disk is not full either.

 

I just bought a new notebook (windows 11). I had no problem with the previous one (windows 10)

 

Thanks for your help

 

4 Replies

Hi @aixois13,

you can try the following steps:

  1. Completely close Outlook and ensure it is not running in the background.
  2. Open the Control Panel on your notebook.
  3. Navigate to "User Accounts" and then "Mail (Microsoft Outlook)".
  4. In the Mail Setup window, click on the "Data Files" button.
  5. Select the "Data Files" tab and check if there is an existing PST file associated with your Outlook profile. If not, create a new one by clicking on the "Add" button.
  6. Give or choose the location where you want to save the PST file and provide a name for it.
  7. Set the new created or existing PST file as the default data file for your email accounts by selecting it and clicking on the "Set as Default" button.
  8. Save the changes and exit the Mail Setup window.
  9. Open Outlook again and try adding your Gmail account once more.


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Kindest regards

Leon Pavesic

@LeonPavesic 

Thanks for your help.

 

(5) Under "Data Files" there is my PST file named "Outlook_New.pst" which is used for my non gmail addresses but also 6 other ost files which were created when trying to add my gmail address. I didn't notice that

 

C:\Users\jl-bo\AppData\Local Microsoft\Outlook\email address removed for privacy reasons.ost

C:\Users\jl-bo\AppData\Local Microsoft\Outlook\email address removed for privacy reasons.ost (2)

C:\Users\jl-bo\AppData\Local Microsoft\Outlook\email address removed for privacy reasons.ost (3)

C:\Users\jl-bo\AppData\Local Microsoft\Outlook\email address removed for privacy reasons.ost (4)

C:\Users\jl-bo\AppData\Local Microsoft\Outlook\email address removed for privacy reasons.ost (5)

C:\Users\jl-bo\AppData\Local Microsoft\Outlook\email address removed for privacy reasons.ost (6)

 

My default PST file is C:\Users\jl-bo\AppData\Local Microsoft\Outlook\Outlook_New.pst and this is this pst file which I wanted to be associated to my gmail address.

 

https://www.cjoint.com/c/MGivfWkOvgt 

 

(5) Outlook_New.pst is already set as the default data file for my email accounts

 

What should I do then ? I cannot delete these 6 ost files from the list. An error message says they are associated to a mail account, but in fact no mail account is associated to them and it seems a new attempt will created an extra C:\Users\jl-bo\AppData\Local Microsoft\Outlook\email address removed for privacy reasons .ost(7) file

 

The gmail address already exists in the "mail" tab associated to Outlook_New.pst with my other mail addresses but cannot work. Should I delete it then delete the 6 OST files ? from the list or on my disk ?

 

 

Thanks

 

@aixois13 

I deleted the 6 OST files from my disk but they are recreated when I open again the settings "Data Files" in "Mail (Microsoft Outlook)". And under "Data Files", it's still impossible to delete them. They are associated to a mail account which doesn't exist!

 

@aixois13 

I found how to delete these ost files.

There were not associated in the list of mail accounts, but a folder was created in outlook. I closed these folders and then I could delete these files permanently.

 

Anyway, it doesn't change anything to my problem :

- If I try to create a gmail account automatically, an error message tells me that connecting to the server is impossible and asks me to try creating the account manually.

- If I then try to create it manually , using the the ports mentionned in Google help (993 with imap.gmail.com SSL/TLS and 587 with STARTTLS smtp.gmail.com) and linking it to Outlook_New.pst, it does not work either and an extra OST file is created :

 

"Connexion au serveur de courrier entrant (IMAP): Votre compte requiert un mot de passe spécifique de l’application pour vous connecter." :

 

(Incoming mail server login (IMAP): Your account requires an app-specific password to login.)

 

"Envoyer un courrier de test: Nous ne pouvons pas envoyer le message. Vérifiez l’adresse de courrier dans les propriétés de votre compte. Réponse du serveur : 530 5.7.0 https://support.google.com/mail/?p=WantAuthError q9-20020adff789000000b00313e2abfb8dsm9571047wrp.92 - gsmtp" :

 

(Send test mail: We cannot send the message. Check the email address in your account properties. Server Response: 530 5.7.0 https://support.google.com/mail/?p=WantAuthError q9-20020adff789000000b00313e2abfb8dsm9571047wrp.92 - gsmtp)

 

The mail address is correct and the password as well :(

 

Despite these error messages an account is added in Outlook list of account but is linked to a newly created  email address removed for privacy reasons in C:\Users\xxxx\AppData\Local\Microsoft\Outlook and not in Outlook-New.pst. An I cannot change the file in settings. Big mystery

 

And when I write a new message, the default mail address is not the default on as per settings but the gmail address ! But after closing Outlook 2016, my default mail address is ok.

 

Thanks for your help