Viewing a report using integrated security for connection to database

PLEASE HELP!!
I am able to connect to an SQL Server 2008 database from the Crystal Reports Designer using integrated security and can succesfully load the database to create my report with.  I provide the following parameters at connection;
Connection string  =  jdbc:sqlserver://<hostname>:1433;databaseName=<dbname>;integratedSecurity=true
Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
HOWEVER, I do not know/cannot find how to then access the report using JRC in a JSP Web Viewer for Crystal Reports. 
Any ideas experts??
Regards
Nick Hirst

I'm having this same issue, but from the desktop app side. Did you ever find a solution?

Similar Messages

  • Integrated Security for Database

    How I can use integrated security database information for crystal server?
    I designed few reports using SQL Server and integrated security, I'm able to view and execute reports in Crystal Designer but I couldn't found any way to setup database information using integrated security in Crystal Server XI.
    Can someone help?
    Regards,
    parv

    You will need to save the report to the server after selecting the trusted connection.
    then on the server insure that an ODBC trusted connection exists as well (should be able to test from CR on the server if it's installed)
    finally in the CMC report properties > process > database you must select "Use same database logon as when report is run" and enter the AD username and password to be used for the report.
    If you would like a more dynamic solution where the actual user credentials are sent to the DB look up SSO to the DB in our admin guides and white papers on the business objects XIR2 articles section. This can also be achieved by setting up kerberos delegation.
    Regards,
    Tim

  • SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has be

    Hello, I have a sql 2005 server, and I am a developer, with the database on my own machine.  It alwayws works for me but after some minutes the other developer cant work in the application
    He got this error
    Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: 192.168.1.140]
    and When I see the log event after that error, it comes with another error.
    SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 192.168.1.140]
    He has IIS5 and me too.
    I created a user on the domain called ASPSYS with password, then in the IIS on anonymous authentication I put that user with that password, and it works, on both machines.
    and in the connection string I have.
    <add key="sqlconn" value="Data Source=ESTACION15;Initial Catalog=GescomDefinitiva;Integrated Security=SSPI; Trusted_Connection=true"/>
    I go to the profiler, and I see that when he browses a page, the database is accesed with user ASPSYS, but when I browse a page, the database is accesed with user SE\levalencia.
    Thats strange.
    The only way that the other developer can work again on the project is to restart the whole machine. He has windows xp profession, I have windows 2000.
    If you want me to send logs please tellme

    Well here's my problem, maybe you can help. Intermittenly I get a login failed when connecting to a db engine through Server Management Studio using Windows authentication. When this happens the following entries are generated on the server's application event log:
    Event Type:        Error
    Event Source:    MSSQLSERVER
    Event Category:                (4)
    Event ID:              17806
    Date:                     1/14/2009
    Time:                     10:41:31 AM
    User:                     N/A
    Computer:          <server name>
    Description:
    SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: <ip address>]
    Event Type:        Failure Audit
    Event Source:    MSSQLSERVER
    Event Category:                (4)
    Event ID:              18452
    Date:                     1/14/2009
    Time:                     10:41:31 AM
    User:                     N/A
    Computer:          <server name>
    Description:
    Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: <ip address>]
    I've already ensured that the server is set to mixed authentication mode. Oddly enough, the workaround that I've found is that if I remote desktop into the server, log in and then log back out, Management Studio is suddenly able to connect again. No idea why it works. 
    As I said before, it is intermitten. Some days it errors on login, other days it doesn't and there are no configuration changes between them. Also, both client and server are in the same domain and same site so there is no VPN or anything in between. I'm really quite stumped. Any help would be great, or if you can point me in the right direction of where to look. Thank you in advance!

  • Using integrated security to access SQL Server database

    Hi,
    Currently we are using username/password combination to log in to a SQL Server database. These varaiables are defined as environment variables.
    For security reasons we now want to use integrated security of the SQL Server database. This way the connection will be with the NTUser the Nodemanager has been started with.
    Can this be done in Fort�?

    I do not think there is a way to pass the NT user's security authentication over to the DB in UDS.
    ka

  • Use of Hostname for connectivity through client in 10g

    Hi,
    Can anyone please clarify the use of host name and DB name? I mean currently we are using Oracle 8.0.5 where clients are connecting to Database using the hostname for e.g "Dataserver"... but now we are planning to migrate our DB to 10.2.0.1 where in testing phase when we created database with same name i.e "Dataserver" oracle doesnt allow this as giving error that DB name cannot b same of host name... now i want to know is there any possibility in 10g that we can use host name for connecting to DB through clients?
    this question requires urgent attention as we need to migrate our database as early as possible.
    thanks

    while connecting to sql i m using:
    SQL> connect sharjeel/a@dar-dev-002
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    output of lsnrctl stat:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 26-SEP-2011 17:15:18
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 26-SEP-2011 14:52:33
    Uptime 0 days 2 hr. 22 min. 48 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File D:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dar-dev-002.AKHST.org)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • HT1338 is that many people use internet security for their mac

    is that many people use internet security for their mac or macbook computer?

    If you mean Anti Virus Software... See Here... Antivirus Discussion
    Reed Here  >  http://www.reedcorner.net/mmg/
    Mac OS X tends to look after itself... To keep your Mac Happy... See Here...
    http://support.apple.com/kb/HT1147
    http://www.thexlab.com/faqs/maintainingmacosx.html
    Mac OS X: About background maintenance tasks

  • How to view multiple reports using crystal reports 2008

    Hi ,
    I am working on vb6 project where in i am trying to generate reports using crystal reports 2008.
    For this , i am making use of Interop Form Wrapper class in vb6.
    I have a business requirement where in i need to view multiple reports  on my screen.
    please suggest me as to how this can be achieved.
    Thanks in Advance
    Regards,
    Ramnath

    Hi Ludek,
    I  am directly now using crystal report viewer control in my vb6 project.
    As mentioned in previous mail, i have created a Interop Wrapper class over crystal report viewer control in .Net using visual studio 2008 and i am making use of wrapper class in my vb6 project.
    I am able to access all the properties that have been defined in my Interop wrapper Class but the only stuff i need is to view multiple reports generated one after the another for a single button click Event.
    Please find below the code that iam using to load and generate reports.
    Note:
    1. frm is the instance of my Interop Wrapper Class built over CR viewer control
    2. All the user defined methods of Wrapper class that you see below will internally call the actual crystalreportviewer   properties defined in my Wrapper class
    Say for e.g   frm.DisplayToolbar(True) will internally  execute  crystalreportViewer1.DisplayToolbar = True
    frm.SetReportSource(strRptFilePath,0)          
    frm.SetSelectionFormula(strrecordSelectionFormula)
    frm.DisplayToolbar(True)               
    frm.ShowExportOption(True)
    frm.ShowPrintOption(True)
    frm.ShowRefreshOption(True)
    frm.ShowPAgeNavigateOption(True)
    frm.ShowZoomOption(True)
    frm.ShowParameterPanelOption(True)
    frm.Show()
    Thanks in Advance
    Regards,
    Ramnath

  • Error while trying to save a report using Java SDK for CR server 2011

    I use the java sdk to update the report database jndi alias and then save the report. While saving the report, the utility throws the following exception. It only happens to 3 reports out of more than 70 reports. What could be the problem with report that is causing this problem ?
    Thanks.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Failed to read data from report file C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\Data\CrystalRep
    ortsRasServer\temp\{56586260-E771-4C63-BF8B-F3CF14BB508A}.rpt. Reason: Repository object could not be found.---- Error code:-2147467259 [CRSDK00000000] Error code name:failed
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(ReportSDKServerException.java:109)
            at com.crystaldecisions.proxy.remoteagent.ExceptionHelper.throwResultInfoException(ExceptionHelper.java:192)
            at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.sendSyncRequest(ReportClientDocument.java:803)
            at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.doSave(ReportClientDocument.java:820)
            at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.save(ReportClientDocument.java:2245)

    The error points to the report using a repository object that it cannot be found.  What happens if you try and update the reports using the Crystal Report Designer instead of the SDK?

  • How to use scheduled agent for query in database

    Hi there I'm working with database on my app and when use the query for search in the database the application freeze for a maximum of one minute I want change that why I want what runs ok and I wonder if I can use a background agent for do that manage
    the queries .
    But I don't know how can I call the queries from the other project if the files are in the main project.

    Hi OzkarLeo,
    Background task provides functionality to do work when your app not in foreground, it need some conditions to trigger.
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh977056(v=win.10).aspx. If you need scheduled query when app is active in foreground, then it’s no need to use background task.
    Regards,
    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.

  • Sample code for connect to database

    Hi
    like to know if there is any sample code for me to follow through to connect to database using ODBC.
    I am currently writing a program in visual c++.
    like to know how to connect database to store image in the database
    using visual c++ code.....
    hope that is not too difficult.

    in JSTL pratical guide for JSP programmers by Sue Spielman
    <sql:setDataSource var="datasource"
    driver="org.gjt.mm.mysql.driver"
    url="jdbc:mysql://localhost/db"
    user="guest"
    password="guest" />
    <sql:query datasource="${datasource}...
    <html>
    <head>
    <title>
    Display Results
    </title>
    </head>
    <body>
    <c:catch var="sqlError">
    <sql:query var="bookList" dataSource="${datasource}">
         SELECT * FROM books WHERE title LIKE 'J%' ORDER BY author
    </sql:query>
    </c:catch>
    <c:if test="${not empty sqlError}" >
    Make sure you have already run the databaseinit.jsp file
    </c:if>
    <h2>Listing all books that start with a 'J', ordered by author</h2>
    <br>
    <table>
    <th>Title</th>
    <th>Author</th>
    <c:forEach var="book" items="${bookList.rows}">
         <tr>
              <td><c:out value="${book.title}" /></td>
              <td><c:out value="${book.author}" /></td>
         </tr>
    </c:forEach>
    </table>
    </table>
    <h2>Show using choose/when/otherwise conditional to display results</h2>
    <table>
    <tr><th>Title</th></tr>
    <c:forEach var="book" varStatus="current" items="${bookList.rows}">
    <tr>
    <c:choose>
         <c:when test="${current.first}" >
              <td><font color="#0000FF"><c:out value="${book.title}"/></font></td>
         </c:when>
         <c:when test="${current.count % 2 == 1 }" >
              <td><font color="#FF0000"><c:out value="${book.title}"/></font></td>
         </c:when>
         <c:otherwise>
              <td><c:out value="${book.title}"/></td>
         </c:otherwise>
    </c:choose>
    </tr>
    </c:forEach>
    </table>
    </body>
    </html>

  • Which files are needed for connection to database in 11gR2?

    I'm confused about the following files:
    sqlnet.ora
    tnsnames.ora
    listener.ora
    host file
    If I understand correctly, sqlnet.ora and tnsnames.ora can exist in both client and Oracle database server and listener.ora should only exist in Oracle database server. I guess host file can exist in both client and Oracle database server.
    I'm trying to understand which of the files are needed to access Oracle 11gR2 database using different tools such as
    sqlplus, SQL Developer, and Database Control on Oracle database server or from a client machine.
    If I'm on an Oracle database server, which of the files are needed for accessing 11gR2 database on that server for the different tools?
    If I'm on a client machine, which of the files are needed for accessing 11gR2 database on an Oracle database server for the different tools?

    881656 wrote:
    I'm confused about the following files:
    sqlnet.ora
    tnsnames.ora
    listener.ora
    host file
    If I understand correctly, sqlnet.ora and tnsnames.ora can exist in both client and Oracle database server and listener.ora should only exist in Oracle database server. I guess host file can exist in both client and Oracle database server.
    I'm trying to understand which of the files are needed to access Oracle 11gR2 database using different tools such as
    sqlplus, SQL Developer, and Database Control on Oracle database server or from a client machine.
    If I'm on an Oracle database server, which of the files are needed for accessing 11gR2 database on that server for the different tools?
    If I'm on a client machine, which of the files are needed for accessing 11gR2 database on an Oracle database server for the different tools?sqlnet.ora is used to configure the actions of sqlnet on whatever machine. Some of the config parms available to it apply only to the server side, some apply only to the client side, some apply to both.
    tnsnames.ora is used by client processes to resolve a connect alias to a specicific host, port, and service. It is used ONLY by the client side of tns. You see it on host machines because those machines can also run client processes.
    host file. Oracle doesn't know what this file is. Oracle doesn't give a flying fig about this file. It is used by the standard network software in the OS to resolve a name to an IP address. The only reason you even see it discussed in the Oracle world is because Oracle TNS sits on top of the standard OSI network stack, and uses it. Thus, if your tnsnames file has an entry like:
    houston =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = houston)
    #==========tns will never know or care where vmlnx01 is. The request will be packaged and sent to the standard network stack with a request to "route this package to vmlnx01, wherever that is.". The OS network stack will then resolve 'vmlnx01' to an ip address, by one of several possible methods. ONE of those methods is to look it up in the local hosts file.

  • How can I use File DSN to connect to database?

    Hi,
    I am using ODBC-jdbc driver to connect to the database. It seems that the DSN name is required. How can I use a file DSN instead of system DSN to connect to database? Please help?

    oracle provided jdbc drivers (thin and oci) do not use odbc.
    why would you want to slow things down by sending "round trip" data transfers thru a "jdbc to odbc" and thru "odbc to jdbc" conversion routines.
    It isn't necessary with the oracle provided drivers !!

  • Create new view within Report; use different data

    I am using Oracle OBIEE 11.1.x.x.x
    I have 2 existing views saved as separate reports. One is a Pivot; the other is a Table. Their data sources are unrelated.
    I want to be able to combine both views into one compound view within one report, so I can export both to the same Excel file.
    Please let me know how to implement. Please excuse my word selection; I am very new to this product.

    I am running 11.1.1.5.0
    I tried adding the reports to my dashboard, but I am only able to export each report within the dashboard separately. Is there a way to get both reports to export to the same Excel spreadsheet?
    Edit: please see this link for my available dashboard options. Am I missing an Export option that should be visible for the version I am using? Am I not seeing it because I don't have full permissions?
    Message was edited by: 455c5b7b-2f9d-490d-9698-2a5dc7e4079e

  • Changing font color in a report using SQL query for APEX 5.0

    Hello,
    I am testing APEX 5.0 in my testing environment to see if I can migrate my internal apps from 4.2 to 5.0.
    How can I change the font color in a field based in the SQL query? I know how to do it in 4.2 but I can't find the same in 5.0.
    Thanks,

    Well, I used to put the html tags in the select as text getting the color value depending a CASE , then I had to change the Display attribute for the column in the report as "Display as text (espace special characters...)".
    I found an old post here: https://tylermuth.wordpress.com/2007/12/01/conditional-column-formatting-in-apex/ and  this method still worked for me in APEX 5.0
    Thanks anyways

  • ERROR when using Integration Monitoring FOR XI

    Hello every,after install xi and update the patch to last.when I open  Integration Monitoring web page and use xisuper to login. as soon as i click the Component Monitoring or Message Monitoring  the system tell me that Following error occurred while executing the application:
      Error during communication with System Landscape Directory: User credentials are invalid or user is denied access
    I have check everything that I could thought.It make me crazy. who can help me and give me some useful suggestion.

    Hi,
    I think, this is because of incosistent SLD entry
    Refer this SAP Note - 764176. Also refer this note- 768456
    Hope this helps
    Regards,
    Moorthy

Maybe you are looking for