Error setting up database

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Error setting up database

    When I try to set up a datasource I get:

    The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver][Macromedia][SQLServer JDBC Driver]The requested instance is either
    invalid or not running.

    What does this mean

    DogBot Guest

  2. Similar Questions and Discussions

    1. Stuck on Testing Database Connnection with setting up aconnection
      :confused; I've established a good connection via FTP/PHP/mySQL. I've uploaded files to my site fine. I've tested connecting php to the host...
    2. setting summary error
      everything else on the site seems to be working except the setting summary. when i click on this it get the following error unexpected constant...
    3. Error setting client variables in Database
      Can someone advise action to take for: "Operation failed on the data source named "CliVars". Reason of failure "Invalid precision value " We are...
    4. setting up my database ?
      i am setting up my access db on the server , already did the rds password, login to server, and now add new datasource, but when i go to the browse...
    5. Database Locale setting
      Hello, Please, is there a way of finding out the Locale setting for a db2 database? thank you, sean
  3. #2

    Default Re: Error setting up database

    DogBot wrote:
    > When I try to set up a datasource I get:
    >
    > The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC
    > Driver][Macromedia][SQLServer JDBC Driver]The requested instance is either
    > invalid or not running.
    That you are trying to connect to a SQL Server instance that is
    either invalid or not running :)

    Is the database running? Can you connect to it with other tools?
    Are there any firewalls in the way?

    Jochem

    --
    Jochem van Dieten
    Adobe Community Expert for ColdFusion
    Jochem van Dieten **AdobeCommunityExpert** Guest

  4. #3

    Default Re: Error setting up database

    are you using SQLServer or mySQL?

    if it is SQL do you have a connection limited license? (like 10 people) in the
    CF admin under the properties of your datasource, advanced button, check the
    limit connections box and restrict to ... 10

    read over this, maybe it can help you...
    <a target=_blank class=ftalternatingbarlinklarge
    href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18245">[url]http://w[/url]
    ww.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18245</a>

    elDonrico Guest

  5. #4

    Default Re: Error setting up database

    also, are you using an XP Pro machine that runs this SQLServer? or 2000/2003? cause XP pro will limit you to 10 connections.

    elDonrico Guest

  6. #5

    Default Re: Error setting up database

    <blockquote>quote:<br><hr><i>Originally posted by: <b><b>elDonrico</b></b></i>
    are you using SQLServer or mySQL?

    if it is SQL do you have a connection limited license? (like 10 people) in the
    CF admin under the properties of your datasource, advanced button, check the
    limit connections box and restrict to ... 10

    read over this, maybe it can help you...
    <a target=_blank class=ftalternatingbarlinklarge
    href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18245">[url]http://w[/url]
    ww.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18245</a><hr></blockquote>

    I write this for the benefit of anyone with the same problem.

    I was able to create a datasource using Window's ODBC Datasource adminstrator
    (start, administrative tools, ODBC), no problem, so I used the ODBC socket
    Dirver on the CF Admin to connect to that datasource succesfully, but I dont
    understand why I had to do it this way.
    In the past I was able to connect simply using the Microsoft SQL Driver.
    I was running MS SQL Express (the CTP release) on Win XP Pro. The problem
    started when I upgraded to the final release of Express(Non CTP).

    Anyhow I am connected now. Thanks everyone for the suggestions (by the way I
    did play with reducing the number of connections, even to just one and it did
    not work)

    DogBot Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139