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: BC30002: Type 'SqlConnection' is not defined.

Source Error:


Line 15:     'Azure
Line 16:     Dim cnnStr As String = ConfigurationManager.AppSettings("SQLAzure_BariSpDT_MOTO")
Line 17:     Dim cnn As SqlConnection = New SqlConnection(cnnStr)
Line 18:     Dim sqlcmdSelect As SqlCommand = New SqlCommand()
Line 19:     Dim adpt As SqlDataAdapter = New SqlDataAdapter()

Source File: C:\home\site\wwwroot\sign-in.aspx.vb    Line: 17





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