So I have created a datasource (MS SQL SERVER 2008) with JDBC settings using console of OBIEE 11g.
Settings
I have used “Database Type: MS SQL Server” and “Database Driver: Other”, the URL and driver class will be as follows,
jdbc:weblogic:sqlserver://IP:1433
weblogic.jdbc.sqlserver.SQLServerDriver
This connection tested fine.
I want to use this datasource in my rpd. But since my obiee is installed in linux, i can not open my repository online. Therefore, I have to create a DSN in my windows system using Datasources (ODBC). Name of DSN in my windows and DS at EM is same. So when I deploy this RPD, it deploys fine. But if i create analysis based on this, it expects an ODBC driver to be installed and throws error, Datasource name not found and no default driver specified. Which seems logical because I created the datasource in ODBC at my windows system and rpd read those settings and expects odbc. I want to use the datasource created in EM. If thats not possible, how can i resolve odbc error.
When completing an Analysis, OBI will use a connection pool to connect to the database. This connection pool will connect from your OBI server, so you need to make sure the server is capable of making the ODBC connection too and that you've set up the connection pool properly.
On your Windows machine, where you're editing the RPD, the DSN connection will only be used for the purpose of importing database objects to the physical layer of the repository – it has nothing to do with how the BI server connects to the database at runtime.
Related
I want to connect to a SQL Server database from Netsuite and then sync data to Netsuite.
Is there any way I can do it?
Here is how you can do the ODBC connection between NetSuite and your SQL server.You can do it similarly with any other SQL Server. However,Syncing the data back would require a web-service.
A linked server needs to be setup using the MS Management Studio. Below are the steps:
(MSDASQL has to be downloaded and installed piror to following the steps below if not yet preinstalled with Microsoft SQL Server Management Studio.)
Open MS SQL Management Studio and go to Server Objects > Linked Servers > Providers menu tree. Right click the MSDASQL and set these options:
Dynamic parameter
Nested Queries
Allow inprocess
Supports 'Like' operator
Right click on Linked Servers, select New Linked Server and on the General tab, set the following:
Linked Server: NETSUITE
Provider: Microsoft OLE DB Provider for ODBC Drivers
Product Name: NetSuite.com
Data Source: NetSuite.com //Copy the DSN name from ODBC Data Source
Provider String: DSN=NetSuite.com
On the Security tab, select *be made using this security context, and enter Login email and password
Try to execute SQL to test the connection
Select * from [Linked Server].[Company Name].Administrator.Accounts
Note:
This procedure is also applicable to MS SQL Server 2008.
[Company Name] is the one found at Setup > Company > Company Information > Company Name
The following table lists tasks for an ODBC driver to connect to Connect Service; however, some of these tasks are optional to complete(refer suite Answer Id: 38942)
Task
Description
Set up an environment and verify installation prerequisites.
For both Windows and Linux, see Prerequisites to verify the installation prerequisites.
Download and install the driver.
For Windows, see Downloading and Installing the ODBC Driver for Windows.For Linux, see Downloading and Installing the ODBC Driver for Linux.
Set up the ODBC connection.
For Windows, see Configuring the ODBC Data Source on Windows.For Linux, see Configuring the ODBC Data Source on Linux.
Optionally, upgrade from a previous version.
For both Windows and Linux, see Upgrading an ODBC Driver to upgrade a previous installation.
Optionally, enable authentication with server certificates.
For both Windows and Linux, see Authentication Using Server Certificates for ODBC to add increased encryption to secure the data connection.
My goal is to load data from SQL Server to MS Access table.
Informatica Server is - Red Hat Enterprise Linux 7.3
Informatica Version is - 10.2.0 Hotfix 1
MS Access Version - 2016
MS Access file location - Windows
Reading from SQL Server is no issue, but I am not able to figure out how to connect to MS Access database file that is in my local windows directory.
I created an ODBC connection in workflow manager and used dummy username and password. I am not sure if I have to use dummy credentials here either.
ODBC connection in Informatica
I created DSN in my local computer. Using the DSN, I was able to create Informatica target in mapping designer.
ODBC DSN
MS Target in Designer
When I run the wf, I get the below error. I probably need to update the ODBC.ini file in my informatica server. But I don't know what details I could use there e.g. which driver to use or other fields.
Workflow Error
Error code: -
CMN_1022 [
[DataDirect][ODBC lib] Driver Manager Message file not found. Please check for the value of InstallDir in your odbc.ini.
Database driver error...
Function Name : Connect
Database driver error...
Function Name : Connect
Database Error: Failed to connect to database using user [test] and connection string [IFRSXTRACT].]
Can someone guide me if there are any other steps to establish connection to MS Access.
I searched through all threads on the web available, but none could help me.
I am trying to connect to SQL Server engine from SQL Developer. In order to do that I enabled Named Pipes and TCP/IP from SQL Configuration Manager.
Then I tried different drivers:
I tried Microsoft JDBC driver for SQL Server - I cannot choose in connection manager SQL Server database type, so it does not work..
I tried jTDS driver instead, and it worked - I can choose SQL Server database type, but then all I get is an error informing that it cannot connect to Microsoft SQL Server on localhost (I tried localhost, name of my computer, none of which worked).
Is there anything more I can do?
EDIT
This is what I have so far:
SECOND EDIT
I had more problems:
With error saying
Status: Failur-I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property
Using windows authentication, I still got asked for username and password.
(All details and solutions in my answer below)
We only support the jTDS driver for SQL Server and Sybase ASE connections, so that's the way to go.
After that, it's up to you to get a correct connection string to your SQL Server system.
Make sure you have the right port in addition to your 'localhost' network location for your SQL Server instance.
This is using version 19.1 of SQL Developer to connect to a SQL2012 instance overseas..
Actually there were more problems, which I'll post here along with solutions:
In order to ba able to connect SQL Server database type from SQL developer it is needed to install jTDS driver, as already mentioned. Other types are not supported by SQL Developer.
Next thing was to configure with SQL Configuration Manager (the easiest way IMO) SQL Server to listen on IP port 1433, not dynamic, as was previously set. In order to do that in configuration manager I had to go to SQL Server Network Configuration and make appropriate changes. More here.
Next I had problem:
Status: Failur-I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property
Which was the fault of missing file, solution was placing file ntlmauth.dll to the /jdk/bin in SQL Developer directory.
I chose Windows authentication, which apparently is not supported by jTDS, so I needed to create user in SQL Server, which I use to connect SQL Server from SQL Developer.
After all that, I had it working.
I am trying to connect to one of my MS SQL Server databases with the Filemaker Pro ODBC driver. I am using the database service. However, whenever I try to connect to my database it sends either an error that it can't connect to the datasource or an error that the username or password is incorrect. I know the credentials I am using are correct because I can connect to my Jetbrains IDE and to the mssql library in node.js with the same credentials. Does anyone know what the problem could be? My database is running on Azure. Do any setting need to be changed in the driver based on using Azure that could cause the problem?
I am trying to open a connection to a Microsoft SQL Server, I opened the ODBC and went to the System DSN->add->selected SQL Server. However there are no SQL Servers to connect to.
This is probably a simple fix, but this is the first time I'm dealing with microsoft SQL Server
Just type in the name of the SQL Server instance you want to connect to. If it's a default instance type the servername. If it's a named instance type in servername\instancename. You'll then be able to configure the DSN as needed.
The control for list of available servers is notoriously unreliable for what is actually available/reachable.