LMS 3.2 connect through ODBC
Hello !
We are using UnixODBC and FreeTDS to connect to the LMS 3.2. We use the utility isql
We have enabled the username lmsdatafeed and the pw. We have created a dsn in the odbc.ini to connect to RME.
We manage to connect to the database ( rmengdb) but when trying to do a select on a table we get a deny permission.
isql -v CW2Ktrace lmsdatafeed xxxx
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL>
select Device_ID from NETWORK_DEVICES
[42501][unixODBC][FreeTDS][SQL Server]SQL Anywhere Error -121: Permission denied: you do not have permission to use the "CREATE PROCEDURE" statement
[ISQL]ERROR: Could not SQLExecute
Is there something that we have bypassed ?
The same user ID and the password work when we access in a windows through ODBC, and Microsoft Access the RME database.
Thanks for your help,
Hello,
CW2Ktrace is the dsn defined in odbc.ini with the parameters to connect to rmengdb, so host, port, driver, tds version(5), etc..
After setting up a trace, I can confirm that yes, isql sends a "create procedure". This is what we see in the trace:
create proc ik80336000 as select PROCESSOR_MEMORY from MEMORY_INVENTORY
We have addressed this to unixodbc
Thanks
Similar Messages
-
Can't view a report connecting through ODBC(RDO) to DB with InfoView (CMC)
Environment :
Crystal Reports machine :
OS :
Windows Server 2008 64-bit
Crystal Reports Developer 2008 SP0
Crystal Reports Server 2008
DB Server:
Windows Server 2003 32-bit
SQL Server 2000 SP3
What is going on:
All the reports connecting through ODBC (RDO) to the database server work fine in the developer interface (I can preview them) but cannot be accessed if I try to view them in InfoView / CMC ("Please wait while the document is being processed" message box doesn't go away...).
I have tried both the SQL Server driver 6.00.6001.1800 and SQL Server Native Client 10.0 2007.100.1600.22 with the same results.
PS All the reports using OLE DB work just fine, I would prefer to have the ODBC option working through the web interface because I have a few hundreds report to change otherwise ...
Virgil RucsandescuOur solution is a php web application, but this is not relevant (in my opinion), and here it is why:
The php code should show the reports by using the direct links given by InfoView
(like http://dev-web:8080/CrystalReports/viewrpt.cwr?id=801&apsuser=user&apspassword=password).
Actually in this moment these links are looking different because currently we're using C.R. 10 + C.R. Server 10, but we are planning to move to CR 2008 + CR Server 2008.
So now I am testing how these direct links do work, they're actually working perfectly till now, but only if I connect through OLEDB to the DB server (SQL Server 2000). Any attempt to do it through the 2 ODBC drivers failed until now.
And I don't want to think about changing the data source hundreds of reports (lot of them having subreports too) ... -
Can Bex be used as a standalone app and connect through ODBC ?
Hi Guru's
We have a scenario in which we want to connect a Netezza server to our Netweaver2004s BW server and transfer the date from BW to Netezza .We want the queries to be processed by the Netezza server and view reports by placing Bex on top of Netezza server . My question is can we connect Bex to Netezza server by using ODBC and not the odbc of the excel ..or is the connection needs to be made through the ODBC of excel and Bex will work fine as it is embedded in excel itself . Any pointers in this regard will be of great help .
Thanks in advance
Ankushhi we have used VC instead
-
Error in connection through odbc
Hi Experts,
Kindly guide me when i try to connect my oracle database 10g , I receive the following error
"2/26/2012 12:44:17 PM - ERROR 6001: Database connection error: ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified
2/26/2012 12:44:17 PM - ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
2/26/2012 12:44:17 PM - ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).. ODBC;Driver={Microsoft ODBC for Oracle};Server=PRODERP; Uid=APPS;Pwd=CLONE;"
Kindly help me to make a connection succesful.
I shall be very thankful for your kind help.
ThanksThis means the connect string you are using with the DSN is not set up properly.
Ensure TNS_ADMIN variable is set to the correct PATH where you have the right tnsnames.ora
The connect string in tnsnames.ora is the right one and try using this to connect by sqlplus to verify. -
Connect PostgreSQL to Oracle 10g through ODBC: can't read all_tables
Oracle 10g is not able to read the database table names (all_tables and all_objects, es. select * from all_tables@hspostgresodbc) from PostgreSQL using ODBC (v. 08.01.0200). This functionality is essential to be able to use Oracle Warehouse Builder and import external database definitions (heterogeneous services).
However, Oracle (SQL*Plus) is able to retrieve records when the table name is stated in the SQL query (es. select * from my_table).
The problem seems to be specifically with the PostgreSQL ODBC because Oracle is able to read schemes from other databases through ODBC. Ive done some tests with Access dbs just to be sure that the problem is not with my system (Windows XP SP2).
The problem appears both with ANSI and UNICODE PostgreSQL drivers.
Any suggestion of how workaround this problem?
thanks in advance,
RaoniDear all,
Ive tried different tracing levels with out success. The log file does not seem to be created by Oracle.
Looking closer to the debug and comm logs from the driver 8.01.0200, Ive found out that the problem was generated after a table wasnt found (the driver seems to search for the all_tables table, and just afterwards to query the scheme pg_catalog). In this case the all the following queries returned with the error ERROR: current transaction is aborted, commands ignored until end of transaction block. Maybe this problem is related with the bug [#1000641] http://pgfoundry.org/tracker/index.php?func=detail&aid=1000641&group_id=1000125&atid=538
Following the Postgres odbc developers suggestion, Ive installed the psqlODBC v 08.02.0002 and Ive got a completely different result.
As before, the simple query select * from my_table@hsodbc returns the result using SQL*Plus clearly faster than before.
Doing the query select * from all_tables@hsodbc the result is OK (the name of 56 tables) but the process is very slow and burdensome. The file paging memory in the machine running Oracle and the SQL*Plus jumps from the normal 700 MB to 1.7 GB, and the query takes about 20 minutes to complete.
Also the 1.7 GB remains allocated and the query process halted in PostGreSQL even after the on screen result of the query. The memory is freed and the process terminated after the logging out SQL*Plus.
Probably as result of this memory explosion, the system runs out of memory and Oracle Warehouse Builder selecting data base link -> schema, after some minutes get an error similar to: cant read from memory address XXXXX
All those test where done with PostGreSQL 8.0.1 (on Linux Suse 9.0) and Oracle 10g (Windows XP SP2).
To be sure that the problem was not related to the PostGreSQL version, we updated the server to the 8.1.3 (running in Linux Suse 9.0 with psqlODBC v 08.02.0002 ) and OWB couldnt see any table as before and doing Select * from all_tables@hsodbc weve got the message:
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]
ORA-02063: preceding 2 lines from HSPG
no rows selected
On the other hand, with the same configuration as before (Oracle 10g under Windows XP SP1, psqlODBC v 08.02.0002) but with PostGreSQL 8.1.3 under Windows XP SP1, OWB can read table names (same tables imported from Linux PostgreSQL) but not all_tables (a minor problem, because what is important for us is to make OWB work with PostgreSQL).
The encoding for all DBs is UTF8.
Any ideas of where could be the problem?
regards,
R. -
Crystal Crashes when Creating a Connection to MySQL 5.0 through ODBC
Post Author: [email protected]
CA Forum: Data Connectivity and SQL
I am using a MS Server to run BO Server. I open Crystal Reports, create a new connection to my MySQL Database through ODBC (that is set up as a System DSN). After i put in the log in credentials the dang thing crashes... Anyone?Now the problem has gone from bad to worse.
I previously had a connection to my database but just couldn't see the tables.
Now after I added another user I can't even make a connection. Instead I get an error message that says "An unidentified error has occured"
My server and database are actually running. I can loginto my database through the MySQL workbench. It says it's running. The apache server also says it's running and if I key in localhost in my internet explorer it says "It works!"
I have now deleted the new user in MySQL that I added and now I can't even connect to the database in Dreamweaver.
Any suggestions?
Thank you,
Blain -
Unable to connect to SQL database through ODBC calls
I have been looking around for an answer to this, but haven't found the exact issue I'm seeing.
I have several Excel spreadsheets which have been working until recently, which use an ODBC call to a remote SQL database. The database is running, remote connections are allowed. The SQL server is in a domain which has no external trusts. Users with accounts
in this domain can remotely access the SQl databases through ODBC just fine. Users who do not have domain accounts in this domain are being denied access by their domain account, and the SQL authentication is not passed through, even though remote access is
set to allow "everyone", and the database is set to Windows authentication and SQL authentication. This worked until early this week (the spreadsheet was created in 2010), and I have been looking fruitlessly for a fix ever since. As far as I know,
no changes were made to group policy on this domain, and no changes were made to the server or database recently, except Microsoft patches. None of the patches this month looked like they would affect this.It works locally on the server and remotely for users in the same domain. I am trying to use the SQL account and password to connect to the database, but users from outside this domain fail to reach the SQL database for authentication. It looks like Windows
authentication is not passing the SQL credentials on if the windows authentication fails. I don't know how to resolve this. The only options in SQL are "Windows authentication and SQL authentication" or "Windows authentication only". The database is already
set to the first option. Somehow, I need to set the server to allow the SQL authentication even if the Windows authentication fails.
Hi pkuti01,
SQL Server mixed mode is "Windows Authentication and SQL Server Authentication", we have to restart SQL Server service after change the authentication to mixed mode.
In your case, have you got any error message/information if you faild connect to SQL Server via ODBC? If so, please post them to us for further investigation. Furthermore, here is an article regarding steps to troubleshooting SQL connectivity issues for
your reference. Please see:
http://blogs.msdn.com/b/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx
If you have any feedback on our support, please click
here.
Regards,
Elvis Long
TechNet Community Support -
I'm not able to connect from 9.2 client to 8.1.7.0 database through ODBC
Hi,
I'm trying to connect from ORACLE 9.2 client to 8.1.7 DATABASE. The client is on WINDOWS XP. But I'm getting connection timed out error message. What's wrong with that ?Can you connect to the 8.1.7 database from other clients? Can you verify that the listner is up?
Can the 9.2 client connect to some database?
I'm guessing that the 8.1.7 database listner isn't up or that the tnsnames on your client isn't set up correctly.
Justin Hi Justin,
1) I am able to connect to 8.1.7 database from other clients.
2)The 9.2 client is able to connect to some other database on the network which is 8.1.6.2.
3) I have cut and pasted tnsnames.ora from the working client( but that client is 8i client ).
4) this is the first time I am using this kind of configuration i.e., trying to access 8.1.7 server from 9.2 client. I tried to create new connection through NET CONFIGURATION ASSISTANT as per the documentation but it's not working. -
Unable to import tables through ODBC in obiee 11g
Hi all,
In obiee 11g,
OBIEE 11g is successfully installed but when i am trying to import the tables in RPD through odbc then it is giving a problem.
I have tried using the OCI and it is working fine but can anyone tell me why it is not happening through odbc.
created the dSN for it and it is working fine.
any help would be appreciated.
thanks in advance.Hi,
You need do full installation of obiee11g.
Go through this..May help you.Not getting connected to a data source in obiee 11g
How to install 11g ODBC client drivers to access OBIEE 11g server?
Regards,
Srikanth -
Connection problem odbc socket
I made a odbc socket connection through a dsn to a foxpro
database (tables), cf made the connection. Dreamweaver sees all of
the tables, but cannot read the fields or data. Received this error
message:
[1]java.sql.SQLException: [Macromedia][SequeLink JDBC
Driver][ODBC Socket][Microsoft][ODBC Visual FoxPro Driver]File
'ccdllc.actrec' does not exist.
even tho actrec was a listed table in the database panel.
Any ideas?
DavidThanks for spending your time on this. I'm brand new on CF,
have always used asp for database work, thought this would be a
breeze. Clearly there's some simple thing I'm not doing correctly.
I made the connection to the database in CF with the ODBC socket
driver, then verified the connection. Went into Dreamweaver, set up
the database connection, and read the table list in the database
panel. But Dreamweaver wasn't able to read the contents of the
tables (columns and data), nor was it able to make bindings. I
inserted the query into the html page and tried running the code
with the following results:
-1:[Macromedia][SequeLink JDBC Driver][ODBC
Socket][Microsoft][ODBC Visual FoxPro Driver]File 'ccdllc.actrec'
does not exist.
java.sql.SQLException: [Macromedia][SequeLink JDBC
Driver][ODBC Socket][Microsoft][ODBC Visual FoxPro Driver]File
'ccdllc.actrec' does not exist.
at
macromedia.sequelink.ssp.Diagnostic.toSQLException(Unknown Source)
at macromedia.sequelink.ssp.Chain.cnvDiagnostics(Unknown
Source)
at macromedia.sequelink.ssp.Chain.decodeDiagnostic(Unknown
Source)
at macromedia.sequelink.ssp.Chain.decodeBody(Unknown Source)
at macromedia.sequelink.ssp.Chain.decode(Unknown Source)
at macromedia.sequelink.ssp.Chain.send(Unknown Source)
at
macromedia.sequelink.ctxt.stmt.StatementContext.execDirect(Unknown
Source)
at
macromedia.jdbc.sequelink.SequeLinkImplStatement.execute(Unknown
Source)
at
macromedia.jdbc.slbase.BaseStatement.commonExecute(Unknown Source)
at
macromedia.jdbc.slbase.BaseStatement.executeQueryInternal(Unknown
Source)
at macromedia.jdbc.slbase.BaseStatement.executeQuery(Unknown
Source)
at
coldfusion.server.j2ee.sql.JRunStatement.executeQuery(JRunStatement.java:111)
at
coldfusion.rds.DbFuncsServlet$DbSqlStatementOperator.processCmd(DbFuncsServlet.java:409)
at
coldfusion.rds.DbFuncsServlet.processCmd(DbFuncsServlet.java:78)
at coldfusion.rds.RdsServlet.doPost(RdsServlet.java:57)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
coldfusion.rds.RdsFrontEndServlet.doPost(RdsFrontEndServlet.java:102)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Again, thanks for your help, looking forward to any ideas you
might have.
David -
ACS 4.2.1: adding new AAA clients through odbc import
Hello,
we have added the user defined vendor RADIUS_HUAWEI to our Cisco ACS 4.2.1 Windows Server.
Unfortunately there is a problem with importing network devices through odbc connection using the accountactions table with the action code 220.
The documentation tells us :
220
ADD_NAS
VN, V1, V2, V3
Adds a new AAA client (named in VN) with an IP address (V1), shared secret key (V2), and vendor (V3). Valid vendors are:
•VENDOR_ID_IETF_RADIUS—For IETF RADIUS.
•VENDOR_ID_CISCO_RADIUS—For Cisco IOS/PIX RADIUS.
•VENDOR_ID_CISCO_TACACS—For Cisco TACACS+.
•VENDOR_ID_AIRESPACE_RADIUS—For Cisco Airespace RADIUS.
•VENDOR_ID_ASCEND_RADIUS—For Ascend RADIUS.
•VENDOR_ID_ALTIGA_RADIUS—For Cisco 3000/ASA/PIX 7.x+ RADIUS.
•VENDOR_ID_AIRONET_RADIUS—For Cisco Aironet RADIUS.
•VENDOR_ID_NORTEL_RADIUS—For Nortel RADIUS.
•VENDOR_ID_JUNIPER_RADIUS—For Juniper RADIUS.
•VENDOR_ID_CBBMS_RADIUS—For Cisco BBMS RADIUS.
•VENDOR_ID_3COM_RADIUS—For Cisco 3COMUSR RADIUS.
The new user defined vendor is:
C:\Program Files\CiscoSecure ACS v4.2\bin>CSUtil.exe -listUDV
CSUtil v4.2(1.15), Copyright 1997-2009, Cisco Systems Inc
UDV 0 - RADIUS (RADIUS_HUAWEI)
Our action code and variables look like:
A=220
VN="xxx"
V1="10.10.10.10"
V2="blabla"
V3="VENDOR_ID_RADIUS_HUAWEI"
Error Code is as following:
06/22/2010,10:21:12,W03P-3413,ERROR,Parse Error: Reason - Host vendor is unknown [A=220 UN="" GN="" AI="" VN="xxx" V1="10.10.10.10" V2="blabla" V3="VENDOR_ID_RADIUS_HUAWEI"]
Does anybody knows the correct name for the V3-variable to import the network device in a correct way?
Best regards
Torsten WaibelHello,we
have a new acs appliance (1113) with version 4.2.1.15 and we want to
authenticate user through ssh from routers with ios xr software.
unfortunately this doesn't work.Here ist our configuration of the router:##################################################line template VTY
access-class ingress abcd!tacacs-server host x.x.x.x port 49 single-connectiontacacc-server key 7 test!tacacs source-interface Loopback13!ssh server v2
ssh timeout 60! AAA config
aaa accounting exec default start-stop group tacacs+
aaa accounting network default start-stop group tacacs+
aaa accounting commands default start-stop group tacacs+
aaa authorization exec default group tacacs+ none
aaa authorization commands default group tacacs+ none
aaa authentication login default group tacacs+ local##################################################does anybody has a solution for this problem?thnx and best regardsTorsten Waibel
Hi Torsten Waibel,
For ssh to support you should have a cryptography ios image in router and check the following command in line vty that transpot input ssh under line vty cofiguration.
If helpful do rate the post
Ganesh.H -
Heterogeneous Services through ODBC
There has been some different remarks about if Heterogeneous Services through ODBC will be available in XE. So now when we are getting close to the production release of XE I want to know what the final answer is on this feature
For the sake of future readers: This works! I just paraphrased this approach to successfully create a dblink to my Sql Server 2000 EE running on MS W2K Svr. It took some time to sort out the details, and then to discover that the test in Tak Tang's excellent writeup did not work for me. I could not do: select table_name from all_tables@mydblink; without getting:
ORA-00604: error occurred at recursive SQL level 1
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]
ORA-02063: preceding 2 lines from DBLINK_IMS
However, when I finally woke up and tried: SELECT * FROM <MySmallTable>; I realized that it was actually working.
I hope this hint is helpful to future readers. Many thanks to TTang for his excellent writeup. Thanks also to Oracle for an excellent product. -
Problem with dblink through ODBC
Hi. Our company are trying to connect to an Oracle 7.3.4 database from Oracle 10g through an ODBC link (using Microsoft Oracle ODBC driver). The database link is working when we test it in SQL Plus, meaning that select * from tablename@dblinkname is working. But, when we are using
Select count(*)
from tablename@dblinkname we get an error:
SQL> select count(*) from address@testlink;
ERROR:
ORA-28500: forbindelse fra ORACLE til ikke-Oracle-system returnerte denne
meldingen:
[Generic Connectivity Using ODBC][Microsoft][ODBC driver for Oracle]Error in
row 1[Microsoft][ODBC driver for Oracle]Error in column 1: Numeric value out of
range (SQL State: 01S01; SQL Code: 0)
ORA-02063: foran 2 lines fra TEST_SID
no rows selected
SQL>
Why is this happening when the tatabase link is working with regular selects?
We think that the problem is centered around the odbc and db link settings. Could it be that we need to specify more in the HS init file? This is our file initTEST_SID.ora:
# HS init parameters
HS_FDS_CONNECT_INFO = odbc_test
HS_AUTOREGISTER = TRUE
HS_FDS_TRACE_LEVEL=OFF
HS_DB_NAME = hsodbc
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
Could it be the ODBC driver version? Our MS ODBC driver is:
Microsoft ODBC for ORacle version 2.575.1022.00, MSORCL32.DLL
Has anybody experienced something like this before?
RonnyI tried the same thing when we needed to connect a 9i database to a 7.3.4 database, but could not get it to work.
Instead, we used a database link to an 8i database which had a database link to our 7.3.4 database. We had to set up some views on the 8i database to hide the link, but it was only temporary. If you go down this route, check your licensing situation.
Tak -
Hi,
Does UD Connect support ODBC natively? If not, is there any way to work around the limitation?
Regards,
Frankhi,
go through these docs...i hope they may helpful in giving some info to U...
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4841dd90-0201-0010-b4af-e531993b3e48]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11e1b990-0201-0010-bf9a-bf9d0ca791b0]
regards -
Extract data on forms9i through ODBC/systemDSN
Im trying to extract data through system DSN using ODBC utility on
forms 9i , i'll be grateful if anyone help me that how can i connect to ODBC/system DSN on forms9i and inform me in this regard.
AsimWell yeah,
That's what I have done actually (I just forgot to update this thread).
I was actually able to create views over informix tables with serial data type, using a cast to integer, and then, I was able to extract data from those informix tables.
Indeed, the DI documentation states that the serial datatype in informix is not supported in DI...
I just wonder how I could solve that if I hadn't the right to create views in the production database....
Any thoughts ?
Maybe you are looking for
-
So I have been a longtime Adobe customer. I have nearly every version of the creative suites, with all the bells and whistles and have spent thousands and thousands of dollars on these products for our business as well as personal use. SO.....we just
-
I have an ipod shuffle. Never had one before. A friend synced my shuffle to her ipod. I want to add the songs to my computer and make cd's. Any way to do this?
-
Vbscript - detecting configuration changes
Hi, not sure if this is the right community to post this kind of question but i am after some example of vbscripts to detect routing change for example like to know when someone add a new route entry, advertised in to our campus networks, would like
-
No Padding when Extending ButtonBar as Item Renderer in AdvancedDataGrid
I am using an ActionScript Class to extend the ButtonBar component as my Item Renderer in an AdvancedDataGrid. However, when I set the styles and properties of the ButtonBar in the constructor, it shifts the ButtonBar all the way to the left of the C
-
why doesnt progress bar show on ie/ns?....Thank you all. <cfif isdefined('form.Process') and form.process eq "Process" and isdefined('Form.rosterfile') and form.rosterfile neq ""> <cfset CurrDir = GetDirectoryFromPath(GetTemplatePath())> <cfset Sto