Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'AddressValidationResult' does not contain a definition for 'ProposedAddressDetails' and no accessible extension method 'ProposedAddressDetails' accepting a first argument of type 'AddressValidationResult' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 116:                if (reply.HighestSeverity == NotificationSeverityType.SUCCESS || reply.HighestSeverity == NotificationSeverityType.NOTE || reply.HighestSeverity == NotificationSeverityType.WARNING)
Line 117:                {
Line 118:                    var score = Convert.ToInt16(reply.AddressResults[0].ProposedAddressDetails[0].Score);
Line 119:
Line 120:                    if (score >= 85 || score == 0) // bypass validation if 0

Source File: C:\inetpub\wwwroot\IOS\System\website\SignUp.aspx.cs    Line: 118





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