Which user id is used in each data source?

Using SQ: SSRS 2008 R2 - Beginner - Is there a report or query that provides which user ID is associated with the data source of each report? I need to be able to list out all the data sources being used and which user id is being used in the data source
configuration instead of going to each report and using manage to review this. Any help is greatly appreciated

Thank you - This is useful - but the username column is encrypted - how do I unencrypt
as per my knowledge there is no way to decrypt it and below link confirm my understanding :)but there is work around also that have shared on technet;
https://social.msdn.microsoft.com/Forums/en-US/f65b4d50-abaa-400b-a09d-ae1d7d1ea041/decrypt-the-connectionstring?forum=sqlreportingservices
WITH XMLNAMESPACES -- XML namespace def must be the first in with clause.
(DEFAULT 'http://schemas.microsoft.com/sqlserver/reporting/2006/03/reportdatasource'
,'http://schemas.microsoft.com/SQLServer/reporting/reportdesigner'
AS rd)
,SDS AS
(SELECT SDS.name AS SharedDsName
,SDS.[Path]
,CONVERT(xml, CONVERT(varbinary(max), content)) AS DEF
FROM dbo.[Catalog] AS SDS
WHERE SDS.Type = 5) -- 5 = Shared Datasource
SELECT CON.[Path]
,CON.SharedDsName
,CON.ConnString
FROM
(SELECT SDS.[Path]
,SDS.SharedDsName
,DSN.value('ConnectString[1]', 'varchar(200)') AS ConnString
FROM SDS
CROSS APPLY
SDS.DEF.nodes('/DataSourceDefinition') AS R(DSN)
) AS CON
-- Optional filter:
-- WHERE CON.ConnString LIKE '%Initial Catalog%=%TFS%'
ORDER BY CON.[Path]
,CON.SharedDsName;
Thanks
Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

