Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Not being able to submit a attachment on a portal form?

Posted on by 10

Hi All.

I hope everyone is all well.

On a entity form I have "Add attach file", enabled, when I submit the form I get the following error, without attachment enable, I dont and I am able to submit the form.

Value cannot be null.
Parameter name: format

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: format

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 

[ArgumentNullException: Value cannot be null.
Parameter name: format]
   System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) +14539868
   System.String.Format(String format, Object arg0) +92
   Adxstudio.Xrm.Web.UI.WebControls.EntityForm.OnItemInserted(Object sender, CrmEntityFormViewInsertedEventArgs e) in G:\Agents\BA1256\_wap\36\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\EntityForm.cs:1271
   Microsoft.Xrm.Portal.Web.UI.WebControls.CrmEntityFormView.OnItemInserted(CrmEntityFormViewInsertedEventArgs args) in G:\Agents\BA1256\_wap\36\s\Framework\Microsoft.Xrm.Portal\Web\UI\WebControls\CrmEntityFormView.cs:261
   Adxstudio.Xrm.Web.UI.WebControls.CrmDataSourceView.OnInserted(CrmDataSourceViewInsertedEventArgs args) in G:\Agents\BA1256\_wap\36\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmDataSourceView.cs:781
   Adxstudio.Xrm.Web.UI.WebControls.CrmDataSourceView.ExecuteInsert(IDictionary values) in G:\Agents\BA1256\_wap\36\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmDataSourceView.cs:770
   Adxstudio.Xrm.Web.UI.WebControls.CrmEntityFormView.AddDataSourceViewInserted(CrmDataSourceView dataSourceView, IDictionary values) in G:\Agents\BA1256\_wap\36\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityFormView.cs:1554
   Adxstudio.Xrm.Web.UI.WebControls.CrmEntityFormView.HandleInsert(CommandEventArgs args) in G:\Agents\BA1256\_wap\36\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityFormView.cs:1536
   Adxstudio.Xrm.Web.UI.WebControls.EntityForm.OnBubbleEvent(Object source, EventArgs args) in G:\Agents\BA1256\_wap\36\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\EntityForm.cs:450
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5028

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans