The Connection String for the Query Log table is automatically encrypted.

When I try to use the Usage Based Optimization to apply Aggregation Design to my measure group, it shows me the following
error message.
The connection string cannot be found. Open Microsoft SQL Server Management Studio and, in the Analysis Server Properties
page, check the value of the Log\QueryLog\QueryLogConnectionString
property.
I encountered this error like two weeks ago.  At that time I just reset the connection string and every things seem
to be fine.  A week ago, I successfully applied the Usage Based Optimization for one of my cubes.  However when I tried to apply UBO for my other cubes today, I encountered the same issue again!  I believe no one has changed the property of
the connection string.
Also if I query the Query Log table, I can see those latest queries made by the users.  I'm sure the queries are still
logging into this table.
This is really strange.  Anyone else has encountered the same issue?  Thanks.

Hello Thomas,
I encounterd this issue. And I am struggling trying to solve this problem. If you have resolved this issue and I guess you must've, because this post is two years old, could you kindly post how you resolved this issue?
Thanks in advance
Best Regards,
Neeraja

Similar Messages

  • Save Query - An error occurred while creating connection strings for the query

    A workbook trying to edit and reload I get the following error "Save Query - An error occurred while creating connection strings for the query" No Power Pivot data model or anything.

    I am getting the same error when editing a Power Query in an Excel spreadsheet. It happens when I change a Group By step to do a Sum instead of Count Rows.

  • Connect String for the front end app to access Lite Database in the Client

    Hi,
    I have been using an app developed in VB.net for accessing the Oracle Lite Database from the client machine. Can anyone please help me out how to set the Connect String in the config file of my front end app to access the Oracle Lite Database from my client machine. Do anyone have the syntax of the connect string to access the lite database in client machine.
    Thanks a lot in advance.

    Hi...
    -->Select example
    create or replace procedure get_emp(rc out sys_refcursor)
    is
    begin
    open rc for select * from emp;
    end;
    -->DML example
    create or replace procedure do_dml_emp(pempid in number,
    pempname varchar2,
    result out number)
    is
    begin
    insert into emp(empid,empname) values(pempid,pempname) returning empid into result;
    exception
    when others then
    result:=-1;
    end;
    -->DDL example
    create or replace procedure ddl_emp(colname varchar2,
    coltype varchar2,
    result out number)
    is
    begin
    result:=-1;
    execute immediate 'alter table emp add column ' || colname || ' ' || coltype ;
    result:=1;
    end;

  • The connection string for coded UI Data driven test using excel data source is not working

    Hello,
    I am using the visual studio 2012 coded UI test, i added the following connection strings to connect to an excel data source:
    [DataSource("System.Data.Odbc", "Dsn=Excel Files;Driver={Microsoft Excel Driver (*.xls)};dbq=C:\\Users\\shaza.said.ITWORX\\Desktop\\Automation\\On-track Automation Framework\\On-track_Automation\\Automation data file.xls;defaultdir=.;driverid=790;maxbuffersize=2048;pagetimeout=5;readonly=true",
    "Sheet1$", DataAccessMethod.Sequential), TestMethod]
    [DataSource("System.Data.Odbc", "Dsn=Excel Files;dbq=|DataDirectory|\\Automation data file.xls;defaultdir=C:\\Users\\shaza.said.ITWORX\\Desktop\\Automation\\On-track Automation Framework\\On-track_Automation\\Automation data file.xls;driverid=1046;maxbuffersize=2048;pagetimeout=5",
    "Sheet1$", DataAccessMethod.Sequential), TestMethod]
    But i get the following error:
    "The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library.
    Error details: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
    Thanks,
    Shaza

    Thanks for Adrian's help.
    Hi shaza,
    From the error message, I suggest you can refer the Adrian's suggestion to check the date source connection string correctly.
    In addition, you can refer the following about how to Create a Data-Driven Coded UI Test to check your issue:
    http://msdn.microsoft.com/en-us/library/ee624082.aspx
    Or you can also try to use a Configuration File to Define a Data Source for coded UI test.
    For example:
    <?xml
    version="1.0"
    encoding="utf-8"
    ?>
    <configuration>
    <configSections>
    <section
    name="microsoft.visualstudio.testtools"
    type="Microsoft.VisualStudio.TestTools.UnitTesting.TestConfigurationSection,
    Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </configSections>
    <connectionStrings>
    <add
    name="ExcelConn"
    connectionString="Dsn=Excel Files;dbq=E:\Unit Test\AddClass\AddUnitTest\add.xlsx;defaultdir=.;
    driverid=790; maxbuffersize=2048; pagetimeout=60;"
    providerName="System.Data.Odbc"/>
    <add
    name="ExcelConn1"
    connectionString="Dsn=Excel Files;dbq=E:\Unit Test\AddClass\AddUnitTest\sum.xlsx;defaultdir=.;
    driverid=790;maxbuffersize=2048;pagetimeout=60"
    providerName="System.Data.Odbc"/>
    </connectionStrings>
    <microsoft.visualstudio.testtools>
    <dataSources>
    <add
    name="ExcelDS_Addition"
    connectionString="ExcelConn"
    dataTableName="Addition$"
    dataAccessMethod="Sequential"/>
    <add
    name="ExcelDS_Multiply"
    connectionString="ExcelConn1"
    dataTableName="Multiply$"
    dataAccessMethod="Sequential"/>
    </dataSources>
    </microsoft.visualstudio.testtools>
    </configuration>
    For more information, please see:https://msdn.microsoft.com/en-us/library/ms243192.aspx
    Best 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.

  • How can I get the connection code for the magic track pad?

    I want to use my magic trackpad and I scrapped the box with the connection code. How can I get it again? I don't need it for Mac, but yes for windows...

    user570667 wrote:
    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Blackberry desktop software cannot communicat​e with the connected device for the playbook

    Hey whats up..... I'm new to the playbook and I'm having serious problems trying to connect my playbook with the blackberry desktop software. when i tried connecting it, a small windows popped up, saying "blackberry desktop software cannot communicate with the connected device.............. and if error to update". So i did. I'd already backed up the playbook the day before so it was ok when the small windows said, "all data would be remove and playbook would return to factory settings". I did all the procedures and the  blackberry desktop software still wont connect to the playbook. I tried uninstalling the  blackberry desktop software  and re-installing it, but the same thing keep on showing up. So i cant access my playbook.
    Can someone plz help me????????
    PS... My Playbook is on OS 2.1.0.1088 and is 16GB
    I tried the updating method 5 times now and uninstalling and reinstalling the  blackberry desktop software 7 twice. I dont know what else to do, and also Is there another way i cant access the playbook? 
    Solved!
    Go to Solution.

    Try this:
    http://btsc.webapps.blackberry.com/btsc/viewdocume​nt.do?externalId=KB26904&sliceId=2&cmd=displayKC&d​...
    Please click the Thumbs Up icon if this comment has helped you!
    If your issue is resolved, please click the solution button on the resolution!
    Every BlackBerry should have BlackBerry Protect, get it now! | Follow me on Twitter | Bring Back BBM Music!

  • Having the connection object for the specific schema

    hi
    My application interacting with the database of having many no of schema's. I need to create a connection object which is pointing to the specific schema in my database. This is help me to avoid writing schema name in the query every time.
    Thanks
    Siva

    How to specify the schema name in properties file?
    Say for example, i created properties file like that,
    Properties props = new Properties();
    props.setProperty("user", "username");
    props.setProperty("password", "password');
    In which property i can set for schema?

  • C How to Set Isolation Level in the Connection String

    How to Set Isolation Level in the Connection String using the "Microsoft OLE DB Provider for DB2 Version 4.0"?
    We are trying to move from Crystal Reporting that run against a IBM DB2 database on a mainfram to SSRS reporting and we have downloaded the "Microsoft OLE DB Provider for DB2 Version 4.0" and then worked with the DB2 Administrator to create the
    Packages.  We only have access to use the "Read Uncommitted ("MSUR001") package.   We were able to connect and pull data before he removed access to the other packages, but after setting access the Connection keeps trying to use
    the 'Cursor Stability (MSCS001)" package.   How do we change the Default to the "Read Uncommitted ("MSUR001") package???   Since it is keeps defaulting to the the other package
    we can't connect to do it in the T-SQL query, it has to be set at the Connection String level.

    Hi Dannyboy1263,
    According to your description, you want to set the Transaction Isolation Level in Connection String. Right?
    In Reporting Services, the Connection String for OLE DB Connection can only contains Provider, Data Source and Initial Catalog. There's no property for setting Transaction Isolation Level in the Connection String. Based on my knowledge, we can
    only set the Transaction Isolation Level at Query level or set it by using code (C#, VB, Java...) to call the property of Connection. So unfortunately your requirement can't be achieved currently.
    Reference:
    OLE DB Connection Type (SSRS)
    Data Connections, Data Sources, and Connection Strings in Reporting Services
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Can't change the connection string of SSIS package with derived columns?

    We upgraded SQL server 2008 to 2012, copied and converted all SSIS packages from Visual Studio 2008 to 2010.  When I opened a package in VS 2010 and tried to change the connection string, in the local connection managers, if the data source is another
    SSIS package B(.dtsx file) with derived columns, I can't change the connection string of package B. When I opened the file connection manager editor for package B and tried to locate a dtsx file in another location, saved the change, reopened the project.
    Package B still pointed to previous file.  Other packages without derived columns work fine. Any thoughts?

    We are using the package deployment model and refer to other packages in the same project. If
    we changed the path of package B (with derived columns) to "D:\Visual Studio 2010\xxxx", and refer it in package A, in the A's connection manager, the connection string of package B is still its previous location  "D:\Visual
    Studio 2008\xxxx". When we ran the package A in the SQL server agent, the data source is still
     "D:\Visual
    Studio 2008\xxxx", so how can I change it to "D:\Visual
    Studio 2010\xxxx"? Why has the package C (without derived columns) no such problem? thanks.

  • Where do I put the .jar file for the database connection?

    I am trying to connect to an Oracle 11g database. I see under the coldfusion settings summary that the java version is 1.7.0_55. So I downloaded the ojdbc7.jar file from Abode.com. Now the question is where do I put it so that coldfusion can access it?
    Of course I need to set up the database connection (which I still don't have the connection string for), but I still need to know where to put the ojdbc.jar file.
    Thanks.

    jasonwryan wrote:What does the man page say?
           The  program  has builtin defaults and temperature thresholds but users
           can   specify   their   own    settings    in    configuration    files
           /etc/default/i8kmon  and  ~/.i8kmon.   The daemon defines 4 states with
           different fan speeds ({0 0}, {1 0}, {1 1}, {2 2}) and  for  each  state
           are  defined  the temperature thresholds which cause the switching to a
           higher or lower  state.  Furthermore  each  state  can  have  different
           thresholds  for operation on ac power or battery.  For example the fol‐
           lowing configuration:
    I've put the following file in /etc/default/i8kmon:
    # Run as daemon, override with --daemon option
    set config(daemon) 0
    # Automatic fan control, override with --auto option
    set config(auto) 1
    # Report status on stdout, override with --verbose option
    set config(verbose) 1
    # Status check timeout (seconds), override with --timeout option
    set config(timeout) 1
    # Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
    set config(0) {{-1 0} -1 50 -1 50
    set config(1) {{-1 1} 50 70 50 70}
    set config(3) {{-1 2} 70 128 70 128}
    But it doesn't seem to do anything. I'm running a Dell Inspiron 3521 with no dedicated GPU, so it only has one fan. I was somehow able to get i8kmon to work in Ubuntu by putting this config in /etc/i8kmon, but can't get it to work in Arch. Putting it in /etc/i8kmon and /etc/default/i8kmon doesn't do anything.

  • [svn] 4748: Externalizing strings for the flex4 project.

    Revision: 4748
    Author: [email protected]
    Date: 2009-01-29 16:31:42 -0800 (Thu, 29 Jan 2009)
    Log Message:
    Externalizing strings for the flex4 project. We now produce a resource bundle swc (flex4_rb.swc) that has all of the externalized strings for the flex4 project. We include 3 new bundles: components, layout and sparkEffects for the en_US locale. Other locales will come shortly.
    QA: Yes, please doublecheck error messages are thrown with the correct error message.
    Checkintests: Pass
    Reviewer: Gordon
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/frameworks/projects/flex4/build.xml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateShaderTransition.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.a s
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ArrayInterpolator.a s
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/NumberInterpolator. as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.as
    Added Paths:
    flex/sdk/trunk/components.properties
    flex/sdk/trunk/layout.properties
    flex/sdk/trunk/sparkEffects.properties

    I have just managed to fix this problem !
    My second Strings.plist file (FR) had an absolute path. The drop down menu for path type (absolute, relative) was greyed out in the info pane of xcode so I could not change it to a relative path.
    The solution is to change it manually in the project.pbxproj file:
    If you open the file to view the source, and search for "plist", find the following line:
    /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = /Users/[YOUR-USER]/[PATH_TO_PROJECT]/fr.lproj/InfoPlist.strings; sourceTree = "<absolute>"; };
    Notice that the path attribute is the full path to the file, and that the sourceTree attribute is set to .
    Now change the path so that it's relative:
    /Users/[YOUR-USER]/[PATH_TO_PROJECT]/fr.lproj/InfoPlist.strings
    should become
    fr.lproj/InfoPlist.strings
    Also change the sourceTree value from <absolute> to <group>
    The line should now look like this:
    /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    Repeat these steps for all your localizations that are stuck with absolute paths.
    Save the file, commit the changes, and voilà! no more no such file problem

  • Connection Properties for the BI JDBC Connector

    Hi
    I am trying to configure BW 3.5 java component. In the Connection Properties for the BI JDBC Connector, there are four required properties. (UserName, Password, URL and DRIVERNAME) What should I enter for the URL and DRIVERNAME? I am using Oracle920.
    Please help,
    JW

    I found this info at
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
    Oracle is replacing the SID mechanism for identifying databases with a new services approach. This has been available in the database since 8.1.7. JDBC now supports services in the connect URL. 
    The basic format of a service URL is:
    jdbc:oracle:thin:[<user>/<password>]@//<host>[:<port>]/<service>
    jdbc:oracle:oci:[<user>/<password>]@//<host>[:<port>]/<service>
    Examples:
    jdbc:oracle:thin:@//myserver.com/customer_db
    jdbc:oracle:oci:scott/tiger@//myserver.com:5521/customer_db

  • Linq2sql Connection string for crystal report. Report requires logon

    If I take out the connection string info the report runs fine from my machine but any other user it asks for logon information so I am trying to add the connection info. The line that is not compiling is `cr1.SetDatabaseLogon(connection, cr1);`
    What am I doing wrong? Any help would be appreciated!
        private void launchReport(int pKReport)
            using (DataClasses1DataContext db = new DataClasses1DataContext())
                var query = (from s in db.expenseHdrs
                             join d in db.expenseDtls on s.rptNo equals d.rptNo
                             where s.rptNo == pKReport
                             from g in db.employees
                             join r in db.expenseHdrs on g.pk equals r.empPk
                             select new
                                 s.period,
                                 s.description,
                                 s.department,
                                 s.rptNo,
                                 s.reimbursement, g.name,
                                 d.expDate,
                                 d.expType,
                                 d.expDesc
                CrystalReport1 cr1 = new CrystalReport1();
                ConnectionInfo connection = new ConnectionInfo();
                connection.DatabaseName = "intranet";
                connection.UserID = "sa";
                connection.Password = "*****";
                cr1.SetDatabaseLogon(connection, cr1);
                cr1.SetDataSource(query);
                crystalReportViewer1.ReportSource = cr1;
    I also tried changing the code after my query to below but I still have the exact same problem as before when I didnt have the connection string credentials. On every user but myself I get the same sql server login screen and no matter what I enter it fails. I think it is due to there being no database name which it will not allow me to manually enter.
         CrystalReport1 cr1 = new CrystalReport1();
                    cr1.FileName = @"C:\Intranet\CrystalReport1.rpt";
                    ConnectionInfo connectionInfo = new ConnectionInfo();
                    connectionInfo.ServerName = "svr-sql";
                    connectionInfo.DatabaseName = "intranet";
                    connectionInfo.UserID = "sa";
                    connectionInfo.Password = "*****";
                    SetDBLogonForReport(connectionInfo, cr1);
                    cr1.SetDataSource(query);
                    crystalReportViewer1.ReportSource = cr1;
        private void SetDBLogonForReport(ConnectionInfo connectionInfo, CrystalReport reportDocument)
                Tables tables = reportDocument.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                    tableLogonInfo.ConnectionInfo = connectionInfo;
                    table.ApplyLogOnInfo(tableLogonInfo);

    The code I use is as follows:
    Dim crDatabase As Database
    Dim crTables As Tables
    Dim crTable As Table
    Dim crTableLogOnInfo As TableLogOnInfo
    Dim crConnectionInfo As ConnectionInfo
    Dim crReportDocument As ReportDocument
    CrConnectionInfo = New ConnectionInfo
    With crConnectionInfo
    .ServerName = "dbconn1"
    .DatabaseName = "Pubs"
    .UserID = "vantech"
    .Password = "vantech"
    crDatabase = crReportDocument.Database
    crTables = crDatabase.Tables
    End With
    crDatabase = crReportDocument.Database
    crTables = crDatabase.Tables
    For Each crTable In crTables
    crTableLogOnInfo = crTable.LogOnInfo
    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
    crTable.ApplyLogOnInfo(crTableLogOnInfo)
    Next
    This assumes that there are no subreports (or at least that if there are subreports, they use identical db connection info).
    My recommendation would be to test the above code with a simple test report (one table, one field). If you have subreports, you may need to set the logon for those also - depends on how the subreports are implemented. Subreport logon code would be something like this:
    Dim crSubreportDocument As ReportDocument
    crSubreportDocument = crReportDocument.OpenSubreport("Ron")
    crConnectionInfo = New ConnectionInfo
    With crConnectionInfo
    .ServerName = "Rcon1"
    .DatabaseName = "Northwind"
    .UserID = "vantech"
    .Password = "vantech"
    End With
    crDatabase = crSubreportDocument.Database
    crTables = crDatabase.Tables
    For Each crTable In crTables
    crTableLogOnInfo = crTable.LogOnInfo
    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
    crTable.ApplyLogOnInfo(crTableLogOnInfo)
    Next
    Alternatively, you could download the db logon writing utility that is attached to this KB and implement that.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • What is the database string used in the connection box for sybase-merant?

    I am using report wizard of Reports Developer 9 to create report for Sybase database. Assume the Sybase database uses the following setting:
    user: sa
    password: password
    computer IP address: 10.0.187.30
    computer host name: development
    port number: 2468
    database name: TEST01
    If I use sybase-merant (JDBC Query) as the data connection, I need to input USERNAME, PASSWORD and DATABASE at the Connection Box. What should I input for the DATABASE? I have inputted "sa" as the USERNAME and "password" as the PASSWORD. When I inputted "10.0.187.30:2468:TEST01" as the DATABASE, I got error which indicated the data source cannot be connected. I have also tried "10.0.187.30,2468:TEST01", "10.0.187.30:2468", "10.0.187.30,2468" and "10.0.187.30", but none of them worked.
    Thank you.
    - Man Ip

    Hello,
    If you go through the link, mentioned above, an entry is needed to register a JDBC-Driver for your database(sybase).
    Driver entry contains a attibute "connectString", which contain the
    connection syntax to the datbase.
    connectString = "mainProtocol:subProtocol://databaseName"
    mainProtocol and subProtocol part of the connection String are defined in config file and "databaseName" has to be mentioned in JDBC Query Connection Diloag.
    Sample databasename : database:portnumber
    Here database refer to the sybase database user want to connect and portnumber : port on which its running(it will be normally 4100 or 5000).
    Please refer the comments in file ORACLE_HOME/reports/conf/JDBCPDS.CONF for more detail.
    With Regards
    Reports team.

  • What are the username, password and connect string for Designer 6.1.1?

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    Oracle designer6.1.1
    - Date/Time
    - Browser + Version
    IE 6.0
    - O/S + Version
    Win 98
    - Error Msg
    ORA-12154:TNS:could not resolve service name.
    RME-00220:Fail to connect to repository
    These error messages were shown after I entered system, manager and internal, respectively.

    Hi YungJen Chen,
    There is no general username, password and connect string for
    Designer 6i Release 4.1.1.
    First, you install the client tools using the Installer. See also the
    Designer Installation Guide, Chapter 1, 'Client Side installation'.
    Second, you install the repository into an existing database, using
    the Designer Installation Guide, Chapter 2, 'Server-side installation,
    migration and upgrade'.
    The Installation Guide provides step by step instructions on what
    users you need to create for various purposes. Any database users
    you may need to use such as System or Sys will use the password
    given when you installed the database, or whatever passowrd you
    changed it to since.
    The Installation Guide is available as part of the download, or from
    your Windows Start Menu once the Designer client tools are installed
    or from the Designer Documentation page here on OTN.
    Hope this helps. Regards,
    Dominic Battiston
    Designer/JDeveloper Product Management

Maybe you are looking for