access the sql server database in my widget

I just started to build widgets for blackberry in visual studio 2008 and I want to know if its possible to use data from the sql Server database server in my widget and how can I do?

You can consume data in a WebWorks app server-side.  One way to do this is to build a Web Service that, when it is called from your application, queries the database and returns a list of results (for example in XML or JSON format).

You already have the data in your available through Web Services SQL Server database?

Another way is to produce a web page server that displays the data from your SQL Server database and load this web page from your application WebWorks.

Tags: BlackBerry Developers

Similar Questions

  • VIX file in the user interface designer receives the data from the Web service application that communicates with the SQL server database

    I created the Web service VI ("Mt-insolacije.vi"), which has two terminals of the input string (FROM / TO) for the dates of arrival and exit of two data terminals (table 1 d) from database (MS SQL server). This VI communicates with the database with functions of the database with a DSN and SQL query appropriate palette. There are two tables with two data (time and Insolation) columns in the database.

    This VI works when you run in Labview 2010, but when I used it as VI in UI Builder it returns no data.

    Could you please help me find a solution. Is it possible to communicate with the SQL server database in this way or there is another way?

    There are two files attachmet: Image of .vix file in Interface builder and .vi file ("Mt-insolacije.vi")

    Please help me ASAP!

    Thank you

    Ivan

    I found the solution problem is in the DSN. I've been using the user instead of DSN system DSN.

    It's important to create the system DSN if you want your VI of web service to communicate with the database.

    PS Please put feature bundle format timestamp and XY graph in the web user interface designer. It's complicated to trace data with datetime on X axis without them.

  • Problem connecting SSO using SDDM 4.0 to import the SQL Server database

    I installed the new production version.

    It migrated the connections of preference and db 3.3 very well.

    This figure includes several SQL Server databases, where I worked with for a while.

    3.3, I was able to add the correct driver and the related standards ntlmauth.dll body so that I could import of SQL Server (and even with SQL Developer 3.x, I could connect to and query SQL Server)

    The 4.0 update, the driver and database connections migrate very well but I can't connect. I get the old error "Library SSPI has not loaded". Where is this dll must go to 4.0? I tried to copy it to the same relative locations used by 3.3, but nothing helped.

    Help!

    Finally got it - had upgraded to 1.3.1 JTDS

  • Changing result data Access to SQL Server database

    For many years, we have worked with the Access databases.
    Now, we started with SQL-Server.
    We only have a UutResultTable and a StepResultTable
    (because we have already started with TestStand 1.02).

    We have worked with integers as Primarykey (UutResultId, StepResultId)
    I get the following error when I work with this "integer as primary keys.

    An error occurred calling "LogResults" in "ITSDBLog" of "ZNIUGOL TestStand database logging"
    An error has occurred by executing a statement.
    Schema: E4DatabaseSchema
    Return: RESULT of the UUT.
    Description: The query with parameters ' (@P1 int,@P2 nchar (50), @P3 int,@P4 nchar (50), @P5 nchar (50), @P6 only)
    expects the parameter '@P1', which was not provided.
    Number :-2147217900
    NativeError: 8178
    SQLState: 42000
    Reported by: provider Microsoft OLE DB for SQL Server

    Source: TSDBLog

    My Questions:

    Is it necessary to work with the GUID is to use the generic schema insert (NOR)?
    Don't work with GUID does not reduce the performance of database?

    We use

    TestStand 4.2
    SQL Server 2008 R2
    CVI 2010
    Windows XP Service Pack 3

    Thank you very much for your help

    Paul

    Hello

    I think these 2 KBs should answer your question.

    http://digital.NI.com/public.nsf/allkb/904986636B5FC7D78625773E004E065F?OpenDocument

    http://digital.NI.com/public.nsf/allkb/5554E9522328ECCB8625772F004DA5C1?OpenDocument

    Reagards

  • Developer SQL to connect to the SQL server database

    Hi friends,

    I have a 3.2 sql developer. I have download jtds1.2 as a driver to window thirty part. It works and tab SQL Server appear in the login window.

    But consultation of database button does not work and not able to enter a sql database name.

    Without the database name, I got the error message as failure 0 test failed: 'CACI1111\SQLEXPRESS', the name of the server host unknow. I use the port 1433 defolt.

    However, I open SQL server 2008 express in my local PC.

    What should I do?

    Thank you

    newdba

    I corrected the problem that results from disable TCP/IP in SQL Server.

  • Deploy the error because the sql server database adapter

    I'm new to BEPL, I tried to transfer data from the Oracle SQL Server. To establish a connection with sql server, I used database adapter and driver is MS JDBC 2.0 that works very well in Jdeveloper and compiled with success but everything by deploying a Jar file to the output folder in SOA server I am getting an error, below is this error message

    Deploy the new BPEL process
    • bpel_WhiToEbiz_v2009_10_27__45671.jar failed to deploy.
    Could not initialize the agent of activation. An error occurred during initialization of an activation of process agent "WhiToEbiz", "v2009_10_27__45671" for review. Please ensure that the agents of activation are configured correctly in the bpel (bpel.xml) deployment descriptor. oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException

    kindly help me someone

    As stated on the http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_db.htm#CHDCAEGH, section "4.6.7 location files JAR JDBC Driver and setting the path of the class ' drop the JAR files in the following directories:

    For the Oracle BPEL Process Manager, go to Oracle_Home/bpel/system/appserver/oc4j/j2ee/home/applib

    For the Oracle BPEL Process Manager to install the OracleAS middle tier, go to Oracle_Home/j2ee/OC4J_BPEL/applib

    As a practice you need to create the factory of conn, conn on server and source database...

  • 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.

  • How can I fix the damaged file sql server database ME?

    Standby my mdf file got damage due to unknown reasons then I used the command dbcc chekcdb but it failed, file MDF is important to me, I don't ' know how to recover data from the mdf file. Please anyone suggest me?

    You are looking for a good solution recover a damaged repair Toolbox for SQL Server database, and then use the SQL recovery tool is an efficient MDF file recovery solution that allows the user to repair and recover a database corrupted in just a few minutes. Learn more https://www.repairtoolbox.com/sqlserverrepair.html

  • Comparing the data set of Oracle database local to the Remote SQL Server database

    Hello

    I have a table in an Oracle database that is gradually being updated with a table in SQL server through the database link. There is a field "Date of creation" in the table in SQL server that I used to find the newly created records and shoot and insert them into the local table to the Oracle database.

    Now the question is the documents/data in the SQL server remote can be deleted as well and I see a lot of files are already deleted and I couldn't find a way to capture the information of deleted data to remove from my local table.

    I tried

    SELECT id local_table

    where there is no

    (select * (or 1))

    of remote_table@database_link

    where remote_table.id = local_table.id).

    And I tried to replace not exist with no so.

    The problem is that the query is too slow with link of database for IN/NOT EXISTS clause NO. So, I'm trying to find an effective way to capture the lines deleted in the remote to remove as a result of my local table table.

    Any help is appreciated.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit

    Thank you

    Chrystelle

    It is perhaps easier

    Select pk / * or sustitutive key * / from Oracle.tba

    less

    Select pk / * or sustitutive key * / from SQLSERVER.tab

    This returns the rows that exist in Oracle but not in SQL SERVER-> delteted lines in SQL Server.

    Another way is to create a trigger to remove in sqlserver and track in a table delete lines.

    HTH - Antonio NAVARRO

    http://SQL1.WordPress.com/

  • How to establish links of Labview with SQL server database Toolkit

    I'm a database newbie, but I have to use MS SQL server (2008) to store my data. I am well equipped with all the features of Labview, don't know how to use it properly. I now complete development, including the toolbox database. My latest version of labview is 8.6.1. Side material, I have cFP2220 and many modules of differnet kind.

    Here is a useful link that I found on the web:

    1. I got the database creation procedure (pdf file) to link the udl.

    http://decibel.NI.com/content/docs/doc-4602

    It gives a step-by-step login procedure to MS Access, and I'm able to save data to MS Access with the database Toolbox. However, I could not understand how to establish a chain of connection or udl to SQL server. In other words, I hope someone can explain in detail what is the procedure to set up such a link.

    2. I learned about the forum that there is a LabSQL, but it takes some knowledge of SQL statement. I would walk away from him, as I am not familiar with SQL.

    3. the VI I used for the recording of data in DB are very similar to "Create database Table.vi" found in the sample.

    In short, I think that I just need someone who has experience with the connection to the server SQL with Labview to show me the steps to link to SQL.

    Thank you very much

    You may not create a database in SQL Server using the control panel ODBC or a UDL. You must create a database by using SQL Server tools. (In fact, you can use SQL statements to create a database, which is what's really going on by using SQL Server tools. However, I don't know if the database Toolbox has the screws required to send these types of SQL statements.). Once you have created the database you can create tables using SQL Server tools, or you can use the screw of toolbox database.

    You try to run SQL Server on your computer? SQL Server is usually running on a server. You try to use SQL Server Express?

    Assuming that you have SQL Server running and a database has been created, then here are the steps needed to create a UDL to connect:

    1. In Windows Explorer, create a text file and rename the text file so that there a .udl extension (like this PDF).
    2. Double-click the UDL file.
    3. Change to the tab 'supplier '.
    4. Select 'Microsoft OLE DB for SQL Server provider'.
    5. Click on the ' next > ' button. It changes you to the tab 'connection '.
    6. In the drop-down menu, select your SQL Server. If it is not listed, try clicking on the Refresh"" button. If this does not meet the list, then you will need to enter manually.
    7. In the section "#2" specify the authentication method and credentials, if necessary, to connect to SQL Server.
    8. In the section "#3" specify the database that will be used, which is the one that you created earlier using the SQL Server tools. NOT SELECT THE MASTER DATABASE. If you do, you will completely screw up your installation of SQL Server.
    9. Click "Test connection" to verify that you can connect to SQL Server.
  • If the HR server database goes down, RH server down also?

    Hi experts. I have a few questions to HR Server:

    1. Assuming that the HR server database fails, or at least it has connection to the database fails. What would be the consequences. In other words, would the HR server crash and do not serve anything. Or would it just be that reports are more accessible, etc..
    2. Has anyone used RH Server (installed on a Win 7 system) connected to an instance of SQL Server Express (installed on another system of Win 7 spread the CPU load).

    My Manager is very wary of the free database option (for performance and reliability reasons), but there is no way that we will spend almost 20 K$ on SQL Server or Oracle DB. So, I would like to dispel concerns about the SQL Express Service option.

    Thanks in advance.

    -Kurt

    1. Server HR * is * an application focused on the database and as such it requires a base of data either to the top and working to serve content as reports.
    2. Your computer raises some good points. I used the 'SQL Express' version without problems. As your computer scientist knows, there are some connection and the size of Microsoft limitations on its use. Otherwise, it would be better than access and assuming it fits the other requirements of DB/OS combination that I noted in the links above.
    3. Unless something has changed, the server open source Apache Tomcat itself does not support 'Load Balancing' and so I don't think that you can "spread the CPU load. Although I'm not this network warned, so a call to Adobe support (asking to be remounted for server-specific HR assistance) to check it would be a good idea. That said, I know that agencies that have set up configurations "fault tolerance" satisfactorily (but can not be more precise than that.)

    Thank you

    John Daigle

    Adobe Certified RoboHelp and Captivate instructor

    Evergreen, Colorado

    303-670-8955.

    www.showmethedemo.com

  • Remote access to SQL server

    Hello, all.

    It is the first time I've ever needed to access a remote SQL Server, and I get an error in the validation attribute of the cfquery tag.

    The CFQUERY tag opens currently as:

    "< name cfquery ="[Nomrequete]"debug ="1"username =" "#User #" password = "#Pass #" dbserver = dbname "[IP Address of the SQL Server]" = "[DatabaseName]" >

    What are the attributes that I need to in order to access the database remotely?

    Thank you

    ^_^

    You configure a data source in the CF, pointing to the remote admin

    Server, using dbServer will not work.

    Mack

  • How to completely remove the SQL Server 2008 R2 from my system?

    I got the SQL Server loaded on my computer before I realized it was the express edition that I needed. When I tried to load the version I needed the computer said that I had to create a new instance for the second version to run simultaneously. (had already uninstalled the original SQL Server and did not not the problem.) I went through the steps again and somehow there is the menu server must remove files, but they can access it. The only solution I see at the moment is to reload the server and uninstall and I hope that everything that caused its not completely withdraw from my system is corrected. Please tell me there is another solution which has guaranteed results.

    Hi Avendia,

    Your question would be better asked on the SQL Server forum

    SQL Server Forum
    http://social.msdn.Microsoft.com/forums/en-us/category/SQLServer

  • Encrypt the connection to the SQL Server

    I have a new installation of OpenManage Essentials 2.1 and have a quick question. Our database of MOE is hosted on a remote SQL Server cluster. Is it possible to configure the database connection to use encryption/SSL when connecting to the cluster? We need it for compliance with our security policy, but unfortunately the installation that the user interface does not expose this option.

    If not is it possible to manually change the connection string?

    Note that this is in that concerning the encryption of the SQL Server connection between HOME servers and database, not HTTPS.

    Thank you
    Andrew

    Hi André,.

    OME encrypts all sensitive information before it is transferred to SQL Server.

    Also, the connection to SQL Server used by OME information is encrypted and there is no option for a user to change this.

    I hope this helps.

    Thank you
    Vijay.

  • Do need me a separate license for VMware vCenter Server Heartbeat for a remote SQL Server database?

    Do need me a separate license for VMware vCenter Server Heartbeat for a remote SQL Server database?

    Only a single vCenter Server Heartbeat license is necessary to protect the components of the vCenter Server installed remotely, including SQL Server. A single license is also used for several UNIQUE for vCenter Server services protected authentication servers. A license is required per instance of vCenter Server.

