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 99:     Public Function CapFirst(value As String, Optional isUK As Boolean = True) As String
Line 100:        If String.IsNullOrEmpty(value) Then Return value
Line 101:        Return Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(value.ToLower())
Line 102:    End Function
Line 103:

Source File: C:\wwwroot\secure_findauniversity_com\App_Code\ExtensionMethods.vb    Line: 101






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