UCCE 7.X Connection to SQL Express

Hello,
Is the connection to SQL Express external database different than the connection to SQL external database? I'm using UCCE 7.2.6 and I'm not having success accessing a SQL Express external database the sameway I access a SQL external database.
I know in the registry, the SQL login value is \\machine_name\datbase_name=(user,password) where:
machine_name is the name of the SQL server computer
database_name is the name of the database on that SQL server computer
user and password are the logon credentials
So how do I do the above if the machine_name is machine_name\SQLEXPRESS? This puts an extra "\" in the syntax...
Please assist.
Thanks,
MB

First thing I would confirm is that Named Pipes is enabled on the SQL Server instance.
If memory serves, you may also have to create an Alias to a named SQL instance.

Similar Messages

  • Dreamweaver CS3 Connecting To SQL Express 2005

    Hi Guys,
    I'm having problems connecting
    Dreamweaver CS3 to
    SQL Express 2005, the error message that comes back is not
    very helpful, "An Unidentified Error has Occurred"
    Have any of you successfully connected
    Dreamweaver CS3 to
    SQL Express 2005 ?
    Thanks
    Jay

    > I'm having problems connecting
    Dreamweaver CS3 to
    SQL Express
    > 2005, the error message that comes back is not very
    helpful, "An
    > Unidentified Error has Occurred"
    >
    > Have any of you successfully connected
    Dreamweaver CS3 to
    SQL
    > Express 2005 ?
    Yes, the connection string is not dependant upon the software
    used to create
    the website. Here's a couple of examples, or you can find
    more at
    http://www.connectionstrings.com:
    Provider=sqloledb;Data Source=computer_name_or_IP;Initial
    Catalog=database_name;UID=username;PWD=password
    DRIVER={SQL
    Server};SERVER=Computer_name\instance_name;DATABASE=database_name;UID=username;PWD=passwo rd

  • BSP Application connection to SQL Express DB to execute SQL Queries

    Hi There everyone,
    I am not sure if I am posting this discussion in the correct section, but please try and help me out.
    I have been tasked to write a BSP Application in the ABAP Workbench.  The purpose of this application is to enable our Weighbridge operators to execute pre-defined SQL Queries by selecting certain criteria from the Application.  The application is based on an HTML frontend which includes the Web Form (Input Fields, Submit buttons).  We have 6 Weighbridges, each has its own HTML page in this application.
    What I need to achieve is the following;
    I need to know how I must setup the connection between the BSP Application and the SQL Express DB.  Each Weighbridge has its own dedicated SQL Express instance + DB.  These SQL Instances are not on the same host as where the BSP Application is located, I think the correct term is "External SQL Instances".  Everything is on the same domain though.
    What code would I need to add to the "OnInitialize" section in the BSP Application, to be able to establish the connection to the SQL Express database using Windows Authentication?
    And what code would I need to attach to my submit buttons in the "OnInputProcessing" in the BSP Application, to execute a SQL Query to that DB and display the results in .CSV format back to the user?
    I have attached 2 screenshots of what the BSP Application interface looks like.  (This is what the user sees)
    I am very new to creating BSP's, and I have never had to link to SQL from HTML / PHP before, so I basically have no knowledge of this.
    Any help will be greatly appreciated.

    Sorry for the late reply.
    Yes, database is always available and online, not involved in Log Shipping or other things.
    At the time of the connection failure I can find the following in the log of the application:
    ProcessID:2452 ,ThreadID:4768 : NI-I - 24/08/2012-15:12:20 - \PCV/src/ni/src/pcvnireceive.cpp - 4741 - Thread 4768 - Receive Thread Started for Remote Node 043SBTMS10DRSP: In Thread index 1:
    ProcessID:2452 ,ThreadID:4768 : NI-I - 24/08/2012-15:12:40 - \PCV/src/ni/src/pcvnireceive.cpp - 4968 - Thread 4768 - Receive Thread Ended for Remote Node 043SBTMS10DRSP: In Thread index 1:
    ProcessID:2452 ,ThreadID:4768 : NI-I - 24/08/2012-15:12:40 - \PCV/src/ni/src/pcvnireceive.cpp - 115 - Thread 4768 - Merge Memory Usage: KB Allocated = 2186, KB in use = 889
    ProcessID:2452 ,ThreadID:1408 : NiJ - E - 25/08/2012-19:35:29 - \PCV/src/ni/src/pcvnijournal.cpp - 2842 - PcvNiJournal::isRetrievePending() - DB Exception.Error: TCP Provider: The specified network name is no longer available.
    Communication link failureQuery timeout expired - State:08S01,Native:64,Origin:[Microsoft][SQL Server Native Client 10.0] State:08S01,Native:64,Origin:Microsoft][SQL Server Native Client 10.0]
    State:S1T00,Native:0,Origin:[Microsoft][SQL Server Native Client 10.0]

  • Connection to SQL Express on Azure VM not working

    Hello,
    I'm sorry if this has already been answered somewhere else, I didn't find anything that helped.
    Setup:
    Two VMs running Windows Server 2012 R2 Datacenter, one running SQL Express.
    When trying to connect to the SQL Express, the connection does not work.
    Here's what I've done so far:
    Set up the MSSQL instance, named SQLEXPRESS
    Set up a database, named TESTDB
    Set the instance to mixed authentification
    Set up VM endpoint TCP 1433
    Opened ports TCP 1433, 1434 in the firewall
    Activated the SQL Browser
    Activated the TCP/IP-Service in the SQL Server Network Configuration
    Testing connection via UDL file with the following information:
    Server name: <cloud storage>.cloudapp.net\<sql server>\SQLEXPRESS
    Username: sa
    Password: <password>
    Database: TESTDB
    Now it returns the following error:
    "Test connection failed because of an error in initializing provider.
    [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied."
    Now I keep reading that it may be a firewall problem. But I turned off the firewalls on both servers completely for testing purposes (they're test servers and will be deleted anyway) and it still doesn't work.
    I know I must have forgotten something, but what? Or am I entering the wrong connection information?
    Does anyone know?
    Regards
    ~Irolan

    Server name: <cloud storage>.cloudapp.net\<sql server>\SQLEXPRESS
    Hello,
    I wonder about the Server Name, it should be "MachineName\SQLEXPRESS" only.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]
    Damn... you're right. That works. Uhm... but what if I want to access it from another computer that is not an Azure VM?

  • Microsoft SQL Server JDBC Drivers 4.0.2206 timeout on first connection to SQL Server Express after it sleeps

    Our builds kick off and run integration tests. They are configured to hit a SQL Server Express server.
    If the builds have been quiet for a while, the first test to connect fails after stalling for 20 minutes.
    Subsequent tests are fine.
    Reversing test order does the same thing, with a different test.
    We noticed in the SQL Server express log the server saying it is waking up after being idle.
    Microsoft SQL Server Express with Microsoft SQL Server JDBC Drivers 4.0.2206.
    Connection times out after 20 minutes.Occurs with the first connection made after the SQL Server Express server wakes up from going to sleep.Connections after the first are just fine, until SQL Server Express sleeps.SSL enabled. Timeout duration for the connection failure is unaffected by setting timeout options for the connection.  Work around:
    cron-like job that runs every minute that makes a simple query on the server keeps the server from going to sleep.
    Has anyone else run into this?

    Hello,
    SQL Server Express will go to sleep if idle, this behavior is not configurable.
    When SQL Express transitions from idle to active some of the memory that was released needs to be reclaimed; this results is a slight lag during "startup time" when you're first connecting to SQL Express.
    The other sort of sleep occurs when a database with AUTO_CLOSE unloading itself after a period of inactivity. This can be resolved by setting AUTO_CLOSE to false.
    You can refer to the following blog about more details about this:
    http://blogs.msdn.com/b/sqlexpress/archive/2008/02/22/sql-express-behaviors-idle-time-resources-usage-auto-close-and-user-instances.aspx
    You can try to upgrade the SQL Server Express to a non-free version to get rid of this.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • "SQL Expression Fields" branch missing from Formula Workshop/Field Explorer

    Hello,
    I am using Crystal Reports XI R2 SP3.  Some recent information I have seen suggests that I should use a feature called "SQL Expression Fields".  If I search the built-in Crystal Report help for "SQL Expressions", on the help pages I see that there is a "SQL Expression Fields" branch in the left pane of the Formula Workshop, just under Formula Fields and just above Selection Formulas (it's unfortunate that I cannot embed a bitmapped screen print of this).  The left pane of the Formula Workshop looks like this:
    Report Custom Functions
    Repository Custom Functions
    Formula Fields
    SQL Expression Fields
    Selection Formulas
    Formatting Formulas
    However, in my local copy of Crystal Reports the SQL Expression Fields branch does not exist - the left pane of the Formula Workshop looks like this:
    Report Custom Functions
    Repository Custom Functions
    Formula Fields
    Selection Formulas
    Formatting Formulas
    Is there some special patch, add-in or plug-in that's necessary to enable this functionality?
    Thanks in Advance,
    Bob Gardner

    I set up a DSN to a local MS Access database and used it for an ODBC connection.  Once connected, the SQL Expression Fields branch was available in Field Explorer and Formula Workshop.
    But I am developing reports for an ERP system that uses Oracle 10g databases - I have no choice but to use Oracle 10g databases as data sources for my reports.  I am not sure how to set up an ODBC connection to an Oracle database as I have never had to do so - will SQL Expression Fields not work with the native Oracle driver?
    Thank you,
    Bob Gardner

  • How to Configure Remote Connections To SQL Server 2008 R2 Express

    Post written June 10, 2010 and pertains to:
    SQL Server 2008 R2 Express on both my server and local machines: SQLX_SRV,
    SQLX_LOC
    SQL Server 2008 R2 Management Studio on both my server and local machines:
    MS_SRV, MS_LOC
    Windows Server 2008 R2 Enterprise installed on a Hyper-V VPS: WS
    SQL Server Configuration Manager on both my server and local machines:
    CMGR_SRV, CMGR_LOC
    Server Manager: SMGR
    I am connecting to my hosting server via Remote Desktop Connection: RDC
    I installed SQLX_SRV and MS_SRV on my hosting server and SQLX_LOC and MS_LOC on my local development machine.  I am able to use MS_LOC to connect to SQLX_LOC and to use MS_SRV to connect to SQLX_SRV.  However I am not able to use MS_LOC to connect
    with SQLX_SRV.  Here's what I have done so far:
    SMGR -> Configuration -> Windows Firewall to turn off the Windows Firewall for Domain, Private and Public profiles.  Obviously I'll change this later, but until I can connect I want to remove as many variables as possible.
    CMGR_SRV -> SQL Server Services to confirm that both SQL Server (SQLEXPRESS) and SQL Server Browser services were running.
    CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS to ENABLE the Shared Memory, Named Pipes, and TCP/IP protocols and DISABLE the deprecated VIA protocol.
    CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS -> double click TCP/IP to open the TCP/IP properties dialogue.  On the Protocol tab Enabled: Yes, Keep Alive: 30000, changed Listen All to No.  I've tried it both
    ways, but I've got six IP addresses on my server and I wanted to configure SQLEXPRESS to listen to only the first and primary IP.  On the IP Addresses tab went to IPALL and cleared the TCP Dynamic Ports field and entered 1433 in the TCP Port field. 
    For my first and primary IP Address I made sure that Enabled was Yes, I cleared the TCP Dynamic Ports field, and entered 1433 in the TCP Port field.  For all other IP Addresses Enabled was set to No and I cleared both the TCP Dynamic Ports and TCP Port
    fields.
    CMGR_SRV -> SQL Server Services -> SQL Server (SQLEXPRESS) right click and Restart.  This of course stopped and restarted my instance of SQLX_SRV enabling the TCP/IP configuration in the previous step to take effect.
    On my server, SQLX_SRV is the only instance of SQL Server running and so it's easy to hard wire it to the default port 1433.
    The instance name for both SQLX_SRV and SQLX_LOC is the default "SQLEXPRESS".  My server machine name is "SERVER1" on the EnglishBrains.com domain.  So the proper local name (local within the context of my remote server as connected via RDC) for
    my instance of SQLX_SRV would be:
    SERVER1\SQLEXPRESS 
    Note the use of a backslash NOT a forward slash. 
    Of course to connect remotely from my development machine, which is not on the same domain as my hosting server, I would need to specify the domain as well, so the SQL Server name becomes:
    SERVER1.EnglishBrains.com\SQLEXPRESS
    I must also use SQL Server Authentication.  Before I can use such a remote connection, however, there are still several configuration steps required.  So on my server (connected via RDC) I used MS_SRV to connect to SQLX_SRV using SERVER1\SQLEXPRESS
    for the server name and Windows Authentication.  Once connected I performed the following steps:
    MS_SRV -> right click the connected parent SERVER1\SQLEXPRESS instance node at the top -> Properties -> Security -> Server authentication: select "SQL Server and Windows Authentication mode".  This will enable connections using either type
    of authentication.
    Next, leaving the Server Properties dialogue open, Connections -> check "Allow remote connections to this server" box.
    Click OK to save these changes and close the Server Properties dialogue.
    MS_SRV -> Security -> right click Logins and select "New Login...", the Login - New dialogue opens.
    On the General page Enter a name for your new login
    Select SQL Server Authorization
    Enter and confirm a password
    Uncheck Enforce password expiration
    Select the default Database and Language
    On the ServerRoles page Public will be checked, also check SysAdmin.  This is probably not a good idea and I'll uncheck this as soon as I can connect to the SQLX_SRV.
    On the User Mapping page select the databases you want your new Login to access and enter the Default Schema of "dbo".
    At the bottom of the User Mapping page you'll see the Database Roles table.  Public will be selected by default.  Also select db_Owner.  Again this is probably not a good idea, and I'll refine this once I can connect.
    On the Status page confirm that "Grant" is checked under "Permission to connect to database engine" and "Enable" is checked under "Login".
    Click OK to save all changes and close the Login - New dialogue.
    With these steps completed you should now be able to use MS_SRV to connect to SQLX_SRV using SQL Server Authentication by supplying the name and password for your new Login.  I tried this and it worked fine.  Next I tried to use this same login
    remotely, that is I went to my local development machine and used MS_LOC to try and connect to SQLX_SRV by using
    SERVER1.EnglishBrains.com\SQLEXPRESS
    and opting for SQL Server Authentication and supplying the name and password of my new login.
    THIS DID NOT WORK??  Instead I get the following error message:
    Cannot connect to SERVER1.EnglishBrains.com\SQLEXPRESS.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
    For help, click:
    http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1
    If you follow the suggested help link, you are told:
    The SQL Server client cannot connect to the server.  This error could be caused by one of the following reasons:
    A specified SQL Server instance name is not valid.
    The TCP, or named pipes protocols are not enabled.
    The firewall on the server has refused the connection.
    The SQL Server Browser service (sqlbrowser) is not started.
    WRONG on all 4 counts!  The instance name IS valid.  Both TCP/IP and Named Pipes protocols are enabled.  The firewall has been shut down, so it is not relevant.  Finally the SQL Server Browser IS started.
    The next thing I tried was to circumvent discovery by the SQL Browser service by using the following syntax to specify the IP address and port directly when specifying the SQL Server name.
    tcp:68.71.134.186,1433
    Using this in the Server Name field I was able to use MS_SRV to successfully connect to SQLX_SRV (using SQL Server Authentication of course) with or without the SQL Browser service running. 
    However when I tried to connect from MS_LOC to SQLX_SRV using this same login (WITH SQL Browser service running just for good measure) it does not work??  I get the following error message:
    Cannot connect to tcp:68.71.134.186,1433.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10060&LinkId=20476
    If you follow the help link you are told:
    "The SQL Server client cannot connect to the server. This error could occur because either the firewall on the server has refused the connection or the server is not configured to accept remote connections."
    However, the firewall has been shut down and the server HAS been configured to accept remote connections! 
    I confirmed that i could indeed Ping to 68.71.134.186  and running NetStat -a |find /i "listening" on the server shows that the server is indeed listening at 68.71.134.186 Port 1433 -- which is why I was able to connect to SQLX_SRV using MS_SRV with
    tcp:68.71.134.186,1433 .
    IN SUMMARY: Even though I can connect to my SQLEXPRESS instance multiple ways from the server itself, I cannot connect remotely from my development machine! 
    If anyone can help me figure out why I would be very, very grateful!

    My two cents to help you out on c# code example to configure the remote sql server express.
    Hope it helps. It works, but you have to be extra carefull to read it all and setup the server configuration and netsh commands; also the port fowarding on the router.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Data.SqlClient;
    namespace sqlremoteconnection
    class Program
    static void Main(string[] args)
    // this is the local sql server connection
    // 192.168.1.101\SQLEXPRESS
    // now, the configuration for remote access:
    // activate SQL SERVER BROWSER - set it to start "automatic"; then START UP
    // SQL Server Configuration Manager
    // --> SQL SERVER BROWSER -> properties -> Service -> Start Mode -> automatic -> apply
    // --> Log On -> Start -> Ok
                // netsh firewall set portopening protocol = TCP port = 1433 name = SQLPort mode = ENABLE scope = all profile = CURRENT
                // netsh firewall set portopening protocol = UDP port = 1434 name = SQLPort mode = ENABLE scope = all profile = CURRENT
                // netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = any profile = PUBLIC
                // netsh advfirewall firewall add rule name = SQLPort dir = in protocol = udp action = allow localport = 1434 remoteip = any profile = PUBLIC
    // VERY IMPORTANT FOR REMOTE ACCESS: you have to add the rules on port fowarding
    // on the router!!!
    // TCP: 1433
    // UDP: 1434
    // or just a personal port like TCP 31433/UDP 31434
    // read carefully the netsh commands above
    // server name: 123.132.24.177\SQLEXPRESS
    // server name: anyurl.myftp.org\SQLEXPRESS,1433 <<-- regular port
    // server name: anyurl.myftp.org\SQLEXPRESS
    // server name: anyurl.myftp.org\SQLEXPRESS,31433 <<-- WOW different PORT here!!!
    SqlConnection myConnection = new SqlConnection(
    "user id=sa;" +
    "password=password_goes_here!;" +
    "server=anyurl.myftp.org\\SQLEXPRESS,31433;" +
    //"Trusted_Connection=no;" +
    "database=database_name_here; " +
    "connection timeout=30");
    try
    myConnection.Open();
    catch (Exception e)
    Console.WriteLine(e.ToString());
    try
    SqlDataReader myReader = null;
    SqlCommand myCommand = new SqlCommand("select * from mytable", myConnection);
    myReader = myCommand.ExecuteReader();
    while (myReader.Read())
    Console.WriteLine(myReader["tab01_name"].ToString());
    Console.WriteLine(myReader["tab01_age"].ToString());
    catch (Exception e)
    Console.WriteLine(e.ToString());
    try
    myConnection.Close();
    catch (Exception e)
    Console.WriteLine(e.ToString());
    Adelino Araujo

  • Cannot connect to SQL Server 2008 R2 Express

    I have a database application that connects to the Northwind sample db in MS Access and lets the user perform CRUD operations.
    Now I want to add the same for MS SQL Server, however, I have trouble connecting to it using this connection string:
    I changed the server properties in SQL Server Management Studio to allow windows and SQL Server authentication, yet, I still get this exception when trying to open the connection:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
    (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    I thought it might be because the server is not allowing remote connections and followed this guide to allow remote connections:
    http://www.linglom.com/2009/03/28/enable-remote-connection-on-sql-server-2008-express/
    But the SQL Server windows service won't start. The Browser works fine, but the server doesn't do anything.
    When trying to start it I get this error:
    The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details.
    The event log says:
    2011-07-07 17:02:55.35 spid51 Starting up database 'Northwind'.
    2011-07-07 17:02:59.98 spid51 Starting up database 'Northwind'.
    2011-07-07 17:03:03.68 spid53 Starting up database 'Northwind'.
    2011-07-07 17:03:07.01 spid55 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.
    2011-07-07 17:03:07.30 spid55 Using 'xpstar.dll' version '2009.100.1600' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
    2011-07-07 17:03:07.76 spid55 Starting up database 'pubs'.
    2011-07-07 17:03:08.89 spid55 Starting up database 'pubs'.
    2011-07-07 17:03:09.30 spid55 Starting up database 'pubs'.
    2011-07-07 17:04:11.37 spid55 Starting up database 'pubs'.
    2011-07-07 17:08:17.28 spid52 Attempting to load library 'xplog70.dll' into memory. This is an informational message only. No user action is required.
    2011-07-07 17:08:17.35 spid52 Using 'xplog70.dll' version '2009.100.1600' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.
    However, when starting SQL Server Management Studio, I can normally work with the databases, perform CRUD operations, etc.
    I was wondering if it might be a connection string issue.
    I'm using this string:
    @"Server=lolcalhost;Database=Northwind;User ID=BEN-A350C47E32F;Password=;Trusted_Connection=False;";
    I added the Northwind database as data source to the project and the connection string is in the app.config:
    <connectionStrings>
    <add name="NwindConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\Nwind.mdb" providerName="System.Data.OleDb"/>
    </connectionStrings>
    using this code to access it:
    constringServer = ConfigurationManager.ConnectionStrings["NwindConnectionString"].ToString();
    but when using this string I get an ArgumentException:
    Keyword not supported: 'provider'.
    I'd appreciate any help that would let me connect to the server from a program.

    Here is an active Sql connection string we use currently from our app.config file:
    <connectionStrings>
    <clear/>
    <add name="ServerConnectionString" connectionString="Data Source=SqlBox;Initial Catalog=YourCatalog;User Id=Username; Password=password;" providerName="System.Data.SqlClient"/><br/> </connectionStrings>
    here is one for Sql Express:
    <add name="LocalConnectionString" connectionString="Data Source=MachineName\SqlExpress;Initial Catalog=YourCatalog;Integrated Security= true;" providerName="System.Data.SqlClient"/>

  • SQL Expression - RDO Connection

    I have a SQL Expression in my report (CR XI) connecting to SQL Server via RDO. When I go to save the expression, it takes 10 minutes to resolve the expression. But when I connect via ADO, the expression is accepted in no time. Are there compatibility issues between RDO and SQL Expressions?
    Thanks

    Please re-post if this is still an issue to the Data Connectivity - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with your directly

  • Jdeveloper connecting with SQL Server Express

    Hi i am trying to connect jdeveloper with SQL Server Express. At the moment i am getting a TCP/IP connection to the host error message.
    My connection string is as follows:
    Class.forName("com.micorosoft.sqlserver.jdbc.SQLServerDriver")
    Connection conn = DriverManager.getConnection("jdbc:sqlserver://mustang/sqlexpress; database = matt1; Uid = matt; Pwd = matt1")
    Can someone please help me!

    Enable TCP/IP protocol. Select Microsoft SQL Server 2005>Configuration Tools>SQL Server Configuration Manager. In the SQL Server Configuration Manager select the node SQL Server 2005 Network Configuration>Protocols for SQLEXPRESS. Right-click on the TCP/IP node and select Enable. Restart the SQL Server (SQLEXPRESS) service. In Adminstrative Tools>Services, right-click on the SQL Server (SQLEXPRESS) service and select Restart.
    To configure a JDBC connection with SQL Server 2005 Express, add SQL Server 2005 JDBC driver JAR file <Microsoft SQL Server 2005 JDBC Driver>/sqljdbc_1.0/enu/sqljdbc.jar to classpath. <Microsoft SQL Server 2005 JDBC Driver> is the directory in which SQL Server 2005 JDBC Driver zip file is installed.
    Driver class for SQL Server 2005 database is com.microsoft.sqlserver.jdbc.SQLServerDriver. Connection URL for the default SQL Server 2005 database is jdbc:sqlserver://localhost:<port>.
    In the connection URL, <port> is obtained from the SQL Server configuration Manager. When the SQL Server 2005 SQLEXPRESS is restarted the port number changes.
    To obtain the <port> in the SQL Server Configuration Manager, select the node SQL Server 2005 Network Configuration>Protocols for SQLEXPRESS. Right-click on TCP/IP node and select Properties. Select the IP Addresses tab. In IP ALL, the TCP Dynamic Ports specifies the <port> value. The connection URL format for another database name is shown in following listing.

  • How do I make a connection to SQL Server Express using SQL Developer 1.5.3?

    How do I make a connection to SQL Server Express using SQL Developer 1.5.3, if it's possible at all?
    Also, I received a SQL Server dump file of some sort. Is there any way to read this file in SQL Developer and migrate the db to Oracle? Unfortunately I don't have raw DDL and DML for this database--just some sort of a binary dump file from SQL Server.
    Thanks.
    Dana

    Are you using SQL Developer 1.5.3 or 1.5.4?
    If using an older version (i.e. 1.5.3), then you'll have to add a DLL to your environment. This is [ntlauth.dll].
    If you don't find this DLL in your SQL Developer directory, then obtain the JDBC SQL SERVER Pluggin (jtds-1.2.2-dist.zip) from:
    http://sourceforge.net/project/showfiles.php?group_id=33291&package_id=25350
    Copy the ntlmauth.dll in the ...\\...\ide\lib directory (no need to register it).
    Note: this approach should work if using DQL Developer 1.5.3 and SQL Server Express 2008
    Regards,
    M. R.

  • Connect to SQL Server 2005 Express MDF file

    Post Author: ims_user
    CA Forum: Data Connectivity and SQL
    Is it possible to connect directly to a SQL Server 2005 Express MDF file? Every time I select SQL Native Client it expects me to put in a server name etc, but there is no where to put in a file name or connection string. My application connects to this file directly using this in the connection string
    Data Source=.\SQLEXPRESS;AttachDbFilename=
    I now need to report on the data it contains.
    Many thanks.

    Post Author: ims_user
    CA Forum: Data Connectivity and SQL
    Is it possible to connect directly to a SQL Server 2005 Express MDF file? Every time I select SQL Native Client it expects me to put in a server name etc, but there is no where to put in a file name or connection string. My application connects to this file directly using this in the connection string
    Data Source=.\SQLEXPRESS;AttachDbFilename=
    I now need to report on the data it contains.
    Many thanks.

  • SQL Express problem client connection

    SQl Express problem, I can't connect another computer.
    I have sql express on win xp, and one client win 7 starter. The firewall is disable, I can ping the server computer (win xp pro). On Sql Configuration Manager I enable TCP/IP protocol and named pipes. ODBC local is fine, but remote don't connect.
    If anyone has an idea about this
    Felipe Script Center

    You hae to enable remote Connections as well, in Express Edition it's disabled by default, see
    Configure the remote access Server Configuration Option
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • My database connectivity is not working inspite of installing sql express

    My database connectivity is not working inspite of installing sql express ...what should I do so that my database works

    Hello karan7,
    In addition to pvdg's post, can you reproduce this issue with a new fresh database? If you can this means it is a SQL Setup related problem. If you cannot, your database file may already corrupt.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Connecting to SQL Server 2005 Express

    Hi All,
    Have gone through the forums but can't seem to fix this problem.
    I'm running DW 8 and ASP.NET VB pages (XP Pro, IIS 5.1) and cannot get DW to connect to SQL 2005 Express. Please see attached error message.
    I have no problem connecting when I'm in Visual Web Developer 2008 Express.
    The settings in DW when I have a ASP.Net page open are;
    "Persist Security Info=False;
    Data Source=[mycomputer];
    Initial Catalog=[mydatabase];
    User ID=[myuser];
    Password=[*************]"
    Would appreciate someone's wisdom here, I much prefer to use DW than VWD!!
    Thanks in advance.
    Pete

    Question moved to the appropriate forum: Dreamweaver Application Development.

Maybe you are looking for

  • Tried everything, and Firefox still will not display web pages correctly. Please help!

    I'm running the latest version of Firefox, and it recently started to lag. I was looking through these forums for an answer, and a bunch of people recommended to reset Firefox. I did so, and then the browser started to act very weird. When I go to we

  • JTextField and String

    Hi, I have this few lines : JLabel LNSociete = new JLabel( "Nom "); LNSociete.setBounds(160,5,100,20); c.add(LNSociete); INSociete = new JTextField(); INSociete.setBounds(210,5,150,20); c.add(INSociete); LNSociete.setLabelFor( INSociete); NICC = INSo

  • Related selectbox problem

    Dear All, I wanna make 2 selectbox which is contain CITY & Location. I have 2 table in my SQL :      1 - CITIES            ID = city code           City_name = Name of city      2- Locations           ID = Location code           location_City =  CIT

  • Colour issues - 23" ACD

    Hi gang, Another question, if you don't mind. I mainly work on 3D Architectural presentations. The clients are handed a digital files and I never deal with the printing of the images. Some go onto large billboards, some even get framed . In most of t

  • Dynamically update a ResourceBundle ?

    Hi, I need to update a ResourceBundle dynamically. The following code doesn't work properly. Only when I restart the program is the key visible to it. package bidon; import java.io.*; import java.util.*; public class Bidon{     ResourceBundle bundle;