database connectivity (sql server 2008)

Hi all

I need to read data from a remote server by using Microsoft sql server db 2008.

But I don't want to use BES. read the threads on our forum I guess

BES is a must. Am not clear with that.

can anyone help?

If BELL is not a must, so what are all the ways to access the data via a blackberry

request?

Jenny did you get it how do...

Otherwise, I'll give you a few steps just to give you an idea...

Web services

(1) create a website / webservices that gets you the data of the sql server Server 2008...

(2) read the webservice in the application of BB and display data in your application by using the various UI components BB user

of the questions let me know

Rgds

Nadir Firfire

Tags: BlackBerry Developers

Similar Questions

  • Using Reporting SERVICES report server cannot open a connection to the report server database in SQL server 2008 R2 sp1

    Hello

    I'm running Reporting SERVICES Version 2007.0100.1600.022 ((SQL_PreRelease). 080709-1414 in Visual Studio 2008 with Microsoft SQL Server 2008 R2 Express Edition with Advanced Services (64-bit) on Windows NT 6.1 SP1.)
    Everything seems to work fine except that I can't deploy: "the report server cannot open a connection to the report server database."
    Connection test ReportServer as OK in the Configuration service report manager and Visual Studio. Run reports in Visual Studio against ReportServer and my other databases.  Deployment fails on a report of VM. Remote access is enabled in the firewall, pipes is enabled in configuration Manager SQL server, the permissions for all access in Windows.
    The error in the log file of report Service:
    Library! WindowsService_1! 12ac! 09/23/2012-21: 05:12: e ERROR: ServiceStartThread: Exception caught during the startup of service. Error: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDatabaseUnavailableException: the report server cannot open a connection to the report server database. A connection to the database is required for all applications and treatment. ---> System.Data.SqlClient.SqlException: a network-related or instance-specific error all by establishing a connection to SQL Server. The server is not found or inaccessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - error Search Server/Instance specified)
    Any ideas?
    Thank you.
    -Phil

    Just, I solved the problem I had.

    It turns out, there, there were two questions... first concealing the second.

    SQL Web browser has not been activated.  solution: in properties SQL server configuration manager, transformed the startup to automatic mode and activated the service.

    Microsoft Visual Studio project property targetdatasourcefolder had a server name that precedes the name of the folder. Removed the name of the server.  This works.

    Everything unfolds right now.

  • question about generated an offline source SQL server 2008 given by Oracle SQL developer

    Hi friends,

    I followed the tutor to the migration of a database server Microsoft SQL to Oracle Database 11 g by Developer sql Version 3.2.20.10 in the window.

    I can migrate the code examples in the oracle database.  The code example has two file: Capture and data. Under the folder data, there are two parts. one is designated as folder under oracle and rest is data add log files.

    When I migrated my database of sql server 2008 in oracle 11. I can objects only sql migrated to oracle but failed to load data during data file missing.

    In the past reviewed in the output directory, I see a lot of ctl files under the folder datamove and generate the file. But I am not able to find any file data in support of ctl codes

    The code file as ctl example

    load data

    INFILE 'data/dbo_test.sale.dat '.

    "str"< EORD >"

    in the /dbo_test.sale.SALE table

    ----

    Because of missing data, data loading works, file but not the data in the migrated tables.

    Recode displayed

    ......

    SQL >

    Modified table.

    SQL >

    Modified trigger.

    SQL > disconnected from the database Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production

    With the options of partitioning, OLAP, advanced analytics and Real Application Testing

    C:\SQL_DB\SQL_OUT\testout\datamove\SQL_mig\2013-09-09_13-43-43\sale\dbo >

    Please help me where I lost in migration processing.so I can generate a data during the migration file

    Thank you

    newdaa

    Use SQl developer offers 2 options to move the data, online and offline data movement. When you call the batch file to load data offline you must also make sure that you collected the data first to the SQL server side using the data to extract batch files that create the DAT files with the content. The content is written in flat files using the file unload_scripts.bat-online check if you have this kind of file, and then copy the entire script to SQL Server folder, and run the script of unloading it.

    It will create the dat files that you will then need to load the data into the Oracle database.

  • With the help of Back-End SQL Server 2008

    I intend to launch a project with JDeveloper 11 g R2 as front end and SQL Server 2008 as primary server.
    ADF does support SQL Server 2008 as a backend?

    According to the http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html#Databases, yes SQL Server 2008 is supported.

    additional for configuration, these links should help –ADF with SQL Server

    Published by: detrilles on June 11, 2012 Sudipto 16:09

  • How to create a connection for Toolkit CVI/SQL string when connecting to SQL Server 2008

    I tried to connect to my database of MS SQL Server 2008 for two days using the CVI/SQL Toolbox with no luck.  I use the function of connection BD and I tried a lot of different formats for the connection string with no luck.  I get an error "SQL Server doesn't exist or the access denied" after a long pause, trying to connect.  Anyone know what's the right format for this string?  I even setup of SQL Server on my local machine and I still not able to get the right format for the connection string.

    -Tom

    I have successfully connected to the database, I thank you all for your help.  It was a combination of errors of syntax and configurations that had to be changed.

  • Failed to connect to the user when it connects to SQL Server 2008 R2 gateway

    Hi - This is my first post!

    I have problems to connect to a SQL Server 2008 R2 to Oracle database 11 g R2 database, use the product of the gateway.

    Previously, he has worked, but we moved the database SQL 2005 to 2008 (R2).

    We receive this error while trying to query through the link (Select * FROM DUAL@ADSRD)

    ORA-01017: name of user and password invalid. connection refused

    [Oracle] [ODBC SQL Server driver] [SQL Server] Failed to connect to the user 'SQLUSER '. {NativeErr 28000, = 18456} [Oracle] [ODBC SQL Server driver] Invalid connection string attribute {01 S 00}

    ORA-02063: preceding 2 lines of ADSRD

    01017 00000 - "invalid username/password; connection refused '.

    * Cause:

    * Action:

    Error on line: 1 column: 35

    The DG4MSQL configuration is here:

    HS_FDS_CONNECT_INFO = //SSU_PRD_APP/IntegrationStagingDb [BSYS-sql2]

    HS_FDS_TRACE_LEVEL = OFF

    HD_TRANSACTION_MODEL = READ_ONLY

    #HS_FDS_DELAYED_OPEN = FALSE

    HS_FDS_FETCH_ROWS = 100

    HS_OPEN_CURSORS = 50


    The database is hosted in its own instance on the sql2-BSYS Server

    Then... on the SQL Server event logs returns this:

    Failed to connect to the user 'SQLUSER '. Reason: Failed to try to connect using SQL authentication. Server is configured for Windows authentication only. [CLIENT: 192.168.10.179]

    However, the SQL Instance IS configured to enable mixed mode authentication.

    I can't work on what I missed, and I can confirm if I'm actually to a compatibility issue between the gateway and the version of SQL server, that we are now trying to connect.

    Help please!

    Is the user name in your SQL Server database in the capital, mixed mode letters or small letters?

    Currently, you have created a database link that tries to authenticate on the server SQL using SQLUSER in capital letters. If you use mixed or small letters, so be sure to write the user name (and password) as it is in the create database link statement and surround it with double quotes.

    If you have created the link of database correctly, try an ODBC connection for example from your client and add the user name and password. Does it work?

    -Klaus

  • Migartion SQL Server 2008 database 11 GR 2 database

    Hi Expert,

    At the moment I am using SQL Server 2008R2 database and I want to migrate the Oracle Server 11 GR 2, what stage will be suitable for me, someone suggest me?

    Kind regards

    Moin

    I, ve successfully because the migration of MS Server2008R2 of Oracle database 11 g 2.

    1. install the JDBC driver 3d for MS SQL Server (jtds - 1.2 in our case) and save it in SQL Developer.

    2. to ensure that we are able to connect to SQL Server DB (you have the IP address, the name of DB and credentials).

    3. in SQL Developer 3.2.2 go to tools/Migration and select "Create Database capture Scripts".

    4. Select SQL Server 2008 in the drop-down list and set the scripts directory.

    5 run it, it will create two *. BAT files in the selected directory.

    5. go to this directory and run the OMWB_OFFLINE_CAPTURE. BAT script like:

    -To run this script, enter the following command at the prompt.

    ----

    -OMWB_OFFLINE_CAPTURE login_id server_name database_name password

    -where,

    -login_id is a login id that has been granted db_datareader

    - and look up the definition on database_name

    -password is the password for the login id

    -database_name is the name of the database you want to capture

    -servername is the name of the server on which lies the database

    -For example,.

    -OMWB_OFFLINE_CAPTURE his employeeDB DEPT1_SERVER sapwd

    This script uses the bcp.exe utility to export the metadata and data from the DB in SQL SERVER specified in the sqlserver2008.ocp file.

    When it's done, you're ready for offline migration.

    6. in SQL Developer, go to tools/Migration/Migrate, follow the instructions in the wizard, select Migration offline and use the generated file sqlserver2008.ocp.

    There are break settings that you can change the options and control the output of the process. The Migration process will generate one or more files for Oracle SQL.

    7. run the scripts generated against your Oracle DB.

    8. it's her.

  • Connection to Microsoft SQL Server 2008 from Oracle 11 g

    Hello

    I'm working on a requirement to connect from Oracle 11 g DB for Microsoft SQL Server 2008. After serching for the options available on the web I found the follwing link

    Connectivity ODBC - http://www.dbapool.com/Articles/06280701.html using UNIX ODBC and FreeTDS

    I have configured everying as stated in the article, but I'm stuck to test the connection.

    Isql both tsql not working and giving the below error.

    locale is "" fr_FR. UTF-8 ".
    locale charset is 'UTF-8 '.
    using the set of characters by default "UTF-8".
    Error 20009 (9 severity):
    Unable to connect: Adaptive Server is unavailable or does not exist
    Operating system error 111, 'connection refused '.
    There was a problem connecting to the server

    $ isql - v mstest
    [S1000] [unixODBC] [FreeTDS] [SQL Server] Unable to connect to the data source
    [S 08, 01] [unixODBC] [FreeTDS] [SQL Server] Impossible to connect: Adaptive Server is unavailable or does not exist
    [ISQL] ERROR: Not impossible not SQLConnect

    Here are my files.

    FreeTDS.conf


    [MSTEST]
    Host = 19.x.x.x
    #instance = xxx
    port = 614xx
    TDS version = 8.0


    ODBC.ini

    [MSTEST]
    Driver = TDS
    Description = MS SQL Test
    Trace = Yes
    Trace file = /tmp/mstest_odbc_ini.log
    Server = 19.x.x.x
    #Servername = xxxx
    Address = 19.x.x.x
    Database = multilingual
    TDS_version = 8.0
    Port = 614xx

    odbcinst.ini

    [TDS]
    Description = FreeTDS driver
    Driver = /usr/local/lib/libtdsodbc.so
    Setup = /usr/local/lib/libtdsodbc.so
    Trace = Yes
    Trace file = /tmp/freetd.log
    FileUsage = 1

    Has anyone tried this before... Any help is very appreciated.

    Thank you
    Steve.

    I tried and it worked. What's in your trace files? You specified two different, both files in / tmp. Journal will be in one of them. Please, view the contents of the log file. In addition, the problem may be with the SQL Server. ODBC 20009 error is "error of numerical value": http://www.wiki-errors.com/err.php?wiki=20009

  • SQL Server 2008 R2 Express connecting remotely on Windows 7

    I configured SQL Server 2008 R2 Express for the remote connection (MS SQL Server Management Studio/instance properties/connections/allow remote connections to this server;) Services SQL server and SQL Server Browser are running; TCP/IP is enabled). Firewall is disabled on all 4 PCs involved, having Windows 7. In any case, I have a problem with the remote connection to the instance of SQL Server of 2 books of PCs. connection remote on the local PC and a remote one, on which I could not find any difference with others. I tried two named instance and IP address. I tried to configure TCP/IP for the SQL Server Configuration Manager, by putting the TCP/IP 1433 port and by removing the dynamic TCP Ports under IPALL, without effect.

    Help, please!

    Server are better to ask questions on TechNet

    http://social.technet.Microsoft.com/forums/en-us/categories/

  • After an edition upgrade to SQL Server 2008 R2 Standard, vSphere cannot communicate with the VIM_VCDB database

    My vCenter environment is 5.0 and has been initially implemented using SQL Server 2008 R2 Express as the database.  We have reached the limit of size of 10 GB for the Express version, so I want to upgrade the database 2008 R2 express 2008 R2 standard.

    Before the upgrade, I stopped the vCenter Server service before you start the SQL Server Setup program.  I did an "Upgrade Edition", to consider express standard.  It ends successfully with 2 minutes, and then I went and restarted the server vCenter service.

    However, after restarting the service, vSphere is unable to communicate with the VIM_VCDB.  For example, in vSphere if I click a virtual machine and click the performance tab, it tells me that it's impossible to view the web page.  It seems to be unable to communicate with the VIM_VCDB.  I have not changed all database names, or the ODBC settings, so not sure what is causing the problem.

    If I go to ODBC data sources administrator and test the Data Source, the test completes successfully.

    I have read all the documentation I could find and tried a few different things, but not found something that solves this problem.  I ended up having to go back to the snapshot backup, I took before the upgrade of the database edition.

    Anyone have any ideas on what the issue might be, or what should I do to solve it?

    Shane

    The database is probably fine.

    The vCenter Web Management Service running?

  • VirtualCenter 2.5 database on Microsoft SQL Server 2008

    Hello

    have someone tried to run the VirtualCenter on MS SQL Server 2008 database?

    The database of VC go in SQL 9.0 Compatibility Mode?

    CU Johannes Strasser

    Not supported.

    Tried it myself? N °

    It would be smart to do? N °

    --

    Wil

  • Import the SQL Server 2008 database to Oracle XE

    Hello
    I just installed oracle 10g Express Edition locally on my PC.
    I would now like to import a SQL Server 2008 database (structure and data).
    Is this possible? Y at - it a utility Oracle that I can use?

    Thank you
    M.R.

    You can use [Oracle SQL Developer | http://www.oracle.com/technology/products/database/sql_developer/index.html].

    See also: [http://download.oracle.com/docs/cd/E12151_01/doc.150e12156.pdf |] Oracle SQL Developer for MS SQL Server, Sybase and other Documentation.]

    Roberto.

    Add help.
    Published by: rober584812 on February 25, 2009 13:37

  • Error installing SQL server 2008: c:windows/installer\899a0e.msi

    I installed SQL server 2008 originally, but it was the improper installation, so I proceeded to the installation of SQL server 2008 R2, but ended up with a full installation with errors! So I uninstalled the two bodies with difficulty and tried to do a new installation of SQL server 2008 R2, but the problems with the installation again. All my services are missing:

    Database Engine Services, replication sql server, search in full text, analysis, integration, comprehensive customer service, client tools backward compatibility, business intelligance, management studio basic tools development. Only passes I've had are: connectivity of client sql DTS, sql server Books online.

    I also had this error message: c:windos/installer\899a0e.msi

    Please advice...

    How to install SQL Server 2008 - a step by step Guide

    Carey Frisch

  • Cannot create the user in SQL Server 2008 physical model

    When I'm on the right, click relationship models-> Relational_1-> physical models-> SQL Server 2008-> database-> users, 'New' (which is the only option) is greyed out and I can not add users.  In versions 4.0 EA, I was able to create users.  This feature has been removed from SQL Server?  I work in a mixed shop and we chose SDDM because it could support Oracle and Microsoft. And I am now ready to migrate everything from Oracle Designer to SDDM and it seems that some of the featrures of SQL Server have been removed.

    Hi Marcus,

    any object login - tree of the physical model of SQL Server consists of:

    -Databases

    - Connections

    -Tables

    -Views

    - ...

    If you need to create a connection in the connections series and in its dialog box you will find related tab.

    Philippe

  • 11g Enterprise Edition Release 11.2.0.1.0 to Microsoft SQL Server 2008 R2 (RTM)


    Good day to all,

    I think that I followed all the correct steps to establish connectivity, still nothing does not. Before launching the "bang-head-against_wall" sequence, I'm reaching for assistance.

    I appreciate all orientations.

    Here are the details:

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for 32-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X 64)
    April 2, 2010 15:48:46
    Copyright (c) Microsoft Corporation

    Standard Edition (64-bit) on Windows NT 6.1 < X 64 >
    (Build 7601: Service Pack 1)
    (Hypervisor)

    Microsoft SQL Server ODBC Driver Version 06.01.7601

    Data Source name: GMEXCH
    Description of Data Source: GMEXCH
    Server: INFWDCSWNSERD01v
    Database: March
    Language: (default)
    Translate character data: Yes
    Log long-running queries: No.
    Log driver statistics: No.
    Use locale: No.
    Prepared statements option: drop temporary procedures on disconnect
    Use the failover server: No.
    Use ANSI quoted identifiers: Yes
    Use ANSI Null, fillings and warnings: Yes
    Data encryption: No.

    Microsoft SQL Server ODBC Driver Version 06.01.7601

    Running connectivity tests...

    Connection attempt
    Connection established
    Checking the option settings
    Disconnecting from the server

    TESTS COMPLETED SUCCESSFULLY!

    initGMEXCH.ora
    HS_FDS_CONNECT_INFO = GMEXCH
    HS_FDS_TRACE_LEVEL = 0
    HS_AUTOREGISTER = TRUE


    Listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = GMSERV)
    (ORACLE_HOME=C:\app\LOGIX\product\11.2.0\dbhome_1)
    (PROGRAM = hsodbc)
    )
    )

    tnsnames.ora
    GMOTD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (Address = (PROTOCOL = TCP)
    (HOST = 10.94.34.124)
    (PORT = 1521)))
    (CONNECT_DATA = (SID = GMSERV))
    (HS = OK)
    )

    SQLNET.ora
    SQLNET. AUTHENTICATION_SERVICES = (NONE)

    LSNRCTL > status
    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Prod
    ction
    Start date February 10, 2014 15:40:01
    Uptime 0 days 0 h 18 min 39 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Listener parameter File C:\app\LOGIX\product\11.2.0\dbhome_1\network\admin\lis
    Tener.ora
    C:\app\logix\diag\tnslsnr\WVHUNTID0017\listener\alert\ log listener
    log. XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=WVHUNTID0017) (PORT = 1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=WVHUNTID0017) (PORT = 8080)) (picked
    (on = http)(session=RAW))
    Summary of services...
    Service 'GMSERV' has 1 instance (s).
    Instance of 'GMSERV', status UNKNOWN, has 1 operation for this service...
    Service 'LOGIXFTRXDB' has 1 instance (s).
    'Logixftr' instance, State LOAN, has 1 operation for this service...
    Service 'logixftr' has 1 instance (s).
    'Logixftr' instance, State LOAN, has 1 operation for this service...
    The command completed successfully

    C:\Windows\System32 > tnsping GMOTD

    AMT Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    014 15:48:25

    Copyright (c) 1997, 2010, Oracle.  All rights reserved.

    Use settings files:
    C:\app\LOGIX\product\11.2.0\dbhome_1\network\admin\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS_LIST = (Address = (PROTOCOL = TCP) (HOST
    = 10.94.34.124) (PORT = 1521))) (CONNECT_DATA = (SID = GMSERV)) (HS = OK))
    OK (20 ms)

    SQL > show parameter global_names;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- -------
    global_names boolean FALSE


    SQL > create database GM link to connect to "agaf_dhdhd", identified by
    2 'xhxhxhxh!' using 'GMOTD ';

    Database link created.


    SQL > select * from wirecenters_web@GM;
    Select * from wirecenters_web@GM
    *
    ERROR on line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of GM

    The executable in the listener is called dg4odbc not hsodbc when you use 11.2. Please change: (PROGRAM = hsodbc) (program = dg4odbc). Then stop and restart the listener

    -Klaus

Maybe you are looking for