Connecting BO universes with SAP on a SQL server database

Hello,
The aim is to make a secured connection between a BusinessObjects universe and an SAP system that runs on a SQL server database.
We will have in the nearby future 1 SAP system for several customers (SAP in the clouds). For those customers we want to maintain their BusinessObjects connection with the SAP system as it is for the moment. This means that the customers who are working with their current BO system (5.1.6) connect for the moment between BusinessObjects and their local SAP system  via the universe connection (Oracle driver and user). These customers should connect in the nearby future to a central SAP system and only be able to see the data of their own company (based on a client number). Iu2019m wondering if we could use the SAP-authorisation mechanism in order to do so. This would mean that we define an SAP user in SAP and that we define the same user in BusinessObjects and that there is a layer in between (cfr. The sap java connector) that allows a secure connection for a client to only its specific data (based on client number f.i.)
Can you tell me if there exists already a solution for this for BO 5.1.6 or what is the pre-requisite in order to do so. I know that the Best Practices of SAP-Bo use already this kind of mechanism but then we talk about BO XI 3.0 and ECC 6.0 linked via a Java Connector. Does there already exists something like that for the connection between an SAP system (on a SQL server database) and a BusinessObjects 5.1.6 system.
Thanks in advance for your answer.
Thierry Renaer

Hello,
Thank you for your reply. And what about BO XI 3.0? What should we be using?
Ik have been using the SAP Java Connector but I'm wondering if there exists more user friendly (read easily adaptable) tools in order to provide a secure connection between SAP BO XI 3.0 and SAP ECC.
Many regards
Thierry Renaer

