Ask a Question related to Coldfusion Database Access, Design and Development.
-
Dave Miller #1
Connecting to SQLExpress
How can I create a Data Source to SQLExpress?
I opened up SQLExpress to TCP/IP, should I be using named pipes instead?
I show the service running and I can create an ODBC DSN to it.
However, I want a Native Connection. SQLExpress has a "SQL Native Client" and
I can also create an ODBC connection to it as well.
I receive the following error:
Connection verification failed for data source: TestDB
java.sql.SQLException: [Macromedia][SQLServer JDBC
Driver][Macromedia][SQLServer JDBC Driver]The requested instance is either
invalid or not running.
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.
Dave Miller Guest
-
connecting...
we're having a hard time connecting to the server so we can let others make changes to the pages. we know we can connect to the server through our... -
connecting FMS
Im really new to FMS and have installed it but im slightly confused as to what i enter into the Server address section when loging in! or where i... -
Byte Array objects cannot be converted to strings Error-- SQLExpress DB
Hi I recently upgraded one server to be using SQL Express 2005 Now when I try to output the value of a ROWGUID its giving me this Error Occurred... -
Connecting for DB2 UDB on NT
Using the DB2 R/T client on the client machine, set up a local alias for the remote database. Define a DSN for this alias on the client machine. When... -
Connecting to DB2 UDB v7.x
Does anyone know if it is possible to connect to a UDB database v7.x (7.2) in .NET. I have not found much on the web regarding this topic. Thanks -
rjsimonson #2
Re: Connecting to SQLExpress
I'm having the same issues as well and have followed many different solutions. I have found none. If you get answers or figure it out please let me know. I will return the favor.
rjsimonson Guest
-
Dave Miller #3
Re: Connecting to SQLExpress
HI,
Here is how I did it.
(1) Go into SQL Server Configuration Manager: SQL Server 2005 Network
Configuration -> Protocols fro SQLEXPRESS -> TCP/IP -> Properties -> IP
Addresses -> IP 127.0.0.1 set the port to 1433.
You need to activate TCP/IP as well
(2) In the ColdFusion Datasources specify SQL Server, and specify the server
as 127.0.0.1\SQLEXPRESS.
Dave Miller Guest
-
mpwoodward *TMM* #4
Re: Connecting to SQLExpress
Dave Miller wrote:
Some additional info:> HI,
> Here is how I did it.
>
> (1) Go into SQL Server Configuration Manager: SQL Server 2005 Network
> Configuration -> Protocols fro SQLEXPRESS -> TCP/IP -> Properties -> IP
> Addresses -> IP 127.0.0.1 set the port to 1433.
> You need to activate TCP/IP as well
>
> (2) In the ColdFusion Datasources specify SQL Server, and specify the server
> as 127.0.0.1\SQLEXPRESS.
>
[url]http://mattwoodward.com/blog/index.cfm?commentID=211[/url]
In the comments you'll see a trackback to some further info with screen
shots. I personally didn't have to specify the instance name after the
IP address; I just used localhost and it worked for me.
Matt
--
Matt Woodward
[email]mpwoodward@gmail.com[/email]
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest
-
-
rjsimonson #6
Re: Connecting to SQLExpress
I get the following error in Coldfusion MX Admin any ideas?
Connection verification failed for data source: ULD
[]java.sql.SQLException: [Macromedia][SQLServer JDBC
Driver][Macromedia][SQLServer JDBC Driver]The requested instance is either
invalid or not running.
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.
rjsimonson Guest
-
karma007 #7
Re: Connecting to SQLExpress
OK rj
This is an alternative method for those of us who have CFMX6.1, whose support
for JDBC does not work; instead of downgrading to CFMX6, you can create an ODBC
System DSN; here goes:
1) Carry out the instructions that Matt Woodward posted at the top of this
thread ie Go into SQL Server Configuration Manager: SQL Server 2005 Network
Configuration -> Protocols fro SQLEXPRESS -> TCP/IP -> Properties -> IP
Addresses -> IP 127.0.0.1 set the port to 1433.You need to activate TCP/IP as
well. Also make sure that SQL Server 2005 Express is an exception in Windows
Firewall (XP SP2) or any other firewall software
2) Go to Control Panel -> Administrative Tools -> Data Sources (ODBC) ->
System DSN -> Add :
a) Select SQL Server driver; finish
b) Type in a name for your datasource
c) Select an SQL Server ie the name of your server instance; next
d) Select your authentication set-up; next
e) Check the 'change the default database to' whatever database you are trying
to connect to; next
f) No need to change anything in the next panel
g) Finish
3) Then go to your Coldfusion Administrator data sources area & type in the
name of the CF DSN you want to use & choose driver of 'ODBC socket' type from
the drop down below; press 'add'.
You should be able to choose the system DSN, you have just created from the
drop down, entitled 'ODBC DSN'.
Then press 'submit'. Voila!
karma007 Guest



Reply With Quote

