SQL Server 2005 OWB Source
Hello All
Iam using OWB 10Gr2 on the win2003 box. we have a source in MS Sql server 2005. I followed some documents and modified the below files as required.
Sql server,Oracle database and OWB are on same server. Sql services are running fine and the ODBC is tested sucessfully. Database and OWB are also running perfectly.
1. Created an ODBC pointing to the sql server in control panel by name SQLODBC.
2. Modified the tns file entry as follows
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.101.3.14)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
SQLODBC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.101.3.14)(PORT = 1521))
(CONNECT_DATA =
(SID = SQLODBC)
(HS = OK)
3. Modified Lisiner.ora file as follows
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = SQLODBC)
(ORACLE_HOME= C:\oracle\product\10.2.0\db_1)
(PROGRAM = hsodbc)
4. from the (C:\oracle\product\10.2.0\db_1\hs\admin) i renamed the inithsodbc to initSQLODBC.ora and modified the connects as follows
# HS init parameters
HS_FDS_CONNECT_INFO = SQLODBC
HS_FDS_TRACE_LEVEL = 4
After this above 4 steps i tested the lisitner
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
C:\Documents and Settings\Administrator> lsnrctl status SQLODBC
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-APR-2011 08:24
:34
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.101.3.14)(PORT=1521))
(CONNECT_DATA=(SID=SQLODBC)(HS=OK)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 24-APR-2011 06:50:54
Uptime 1 days 1 hr. 33 min. 41 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.o
ra
Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=wlsuresh.uae.radil.loc)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "SQLODBC" has 1 instance(s).
Instance "SQLODBC", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
When iam trying to create an new module under OWB-Non oracle-ODBC it is throwing error.
Iam passing user id and password in double quotes. when iam trying to browse schemas it is throwing the following error
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set. Please set it in init<orasid>.ora file.
ORA-02063: preceding 2 lines from OWB_106
Kind and quick help is highly appreciated.
Thx & reg
S.Gyazuddin
Hello David
After doing some changes iam able to ping my DNS entry which i did in TNSNAMES>ORA file.
when i try to create DB link using the blow command and testing the link it is throwing error
create database link testingMSQL connect to SA identified by SA using 'SQLODBC';
+++++++++++++++++ERROR++++++++++++++
ora-12505 TNS lisitner does not currently know of SID given in connect discriptor
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
My lisitner.oar file is as follows
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(SID_DESC=
(SID_NAME=SQLODBC)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM=hsodbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = wlsuresh.uae.radil.loc)(PORT = 1521))
Reg
S.gyazuddin
Similar Messages
-
How to Select from Oracle 8i database and insert into Sql Server 2005 datab
Hi how to Select from Oracle 8i and insert into Sql Server 2005.
Source db as Oracle 8i
Target db as Sql Server 2005.
I need to select one table data from Oracle 8i & insert into Sql Server 2005
ThanksThanks Khan..
Is there is any query (OPENQUERY) available for that?
Regards.. -
ODBC Drivers for SQL Server 2005 on AIX for OWB connect
Hi All -
I have a problem whereby I am trying to connect OWB with SQL Server 2005. The problem statement follows: -
Infrastructure: -
OWB Server installed on AIX
Oracle Installed on AIX
SQL Server 2005 source on Windows
OWB Client on windows XP
My problem is: -
I am trying to connect OWB with SQL Server 2005 for which I have to create heterogenous source entry in Oracle home. But AIX box does not have any ODBC drivers installed and hence I can not configure a DSN on the same. Can any one suggest where can I get these drivers and their installation steps.
Thanks in advance!
Arun
Edited by: Uni.... on Jun 2, 2009 10:50 PMI was not able to find DG4ODBC anywhere.
Somehow I managed to get a copy of Data Drivers from Data Direct and configured ODBC.INI file as below: -
ODBC Data Sources
DB2 Wire Protocol=DataDirect 6.0 DB2 Wire Protocol
Informix Wire Protocol=DataDirect 6.0 Informix Wire Protocol
Oracle Wire Protocol=DataDirect 6.0 Oracle Wire Protocol
Sybase Wire Protocol=DataDirect 6.0 Sybase Wire Protocol
Teradata=DataDirect 6.0 Teradata
SQLServer Wire Protocol=DataDirect 6.0 SQL Server Wire Protocol
MySQL Wire Protocol=DataDirect 6.0 MySQL Wire Protocol
PostgreSQL Wire Protocol=DataDirect 6.0 PostgreSQL Wire Protocol
Greenplum Wire Protocol=DataDirect 6.0 Greenplum Wire Protocol
ODBC
IANAAppCodePage=4
InstallDir=/u01/app/ODBC
Trace=0
TraceFile=odbctrace.out
TraceDll=/u01/app/ODBC/lib/odbctrac.so
AMS
Driver=/u01/app/ODBC/lib/ddmsss24.so
Description=DataDirect 6.0 SQL Server Wire Protocol
Address=10.240.20.154,1433
Database=AMS
My TNSName.Ora file is shown below: -
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10/db/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DWHDEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = aixdevdb2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DWHDEV)
AMS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.240.20.154)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = AMS)
(HS = OK)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Listener.Ora file is as below: -
# listener.ora Network Configuration File: /u01/app/oracle/product/10/db/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10/db)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = AMS)
(ORACLE_HOME = /u01/app/oracle/product/10/db)
(PROGRAM = hsodbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = aixdevdb2)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
INITHSODBC file for this source is initAMS.ora is configured as: -
HS_FDS_CONNECT_INFO = AMS
HS_FDS_TRACE_LEVEL = 4
HS_FDS_TRACE_FILE_NAME = /u01/app/ODBC/log.log
HS_DB_NAME = MSSQL
HS_FDS_SHAREABLE_NAME = /u01/app/ODBC/lib/odbc.so
# ODBC specific environment variables
#set ODBCINI= /u01/app/ODBC/odbc.ini
I have tested the DSN created in ODBC.INI file using example appplication that comes by default with datadirect drivers and that is connecting to database and fetching data as per query supplied, but when I am trying to create connecting from OWB to SQL Server it is failing with following error: -
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from OWB_188
Even database link is giving same error message.
I have followed all the steps which are necessary to configure Heterogeneous connectiviyt including restarting listener, but no luck.
Any comments -
Oracle Source TO MS SQL Server 2005 Target
Hi there,
I need to extract data from my Oracle DW and push it into a dependant system's Microsoft SQL Server 2005 DB.
Could someone PLEASE give me some pointers?
Oracle DB 10.2.0.4.0
OWB 10.2.0.1
Thanx!
Edited by: Gun77 on 2009/08/12 8:48 AMHi Gun77 !
As i knew, ODBC Generic Connectivity Agent is an API which use for connect other RDBMS. Don't care cost because it's free.
In other way, u can use Oracle Generic Connectivity Agent to any DB (SQL server, MySQL,…)
Download the orajdbclink_o2a.zip (oracle-to-any) file:
http://sourceforge.net/project/showfiles.php?group_id=205664
u can see detail in this link:
http://duykhanh.wordpress.com/2009/08/05/oracle-dblink-to-any-db-sql-server-mysql%E2%80%A6/
Hope good for you!
KhanhND (ZyK) -
SQL Server 2005 DB as a source system connection
Dear all,
We are planning to connect SQL server 2005 DB as one of the source system connection in RSA1.
Please let me know how to do and if procedure/steps doc for the same.
please do the needful. Thanks in advance.
Regards,
Mohankumar.GHi Mohan,
You can use DB connect method...
Please find following for the same.
https://wiki.sdn.sap.com/wiki/display/BI/DB+Connect
Regards,
Mahesh -
Cannot set up data source for SQL Server 2005
Is it possible to use Microsoft's Beta 2 version of the SQL Server 2005 JDBC driver with WebLogic 9.0? I've downloaded the driver and added it to my server classpath, but when I try to create a new data source using the admin console, the drop-down list for Microsoft SQL Server only contains drivers for the 2000 version. If I select "Other" from the list and try to move on, I get a cryptic, page-long error on the admin console. If I just select the 2000 driver and try to manually modify the parameters on the next set of screens, I still get errors when I try to test the configuration. I've successfully used a third-party driver before, but this one does not seem to be working. Any help would be greatly appreciated.
Regards,
SabrinaSabrinaL wrote:
Is it possible to use Microsoft's Beta 2 version of the SQL Server 2005 JDBC driver with WebLogic 9.0? I've downloaded the driver and added it to my server classpath, but when I try to create a new data source using the admin console, the drop-down list for Microsoft SQL Server only contains drivers for the 2000 version. If I select "Other" from the list and try to move on, I get a cryptic, page-long error on the admin console. If I just select the 2000 driver and try to manually modify the parameters
on the next set of screens, I still get errors when I try to test the configuration. I've successfully used a third-party driver before, but this one does not seem to be working. Any help would be greatly appreciated.
Regards,
SabrinaHere I describe the steps I took to bypass the console in making a new pool.
1 - Edit the script %DOMAIN_HOME%\bin\startWebLogic.cmd to add a line like this:
set CLASSPATH=%CLASSPATH%;\new_ms_driver\beta2\sqljdbc_1.0\enu\sqljdbc.jar
In other words, you have to explicitly add a third party driver's classes to
the CLASSPATH that will be in effect for the server. Just adding the driver
to your window's class path will do nothing.
2 - Go to the directory %DOMAIN_HOME%\config\jdbc, where you will find
files of the name *-jdbc.xml. Each of these represents a DataSource.
Copy one of them, perhaps either examples-demo-jdbc.xml, or
examples-demoXA-jdbc.xml depending on whether you want to make an XA
or non-XA pool. Make you new file's name like the name of the DataSource,
still ending in -jdbc.xml. Eg: MS_Beta-jdbc.xml
3 - Edit this file to change as much as would be clear for the
driver you want. Eg: change the driver class to the class you want,
the user name, URL, test table etc. Also, change the pool's initial
capacity to 0. This is so the pool can be created without making a
connection. We need that because the password is encrypted, and
there is no manual way for you to add the correct one yet.
4 - go one directory up, and edit the config.xml. Find a
jdbc-system-resource entry corresponding to the original
resource file you copied. Make a new entry in the config file,
like the original, but change the Datasource name to your new one.
5 - If this all went well, reboot your server and go to your data
source in the console, and edit it. Alter the password to what it
really should be, and you can also change whatever else you might
want.
6 - shut down again, and reboot, and you should then be able to go to
your data source in the console and test a connection.
That's it. Here is an example of a jdbc.xml file I made, and
the entry I made in the config.xml:
config/jdbc/newpool-jdbc.xml:
<?xml version='1.0' encoding='UTF-8'?>
<jdbc-data-source xmlns="http://www.bea.com/ns/weblogic/90" xmlns:sec="http://www.bea.com/ns/weblogic/90/security"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/domain.xsd">
<name>newpool</name>
<jdbc-driver-params>
<url>jdbc:sqlserver://frogger:1433</url>
<driver-name>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-name>
<properties>
<property>
<name>user</name>
<value>joe</value>
</property>
</properties>
<password-encrypted>{3DES}cPpx2Z6faqY=</password-encrypted>
</jdbc-driver-params>
<jdbc-connection-pool-params>
<initial-capacity>1</initial-capacity>
<max-capacity>5</max-capacity>
<capacity-increment>1</capacity-increment>
<shrink-frequency-seconds>900</shrink-frequency-seconds>
<test-connections-on-reserve>true</test-connections-on-reserve>
<test-table-name>SQL select 1</test-table-name>
<profile-type>0</profile-type>
</jdbc-connection-pool-params>
<jdbc-data-source-params>
<jndi-name>newpool</jndi-name>
<global-transactions-protocol>TwoPhaseCommit</global-transactions-protocol>
</jdbc-data-source-params>
<jdbc-xa-params></jdbc-xa-params>
</jdbc-data-source>
config.xml entry:
<jdbc-system-resource>
<name>newpool</name>
<target>examplesServer</target>
<descriptor-file-name>jdbc/newpool-jdbc.xml</descriptor-file-name>
</jdbc-system-resource> -
Creating Sql Server 2005 External Data Source
Hey guys, I'm trying to connect to an SQL Server 2005 database directly from the BAM external Data Source.
I have the driver name and the connection string, login and password. I also have the driver, but BAM doesn't seem to have a "drivers" folder. So when I try to connect, I get:
BAM-00008: Invalid Oracle driver name
Source: "java.lang.ClasssNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver" ID: "InvalidOracleDriverName"
Has anyone done this before? Am I only allowed to connect to an Oracle Database from BAM? Thanx!Hi,
I use BAM with SQL Server External Data Source and works fine.
In the Architect set this parameters on conection with SQL Server (EXTERNAL DATA SOURCE):
Driver: SQL Server
Connection string / URL: SERVER=<host>;DATABASE=<name_db>;
<host> = ip or name of the server
<name_db> = name of the database on the SQL Server
I use BAM 10.1.3.3.0 with SQL Server 2005
Regards -
OWB 11.0.0.7 and SQL SERver 2005
We did search quite a bit but couldnt get this working...
We are using OWB 11.1.0.7 64bit on Windows 2003 Server 64bit R2
We have to pull data from a SQl Server database – SQL SERVER 2005 64 bit on Windows 2008 R2 64 bit
WE followed the procedures given in Oracle documentation –
1. creating a ODBC DSN connection
2. creating a init ora file for that connection
3. creating a listener
We tried with both HSODBC and DG4ODBC... We can connect to SQL server through OWB...the connection is successful but I cannot import the tables into OWB. It simply hangs forever. (in the init ora file we have put the HS_FDS_SUPPORT_STATISTICS=FALSE) We have to pull data from SQL server on an ongoing basis. However we found a workaround – we can create a remote link to the SQL server database by creating an entry in the tnsnames. However this connection is very slow – we have to pull thousands of records on daily basis. IT takes quite some time to do this. We have tried different combinations after Goodling.
Could you shed some light on this? Is it a bug in OWB 11.1 that we cannot connect to SQL Serer or are we missing something? Will it be ok if we go for 11.2?Be wary about the differences between initialization settings for generic ODBC vs specific SQLServer gateway, they are different.
http://download.oracle.com/docs/cd/B28359_01/gateways.111/b31049/apd.htm#BABHEBCE
The installation guide has details in the SQLServer section for when the SQLServer gateway is used that you should follow (specifically under configuring SQL Server Views for Data Dictionary support - needed for importing tables definitions into OWB when you use SQLServer gateway);
http://download.oracle.com/docs/cd/B28359_01/gateways.111/b31042/toc.htm
If you have an existing database link this can be used in OWB. When importing the tables you need to be aware that if it is a SQLServer gateway you will need to configure the SQLServer instance as in the gateway doc above). Just because you can query table data does not mean the gateway is configured properly.
Cheers
David -
Data Source creation with SQL Server 2005
Hi,
I would like to create datasource for sql server 2005 in Visual Administrator.
Please provide the steps and required jar files for datasource creation.
Thanks
BobbyHi Bobby,
You can find the required details in the below link..
/thread/46653 [original link is broken]
Hope this helps.
Kiran.. -
Unable to Access SQL Server 2005 Remotedly
Not sure if this is the right forum to post this...
After going through lot of old posts in various forums and changing lot of settings, i'm still not able to access my Server remotely.
This is Windows 2003 Server machine with Sonicwall Firewall, i have allowed Port 1433 in both Firewall and ISA and call is getting through but i'm getting following error msg :-
{"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"}
This machine is also having Sql Server 2000, and the SQL Server 2005 is installed with named instance.
My connection string is :-
"Data Source=192.168.0.1\MYSERVER;Initial Catalog=MyDatabase;Integrated Security=True"
In example above, i'm showing dummy values but actual string is having the actual live IP address and correct named instance and database.
If i use a local address like 192.168.0.1 then i'm able to connect.
My TCP/IP Address in Sql configuration is having my Live IP Address and the port 1433.
Any help will be highly appreciable..i'm still checking on this. i have changed the port now to 1434 and changed in all places.
my connection string is also changed now, so now i'm using :- MYIP\MYSERVER,1434
now i'm getting a different error msg
{"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)"}
this can also be due to firewall or something else is blocking it, i will rechk n post back final answer. -
SSO in Microsoft Application, SQL Server 2005 & OBIEE 11g
Dear Gurus,
Any experienced how to enable SSO(Single Sign On) in OBIEE 11g, when the application platform is microsoft instead of Oracle EBS and the data source from SQL server 2005?
I am new on this.
Any help will be appreciated
Regards
JOEHi,
Try below link
http://sranka.wordpress.com/2008/06/06/enabling-sso-authentication-for-obiee/
http://gellio.wordpress.com/2009/10/23/enabling-oracle-single-sign-on-osso-with-obiee/
OBIEE, OAS, OID, SSO Integration
http://sranka.wordpress.com/2008/06/06/enabling-sso-authentication-for-obiee/
http://www.addidici.com/blog/?p=8
http://download.oracle.com/docs/cd/E12096_01/books/AnyDeploy/AnyDeploySSO3.html
Check the security guide here,
http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10543/sso.htm#CEGJJFED
Hope thsi help's
Thanks
Satya -
Error"Failed to open the connection" - Named Instance of SQL Server 2005
"Failed to open the connection" error, when connecting to the Named Instance of SQL Server 2005
The report is throwing error, when changing the logon information dynamically through C#.
Code
string reportPath = @"D:\NET\TestReport\TestReport.rpt";
ReportDocument reportDocument = new ReportDocument();
reportDocument.Load(reportPath);
foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables)
TableLogOnInfo tableLogonInfo = table.LogOnInfo;
tableLogonInfo.ConnectionInfo.ServerName = @"TestServer\Instance1"; //Connnecting to Named instance of SQL Server 2005
tableLogonInfo.ConnectionInfo.UserID = "sa";
tableLogonInfo.ConnectionInfo.Password = "password";
tableLogonInfo.ConnectionInfo.DatabaseName = "TEST_DB";
table.ApplyLogOnInfo(tableLogonInfo);
crystalReportViewer1.ReportSource = reportDocument;
Error Message
Failed to open the connection.
Failed to open the connection.
C:\DOCUME1\PUGALE1\LOCALS~1\Temp\{DF9593A5-5C80-4CBC-ABC3-EC4EF204A7EB}.rpt
The error is occuring only whenever i am connecting to the Named Instance of SQL Server 2005.
Thanks in Advance
Edited by: pugalendran p on Feb 2, 2009 10:32 AM
Edited by: pugalendran p on Feb 2, 2009 10:43 AMHi,
Following solution might help you to resolve the issue.
Solution1:
Issue happens because universe connection to the Database is not responding and the Data Source Name is not configured to write SQL Server 2005 database.
Resolution
Created new DSN connection under SYSTEM DSN to SQL Server 2005 Database.
Import the universe from the designer.
Go to File->Parameters.
Edit Connection.
On the Database Middleware Page expand SQl Server 2005->Select SQL Server 2005 driver.
Change the DSN to new DSN connection
Test the connection.
Save the Universe and Export it to the repository.
Solution2:
I am taking Oracle as an example over here.
This can be caused when the SQLNET.ora is located in a remote location using mapped drives.
Resolution
To resolve,
check the registry [HKLM\SOFTWARE\ORACLE] you should see a folder called HOME0
look for any paths that contain a mapped drive partition
Change the mapped drive letter to a UNC path (
server\folder)
Open a command prompt and do a tnsping using the tnsname and verify the location of the SQLNET.ora or TNSNAMES.ora
If the path is not updated to the new path
Reboot the server
Regards,
Sarbhjeet Kaur -
Connect to SQL server 2005 in web dynpro java
Hi,
I am new to web dynpro. I want to coonect to SQL server 2005 server from my simple application.
For that what and all the prerequisetion and what and all the steps to follow.
I have created a database and the table too. I have created the application too. But i am not able to connect to sql. what might be the problem. I tried to create the data source in visual administration. and written code in the view like this.
try {
String userName = "jktuser";
String password = "jkt12345";
String url ="jdbc:microsoft:sqlserver://jktr3:50000;database=student";
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver ").newInstance();
Connection con =DriverManager.getConnection(url, userName, password);
System.out.println("Database connection established");
Statement st = con.createStatement();
String str = "select * from studentdata";
ResultSet rs = st.executeQuery(str);
while (rs.next()) {
String str1 = rs.getString(1);
wdComponentAPI.getMessageManager().reportSuccess(str1);
String str2 = rs.getString(2);
wdComponentAPI.getMessageManager().reportSuccess(str2);
wdComponentAPI.getMessageManager().reportSuccess("sukces");
} catch (Exception e) {
wdComponentAPI.getMessageManager().reportWarning(e.toString());
And i am getting this error
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read.
Plz any one help me in this.
Regards,
H.V.Swathi
Edited by: H.V Swathi on Nov 21, 2008 6:46 AM
Edited by: H.V Swathi on Nov 21, 2008 7:16 AM
Edited by: H.V Swathi on Nov 21, 2008 7:17 AMHi,
I have tried all the steps to configure the remote connection but it is giving an error that says,
"Computer localhost does not exist on the network, or the computer cannot be configured remotely. Verify that the remote computer has the required Windows Management Instrumentation components and then try again. (SQLSAC)
ADDITIONAL INFORMATION:
An exception occurred in SMO while trying to manage a service. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=MicrosoftSQLServer&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.InnerWmiException&LinkId=20476
Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)
For help, click: http://go.microsoft.com/fwlink?ProdName=MicrosoftSQLServer&LinkId=20476
The operation could not be completed. (WinMgmt)
BUTTONS:
OK
Please i welcome your valuable inputs.
Thanks & Regards
Swathi -
SQL Server 2005 agent job runs a SSIS package ( Analysis Services Processing Task) fails
Hi,
SQL Server 2005 standard edition.
I have a SSIS package which has a Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:
Code: 0xC0012024 Source: Analysis Services Processing Task Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services.
It requires a higher level edition.
This is the result of select @@version
Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86) Nov 24 2008 13:01:59 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)
Any idea?Hi,
SQL Server 2005 standard edition.
I have a SSIS package which has a Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:
Code: 0xC0012024 Source: Analysis Services Processing Task Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services. It
requires a higher level edition.
This is the result of select @@version
Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86) Nov 24 2008 13:01:59 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)
Any idea?
Anyway, I have found a work around:
http://technet.microsoft.com/en-us/library/ff929186.aspx -
SQL Server 2005 data pull from Oracle
Hi, I am learning how to use Oracle and I ran into this problem.
My database is running on SQL Server 2005.
I have an ODBC connection to Oracle. I also have a VB .Net script that queries the Oracle table that the data resides in.
When the job is running, and if it stalls, I do not get a timeout error. It locks down my database and no other source systems can feed data to me; these are back logged in the queue.
Is there an easier way for me to make a connection that will pull data on a consistent basis? Please help ...
Student LearnerLearning how to use Oracle does not include taking data from Oracle and putting it into SQL Server.
From your description of what is happening I agree with BluShadow. This is not an Oracle issue. This is a coding in VB .NET issue.
Posting the statements you are executing against some unknown version of Oracle would be a good starting point.
Maybe you are looking for
-
Hi SAP Gurus, Good day! Please help. How will I Set-up Vendor Rebates in SAP? Currently, we are getting rebates from our Vendors based from the total sales of an item or based from the total purchased amount/quantity in a given period. How will I inc
-
Java 1.4 and AES Algorithm PLEASE HELP!!
I hope this question has not already been asked. I have spent a long time searching the archives and documentation. I am attempting to migrate from jsdk1.3 to jsdk1.4 but have come up against the following problem. I need to create keys and encrypt f
-
Why are my Photos albums not appearing in Flickr?
Anyone know why my albums that I create in Photos do not appear in Flickr? The photos appear but just in the photostream.
-
How to define new Navigation Link in IC wed
Hi, while creating the navigation bar id, we have to give atleast one of the following inputs 1 Navigation Link or 2.Class Name or 3.Launch Transaction ID I know how to create launch transaction id,but i found that the out put of the trasaction is in
-
Hi there, do anyone know how to set or fill the labels and the legend of a scatter chart?