SQL Server Datasource not found error

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

  1. #1

    Default SQL Server Datasource not found error

    Hi, I have a SQL Server DSN that verifies and looks fine in CF Adminstrator,
    but when I try to call it, I get Data source kidsroe could not be found.
    The error occurred in C:\datafiles\C-WEB\kidsroe\site\admin\cfcs\customer.cfc:
    line 13 Called from C:\datafiles\C-WEB\kidsroe\site\admin\index.cfm: line 10
    Called from C:\datafiles\C-WEB\kidsroe\site\admin\cfcs\customer.cfc: line 13
    Called from C:\datafiles\C-WEB\kidsroe\site\admin\index.cfm: line 10 11 :
    <cfset Var customerRec=''> 12 : 13 : <cfquery name='companyRec'
    datasource='#request.dsn#'> Please advise, thanks.

    4midori Guest

  2. Similar Questions and Discussions

    1. Datasource Error
      HI, When i try to add a 'datasource' for access database i get the following error; Connection verification failed for data source:...
    2. Problem creating CFX 7 SQL Server datasource
      When trying to create a SQL Server datasource using CFX7 Coldfusion administrator, I received the following error: # Connection verification...
    3. Datasource management with SQL Server
      We're looking at migrating our applications from Interbase to SQL Server 2000. Basically, we have a number of databases which, currently, are set...
    4. integrated server error - favicon not found
      Looks like the right location for the favicon is: C:\Program Files\Macromedia\Flex\jrun4\servers\default\default-war\favicon.ico Placing the icon...
    5. Page Not Found..Internal Server Error
      Hi all, I developed a site using Javascript ASP pages which interface with a SQL 7 db. All went well until about a week ago the company which...
  3. #2

    Default Re: SQL Server Datasource not found error

    Hi

    Here you are getting DSN name from a varaible #request.dsn#.
    check that is that dsn name is correct by displayng it.
    <cfoutout>=#request.dsn#</cfoutput>
    vkunirs Guest

  4. #3

    Default Re: SQL Server Datasource not found error

    Hi,

    The dsn name is correct, thanks.

    Anyone else? {{BUMP}}
    4midori Guest

  5. #4

    Default Re: SQL Server Datasource not found error

    You may have an unprintable character in your dsn. Len(dsn) will tell you if you have a spurious character.
    jdeline Guest

  6. #5

    Default Re: SQL Server Datasource not found error

    Hi,

    I hereby crown myself with the IDIOT tag. I had CF6 and CF7 both installed, and I confused the two.

    Sorry to waste everyone's time.

    So, how about that cold snap?!
    4midori 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