Solved

authentication to SQL server

Posted on 2011-09-07
3
189 Views
Last Modified: 2012-06-27
coldfusion mx  server casue jdbc error on a user tring to access SQL database lives on a another server, we have been using port number 1501 with local user access on SQL server.
0
Comment
Question by:RyanK29
3 Comments
 

Author Comment

by:RyanK29
ID: 36500776
Database access from Coldfusion user to authentication on SQL server 2005 via the network
0
 
LVL 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 250 total points
ID: 36500815
what exact error?
anyhow, please start troubleshooting using this article:
http://www.experts-exchange.com/A_1881.html
0
 
LVL 9

Accepted Solution

by:
digicidal earned 250 total points
ID: 36500915
I've run into numerous issues using local user accounts and there are several things you should check to determine that you are not having simple network security issues on the user validation.  In general I would advocate using a mixed authentication mode unless that is not possible for administrative reasons.  Some things to check:

Is the ColdFusion Application Server service running under an account with network access rights?
Have you verified that TCP/IP is an enabled protocol and that port 1501 is explicitly defined as the access port on all network interfaces on the SQL server (i.e. in both the client protocols section and under all IP addresses under the TCP/IP properties for SQL Server 2005 Network Configuration section)
Can you connect via SQL Server Management Studio running on the CF server?
If all of the above are fine, have you tried a very simple query - for example just a "SELECT *" from a very small table or a test table with only one or two rows.  I add this one because the errors thrown by JDBC driver are sometimes cryptic and may simply be the result of SQL returning a error because there is a typo in a column name specified in a query, or from another syntax error.
Are you able to connect successfully to the SQL server from the CF server through explorer (Network) - to verify that you are able to authenticate using the login that has local access to the SQL instance.

Do you have the exact error message that's being returned?  Are you receiving this error as part of configuring the datasource in CF Admin Console or does it check out OK there but throw the error once you are running a page that contains a query?  I think we're going to need some more information to make an accurate diagnosis of what could be causing the problems here.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cannot resolve the collation - tempdb..#Carriers 3 51
Review MS SQL cluster diagram 9 81
SQL Server DeDupe Table 3 37
MS SQL 2005 Srink database in chunks 4 49
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now