The type or namespace name 'DSN' could not be found

Source Error:


Line 33:             return;
Line 34: 
Line 35:         using(SqlConnection myConnection = new SqlConnection(DSN.SpeciesDSN)) {
Line 36:             myConnection.Open();
Line 37: 

What's wrong
 


Answer this question

The type or namespace name 'DSN' could not be found

  • malebocks

    I'm getting this error on http://localhost/terrarium/administartion/blacklist.aspx page.

  • Chris Trobridge

    It means that the compiler doesn't know what DSN is.  To debug, figure out what DSN refers to (looks like it's a class).   To fix, try fully qualifying the name.
  • The type or namespace name 'DSN' could not be found