Similar Messages

  • Integrating Microsoft Reporting Service with SAP running on SQL Server 2K5

    Hi All,
    I am new to SAP R3 and I need the help for Integrating Microsoft Business Intelligence Report Services with SAP R3 4.6 C running on SQL Server 2005? Also how Biztalk Adapter is use full for this process?
    Thanks in Advance

    Hello Madhav,
    you might want to post this to the "SAP on Windows" forum as well.
    Regards,
    Marc
    SAP Techology RIG

  • Remote Connection from SAP to MS-SQL server

    Hello Experts,
    We have been following 2 options so far and we have come across some issues
    The first Option is to call a stored procedure (this is our preferred method) which does the data transfer for us
    We have been able to test this scenario successfully from SQL Server side
    However, while calling the stored proc via native SQL from ABAP we have come across an issue which is due to SQL 2005 changes (Schema implementation and difference in the security context)
    While calling the stored procedure from the ABAP Code we have an error
                The program short dumps with runtime error DBIF_DSQL2_SQL_ERROR, exception CX_SY_NATIVE_SQL_ERROR. The database error code is 15274, and the error text is
                 "Access to the remote server     is denied because the current security context is not trusted."
    This issue is new after the SQL Server 2005.
    We are trying to resolve that.
    Secondly we have been trying the DBCON option as well as per OSS Note 323151
    We have a few things thatu2019s impacting our scenario:
    The remote servers are in a different domain
    The remote servers are located  in DIZ
    Remote server is a named instance
    Remote server has been configured with a different port than standard (1565) u2013 All Connection strings will need port in there
    The Database name starts with a numeric value
    Due a combination of factors as mentioned above the standard approach does not work
    Have any of you used this approach while connecting from SAP to MS-SQL server? Do you know of any successful methods to connect to SQL using ABAP (or not) from SAP.
    Thanks in advance,

    Yes,
    DBConnect & UDConnect.
    Works like a charm.
    We write data into a MS-SQL database via DBConnect & an ABAP program (using open sql).

  • SAP ECC6.0 cannot connect to SQL Server Database after recreating DB server

    We had a disaster with our ECC 6.0 Development system a few days ago.  The system is called “DEV”.  The SQL Server database server got wiped out and we didn’t have a backup.  Luckily, we did have a backup of the database.  Our system engineers rebuilt the server and our DBA reinstalled SQL Server and restored the database.  The database came up fine, but when we try to start SAP, it fails.  “R3trans –d” also fails.  The database is SQL Server 2008R2 10.50.2769.  The OS is Windows Server 2008R2.
    We verified that the “devadm” and “SAPServiceDEV” accounts have permissions on the on the server. We set the following Environment Variables for the devadm account on the database server:
    DBMS_TYPE = mss
    MSSQL_DBNAME = DEV
    MSSQL_SCHEMA = dev
    MSSQL_SERVER = <database server name>
    SAPLOCALHOST = <database server name>
    SAPSYSTEMNAME = DEV
    We also set the following Registry Key:
    HKEY_LOCAL_MACHINE/Software/SAP/DEV
    Type:     REG_SZ
    Value:   AdmUser
    String:   <database server name>\devadm
    We didn’t install any kind of SAP software on the database server.
    Is there any kind of SAP components we need to install on the database server?  Do we need to run the SAP installer on the database server to get everything setup correctly?  I looked at another one of our SQL Server database servers and it has SAP Management Console installed and there is a C:\Program Files\SAP\hostcntl folder.  I don't know what that is or it has anything to do with SAP being able to connect to the database.
    Here is the error message in the R3trans log file:
    4 ETW000  [     dev trc,00000]  Wed Apr 29 09:44:39 2015 1501385  1.531756
    4 ETW000  [     dev trc,00000]  ERROR: -1 in function ExecuteAndFlush (SQLExecDirect) [line 6702]         35  1.531791
    4 ETW000  [     dev trc,00000]  (102) [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'execute.'.
    4 ETW000 22 1.531813
    4 ETW000  [     dev trc,00000]  <if user_name() != 'dev' execute as login = suser_sname(suser_sid('dev')) with no revert> failed -- connect terminated
    4 ETW000 38 1.531851
    4 ETW000  [    dblink ,00000]  ***LOG BY2=>sql error 102    performing CON 56  1.531907
    4 ETW000  [    dblink ,00000]  ***LOG BY0=>[Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'execute.'.
    4 ETW000 30  1.531937
    2EETW169 no connect possible: "DBMS = MSSQL ---  SERVER = '<db server name>' DBNAME = 'DEV'"
    Please let me know what we need to do to get SAP to connect to the database.
    Thanks,
    Jerry

    Here it is: 4 ETW000 R3trans version 6.22 (release 720 - 18.11.11 - 11:29:00). 4 ETW000 unicode enabled version 4 ETW000 =============================================== 4 ETW000 4 ETW000 date&time  : 29.04.2015 - 19:33:01 4 ETW000 control file: 4 ETW000 R3trans was called as follows: R3trans -d 4 ETW000  trace at level 2 opened for a given file pointer 4 ETW000  [    dev trc,00000]  Wed Apr 29 19:33:01 2015                                                  83  0.000083 4 ETW000  [    dev trc,00000]  db_con_init called                                                        28  0.000111 4 ETW000  [    dev trc,00000]  set_use_ext_con_info(): rsdb/ssfs_connect not set => ssfs not used        31  0.000142 4 ETW000  [    dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3 4 ETW000                                                                                                  20  0.000162 4 ETW000  [    dev trc,00000]  create_con (con_name=R/3)                                                10  0.000172 4 ETW000  [    dev trc,00000]  Loading DB library 'dbmssslib.dll' ...                                    31  0.000203 4 ETW000  [    dev trc,00000]  DlLoadLib success: LoadLibrary("dbmssslib.dll"), hdl 0, addr 000007FEEE6D0000 4 ETW000                                                                                                1865  0.002068 4 ETW000  [    dev trc,00000]      using "D:\usr\sap\DEV\SYS\exe\uc\NTAMD64\dbmssslib.dll"              14  0.002082 4 ETW000  [    dev trc,00000]  Library 'dbmssslib.dll' loaded                                            13  0.002095 4 ETW000  [    dev trc,00000]  function DbSlExpFuns loaded from library dbmssslib.dll                    15  0.002110 4 ETW000  [    dev trc,00000]  Version of 'dbmssslib.dll' is "720.00", patchlevel (0.200)                84  0.002194 4 ETW000  [    dev trc,00000]  function dsql_db_init loaded from library dbmssslib.dll                  16  0.002210 4 ETW000  [    dev trc,00000]  function dbdd_exp_funs loaded from library dbmssslib.dll                  11  0.002221 4 ETW000  [    dev trc,00000]  New connection 0 created                                                  29  0.002250 4 ETW000  [    dev trc,00000]  0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =  4 ETW000                                                                                                  29  0.002279 4 ETW000  [    dev trc,00000]  db_con_connect (con_name=R/3)                                            12  0.002291 4 ETW000  [    dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3 4 ETW000                                                                                                  16  0.002307 4 ETW000  [    dev trc,00000]  find_con_by_name found the following connection:                          9  0.002316 4 ETW000  [    dev trc,00000]  0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =  4 ETW000                                                                                                  21  0.002337 4 ETW000  [    dev trc,00000]  Thread ID:3492                                                          594  0.002931 4 ETW000  [    dev trc,00000]  Thank You for using the SLODBC-interface                                  17  0.002948 4 ETW000  [    dev trc,00000]  Using dynamic link library 'D:\usr\sap\DEV\SYS\exe\uc\NTAMD64\dbmssslib.dll' 4 ETW000                                                                                                  21  0.002969 4 ETW000  [    dev trc,00000]  dbmssslib.dll patch info                                                  27  0.002996 4 ETW000  [    dev trc,00000]    SAP patchlevel  0                                                      12  0.003008 4 ETW000  [    dev trc,00000]    SAP patchno  200                                                        92  0.003100 4 ETW000  [    dev trc,00000]    Last MSSQL DBSL patchlevel 0                                            20  0.003120 4 ETW000  [    dev trc,00000]    Last MSSQL DBSL patchno        200                                    14  0.003134 4 ETW000  [    dev trc,00000]    Last MSSQL DBSL patchcomment Take care of warnings during database connect (1600066) 4 ETW000                                                                                                  18  0.003152 4 ETW000  [    dev trc,00000]  ODBC Driver chosen: SQL Server Native Client 10.0 native                273  0.003425 4 ETW000  [    dev trc,00000]  Network connection used from XXSAPDEV01 to XXSQLSAPDEV01 using tcp:XXSQLSAPDEV01 4 ETW000                                                                                                128  0.003553 4 ETW000  [    dev trc,00000]  Network connection used from XXSAPDEV01 to XXSQLSAPDEV01 using tcp:XXSQLSAPDEV01 4 ETW000                                                                                              20908  0.024461 4 ETW000  [    dev trc,00000]  Network connection used from XXSAPDEV01 to XXSQLSAPDEV01 using tcp:XXSQLSAPDEV01 4 ETW000                                                                                                3485  0.027946 4 ETW000  [    dev trc,00000]  Driver: sqlncli10.dll Driver release: 10.50.2769                        3695  0.031641 4 ETW000  [    dev trc,00000]  GetDbRelease: 10.50.2769.00                                              475  0.032116 4 ETW000  [    dev trc,00000]  GetDbRelease: Got DB release numbers (10,50,2769,0)                      18  0.032134 4 ETW000  [    dev trc,00000]  ERROR: -1 in function ExecuteAndFlush (SQLExecDirect) [line 6702]      6505  0.038639 4 ETW000  [    dev trc,00000]  (102) [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'execute.'. 4 ETW000                                                                                                  27  0.038666 4 ETW000  [    dev trc,00000]  failed -- connect terminated 4 ETW000                                                                                                  31  0.038697 4 ETW000  [    dblink  ,00000]  ***LOG BY2=>sql error 102    performing CON                              49  0.038746 4 ETW000  [    dblink  ,00000]  ***LOG BY0=>[Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'execute.'. 4 ETW000                                                                                                  27  0.038773 2EETW169 no connect possible: "DBMS = MSSQL                            ---  SERVER = 'XXSQLSAPDEV01' DBNAME = 'DEV'"

  • Sql developer won't connect with SQL server database on cluster

    Hello,
    I have a microsoft SQL server database on a windows cluster. Name for this cluster is like XXX/YYY
    When I try to connect to this database with SQL developer, I get a failure, mentioning:
    "Status : Failure -Cannot connect to Miscrosoft SQL Server on XXX/YYY"
    As far as I know, I have installed the correct jtds driver (version 1.2.5), since I can connect to sql server databases on single server hosts.
    Does anyone know how to connect to databases on windows clusters?
    Edited by: Ingmar on Jan 16, 2012 4:08 PM
    Edited by: Ingmar on Jan 16, 2012 4:22 PM

    Hi Ingmar,
    Try this is in the port box
    1433/dbname;instance=YYY
    dbname can be omitted
    -Turloch
    SQL Developer team
    1/Giving an instance name in SQLDeveloper connection to SQL Server (from August 2011)
    MS SQL Server Connection
    The correct syntax to deal with this is in the port box
    1433/dbname;instance=instance
    dbname can be omitted
    2/cluster configuration (uses instance name)
    http://stackoverflow.com/questions/1160024/jdbc-connect-string-for-sql-server-cluster
    where vvv\iii is the cluster address: jdbc address is:
    "jdbc:sqlserver://vvv;instanceName=iii"
    3/jtds url details available in
    http://jtds.sourceforge.net/faq.html

  • Not able to connect with Sql Server Database

    Hi,
    I'm not able to connect with Sql Server database.during making connection I'm getting the following error:
    "Status : Failure -I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property."
    Please help
    Regards,
    Neeraj Goel

    Hi,
    I'm using Sql Server 2000.
    I downloaded the driver from the given site and still having the same problem. Do I need to copy the driver file in some specific folder.
    Regards,
    Neeraj Goel

  • Connect a Microsoft SQL Server Database with eclipse

    Hi all,
    I am having problem to connect a Microsoft SQL Server Database with eclipse. Is it possible to do it? And could someone explain me how, please? When I want to create a connection from the data source explorer, I have in the list of connection only derby and jdbc. Is anything else that I have to download?
    Thank you in advance for your help.

    Just choose generic JDBC and locate/specify the driver yourself. Exactly the same as you would use when you wrote JDBC code yourself.

  • Connection with MS -SQL server Database

    Hi Experts,
    We are new with Oracle SES.
    We have created one table in MS SQL server 2005 in testing database called as Northwind, table is EMPdate with adding required column name as "URL","KEY","CONTENT","LASTMODIFIEDDATE","LANG".
    Now we create database source in Oracle SES by giving following things
    Database Connecting String: jdbc:sqlserver//<Loaclhost>:1433;databasename=Northwind
    UserId:
    Password:
    Query: Select URL,KEY,CONTENT,LASTMODIFIEDDATE,LANG,'text/html' CONTENTTYPE from EMPdate
    path separator: #
    Document Count : -1
    Parse Attributes :false
    And create Source & when we run schedule on this datadase source we got error that "invalid SQL command"
    Please can you provide sequence of steps to create MS SQL Server database source & generate the statistics.
    Thanks

    Hi,
    Thanks for the response.
    Running the Schedule for Stats collection -- I mean,the Schedule step whcih could be the immediate step just after database source creation
    The Crawl of the SQL Server not succeeded is Crawl Error
    which is located in C:\oracle\product\10.1.8\oradata\ses2\log direcory.
    We succeded with Web,ORACLE TABLE and FILE system sources as they were documented in the manual.
    Please Suggest all the steps to configure SQL server as Source
    Thanks in Advanace
    Cheers,
    Ramesh

  • How to connect tibco ems with sap xi engine?

    hi friends,
    how to connect tibco ems with sap xi engine?
    plz explain me in brief. if possible plz give some link.
    thanks & regards
    Ruban

    Hi Ruban
    refr this links
    Re: XI 3.0 - Tibco integration
    <b>IBCO -> XI SCENARIO -> Web Service</b>
    http://dev.systinet.com/doc/ssc-60/primer/html/using.web.services.html
    http://www.estrategy.gov/presentations/umd_e-gov_ent_arch/sld015.htm
    General disadvantages of using web service
    http://www.samspublishing.com/articles/article.asp?p=31555&rl=1
    http://www.omg.org/news/whitepapers/CORBA_vs_SOAP1.pdf
    Replace TIBCO with XI
    Tibco & XI
    XI integration with Tibco
    <b>
    Aslo see the below links</b>
    XI Vs Tibco Vs Webmethods
    Re: Why XI ??
    Differences between Tibco BW and how to do canonical mapping in XI
    http://www.sap.com/solutions/netweaver/pdf/BWP_SB_ExchangeInfrastructure.pdf
    XI integration with PSFT/Seibel ?
    Performance statistics of SAP XI
    /thread/154189 [original link is broken]
    publish subscribe with XI
    XI in SRM, CRM, MDM
    XI implementation - xi implementation
    Thanks!!

  • Issue with connecting to SQL Server Database in 11g

    Hi
    We successfully created odbc connection say "Test" to read SQL Server database using odbc admin.The issue we are facing in 11g is, we are unable to import tables using the database connection "Test" in to Admin tool.
    In 10g we did not come across this issue. We used the same credentials and process incase of 10g and 11g to read SQL Server database, but we are facing the connection issues incase of 11g.
    Please, let us know is there any change need to be done to any config files or is there any way to overcome this issue.
    Thanks.

    Hi,
    What do you mean by 'we are unable to import tables using the database connection'
    Do you get an error message or the connection fails or what
    Please add the details about the issue in order to help
    Regards
    Adil

  • Connection of jtable of swing  with sql server database in netbeans 6.5

    i want to know how to retrieve values from sql server database in a jtable in netbeans 6.5 and i also want edit and delete buttons in in row so that by clicking on it a particuler record can be updated and deleted.please help me it is urgent

    Just in case anyone has the same issue:
    I found that latest JDK v 12 as some problems:
    http://www.nabble.com/Problem-Adding-Server-in-Server-List-td21810860.html
    I installed JDK update 11 and re-installed netbeans. Now everything is working fine.
    ~ Tushar

  • DB Connect from BW on Oracle to MS SQL Server 2005

    Hello,
    I am having issues replicating Meta-Data from SQL server databases via DBCONNECT to SAP BW.
    For instance we have the CCM DB and the Siebel DB.  We can transfer meta-data from CCM with no problem (SQL Server 2000) but we cannot transfer meta-data from Siebel (SQL Server2005).
    Our SAP BW is system is on an Oracle database.
    CCM is on OS Win 2003. SQL 2000 SP4.
    Siebel is on Win 2003 Server Enterprise 5.2 and SQL Server 2005 SP2.
    I already have the dbsl for SQL server installed in the BW system. When I do a Connection Check of the source systems in RSA1, it says "Source system connection OK".
    Any help will be highly appreciated.
    Thanks,
    Ajay

    Hi,
    I don't think the 32 vs. 64 bit is the issue. Have you tried checking OSS note: 512739. It describes the prerequisites for accessing MS SQLServer via DB Connect. Normally problems occurs due to unsupported data types being used in SQLServer - in such cases you have to create views in the source system and then use these views instead of the actual database tables. In the view you can perform the necessary data type conversion.
    Hth,
    Jacob

  • Best practise for creating an application that connects to a SQL Server database

    I have created an application that connects to a SQL Server database and views information using a datagrid and performs several updates when a button
    is selected.  
    I have created a SQLcontrol.vb using the following code:
    Imports System.Data.Sql
    Imports System.Data.SqlClient
    Public Class SQlControl
    'connection 1
        Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
        Public sqlcmd As SqlCommand
        Public sqlda As SqlDataAdapter
        Public sqldataset As DataSet
        Public Function hasconnection() As Boolean
            Try
                SQLCon.open()
                SQLCon.close()
                Return True
            Catch ex As Exception
                MsgBox(ex.Message)
                Return False
            End Try
        End Function
        Public Sub runquery(query As String)
            Try
                SQLCon.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon.State
    = ConnectionState.Open Then
                    SQLCon.Close()
                End If
            End Try
        End Sub
        Public Sub runquery1(query As String)
            Try
                SQLCon1.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon1)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon1.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon1.State
    = ConnectionState.Open Then
                    SQLCon1.Close()
                End If
            End Try
        End Sub
    End Class
    A code for one of my button which views displays data grid contains the following code:
    Private Sub Button1_Click_1(sender As Object,
    e As EventArgs) Handles Button1.Click
            If SQL.hasconnection
    = True Then
                SQL.runquery("select 
    * from tablea")
                If SQL.sqldataset.Tables.Count
    > 0 Then
                    DGVData.DataSource = SQL.sqldataset.Tables(0)
                End If
            End If
        End Sub
    I am fairly new to vb.net and have read a few books and followed a few tutorials on youtube, what I would like to know is, are there any disadvantages
    to the way I have connected to a SQL database using the SQLControl.vb.  A lot of the vb books include data adapter and dataset within the form, I'm not sure if I'm following best practice by have the connection details outside of the form.
    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter
    and dataset.  It all works fine but I just wanted to know of any potential issues?
    Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
    Thanks

    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter and dataset.  It all works fine but
    I just wanted to know of any potential issues
    1) You are not using Sepration of concerns for a solution that is doing data access, like using a DAL.
    http://en.wikipedia.org/wiki/Separation_of_concerns
    2) You are directly issuing SQL commands at the UI, leading to sql injection attacks.
    3) You are not using a UI design pattern, which leads you to tightly couple database activity to the UI.
    http://www.codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP
    @System243trd, parameters are important to prevent SQL injection attacks (people will insert SQL commands into the database if you do not perform basic checking of what you are passing to the database). If you write a stored procedure try to make
    the variables the correct SQL server data type to avoid problems later of people trying to call it directly.  Darnold924 is right, I see no code to prevent against SQL injection attacks. In addition, during development in some instances LocalSQLDB
    database system is used and during deployment you usually need to use the production SQL server database. Moreover,  Linq-to-SQL is used on Windows Phone 8.1 and it is required for phone development later and so I highly recommend learning
    it if you plan on developing windows phone applications.
    @System243trd, If you want the code for the windows phone app I think it uses the MVVM model or that might be for universal apps or regular windows phone apps. I have been using the windows phone Silverlight pivot or panorama template (it might
    be pieces of both). I've already submitted to the windows phone marketplace and it had to go through certification first. I plan on later making an article on it but I need to first fix one or two simple problems I have with it.  Here's a link to
    the source code if you later want to look at the source code (in vb.net): 
    https://jeffsblogcodesamples.codeplex.com/downloads/get/1445836
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog
    - http://www.computerprofessions.us

  • JRC bug: apostrophe in string parameter passed to Crystal Report with Command datasource to SQL Server

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

  • How to connect a PDF form to SQL server database through web service?

    Hi,
    I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
    I really appreciate your help and advice.

    Hi,
    I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
    I really appreciate your help and advice.

Maybe you are looking for