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

  1. #1

    Default connect to SQL

    Hello,
    I am trying to connect to SQLServer 2005 Express Edition.
    I follow the instruction in Video 2 on macromedia website. In the video they
    choose ACCESS. In it one only need to fill in CF DATA Source Name and Database
    field. I choose the SQL connection in Application/Databases and there one also
    needs to write in the Server field. I get an Error message if I do not write
    in the Server field. Unfortunately I do not know what to write in the Server
    field. Can somebody please help me with this.

    boato Guest

  2. Similar Questions and Discussions

    1. i want to use connect old again.
      i am doing chat application,when network failed it can not connect to FMS2, so i can not chat, but when network have got a gain, why I can not chat?...
    2. FCS connect
      Hi Guys, I have a little issue with my connection. i am running my CCTV through my FlashComm Server and I have to start my broadcast manually....
    3. Help Cant Connect?
      I just simply want to connect to my webpage. I already have a website but then it asks me my network path? I dont even know what that is...I have...
    4. How to use “RDS.Connect” to connect to a MS Access database?
      The example I am working from uses the following code which does not work: RDS.Connect = "Provider='sqloledb';Integrated Security='SSPI';Initial ...
    5. cannot connect to DB from ASP.Net app
      Hi, from a WinForms-app do I connect to a DB using a connectionstring : m_sqlConnection.ConnectionString = " workstation id=\"PC-WIN2000\";...
  3. #2

    Default Re: connect to SQL

    Server is the name of the SQL 2005 instance where you want to connect.

    Regards
    Sojovi Guest

  4. #3

    Default Re: connect to SQL

    I tried to do this, but it didn't work. I hope somebody can tell me what I am
    doing wrong.
    The name of the SQL 2005 instance is MyDB.mdf
    I fill in the Microsoft SQL Server Connection:
    CF Data Source Name: MyDBConnectionString
    C:\CFusionMX7\wwwroot\K_5\MyDB.mdf
    Server: MyDB.mdf
    I get an Error message when I try this: -1:Error establishing socket. Unknown
    host: MyDB.mdf

    boato Guest

  5. #4

    Default Re: connect to SQL

    No, the name of the SQL instance is not that. To view the instance name, go to :
    SQL Server configuration manager -> SQl server 2005 services , and in the
    right panel you'll see the name of the instance running (beetwen parenthesis)

    Regards

    Sojovi Guest

  6. #5

    Default Re: connect to SQL

    Hello,
    I'm also having trouble doing this!

    In the CF Administrator ....

    What do I put in the "Database" field?
    Is this the full path to the database I created in mssql?
    Should it be placed under wwwroot?

    What exactly do I put in the "Server" field?
    I followed your direction Sojovi, the (between parenthesis) is
    SQLEXPRESS. Does that sound right?

    What do I put in the "port" field?


    Is the above all I need to provide?


    This is a huge learning curve for me.
    Thanks!
    -Gary


    cshow365 Guest

  7. #6

    Default Re: connect to SQL

    OK, let's review :
    Server -> View previous post (i.e. SQLEXPRESS)
    Database : The name of the database you want to connect to (i.e. the famous
    "Northwind")
    Port : Usually 1433
    And you'll need a username and password, that you create in the management
    studio and assigns access to the database desired.

    Regards

    Sojovi 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