Inside Security folder you must add or modify :
All of them must be DWORD and have value 2 hex.
After this you must check the following path :
HKEY_LOCAL_MACHINE/SOFTWARE /Microsoft/Office/(here you choose your outlook version)/Outlook/Security
If the path doesn't exist, then create it.
Inside security folder must be a DWORD named "ObjectModelGuard" with value 2 hex.