Category - Issues and Exceptions
Results 6 - 10 of 98
29 Jan 2020 29 Jan 2020 0 Comments  2351 Views
Here Mudassar Ahmed Khan has explained why Server.MapPath not working in ASP.Net Core and what is the alternative solution for using the functionality in ASP.Net Core.

Microsoft has permanently removed Server.MapPath function from .Net Core and introduced a new interfaces IHostingEnvironment for .Net Core 2.0 and IWebHostEnvironment for .Net Core 3.0.
30 Sep 2019 30 Sep 2019 0 Comments  3845 Views
Here Mudassar Ahmed Khan has explained how to make solve the problem of ValidateRequest = 'false' not working in .Net 4.0 and 4.5 in ASP.Net.

ValidateRequest = 'false' is used to supress the exception: A potentially dangerous Request.Form value was detected from the client in ASP.Net and allow posting scripts and HTML content in ASP.Net.

The ValidateRequest property is a .Net 2.0 and .Net 3.5 property and hence in order to work on .Net 4.0 and .Net 4.5 an additional property is needed.
24 Jan 2019 24 Jan 2019 0 Comments  8050 Views
Here Mudassar Ahmed Khan has explained how to resolve the error Failure sending email in ASP.Net.

Generally the Failure sending email error comes when debugged leads to the following error:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required in ASP.Net Application.
Thus this article will cover the common solutions which can resolve the issue.
16 Jan 2019 16 Jan 2019 0 Comments  6895 Views
Here Mudassar Ahmed Khan has provided solution to the problem where value of the TextBox placed in GridView is lost after PostBack in ASP.Net with C# and VB.Net.

When PostBack happens i.e. when Button is clicked or any other control that does PostBack inside GridView, the GridView is again populated with data and hence the modified values in TextBox are lost.
18 Sep 2018 18 Sep 2018 0 Comments  3803 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the problem of jQuery Live Click not working and giving error Live is not a function.

jQuery Live function has been depreciated i.e. removed from jQuery version 1.9 onwards and hence when you are using any newer jQuery version i.e. version 1.9 or above you will get error that Live is not a function.
Results 6 - 10 of 98