Maybe you are looking for

  • Two accounts iCloud!

    Hello I have a problem with my accounts. Already I want to use a single account for all my devices (iphone, Ipad, macbook Pro and Imac) but I made a mistake, I made two accounts. for a presentation I have already bought more memory and the other we h

  • change the background color of menu for the firefox button

    I changed the color of the font of all menus in firefox to white (using userChrome.css) because I'm using a custom theme dark windows 7, where all the context menus are dark. The problem is that the menu of the Firefox button (in the menu that appear

  • Satellite L500-13F connected to the TV with an HDMI - no sound on the TV cable

    Hello! Sorry, my English is bad. I have a problem, I tried to connect my laptop with TV via HDMI, butreading on laptop rather than TV sound...In Manager Realtek HD I found no "Options for HDMI output. Please, which suggests what should I do?

  • Audio recording of Windows: the audio device does not work any

    I use a mobile Intel (R) Celeron (R) M with Microsoft WindowsXP Professional version 2002. The audio peripheral speakers do not work all of a sudden and there is no sound out put at all. But if I use Logitech and Microsoft HD camera mike and hear on

  • After driver Touchpad uninstalled and reboot, the keyboard is disabled!

    I guess I'm in the right place. I guess that it is a software problem... Is it you LIKE it-can someone tell me why HP did not update their Synaptics touchpad driver on their site? Synaptics is on ver.17! I uninstalled the driver to install a new one