my config file looks like this:<BR><BR><configuration><BR><ap pSettings><BR><add key="empConnect" value="Persist Security Info=True;Data Source=[TESTER];Initial Catalog=[TESTDB];User ID=[testuser];Password=[testpassword];" /><BR></appSettings><BR></configuration><BR><BR>I'm refering to this in my page like so:<BR>Sub BindData()<BR> '1. Create a connection<BR> Dim myConnection as New SqlConnection(ConfigurationSettings.appSettings("M M_CONNECTION_STRING_empConnect")) <BR><BR> '2. Create the command object, passing in the SQL string<BR> Const strSQL as String = "select * from dbo.vw_intranet1;"<BR> Dim myCommand as New SqlCommand(strSQL, myConnection)<BR><BR> 'Set the datagrid's datasource to the datareader and databind<BR> myConnection.Open()<BR> MyDataGrid.DataSource = myCommand.ExecuteReader(CommandBehavior.CloseConne ction)<BR> MyDataGrid.DataBind() <BR>End Sub<BR><BR>(as taken from this site)<BR><BR>I have an odbc connection already existing called empConnect with these exact details which works fine when using classic asp. Why isn't this working here? I'm not even sure that I've referenced the odbc link here, either. <BR><BR>Could someone help me out here?