Similar Messages

  • Which user to be used in SAP IDES

    Dear Freinds,
           I have got installed SAP ECC6.0 in my personnel laptop. Could any one please let me know which user i can use
    to do my SAP SD configuration  or could you let me know which id profile i have to copy to my id in sap IDES system.
    Regards
    Syamala

    Dear Prashant,
                Thanks for letteing me know the user SAPUSER , but is there any default pwd will be there for it . Becuase when
    i logged in as DDIC i coudlnt see this user - SAPUSER  in the transaction SU01 . Please could let me know .
    regards
    syamala
    Edited by: MSyamala on Sep 2, 2011 4:08 PM

  • Bursting using a Concatenated Data Source

    Greetings,
    I am trying to burst a report using a concatenated data source. I have a bursting SQL query set up that works fine, but I am unsure how to handle the "Split By" option. I have a data model that pulls data from multiple queries, like this:
    DETAILS_A
    select * from table_a
    where payee_id in (:p_payee_id)
    DETAILS_B
    select * from table_b
    where payee_id in (:p_payee_id)
    So, if I choose to "Split By" Details_A_Row/Payee_ID, then the data from Details_A is split appropriately, but the reports I generate don't split the information from Details_B properly. I end up with reports where one payee has information for another payee from the Details_B data source. How can I specify that the report should also split/filter the info from Details_B?
    To put it another way, what I'd really like to do is go through a list of parameters (payee IDs in this example) and generate a report for each parameter. Is Bursting the most effective way to do this?
    From searching the forums, it seems like I might be able to accomplish this using Data Templates as my Data Model instead of SQL Queries. Am I on the right track with that? If so, you guys have any helpful links on how to create Data Templates?
    I am using BI Publisher version 10.1.3.4
    Any help is appreciated!
    Martin

    For data template samples, check the following out and then download the zip file (you may not be able to run the reports, but you can view the code)
    http://blogs.oracle.com/xmlpublisher/2009/06/data_template_progression.html
    Thanks,
    BIPuser

  • Using Excel as data source

    Hi,
    i have created a crystal report that uses Excel as data source. Reason i used excel is for easy updating of data by non IT users. The report runs perfectly on my computer, but when i upload it to Infoview, there is error when i run the report from Infoview:
    "The database logon information for this report is either incomplete or incorrect."
    "Unable to retrieve Object.
    The database logon information for this report is either incomplete or incorrect."
    May i know what causes the error? There is no user id/password to access the excel file.
    I have also tried saving the excel in the same server as the crystal report server, but i still face the same error.
    Pls help!
    Thanks

    You would have created a connection in your local system to access the XLS data
    You should be creating a similar connection in the server as well and then update the rpt file with the connection details in CMS
    Thanks,
    Ganesh

  • Using a SQL data source and XML data source in the same template

    I am trying to develop a template for the Request for Quote report generated in Apps 11.5.10. I have loaded the data from the XML output into the template, but I am missing one field - I need the org_id from the po_headers table. Is it possible to use a sql data source (i.e., "select org_id from po_headers_all where po_header_id = [insert header_id from xml data]...") in addition to the xml data source to populate the template at runtime? When you use the Insert > SQL functionality is it static at the time the template is created, or does it call to the database at runtime? I've looked through all the docs I could find, but this isn't clear.
    Thanks for any help or suggestions you may have.
    Rhonda

    Hi Pablo
    Thats a tough one ... if you go custom with a data template you will at least get support on the data template functionality ie you have a problem when you try and build one. You will not get support on the query inside the data template as you might have gotten with the Oracle Report, well you could at least log a bug against development for a bad query.
    Eventually that Oracle Report will be converted by development anyway, theres an R12 project going on right now to switch the shipped OReports to data templates. AT this point you'll be fully supported again but:
    1. You have to have R12 and
    2. You'll need to wait for the patch
    On reflection, if you are confident enough in the query then Oracle will support you on its implementation within a data template. Going forward you may be able to swap out your DT and out in the Oracle one without too much effort.
    Regards, Tim

  • Pls. identify some seeded views used as Existing Data Source in DBI Reports

    Hi!
    Can someone please identify some seeded views used as Existing Data Source in DBI Reports. I only need some idea how they are defined.
    Thanks.

    Jon632 wrote:
    Hi!
    Can someone please identify some seeded views used as Existing Data Source in DBI Reports. I only need some idea how they are defined.
    Thanks.
    You can find the list of seeded views in eTRM website -- http://etrm.oracle.com/pls/etrm
    Are there seeded tables/views of DBI dimension objects in Oracle EBS?
    Thanks,
    Hussein

  • How to use container's data source as mapviewer data source?

    Hi,
    I want to take advantage of connection pooling and hence was trying to create a mapviewer datasource from J2EE container.
    When I use the J2EE ds as the Mapviewer datasource in the Mapviewer admin page, it wouldn't work.
    Rest of the applications deployed on the OC4J container which makes use of the same J2EE ds works fine.
    I referred to the article below to configure the datasource(not the permanent stuff), but it didnt work.
    http://www.oracle.com/technology/products/mapviewer/htdocs/faq_1012/mvfaq_1012.html#oc4jds
    Any help is much appreciated.
    Cheers,
    Sumanth

    I am running mapviewer application with my dynamic datasource created out of JDBC URL. All the shipped-in demos and my own mapviewer application works fine with this.
    The trouble is when my application runs it creates too many database connections (my observation is a connection each for a theme).
    There are about 16 themes and the application opens up 16 connections (I have monitored the statements for each of these connections and they are for the individual themes). Although we could increase the max connections of our database, ideally we would like to make use of less connections.
    An efficient way of solving this would be to create the dynamic datasource out of J2EE data source rather than JDBC URL.
    So, when I define a dynamic datasource through the mapviewer admin page from an existing J2EE data source, it creates a datasource with JDBC URL as "thin:@:1521:" and schema user as "scott", both of which are incorrect. Referred to the article below to solve this but with no luck
    http://www.oracle.com/technology/products/mapviewer/htdocs/faq_1012/mvfaq_1012.html#oc4jds
    Sorry if I sound stupid with this elementary question. Would appreciate any help.
    Cheers,
    Sumanth

  • Using Excel & ODBC data source to get data

    I've been using MS Excel to extract MS SQL Server data from our ERP system for years but we are now moving to Oracle 12i. What are my options in the Oracle world? Can it be configured much the same way; that is by configuring an ODBC data source and connecting directly to the database???
    Thanks in advance.

    user11307988 wrote:
    I've been using MS Excel to extract MS SQL Server data from our ERP system for years but we are now moving to Oracle 12i. What are my options in the Oracle world? Can it be configured much the same way; that is by configuring an ODBC data source and connecting directly to the database???
    Thanks in advance.Adding to sb92075's brief but accurate statement, from one of my recent presentations (note - no need for an ODBC connection):
    'Need to add a reference to Microsoft ActiveX Data Objects 2.8 Library before starting
    '*** This section might be in the top portion of the user form, worksheet code, or module:
    'Declare a connection object in the general section to hold the connection to the database
    Dim dbVMFG As ADODB.Connection
    'Declare a set of variables to hold the username and password for the database
    Dim strUserName As String
    Dim strPassword As String
    Dim strDatabase As String
    Dim i as Integer
    Dim intResult As Integer
    Dim strSQL as String
    Dim lngRow as Long
    On Error Resume Next
    strDatabase = "MyDB"
    strUserName = "MyUser"
    strPassword = "MyPassword"
    'Connect to the database
    'Oracle connection string
    Set dbVMFG = New ADODB.Connection
    dbVMFG.ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=" & strDatabase & ";User ID=" & strUserName & ";Password=" & strPassword & ";ChunkSize=1000;FetchSize=100;"
    dbVMFG.ConnectionTimeout = 40
    dbVMFG.CursorLocation = adUseClient
    dbVMFG.Open
    If (dbVMFG.State <> 1) Or (Err <> 0) Then
        intResult = MsgBox("Could not connect to the database.  Check your user name and password." & vbCrLf & Error(Err), 16, "Excel Demo")
    Else
        strSQL = "SELECT" & VBCrLf
        strSQL = strSQL & "  ID AS RESOURCE_ID," & VBCrLf
        strSQL = strSQL & "  DESCRIPTION" & VBCrLf
        strSQL = strSQL & "FROM" & VBCrLf
        strSQL = strSQL & "  MY_TABLE" & VBCrLf
        strSQL = strSQL & "WHERE" & VBCrLf
        strSQL = strSQL & "  DESCRIPTION LIKE '%10%'" & VBCrLf
        strSQL = strSQL & "ORDER BY" & VBCrLf
        strSQL = strSQL & "  ID"
        'Add a new worksheet to the new workbook, add after the last sheet
        ActiveWorkbook.Sheets.Add
        ActiveWorkbook.ActiveSheet.Name = "JustATest"
        snpData.Open strSQL, dbVMFG
        If snpData.State = 1 Then
            'Slow Method------------------------------------
            lngRow = 0
            'Header Row
            For i = 0 To snpData.Fields.Count – 1
                lngRow = lngRow + 1
                ActiveSheet.Cells(lngRow, i + 1).Value = snpData.Fields(i).Name
                ActiveSheet.Cells(lngRow, i + 1).Font.Bold = True
            Next i
            'Detail Rows
            Do While Not snpData.EOF
                lngRow = lngRow + 1
                For i = 0 To snpData.Fields.Count - 1
                    ActiveSheet.Cells(lngRow, i + 1).Value = snpData.Fields(i)
                Next i
                snpData.MoveNext
            Loop
            'End Slow Method------------------------------------
            'Fast Method----------------------------------------
            'Do not use this and the slow method!
            For i = 0 To snpData.Fields.Count - 1
                ActiveSheet.Cells(1, i + 1).Value = snpData.Fields(i).Name
            Next i
            ActiveSheet.Range(ActiveSheet.Cells(1, 1), ActiveSheet.Cells(1, snpData.Fields.Count)).Font.Bold = True
            ActiveSheet.Range("A2").CopyFromRecordset snpData
            'Auto-fit up to 26 columns
            ActiveSheet.Columns("A:" & Chr(64 + snpData.Fields.Count)).AutoFit
            'End Fast Method----------------------------------------
            snpData.Close
        End If
    End IfA couple of notes:
    1. Do not repeatedly connect to the database, execute a SQL statement, and disconnect from the database - connect once and stay connected.
    2. Use bind variables where possible in SQL statements for constants (literals) which might change from one execution to the next - let me know if you need s code example showing bind variable usage in Excel.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Using InfoSets as Data Source for segmentation

    Hi Experts,
    I'd like to use my own InfoSet as Data Source for segmentation.
    The goal is, for example:
    Select all BPs who have Leads (Just simple one to describe my question).
    So I've created new InfoSet which joined tables:
      CRMD_ORDERADM_H
      CRMD_LINK
      CRMD_PARTNER.
    The question is how should I restrict the InfoSet to use only object type "CRM Lead" (CRMD_ORDERADM_H = 'BUS2000108') and partner function "Activity partner" (CRMD_PARTNER-PARTNER_FCT = '00000009')?
    I've managed to do this by small addtitional coding in Record Processing in the InfoSet as:
    CHECK crnd_orderadm_h-object_type EQ 'BUS2000108'
      AND crmd_partner-partner_fct EQ '00000009'.
    But it seems that it's not the best way (and no the best practise's one) because all records from the joining are processed and for each of the record this conditions are checked.
    It'd be better, I think, to put this conditions as selection options. But it doesn't work (or I didn't do it properly). What I've done is: I've made them as selection criterions in my InfoSet and put default values for them. But segment builder didn't use them (default values) as I can see.
    Appreciated for your any advices.

    Hi Monica,
         Ofcourse query will be written by BW consultants but the requirement should be passed on by Business. CRM Functional Consultant responsibility is to understand the Business requirement and should guide BW consultants. Also make sure that BW system is in the CRM landscape for such requirement.
    regards
    KK

  • Helpdesk Report Group Users - Cannot create a connection to data source 'DataSource1'

    Getting the following error for a User accessing the report who is a member of the reporting group. If I add them as a sysadmin in SQL they can get access. What permissions need changing for this user group?
    Cannot create a connection to data source 'DataSource1'. ---> System.Data.SqlClient.SqlException: Login failed for user

    Dave,
    For a complete understanding of the permission and groups, I would rather suggest you to do the installation of the MBAM components in a single server infrastructure in a test environment.
    Create the following domain security groups and use it during the configuration of the MBAM roles:-
    1) MBAM Advanced Helpdesk Users
    2) MBAM Helpdesk Users
    3) MBAM Report Users
    4) MBAM Read and Write Access
    5) MBAM Read Only Access.
    Create an application pool account and create a login in SQL for it. Use it only during:-
    1) Configuration of "Compliance and Audit Database connection"
    2) Configuration for All Web Applications.
    If your application pool account is not a domain administrator, the run the following powershell command to set the service principal name :-
    Setspn
    -s http//<FQDN of MBAM Web Server> domain\<Application pool account>
    Make sure the application pool account must be trusted for delegation.
    That's all you need to do. Then after the installation you can check the properties of each group in SQL to verify the rights and permission assigned during the installation.
    Regards, "Gaurav Ranjan" =========== NOTE: Mark as Answer and Vote as Helpful if it helps =======

  • Report using two different data sources won't work.

    I'm trying to build a report that shows information from a production table and an archive table.
    Tables are in different databases, which are defined as their own Data Sources in Publisher.
    Two data sets containing the same query but using different Data Sources are defined in the Data Model.
    When selecting option 'Concatenated SQL Data Source' the report never completes.
    If any of the two Data Sets is selected as the Main Data Set, the report shows information related to that source only.
    Any hints on how to make this work would be appreciated.
    Thanks.
    ccastillo

    More details on this issue:
    The production database has a synonym pointing to the archive database. I build a query using a UNION ALL statement linking both tables.
    For the same set of parameters, this query completes in a couple of minutes outside BI Publisher, but never ends (I cancel after an hour) inside Publisher.
    Is there any special considerations for the use of synonyms inside Publisher?

  • Using DAO using a JDBC data source with struts

    Hello,
    I have created a number of Data Access Objects and Transfer Objects to use in a non EJB, struts web application I am developing. I had tested these with a kind of a Service Locator custom class to provide access to a JDBC connection. My custom class is a bit clunky and not very configurable. I would like to use a data source using the struts config XML file e.g.
        <data-sources>
            <!-- configuration for commons BasicDataSource -->
            <data-source type="org.apache.commons.dbcp.BasicDataSource">
                <set-property
                  property="description"
                  value="My MySQL Database Connection" />
                <set-property
                  property="driverClassName"
                  value="com.mysql.jdbc.Driver" />
                <set-property
                  property="url"
                  value="jdbc:mysql://localhost/databaseName" />
                <set-property
                  property="username"
                  value="myUsername" />
                <set-property
                  property="password"
                  value="xxxxxxxxx" />
                <set-property
                  property="maxActive"
                  value="10" />
                <set-property
                  property="maxWait"
                  value="5000" />
                <set-property
                  property="defaultAutoCommit"
                  value="false" />
                <set-property
                  property="defaultReadOnly"
                  value="false" />
             </data-source>
        </data-sources>This is great, and precisely the kind of thing I would like to use. However, this datasource is only available AFAIK through a HttpServletRequest instance like in the example I found below...
        public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,
                                     HttpServletResponse response)     throws Exception
            javax.sql.DataSource dataSource = null;
            java.sql.Connection myConnection = null;
            try {
             dataSource = getDataSource(request);
             myConnection = dataSource.getConnection();
             // do what you wish with myConnection
            } catch (SQLException sqle) {
               getServlet().log("Connection.process", sqle);
            } finally {
               //enclose this in a finally block to make
               //sure the connection is closed
               try {
                  if(myConnection != null)
                      myConnection.close();
               } catch (SQLException e) {
                  getServlet().log("Connection.close", e);
            return (mapping.findForward("success"));
        }That would be great if I wanted to use the database connection anywhere near a struts Action (wrong tier!). I want access like that to to a data source in my DAOs. Is it possible for me to use the data-sources aproach to access the DB from my DAOs or will I need to use something like JNDI to do this in a similar way but separate from struts. If so I have a big gap in my knowledge as far as JNDI goes which I need to fill and that will be my next question
    I'm relatively new to using patterns inn Java and any help or pointers would be great.
    Thanks :)

    Create a JAAS Authentication Entry in the Server configuration.
    This should then appear in the drop-down when specifying your DataSource.

  • How to use .UNX as data source in design studio??

    How to user .UNX as source in design studio??
    I am new to design studio. Experts I need to transfer some Dashboards(Dashboards are developed using BEX query ) from Xcelsius to Design studio.
    Experts need some guidance.

    Hi,
    I haven't worked on this, but the below links seems to helpful about your queries.
    Migrating SAP Dashboards to Design Studio
    Dashboard Migrator to Design Studio - Recent Webcast
    Dashboard Migrator - Xcelsius | Design Studio - SAP BusinessObjects - APOS
    http://events.asug.com/2013AC/Business%20Intelligence/0302%20SAP%20BusinessObjects%20Design%20Studio%20and%20Dashboards%…
    Design Studio dashboard application based on a Universe as a data source - Part 1
    --SumanT

  • Stored Procedure used as a data source for an Apex report

    Just wondering whether anyone has used a Stored Procedure as the data source for an Apex report. An option to select Stored Procedures(s) as the data source does not appear within the IDE (only displays Table, Views, Functions).
    Do you have to return the definition of the Stored Procedure via a function ... if so, how is this done ?
    Thank you.

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "920338".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Just wondering whether anyone has used a Stored Procedure as the data source for an Apex report. An option to select Stored Procedures(s) as the data source does not appear within the IDE (only displays Table, Views, Functions).
    Do you have to return the definition of the Stored Procedure via a function ... if so, how is this done ? When asking a question about "reports" it's firstly essential to differentiate between standard and interactive reports. Standard reports can be based on tables, views, SQL queries, or PL/SQL function blocks that return the text of a SQL query. Interactive reports can only be based on a SQL query.
    "Stored Procedures" are therefore not an option (unless you are using the term loosely to describe any PL/SQL program unit located in the database, thus including functions). What would a procedure used as the source of a report actually do? Hypothetically, by what mechanisms would the procedure (a) capture/select/generate data; and (b) make this data available for use in an APEX report? Why do you want to base a report on a procedure?

  • How to use existing SharePoint Data Source in Visual WebPart in Visual Studio

    I want to create a SharePoint Visual Web Part using Visual Studio, which will query SQL database and will display some data (e.g. Latest News from Database)
    I already have a SQL Data Source (rsds file) in SharePoint. Can i use this rsds to connect SQL database for my Visual Web Part ?

    I will use web.config as last option but can you please explain how BdcService will connect external SQL database.
    What if I use SharePoint property to store connectivity information and all web parts will use it to make connection string?
    Following code returns 0 entities
    // Get reference to BDC Service
    BdcService service =
    SPFarm.Local.Services.GetValue<BdcService>();
    // Get MetaData Catalog
    IMetadataCatalog catalog = service.GetDatabaseBackedMetadataCatalog(SPServiceContext.Current);
    // Some heading for the literal control
    string dbData =
    "<h1>Lob Systems and Entities … </h1> " +
    "</br>";
    // Get all the external content types from the meta data catalog
    foreach (IEntity
    ect in catalog.GetEntities("*"))
    // Add external content type’s name and lob system name to the literal control
    dbData += ect.Name +
    "," + ect.GetLobSystem().Name +
    "</br>";
    ltMsg.Text = dbData;

Maybe you are looking for

  • Report for MM for seeing the material old price and new price

    Hello friends, For the ROH material we are maintained the Moving average price. So that material is calculated the average price of that material, Know My clint wants old price of that  material i.e. one year before And he wants comparison report for

  • No such partitiono error

    In the below procedure partition name in update statement not getting substituted! [no such partitiono error] create or replace procedure pname (partition_name varchar2) --- partition_name is an arguement (to be tested for different partitions) as cu

  • Oracle shared lib

    I'm trying to install 8.1.5 on an OpenLinux system. Everything seems to go well during the installation. I can create a database with dbassist, etc. When I try to start sqlplus, it reports there is symbol nauzoass in libclntsh.so.8.0. Ok, I rebuild t

  • I followed the instructions to import favourites from IE but it didn't work. What did I do wrong?

    All I get is a folder called "links from the united kingdom" containing three more folders which are the first second and fifth in my IE favourites list.

  • Standby server setup

    Hi Gurus I have been asked to configure a standby server using Oracle data guard. I have been told that the box that i have to configure as the DR server is already installed with SAP and everything is identical to PRD including hostname and SID exce