Connection String not in
Hello:
I have a strange problem. I have an addon that using single sign on to connect to UI and DI together. I uses the connstring = System.Convert.ToString(Environment.GetCommandLineArgs().GetValue(1)); to get the connection string from UI. I can do it from Release mode(and it's not the debugging connection string, it's the real application connection string. But can't do it with the .exe inside the release fold. keeping getting the out or array index exception, which means that line didn't grab the connection string from UI (my SBO is on)Is this normal? Here's the details
I am using SBO 2005A(6.80.317) SP: 01 PL: 04. UI-API I am using is version: 6.8.0.0. DI-API I am using is 2005.0.0.0.
I am keep on thinking that it might be the wrong UI that I am using, but the fact that it connect to it in the release mode means it should be ok! So what's my problem? Thank You!
Here's my entire code:
private void setapplication()
// connect to SBO GUI application
string connstring = string.Empty;
SAPbouiCOM.SboGuiApi sboapi = new SAPbouiCOM.SboGuiApiClass();
try
connstring = System.Convert.ToString(Environment.GetCommandLineArgs().GetValue(1));
MessageBox.Show(connstring);
catch
MessageBox.Show("No connection String");
System.Environment.Exit(0);
try
sboapi.Connect(connstring);
catch(Exception ex)
MessageBox.Show(ex.Message);
System.Environment.Exit(0);
global.oapplicaiton = sboapi.GetApplication(-1);
Message was edited by: Bo Peng
Hi Bo,
If you just start the exe by itself, you have to supply the connectionstring yourself.
If the exe is started as an addon by SBO the connection string is supplied by SBO.
regard
Ad
Similar Messages
-
Connection string not in the command line argument.
Hi,
I found myself constantly looking for the debug connection string and to enter it in the "Command line arguments". I decided to create my Add-On base class from which all my add-ons inherit from.
In the constructor of the base Add-On class I determine the connection string based on whether the code is in debug more or not.
Example:
string connectionString = string.Empty;
#if DEBUG
_connectionString = "0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056";
#else
// Get the log info
if (Environment.GetCommandLineArgs().Length > 1 )
_connectionString = Environment.GetCommandLineArgs().GetValue(1).ToString();
#endif
I hope this help.
Edited by: B1Computing on Apr 5, 2011 8:20 PMHi,
I found myself constantly looking for the debug connection string and to enter it in the "Command line arguments". I decided to create my Add-On base class from which all my add-ons inherit from.
In the constructor of the base Add-On class I determine the connection string based on whether the code is in debug more or not.
Example:
string connectionString = string.Empty;
#if DEBUG
_connectionString = "0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056";
#else
// Get the log info
if (Environment.GetCommandLineArgs().Length > 1 )
_connectionString = Environment.GetCommandLineArgs().GetValue(1).ToString();
#endif
I hope this help.
Edited by: B1Computing on Apr 5, 2011 8:20 PM -
Setting substitution variable to connection string (not ODBC name)
Hi,
I havce a question regarding the use of a sub variable in SQL data loads as the data source. I find this works great when the variable is set to an existing ODBC. What I would really like to do is skip the ODBC creation step and have the substitution variable be the actual connection string, such as "Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase; Uid=myUsername;Pwd=myPassword;"
Can anyone confirm or deny whether this functionality exists? As usual, the documentation is vague on the subject and doesn't exclude the possibility, but doesn't include it, either.
Thanks!My first thought is that no, you can't do that. Even if you could, I'm not sure if you'd want to do that. The easiest way to find out is simply to try. But more than likely I think you should just have "hard-coded" values for the source/target server. If you are trying to stay with the same load rule for dev/test/prod servers, you might just be better off coming up with a naming scheme that let's you keep them all separate.
Cheers,
Jason Jones
[http://www.jasonwjones.com] -
Dynamic connection string not working in SSIS package 2008R2
I am using SSIS package for Import data from excel sheet to SQL DB. In the configuration file I'm using following variables.
Name scope DataType Value
DBName package String DB_Master
Password package String xx
UserName package String sa
ServerName package String xxx.xxx.x.xx
SqlConnectionString package String DataSource=xxx.xxx.x.xxx;UserID=sa;Provider=SQLNCLI10.1;Integrated Security=SSPI;Auto Translate=False;Initial Catalog=DB_Master;Password=xx
Right click OLEDB ConnectionManager then click properties window below values assign
ConnectionString - Initial Catalog=DB_Master;DataSource=xxx.xxx.x.xxx;UserID=sa;Provider=SQLNCLI10.1;Integrated Security=SSPI;Auto Translate=False;
DelayValidation - True
Expressions -ConnectionString - @[User::SqlConnectionString]
In SqlConnectionString variable properties window below values assign
EvaluateAsExpression -True
Expression -"DataSource=" + @[User::ServerName] + ";UserID=" + @[User::UserName] + ";Provider=SQLNCLI10.1;Integrated Security=SSPI;Auto Translate=False;Initial Catalog=" + @[User::DBName] + ";Password=" + @[User::Password]
After deploy the package file I change the DBName in SqlConnectionString DB_Master to Master but package execute the files in DB_Master.
and also if i give invalid ServerName like 198.152.1 but package executed successfully.
Please tell me where i made mistake. what's goes wrong...?
I just use variable like below link
https://anothersqlgeek.wordpress.com/2013/03/28/ssis-dynamic-connections-part-1/comment-page-1/#comment-48First see whether you've some other configurations also set inside the package for the same properties? ie direct configuration for connection manager properties.
Secondly see if its executed from a job and you're overriding the values through the job properties.
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Oracle connection string not working
Dear all,
For staging of DQC on oracle does not appear to work. SP2 admin guide offers four different ways to input server name incl:
1. server name/service name
2. FQDN/port number/sid
3. ip address/port number/sid
4 TNS entry
I've tried the first three syntax but were unsuccessful. Please suggest what syntax to use. We are on oracle 10g, NW CE7.2 with DQC SP2.
Best regards.
MohammadThanks Stephen,
It didn't connect... the message appears:
Connection Failed:Bad packet type. Bad packet type.
CDS log has following info:
ERROR com.nakisa.Logger - com.nakisa.framework.data.commandProcessor.impl.SqlServerCommandProcessor : getDataTables : Could not create a database connection. Data Element Name:
When I check the db connection with the nksadm user... it successfully logs on to oracle and shows db is in running state. Also all oracle services are up without any issue.
Our build is SP2 - 0702015700 on NW CE7.2 (no SP) and oracle 10g.
Any ideas, and thanks for the support.
Best regards -
When Adjusting PowerPivot Data Source it's not updating "Connection String" In Workbook
When going into an existing PowerPivot that already has a data connection to a MySQL database, I am having issues when trying to edit that data connection. Within the PowerPivot>Manage window, here is what my connection string looks like.
It successfully connects and I am able to refresh the data. My issue is, why when going to the Data>Connections>Custom>Properties>Definition area --- Why is the connection string not updating here? It's the same connection string from before
I modified it in the powerpivot manage window. I need it to be updated to my new connection string credentials. Here is window I'm talking about.
Any help is greatly appreciated!!!! Thank you!Tim, are you still trying to get this figured out?
Thanks!
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Changing Connection String dynamically at runtime
I am using the Crystal Report Viewer control in in a Visuall Studio 2008 C# project. The reports are created inside of Visual Studio 2008, and will be running against an InterSystems Cache database. I have to use an ODBC (RDO) connection and use a connection string.
I have seen many examples of how to update the connection string at runtime if it is SQL server (or some flavor thereof), but nothing for an ODBC (RDO) connection to a NON-MSSQL database.
The problem when I update the connection string for each of the tables in the report, the report will either not run and display a window -- tiled 'Datbase Login' -- that has the Server, Database, Username, and Password fields on the window, OR, it will run but not against the database that was specified at runtime (it uses the connection stored in the report).
Code Sample #1 (This is using the connection string, and will cause a the "Database Login" window to be displayed - the first scenario from above)
rd = new ReportDocument();
// Load the report
rd.Load(fileName, OpenReportMethod.OpenReportByDefault);
rd.Refresh();
// Create the connection object
ConnectionInfo connectionInfo = CreateConnection(Server, Port, ServerNamespace, Username, Password);
// Set the connection info on each table in the report
SetDBLogonForReport(connectionInfo, rd);
SetDBLogonForSubreports(connectionInfo, rd);
private static ConnectionInfo CreateConnection(string Server,
int Port,
string ServerNamespace,
string Username,
string Password)
ConnectionInfo connectionInfo = new ConnectionInfo();
string connString = "DRIVER=InterSystems ODBC;SERVER=" + Server
+ ";PORT=" + Port
+ ";DATABASE=" + ServerNamespace
+ ";UID=" + Username
+ ";PWD=" + Password;
connectionInfo.IntegratedSecurity = false;
connectionInfo.UserID = Username;
connectionInfo.Password = Password; //In examples that I have seen, this is the actual connection string, not just the server name
connectionInfo.ServerName = connString; connectionInfo.DatabaseName = ServerNamespace;
connectionInfo.Type = ConnectionInfoType.CRQE;
return connectionInfo;
private static void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
foreach (CrystalDecisions.CrystalReports.Engine.Table table in reportDocument.Database.Tables)
TableLogOnInfo tableLogonInfo = table.LogOnInfo;
tableLogonInfo.ConnectionInfo = connectionInfo;
table.ApplyLogOnInfo(tableLogonInfo);
private static void SetDBLogonForSubreports(ConnectionInfo connectionInfo, ReportDocument reportDocument)
foreach (Section section in reportDocument.ReportDefinition.Sections)
foreach (ReportObject reportObject in section.ReportObjects)
if (reportObject.Kind == ReportObjectKind.SubreportObject)
SubreportObject subreportObject = (SubreportObject)reportObject;
ReportDocument subReportDocument = subreportObject.OpenSubreport(subreportObject.SubreportName);
SetDBLogonForReport(connectionInfo, subReportDocument);
Sample #2 (the same as Sample #1 above, only the ConnectionInfo method is different - which is all that I included here)
private static ConnectionInfo CreateConnection(string Server,
int Port,
string ServerNamespace,
string Username,
string Password)
ConnectionInfo connectionInfo = new ConnectionInfo();
string connString = "DRIVER=InterSystems ODBC;SERVER=" + Server
+ ";PORT=" + Port
+ ";DATABASE=" + ServerNamespace
+ ";UID=" + Username
+ ";PWD=" + Password;
connectionInfo.Attributes.Collection.Add(new NameValuePair2(
DbConnectionAttributes.CONNINFO_DATABASE_DLL, DbConnectionAttributes.DATABASE_DLL_CRDB_ODBC));
connectionInfo.Attributes.Collection.Add(new NameValuePair2(
DbConnectionAttributes.QE_DATABASE_NAME, ServerNamespace));
connectionInfo.Attributes.Collection.Add(new NameValuePair2(
"QE_DatabaseType", "ODBC (RDO)"));
DbConnectionAttributes attributes = new DbConnectionAttributes();
attributes.Collection.Add(new NameValuePair2(
DbConnectionAttributes.CONNINFO_CONNECTION_STRING, connString));
attributes.Collection.Add(new NameValuePair2(
"Server", Server));
attributes.Collection.Add(new NameValuePair2(
"UseDSNProperties", false));
connectionInfo.Attributes.Collection.Add(new NameValuePair2
( DbConnectionAttributes.QE_LOGON_PROPERTIES, attributes));
connectionInfo.Attributes.Collection.Add(new NameValuePair2(
DbConnectionAttributes.QE_SERVER_DESCRIPTION, Server));
connectionInfo.Attributes.Collection.Add(new NameValuePair2(
"QE_SQLDB", true));
connectionInfo.Attributes.Collection.Add(new NameValuePair2(
DbConnectionAttributes.CONNINFO_SSO_ENABLED, false));
connectionInfo.IntegratedSecurity = false;
connectionInfo.UserID = Username;
connectionInfo.Password = Password;
connectionInfo.ServerName = connString;
connectionInfo.DatabaseName = ServerNamespace;
connectionInfo.Type = ConnectionInfoType.CRQE;
return connectionInfo;
I have also tried setting connectionInfo.ServerName equal to just the real server name, but that didn't work either.
After the above operations are performed, I simply assign the returned ReportDocument object to the Crystal Viewer control. If I don't call the above functions, and just set the ReportDocument source (using whatever connection string was embedded in the report originally), the report runs as expected. Only when I attempt to update the connection string, the report will not execute. Please advise. Thanks!I am using the Crystal Report Viewer control in in a Visuall Studio 2008 C# project. The reports are created inside of Visual Studio 2008, and will be running against an InterSystems Cache database. I have to use an ODBC (RDO) connection and use a connection string.
I have seen many examples of how to update the connection string at runtime if it is SQL server (or some flavor thereof), but nothing for an ODBC (RDO) connection to a NON-MSSQL database.
The problem when I update the connection string for each of the tables in the report, the report will either not run and display a window -- titled 'Datbase Login' -- that has the Server, Database, Username, and Password fields on the window, OR, it will run but not against the database that was specified at runtime (it uses the connection stored in the report).
Code Sample #1 (This is using the connection string, and will cause a the "Database Login" window to be displayed - the first scenario from above) -- The code samples appear to be too long to post, so I will add them as seperate replies.
rd = new ReportDocument();
// Load the report
rd.Load(fileName, OpenReportMethod.OpenReportByDefault);
rd.Refresh();
// Create the connection object
ConnectionInfo connectionInfo = CreateConnection(Server, Port, ServerNamespace, Username, Password);
// Set the connection info on each table in the report
SetDBLogonForReport(connectionInfo, rd);
SetDBLogonForSubreports(connectionInfo, rd);
private static ConnectionInfo CreateConnection(string Server, int Port, string ServerNamespace, string Username, string Password)
ConnectionInfo connectionInfo = new ConnectionInfo();
string connString = "DRIVER=InterSystems ODBC;SERVER=" + Server + ";PORT=" + Port + ";DATABASE=" + ServerNamespace + ";UID=" + Username + ";PWD=" + Password;
connectionInfo.IntegratedSecurity = false;
connectionInfo.UserID = Username;
connectionInfo.Password = Password; //In examples that I have seen, this is the actual connection string, not just the server name
connectionInfo.ServerName = connString; connectionInfo.DatabaseName = ServerNamespace;
connectionInfo.Type = ConnectionInfoType.CRQE;
return connectionInfo;
// Code smple continued in the next reply -
Query engine : Can not find DSN in Connection String
DearSir/Madam,
Opearating System Windows 7 Professional(32-bit).
I am using Application, which is developed : Visual basic 6.0(32-bit), Report Writer : Crystal Report 9.2.693(32-bit) and database: Oracle 9.2.0.10(32-bit).
ODBC Data source : System DSN created and Connection established (Based on Driver : CR ORACLE ODBC Driver 4.10 (cror818.dll))
In windows 7 environment Data Base connectivity and data fetching also wroking fine.
My problem is while running reports it display error as "Query engine : Can not find DSN in Connection String"
I want run time reports.
For your kind information, at the same time in Windows XP Professional there is no problem found and working fine.
Kindly help me.
Thanks and regards,
SwarupCrystal Reports 9.x is not supported on Win 7. See the following wiki:
http://wiki.sdn.sap.com/wiki/x/b4JiAw
- Ludek -
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,
ShazaThanks 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. -
ORA-01034: ORACLE not available when connect with connect string
Hi,
Database version is- 10.1.0.5.0 on Veritas Cluster, We are able to connect without giving connect string. but when we provide connect string as orcl it gives
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
when we do tnsping it works
$ tnsping orcl
TNS Ping Utility for Linux: Version 10.1.0.5.0 - Production on 08-MAY-2013 15:00:40
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
/D01/OIDTEST/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl.test.com)))
OK (0 msec)
tnsnames.ora entry :-
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.test.com)
listener.ora entry:-
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = orcl.test.com)
(ORACLE_HOME = /D01/OID)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
listener log contains
08-MAY-2013 14:47:03 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl.test.com)(CID=(PROGRAM=sqlplus)(HOST=physical_hostname)(USER=oraprod))) * (ADDRESS=(PROTOCOL=tcp)(HOST=xx.yy.zz.xx)(PORT=63969)) * establish * orcl.test.com * 0
08-MAY-2013 14:50:49 * ping * 0
08-MAY-2013 14:51:21 * 12502
TNS-12502: TNS:listener received no CONNECT_DATA from client
WARNING: Subscription for node down event still pending
08-MAY-2013 14:51:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=physical_hostname)(USER=oraprod))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168822016)) * status * 0
can you please advice.
Thanks
Edited by: user10702579 on May 8, 2013 11:09 AMHi,
lsnrctl services
LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 09-MAY-2013 08:26:47
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cluster_hostname.test.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
$
Thanks -
WorkflowCA: TNS Connection String format not recognised
When I launch the scripts /wfinstall.csh, I get following error message:
[oracle@blmcqb install]$ Workflow Configuration Assistant - Linux
4
Parameter "wfdir" = /oracle/product/10.2.0/MPROD/wf
Parameter "orahome" = /oracle/product/10.2.0/MPROD
WorkflowCA: /oracle/product/10.2.0/MPROD/wf/install/workflow.log
WorkflowCA:
WorkflowCA: Workflow Configuration in progress...
WorkflowCA: Thu Mar 08 14:51:26 EST 2007
WorkflowCA:
WorkflowCA: Screen width -1024-, screen height -768-
WorkflowCA: TNS Connection String format not recognised
WorkflowCA:
WorkflowCA: Graphics User Interface mode
WorkflowCA:
WorkflowCA: Thu Mar 08 14:51:58 EST 2007
WorkflowCA: Invalid connect methodTWO_TASK=]
WorkflowCA: Terminating..
However, I can access the database without any problem:
[oracle@blmcqb install]$ tnsping OWBLAB
TNS Ping Utility for Linux: Version 10.2.0.3.0 - Production on 08-MAR-2007 15:01:24
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = blmcqb)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = OWBLAB)))
OK (0 msec)
[oracle@blmcqb install]$ sqlplus sys/rootpasswd@owblab as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Thu Mar 8 15:02:05 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> select name, open_mode from v$database;
NAME OPEN_MODE
OWBLAB READ WRITE
Does any expert has any idea?I got the same error. Then I gave whole string to ./wfinstall and then the Installation pass ok!
Like: (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = rubik.my.domain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = rubikdb.my.domain)))
Best Regards Antti -
HTTP Connection to ABAP System - Query String Not Allowed message
Hi All,
We are trying to create HTTP Connection to ABAP System on a SAP ECC system.
Following entries are added
1 Connection Type: H
2 Target Host: Host name
3 Service Number: HTTP Port name
4 Path Prefix: /sap/XI/engine/?type=entry
It is not allowing me to enter Path prefix as "/sap/XI/engine/?type=entry". It is throwing a warning message as "Query String Not Allowed message".
As per the documentation it is mentioned that -<b> If the system displays the Query String Not Allowed message, you can ignore it.</b>
It is not allowing me to save the entries succesfully . I need to remove the path refix entry then only i am able to save other wise it is not allowing me to proceed at all.
Please let me know what entry i can put for the same or let me know how can i ignore and proceed by saving the path prefix as "/sap/XI/engine/?type=entry".
Please provide your valuable help on this.
Regards,
NandaHi Aamir ,
Thanks for the response.
Tried both but still same issue .
Any more inputs .
Cheers,
Nanda -
Load balance not working right with jdbc connection string?
For months we've used the following connection string to get Tomcat to open connections to our Oracle 10g RAC:
jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST
= db1vip) (PORT = 1521)) (ADDRESS = (PROTOCOL = TCP) (HOST = db2vip)
(PORT = 1521)) (LOAD_BALANCE = yes) (CONNECT_DATA = (SERVER = DEDICATED)
(SERVICE_NAME = orcl) (PREFER_LEAST_LOADED_NODE_ORCL = OFF) ) )
Today, db2 became inaccessible during prime time, and the web app completely hung--when you tried to type in a username and password to log into the site, it would just hang indefinitely, and the Tomcat log files were complaining about being unable to open a connection to the database because of a network adapter error.
I would have expected the JDBC driver Tomcat was using to just switch to the other database server, but none of our Tomcat machines did that, and I'm wondering why (they all just hung trying to connect to db2). Our guess is that the difference this time is not that Oracle was down on db2, but that db2 was down entirely. Maybe that connection string works only if the server is up when the database is down, and not when the server is unreachable (we couldn't SSH to the box, and when we tried to get to it locally using a remote access card, a lot of options were grayed out and we couldn't see a shell, so all we could do was reset the box).Hi,
Please refer to the link below:
SCOM 2012 – Monitoring Oracle Database OLE DB Management Pack Template
http://stefanroth.net/2012/12/05/scom-2012-monitoring-oracle-database-ole-db-management-pack-template/
Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Not all the connect strings are shown from tnsnames.ora
Hi Guys,
I am having a very strange problem. While trying to create a new connection in SQL Developer (I am using Version 1.1.2.25), and choosing " TNS " as connection type, I am just able to see 15-20 database entries, where my tnsnsames.ora contains more than 100 entries. And these 15-20 connect strings seem to have been picked randomly. So its like I am seeing the 1st entry, 4-8th entry, 20-24th entry from the tnsnames.ora.
Any idea what needs to be done?
ThanksmHi there,
I found what was wrong and would like to update it for the benefit of others. The tnsnames.ora was read upto all the entries which was in correct format. All the entries after the first incorrect entry was being ignored.
E.g. if you tnsnames.ora is having 100 entries and entry number 50 is in wrong format, then SQLDEVELOPER will only show entries upto 49. Entry 50th onwards will not be shown.
Hope this helps.
Ashish -
Powerpivot data connection will not save the password
I'm trying to create a Powerpivot workbook with data that users can refresh themselves before analysis. We don't have Powerpivot data refresh in Sharepoint active, so I can't make use of that service.
When I create a Powerpivot data connection to SQL server using SQL Server Authentication (unchanging read-only username and password), and checking the box to save the password, the connection works fine for refreshing the data as long as I leave the workbook
open.
If I close the file and re-open it, the password is gone from the data connection and the user cannot refresh the data.
I've tried configuring the data connection with the SQL native client provider and the SQL OLEDB provider and I see exactly the same results.
The connection string gets built with Persist Security Info=True and the Password shows up as hidden text (dots). It stays this way through refreshes as long as the workbook is open. However, once I close the file and re-open it, the
connection string no longer has the Password parameter listed at all, not even as hidden text. Persist Security Info is still there and set to True. As might be expected, the connection string does not have the information needed to access the
SQL Server instance.
This type of connection string using SQL Server Authentication still works fine with the password saved when used directly as an Excel data connection, or when used as a data source in Reporting Services. It's only Powerpivot where the password gets
blown away.
Is there a workaround for this issue?Thanks Jaynet.
Unfortunately, the procedure described in the link you provided does not work for PowerPivot, at least in Excel 2010.
If I create the PowerPivot data connection using "From Database/From SQL Server" there is no option to "Allow saving password". There is only the checkbox to "Save my password". There is an "Advanced" button that allows you to set many additional
properties of the data connection, but there is nothing like allow saving password.
If I create the PowerPivot data connection using "From Other Sources/Others (OLEDB/ODBC)" and then click the "Build" button, I get a dialog that is pretty close to the one in your link. For the Provider tab, I can choose either the Microsoft OLE DB
Provider for SQL Server or the SQL Server Native Client 10.0. In the connection tab I do have the "Allow saving password" checkbox. I check this and complete the rest of the data connection configuration. After I save the file with this data
connection and then re-open it, the data will not refresh. If I edit the existing connection from the PowerPivot design tab, the Password parameter is completely missing from the connection string. If I go back into the connection string builder,
there is nothing in the password field (not even dots) and allow saving password is no longer checked.
I've even tried creating my own connection string in Notepad and pasting it into the connection string box (definitely including Persist Security Info=True). This does not work either and PowerPivot erases the entire Password parameter just the same
as if I had used the builder and checked Allow saving password.
I'm beginning to think that the previous poster, David Hager, has it right. This may be a bug introduced with the latest version of PowerPivot. If there is no workaround, it is a total pain for me.
Mike Paulonis
Maybe you are looking for
-
Invoice Report / Billing List
Hi gyes, Pl provide me the transaction code (other than VF05,VF23, VF03, J1I2) to get the invoice/billing list OR sales register. My minimum requirement is to have the basic sales report with - Date, Invoice Doc No., Name of the Customer, Material, Q
-
Is there any way of adding a different search engine ?.
Have just downloaded Safari to give it a try. One of the first things I tried was changing the default search engine to Yahoo UK (easy in Firefox). Bt it looks as if you can't add new search engines to the three provided. Am I wrong (hope so) ? Eddie
-
BT Broadband problem (Dumfries)
Hi Im posting from Dumfries,i have a problem with broadband since yesterday.i have bt home hub 2.0 and only icon what is displaying on hub is power icon and wireless icon.broadband and phone icon doesnt flash.it's stays like that since yesterday,my n
-
Reporting Services with out national character after export to PDF
I have problem with exported report to PDF(sended by job)on some devices(pc, mobile, tablets),i dont see any text correctly, only undefinied symbols, problem only exists on exported reports, on SSRS by WEB looks correctly, WIN 2008 R2 (eng) SQL 2008
-
Why won't mail verify my account?
Ever since i had my ipad i have never being able to set up mail on it and its really annoyng. it just comes up with we cant verify your account. The account was made back in 2005 but i dont see why it matters how old it is. I dont want to have to mak