Server Error in '/' Application.

Cannot insert the value NULL into column 'AD_Url', table 'Rayashop.dbo.ADResponse'; column does not allow nulls. INSERT fails.
The statement has been terminated.

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.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'AD_Url', table 'Rayashop.dbo.ADResponse'; column does not allow nulls. INSERT fails.
The statement has been terminated.

Source Error:


Line 54:         ADResponseObj.AD_Url = strAdPath;
Line 55:         ADResponseObj.AD_UserLogin = "NA";
Line 56:         ADResponseObj.Save();
Line 57: 
Line 58: 

Source File: d:\RayaDistribution\AdRedirect.aspx.cs    Line: 56

Stack Trace:


[SqlException (0x80131904): Cannot insert the value NULL into column 'AD_Url', table 'Rayashop.dbo.ADResponse'; column does not allow nulls. INSERT fails.
The statement has been terminated.]
   MyGeneration.dOOdads.BusinessEntity.Save() +1102
   AdRedirect.SaveInDB() in d:\RayaDistribution\AdRedirect.aspx.cs:56
   AdRedirect.Page_Load(Object sender, EventArgs e) in d:\RayaDistribution\AdRedirect.aspx.cs:19
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4110.0