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 8:      End Sub
Line 9:  
Line 10:     Public Shared Function getConn(ByVal open As Boolean) As SqlConnection
Line 11:         Dim conn As SqlConnection = New SqlConnection(ConfigurationManager.AppSettings("connstr"))
Line 12:         If open Then

Source File: D:\home\wilderness-expertise.com\wwwroot\App_Code\Data.vb    Line: 10






Version Information: Microsoft .NET Framework Version:2.0.50727.9031; ASP.NET Version:2.0.50727.9031