Friday, December 18, 2020

The File you're attaching is bigger than the server allows

Selamat sore teman-teman yang membaca blog ini.

sudah lama sekali tidak menulis blog ini, dan akhirnya pada kesempatan kali ini. Saya akan kembali menulis tentang outlook, yaitu dimana saat mau melampirkan file di email muncul error "The File you're attaching is bigger than the server allows", seperti yang saya alami hari ini. Padahal jika file yang kita lampirkan tidak melebihi 25Mb, tetapi tetap saja muncul error tersebut. Setahu saya memang untuk lampiran file dalam setiap email itu ada batasnya yaitu 25Mb. 

 
 

Jika teman-teman mengalami hal yang sama seperti gambar diatas. Bisa menggunakan cara dibawah ini, karena saya menggunakan ini dan tidak muncul error seperti gambar diatas.

  1. Exit Outlook.

  2. Start Registry Editor.

  3. Locate and then select one of the following registry subkeys:

    HKEY_CURRENT_USER\Software\Microsoft\Office<x.0>\Outlook\Preferences
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\ x.0 \Outlook\Preferences

    Note

    • The <x.0> placeholder represents your version of Office (16.0 = Office 2016, Office 365 and Office 2019, 15.0 = Office 2013).
    • Manually create the path in the registry if it does not currently exist.
  4. Add the following registry data under this subkey:

    Value type: DWORD
    Value name: MaximumAttachmentSize
    Value data: An integer that specifies the total maximum allowable attachment size. For example, specify 30720 (Decimal) to configure a 30-MB limit.

    Note

    • Specify a value of zero (0) if you want to configure no limit for attachments.
    • Specify a value that is less than 20 MB if you want to configure a limit that is less than the default 20 MB.
  5. Exit Registry Editor

  6. Start Outlook.

     

    untuk link asli bisa dilihat di  https://docs.microsoft.com/en-us/outlook/troubleshoot/message-body/attachment-size-exceeds-the-allowable-limit-error


Wednesday, January 29, 2020

delphi tfdquery command out of sync you can't run this command now

Selamat Sore teman-teman

Setelah sekian lama tidak posting blog lagi, akhirnya hari ini mulai menulis lagi. Bukan karena tidak ada kesibukan, tetapi karena project yang error dari delphi. hehehe

Awalnya project saya buat dengan delphi XE8, tetapi mulai ada keinginan untuk upgrade ke delphi RIO. Setelah sekian lama download delphi RIO, nyari plugin-plugin yang pernah dipakai di delphi XE8 yang support di delphi RIO dan setup semua. Akhirnya mulailah mencoba membuka project yang dibuat di delphi XE8 dan di running di delphi RIO. Dan ternyata setelah di running di delphi RIO, munculah pesan error "command out of sync you can't run this command now". Mulai berpikir keras kenapa muncul error tersebut. Sempat berpikir, mungkin saat copy projectnya bermasalah, tetapi setelah saya buka di delphi XE8, project tidak masalah.

Tampilan errornya seperti gambar dibawah ini :


Setelah seharian mencari penyebab error ini, akhirnya ketemu juga penyebabnya. Yaitu ganti settingan untuk component TFDConnection. 
- Klik Component TFDConnection.
- Cari FetchOptions.
- Cari Mode.
- ganti Mode menjadi fmAll.

Seperti gambar dibawah ini

dan program bisa dijalankan kembali tanpa error di delphi RIO