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: BC30561: 'Globalization' is ambiguous, imported from the namespaces or types 'System.Web, System'.

Source Error:


Line 104: dateOfDeath = Date.Now.Date Line 105: Else Line 106: If (Not Date.TryParseExact(Request.Form("ad_DateOfDeath"), "d-MM-yyyy H:m:s", Nothing, Globalization.DateTimeStyles.AllowWhiteSpaces, dateOfDeath)) Then Line 107: 'TODO: Handlers conversion problem Line 108: Throw New ApplicationException("Form:" & Request.Form("ad_DateOfDeath"))

Source File: E:\web\evelnetcoil\htdocs\UserForms\addCommunity.aspx.vb    Line: 106






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