0

This is the error I get when trying to open any of my CFML pages that work with the database:

Type Database Detail The datasource thenightclub could not be found or was
invalid Extended Info javax.naming.NameNotFoundException: Name thenightclub 
is not bound in this Context.
Regular Jo
  • 5,190
  • 3
  • 25
  • 47
bbcompent1
  • 494
  • 1
  • 10
  • 25
  • 1
    I've not used BlueDragon, but have you set up the datasource correctly? I guess theres a BlueDragon administrator where you can set it up? In ColdFusion and Railo you can then verify the datasource. – luke Mar 03 '15 at 21:58
  • Yes I did in fact set the DSN correctly. My configuration is BlueDragon running on Windows Server 2012 with ColdFusion. The database backend is SQL Server. – bbcompent1 Mar 03 '15 at 22:05
  • 2
    'ColdFusion on BlueDragon'? There is no such thing. They are different products that do the same thing. This is akin to saying 'Apache on IIS' – Scott Stroz Mar 04 '15 at 00:29
  • 2
    I am sure you may have deemed DSN to something else. It is DataSource Name which you need to specify in your BlueDragon admin. Log in to BD admin, create a datasource with the same name your application is expecting it (so that you do not have to make any change in code files.) – CFML_Developer Mar 04 '15 at 03:17
  • I am quite sure he meant CFML on BlueDragon as the two terms are used interchangeably, just as "coke" frequently does not refer to a Coke. Edited to reflect that. – Regular Jo Mar 04 '15 at 20:58

1 Answers1

0

Giving credit to CFML_Developer for the comment:

"I am sure you may have deemed DSN to something else. It is DataSource Name which you need to specify in your BlueDragon admin. Log in to BD admin, create a datasource with the same name your application is expecting it (so that you do not have to make any change in code files.)" – @CFML_Developer

bbcompent1
  • 494
  • 1
  • 10
  • 25