Executable opc connection
Hi all
I-trying to build an executable which reads values from a RT-target (cRIO) and then sends this data to an opc-server.
I managed to read the values from the rt-target, but unfortunatelly the connection to the opc seems not to work. I created a library with the opc Server and the variables in the project. if I run the vi on the pc with LabView installed everthing works fine. Also if I try the executable on this pc. When I change to the other PC where I want the executable to be running. The programm runs with no error, but the data never gets to the OPC-server.
Has somone any idea why this happens?
Thanks
Manuel
Hi Manuelwaser,
your problem sounds like an configuration problem.
It would be helpful to post your build-specifications or your project without VIs.
Here is an guide for ...
Building an Installer (Windows) - LabVIEW 2011 Help - National Instruments
http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_installer/
How Do I Use OPC in LabVIEW? - National Instruments
http://digital.ni.com/public.nsf/allkb/EA15F53DB6FECCA5862567240064DF09
Over that you'll need the DSC RUN-Time System:
What is the DSC Run-Time System and When Should I Use It? - National Instruments
http://digital.ni.com/public.nsf/allkb/E56DB8726DB68F288625770E00594351?OpenDocument
Similar Messages
-
I'm continue to troubleshoot OPC connectivity via Shared Vairables. I've attached the error log output by LabView. Any ideas on the proper fix for this? I'm assuming it's making the proper registry entries, but I'm not sure where to begin. The errors are "Class not registered" problems. Everything is running on the local machine, and I can get standard OPC clients to connect, but not the Shared Variables.
The relevant errors are at the top of the log.
Attachments:
OPC Error Log.txt 14 KBHi, is this the same topic as this. If it is we should stick to the older thread. However, for the time being, have you checked your dcom settings?
In order to successfully communicate to the OPC server, you need to allow the proper exceptions in the Windows Firewall. Open up the Windows Firewall from the Control Panel, and select the Exceptions tab. Click on Add Program... and add the following:
All OPC Clients and Servers
Microsoft Management Console
OPC utility OPCEnum.exe found in the Windows\System32 directory
Next, In the Exceptions tab of the Windows Firewall, click on Add Port...
In the Add a Port dialog, fill out the fields as follows: (Name: DCOM) (Port Number: 135) and check tcp
National Instruments
RIO Embedded Hardware PSE
CompactRIO Developers Guide -
How to execute the CONNECT command in sql
Hi ,
I am using DB2 database and I need to execute the sql statement
CONNECT TO Database user username USING password.
Can anyone tell me how to execute this query in java.
I tried this by using executeQuery but it was giving a sexception somtehing as follows
COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0637E QUERY cannot be found.
at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throwInvalidQueryError(SQLExceptionGenerator.java:577)
at COM.ibm.db2.jdbc.app.DB2Statement.executeQuery(DB2Statement.java:597)
at First.detail(First.java:18)
at First.main(First.java:29)
can anyone of you help me out in solving this problemYou need a connection to use JDBC stuff. When you have a connection, you are already logged in. There is no need for a query to connect.
-
Data access in Teststand/LabVIEW through OPC connection
We are using TestStand 2.0 and LabVIEW6.2 and following problem occurs when accessing the datas from UUT through OPC.
For the first UUT i get the measurement datas but starting the next UUT causes a system hang up. The corresponding LabVIEW VI stops at the connect to the OPC Server it doesn't read the selected item. Only with LabVIEW there is no problem launching OPC data access for multiple times. Does anyone have expierence with this configuration: TestStand-LabVIEW-OPC?For your information, there is a new TestStand Add-on "OPC DA Connect" which adds a StepType Palette dedicated to OPC Data Access.
You can configure each step by browsing the OPC servers on your network and browsing variables within these servers.
This toolkit has free deployment licence.
Hoping this helps.
Jean-Louis SCHRICKE
├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
├ CTD - Certified TestStand Developer (2004 & 2007)
└ CLD - Certified LabVIEW Developer (2003 & 2005) -
OPC Connection faliure/status using LabView & Protool
Hi there,
we are integrating NI Vision solution into Siemens Step7/Protool automation environment. Two CVS modules perform visual inspection and communicate via Ethernet with Siemens Protool vizualization/GUI application running on Windows XP based PC. Protool is serving as OPC 2.0 compliat server and LabView "helper" application on PC is mirroring OPC data to and from NI PSP (Shared variable) domain which NI CVS-es use to communicate. All works well until we shut down and/or restart Protool (and thus the OPC service along with it).
Helper application fails to acknowledge any Connection Status change (as its status remains: Connected) if/when OPC is turned off ... furthermore once the Protool OPC is up and running again the values in LabView OPC bound items within helper app. cease to be updated although their Connection Status Property is shown as: Connected throughout ...
Has anyone had a similar problem? What could be the cause/solution to the behavior described?
Thanks in advance,
RobertHi Mike,
LabView "helper" app. is residing on Win PC and has controls that are data-bound to ProTool OPC via datasocket. The PC hosts shared variables that CVS-es use to communicate to PC. helper app. is transfering data between ProTool OPC and NI PSP network as necessary. If OPC is "power cycled" the "datasocket LED" of OPC DataBound controls remains green as nothing happened! If we use DataSocket (DS) pallete to programatically open DS conneciton to an OPC item, connection is rejected if OPC is not running, but once connected the "connection:status" property wont change if we shutdown the OPC!
Why is this happening? Is there a manner to detect the "running" status op OPC? Is there a more elegant way to bring OPC and NI PSP network together that would bypass the need for data pooling? Would the functionality of DSC help, like "register for events notification" function?
We would sure could use a quick soultion to this ...
Thx and regards, Robert -
Hi,
Could anybody send me an example for LabVIEW to connect to an OPC Server
to read/write IOs from a plc. I have to connect to a Siemens plc via
SIMATIC NET OPC Server. Or maby you can post a link for further
information and/or examples because i couldn't find any at the NI
Developer zone.
Thanks,
MaxThere are examples included with LabVIEW; they are stored in the comm folder:
Program Files\National Instruments\LabVIEW 7.0\examples\comm\opc.llb
MTO -
Hello,
I have a significant problem with connect an OPC Server to my Labview Application. I make use of the AX OPC Server of Phoenix Contact this is already working. Now I have no idea how I can simply write a boolean or read one. I need an easy VI were I can add the IP adress of my server or something like that. It would be nice if I can use this variable as a normal one in my VI.
I would be thankfull for each support!!!
Thank youHI,
did you already open the example OPC project in the LV example finder?
Is this any help?
Anna -
DSC - OPC Connection - Can't read or write to tags
I am working on controlling some motors over an OPC server.
The PLC is an M258, and the OPC server is CoDeSyS OPC DA.
When I use MatrikonExplorer, I can read the value of tags, and change their values as needed.
Using an evaluation version of NI OPC client, I could see the tags, but their value was marked as "unknown" with bad quality. In their properties, the value of the tags is given as "BAD VARTYPE".
I used DSC to add the codesys server to a library and imported all the relevant variables. When I try to read them in a VI, they give me error code: -1950679034, so that they have no value. And when I try to change a value, I can see that the value never changes.
I would greatly appreciate any help you can provide.http://www.ni.com/white-paper/6417/en/
Codesys isn't listed as a supported OPC Server. -
How to execute Oracle "CONNECT BY" using JPA or Hibernate annotation?
hihi
I want to uses ORACLE "CONNECT BY" to obtain each level of tree structure, like:
A
|-B
--|-D
|-C
--|-E
The result should be: A = 1 and B,C = 2 and D,E = 3
Do I have any hibernate or JPA annotation to do this?
Thanks.Thank you for your reply,r035198x .
but when I using native query, the program throws the NullPointerException, how can I solve this problem. (the query object is NOT NULL)
Query query = entityManager.createNativeQuery("SELECT group.*,level FROM GROUP group "+
"WHERE GROUP_TYPE = 'ACTIVE' START WITH (PARENT_GROUP_ID IS NULL) "+
"CONNECT BY PARENT_GROUP_ID = PRIOR GROUP_ID",GROUP.class);
log4jLogger.info("query: "+query);
List<GROUP> groups = query.getResultList();
Result:
INFO [http-8080-2] service.GroupAction (getGroups:36) - query: org.hibernate.ejb.QueryImpl@1a5db9c
Caused by: java.lang.NullPointerException
at org.hibernate.loader.DefaultEntityAliases.intern(DefaultEntityAliases.java:157)
at org.hibernate.loader.DefaultEntityAliases.getSuffixedPropertyAliases(DefaultEntityAliases.java:130)
at org.hibernate.loader.DefaultEntityAliases.<init>(DefaultEntityAliases.java:76)
at org.hibernate.loader.ColumnEntityAliases.<init>(ColumnEntityAliases.java:40)
at org.hibernate.loader.custom.sql.SQLCustomQuery.<init>(SQLCustomQuery.java:152)
at org.hibernate.engine.query.NativeSQLQueryPlan.<init>(NativeSQLQueryPlan.java:67)
at org.hibernate.engine.query.QueryPlanCache.getNativeSQLQueryPlan(QueryPlanCache.java:136)
at org.hibernate.impl.AbstractSessionImpl.getNativeSQLQueryPlan(AbstractSessionImpl.java:160)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:175)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:67)
at test.GroupAction.getGroups(GroupAction.java:38) -
Hi,
I'm a newbie to DSC module and i have a question on OPC connectivity. With the base Labview (non-DSC) you can connect to OPC servers through Datasockets, although I understand that Datasockets is not a true OPC client and there are some limitations. With the DSC module, however, LV is a true OPC client. How do I connect to OPC servers in DSC module? Is the only way through the tag engine? Do datasocket vi's in non-DSC work the same in DSC?
Thanks!Yes and Yes. In DSC, you connect to OPC Servers via the Engine (and there are tools to browse the OPC Servers and create Tags for them, set your client's settings, etc.)
And DataSockets work exactly the same in DSC.
Khalid -
I was running a LV 7.1 VI connecting to objects through the OPC server and after upgrading to 8.0 I had errors on all objects reading either "Not executable in RUN mode" or Incorrect frame check SUM (FCS)" when the OPC server would start. Even after running the LV and LV DSC 8.0.1 patch, mass compiling and converting the .scf file, I still received the error. Desperate I uninstalled 8.0 / 8.0.1 and ran the VI under the 7.1 version but still receive the same errors when the OPC server starts. Is there other files effected by the DSC upgrade that I can check to make sure I am back to the starting (7.1) version or is this a total wipe and re-install case?
PDR,
Since the errors show up in the Industrial Automation OPC servers window and the DSC tags presumably do show "bad" quality, this means that the OPC connection between the DSC Engine (7.1) and Industrial Automation OPC servers is functioning correctly. The errors that you described indicate an error with the device or with the serial communications to the
device, not OPC.
Actually, DSC 7.1 is not even aware of OPCEnum. Instead, DSC 7.1 (and earlier) uses registry browsing to list OPC servers on the local and remote PCs. OPCEnum is only used by OPC clients to list which OPC servers availabe on a computer. After that, OPC clients connect to OPC servers using DCOM. DSC 8 doesn't modify the DCOM settings of any previously installed OPC servers or clients in the installation process. Besides OPCEnum (used only to list which servers are available on a particular computer), DCOM, and the actual server and client, nothing else is involved in making OPC work.
Thus, based on the evidence you have presented in this thread, the only determiniation that I can make is that, 1) there is a communications problem between IA OPC servers and the device you're connecting to and, 2) the problem does not involve OPC. The communications problem is related to either the physical connection between the device and your PC or is related to the communication settings defined in IA OPC Servers for the device you're using.
Regards,
Nick
~~ -
Connect DIAdem to dstp - server
hi there
i have 2 PCs connected via ethernet:
PC1: samples data with a LabVIEW executable
PC2: stores and visualize data with DIAdem
the data has to be spread over the network using a server, because there are several other PCs that want to read the data.
now here are my questions:
- can i connect DIAdem to a datasocket server?
- if not, is DIAdem shipped with a built in OPC server or something like that?
thanks in advance
Best regards
chris
CL(A)Dly bending G-Force with LabVIEW
famous last words: "oh my god, it is full of stars!"Somewei,
R&D just discovered a few weeks ago that the OPC connection between LabVIEW and DIAdem does not work if the "Automatically adjust clock for daylight savings changes" checkbox is selected in the Windows "Date and Time Properties" dialog on a US operating system. We now have a fix for this issue in DIAdem 11.0 which will release with the first DIAdem 11.0 service pack (not sure when). You might try, though, unchecking that checkbox and see if that helps on your computer.
For modern versions of LabVIEW with a shared variable engine, you can simply post data to shared variables, and they will automatically be avilable on LabVIEW's "National Instruments.Variable Engine" OPC server. I have verified that this works on my PC with LabVIEW 8.5.1 and DIAdem 11.0 DAC, and it should work just as well between different computers.
Brad Turpin
DIAdem Product Support Engineer
National Instruments -
"DBSL does not support extended connect protocol" while configuring SSFS
Hi, I'm trying to configure ssfs on ERP EHP7 on HANA Database system. Doing it with this guide - SSFS Implementation for Oracle Database
But when I'm trying to test connection with r3trans I got following error in the log:
4 ETW000 [ dev trc,00000] read_con_info_ssfs(): DBSL does not support extended connect protocol
4 ETW000 ==> ssfs won't be used 26 0.004936
I already updated DBSL_LIB to the latest version, but it doesn't help.
Here is full log:
4 ETW000 C:\usr\sap\CM1\DVEBMGS04\exe\R3trans.EXE version 6.24 (release 741 - 16.05.14 - 20:14:06).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 02.06.2014 - 13:49:16
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: C:\usr\sap\CM1\DVEBMGS04\exe\R3trans.EXE -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [ dev trc,00000] Mon Jun 02 13:49:16 2014 106 0.000106
4 ETW000 [ dev trc,00000] db_con_init called 36 0.000142
4 ETW000 [ dev trc,00000] set_use_ext_con_info(): ssfs will be used to get connect information
4 ETW000 61 0.000203
4 ETW000 [ dev trc,00000] determine_block_commit: no con_hdl found as blocked for con_name = R/3
4 ETW000 26 0.000229
4 ETW000 [ dev trc,00000] create_con (con_name=R/3) 17 0.000246
4 ETW000 [ dev trc,00000] Loading DB library 'dbhdbslib.dll' ... 46 0.000292
4 ETW000 [ dev trc,00000] DlLoadLib success: LoadLibrary("dbhdbslib.dll"), hdl 0, count 1, addr 000007FEED100000
4 ETW000 3840 0.004132
4 ETW000 [ dev trc,00000] using "C:\usr\sap\CM1\DVEBMGS04\exe\dbhdbslib.dll" 21 0.004153
4 ETW000 [ dev trc,00000] Library 'dbhdbslib.dll' loaded 21 0.004174
4 ETW000 [ dev trc,00000] function DbSlExpFuns loaded from library dbhdbslib.dll 42 0.004216
4 ETW000 [ dev trc,00000] Version of 'dbhdbslib.dll' is "741.10", patchlevel (0.22) 81 0.004297
4 ETW000 [ dev trc,00000] function dsql_db_init loaded from library dbhdbslib.dll 25 0.004322
4 ETW000 [ dev trc,00000] function dbdd_exp_funs loaded from library dbhdbslib.dll 41 0.004363
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 47 0.004410
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=-1,command=39,arg_p=0000000000000000) 24 0.004434
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 18 0.004452
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=-1,command=10,arg_p=000000000205F170) 22 0.004474
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 17 0.004491
4 ETW000 [ dev trc,00000] New connection 0 created 17 0.004508
4 ETW000 [ dev trc,00000] 0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , oc = 000, hc = NO , perm = YES, reco = NO , info = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =
4 ETW000 38 0.004546
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=-1,command=10,arg_p=0000000141BAEDB0) 44 0.004590
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 19 0.004609
4 ETW000 [ dev trc,00000] db_con_connect (con_name=R/3) 19 0.004628
4 ETW000 [ dev trc,00000] determine_block_commit: no con_hdl found as blocked for con_name = R/3
4 ETW000 24 0.004652
4 ETW000 [ dev trc,00000] find_con_by_name found the following connection: 17 0.004669
4 ETW000 [ dev trc,00000] 0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , oc = 000, hc = NO , perm = YES, reco = NO , info = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =
4 ETW000 164 0.004833
4 ETW000 [ dev trc,00000] read_con_info_ssfs(): reading connect info for connection R/3 34 0.004867
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=-1,command=74,arg_p=0000000000000000) 24 0.004891
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=15) 19 0.004910
4 ETW000 [ dev trc,00000] read_con_info_ssfs(): DBSL does not support extended connect protocol
4 ETW000 ==> ssfs won't be used 26 0.004936
4 ETW000 [ dev trc,00000] { DbSlHDBConnect(con_info_p=0000000000000000) 31 0.004967
4 ETW000 [ dev trc,00000] DBHDBSLIB : version 741.10, patch 0.022 (Make PL 0.26) 34 0.005001
4 ETW000 [ dev trc,00000] HDB shared library (dbhdbslib) patchlevels (last 10) 32 0.005033
4 ETW000 [ dev trc,00000] (0.022) Get database version via dbsl call (note 1976918) 24 0.005057
4 ETW000 [ dev trc,00000] (0.020) FDA: Core Dump in SELECT ... FOR ALL ENTRIES for tables with strings (note 1970276)
4 ETW000 32 0.005089
4 ETW000 [ dev trc,00000] (0.020) SQL DDL with data aging (note 1897636) 21 0.005110
4 ETW000 [ dev trc,00000] (0.017) Datatype NCLOB missing in tablesize calculation (note 1952609)
4 ETW000 30 0.005140
4 ETW000 [ dev trc,00000] (0.014) Tablesize calculation for HANA optimized (note 1952609) 25 0.005165
4 ETW000 [ dev trc,00000] (0.014) Native SQL UPSERT with DataAging (note 1897636) 21 0.005186
4 ETW000 [ dev trc,00000] (0.014) DBSL supports HANA revision number up to 3 digits (note 1952701)
4 ETW000 27 0.005213
4 ETW000 [ dev trc,00000] (0.010) Quotes missing by FAE with the hint dbsl_equi_join (note 1939234)
4 ETW000 28 0.005241
4 ETW000 [ dev trc,00000] (0.007) Obsere deactivate aging flag (note 1897636) 24 0.005265
4 ETW000 [ dev trc,00000] (0.007) Calculated record length for INSERT corrected (note 1897636)
4 ETW000 27 0.005292
4 ETW000 [ dev trc,00000] 15 0.005307
4 ETW000 [ dev trc,00000] -> init() 21 0.005328
4 ETW000 [ dev trc,00000] STATEMENT_CACHE_SIZE = 1000 181 0.005509
4 ETW000 [ dev trc,00000] -> init() 505 0.006014
4 ETW000 [ dev trc,00000] -> loadClientRuntime() 27 0.006041
4 ETW000 [ dev trc,00000] Loading SQLDBC client runtime ... 19 0.006060
4 ETW000 [ dev trc,00000] SQLDBC Module : C:\usr\sap\CM1\hdbclient\libSQLDBCHDB.dll 779 0.006839
4 ETW000 [ dev trc,00000] SQLDBC Runtime : libSQLDBCHDB 1.00.68 Build 0384084-1510 74 0.006913
4 ETW000 [ dev trc,00000] SQLDBC client runtime is 1.00.68.0384084 45 0.006958
4 ETW000 [ dev trc,00000] -> getNewConnection() 28 0.006986
4 ETW000 [ dev trc,00000] <- getNewConnection(con_hdl=0) 78 0.007064
4 ETW000 [ dev trc,00000] -> checkEnvironment(con_hdl=0) 34 0.007098
4 ETW000 [ dev trc,00000] -> connect(con_info_p=0000000000000000) 27 0.007125
4 ETW000 [ dev trc,00000] Try to connect via secure store (DEFAULT) on connection 0 ... 62 0.007187
4 ETW000 [ dev trc,00000] -> check_db_params(con_hdl=0) 61365 0.068552
4 ETW000 [ dev trc,00000] Attach to HDB : 1.00.68.384084 (NewDB100_REL) 7595 0.076147
4 ETW000 [ dev trc,00000] Database release is HDB 1.00.68.384084 49 0.076196
4 ETW000 [ dev trc,00000] INFO : Database 'HDB/00' instance is running on 'hanaserver' 6867 0.083063
4 ETW000 [ dev trc,00000] INFO : Connect to DB as 'SAPCM1', connection_id=201064 43659 0.126722
4 ETW000 [ dev trc,00000] DB max. input host variables : 32767 6954 0.133676
4 ETW000 [ dev trc,00000] DB max. statement length : 1048576 34 0.133710
4 ETW000 [ dev trc,00000] DB max. array size : 100000 75 0.133785
4 ETW000 [ dev trc,00000] use decimal precision as length 21 0.133806
4 ETW000 [ dev trc,00000] ABAPVARCHARMODE is used 19 0.133825
4 ETW000 [ dev trc,00000] INFO : DBSL buffer size = 1048576 20 0.133845
4 ETW000 [ dev trc,00000] Command info enabled 19 0.133864
4 ETW000 [ dev trc,00000] Now I'm connected to HDB 18 0.133882
4 ETW000 [ dev trc,00000] 00: hanaserver-HDB/00, since=20140602134916, ABAP= <unknown> (0) 30 0.133912
4 ETW000 [ dev trc,00000] } DbSlHDBConnect(rc=0) 18 0.133930
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=30,arg_p=0000000000000000) 24 0.133954
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 18 0.133972
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=21,arg_p=000000000205F460) 22 0.133994
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 18 0.134012
4 ETW000 [ dev trc,00000] Connection 0 opened (DBSL handle 0) 36 0.134048
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=7,arg_p=000000000205F4B0) 25 0.134073
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 17 0.134090
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=63,arg_p=000000000205F2B0) 23 0.134113
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 18 0.134131
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=21,arg_p=000000000205F300) 12214 0.146345
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 32 0.146377
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=11,arg_p=000000000205F420) 26 0.146403
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 18 0.146421
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=22,arg_p=000000000205F390) 23 0.146444
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 37 0.146481
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=13,arg_p=000000000205F260) 29 0.146510
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 18 0.146528
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=24,arg_p=000000000205F210) 37 0.146565
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 35 0.146600
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=51,arg_p=000000000205F200) 40 0.146640
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=15) 31 0.146671
4 ETW000 [ dev trc,00000] { DbSlHDBPrepare(con_hdl=0,ss_p=000000000205F4E0,op=3,da_p=000000000205F540)
4 ETW000 46 0.146717
4 ETW000 [ dev trc,00000] -> buildSQLStmt(stmt_p=000000000205F4B0,da_p=000000000205F540,for_explain=0,lock=0,op=3)
4 ETW000 89 0.146806
4 ETW000 [ dev trc,00000] <- buildSQLStmt(len=27,op=3,#marker=0,#lob=0) 33 0.146839
4 ETW000 [ dev trc,00000] -> stmt_prepare(sc_hdl=0000000003AEAC40,ss_p=000000000205F4E0) 75 0.146914
4 ETW000 [ dev trc,00000] sc_p=0000000003AEAC40,no=0,idc_p=0000000000000000,con=0,act=0,slen=27,smax=256,#vars=0,stmt=000000000AD913E0,table=SVERS
4 ETW000 46 0.146960
4 ETW000 [ dev trc,00000] SELECT VERSION FROM SVERS ; 23 0.146983
4 ETW000 [ dev trc,00000] CURSOR C_0000 PREPARE on connection 0 21 0.147004
4 ETW000 [ dev trc,00000] } DbSlHDBPrepare(rc=0) 6174 0.153178
4 ETW000 [ dev trc,00000] { DbSlHDBRead(con_hdl=0,ss_p=000000000205F4E0,da_p=000000000205F540)
4 ETW000 53 0.153231
4 ETW000 [ dev trc,00000] ABAP USER is not set 25 0.153256
4 ETW000 [ dev trc,00000] -> activate_stmt(sc_hdl=0000000003AEAC40,da_p=000000000205F540) 25 0.153281
4 ETW000 [ dev trc,00000] -> bind_variables(sc_hdl=0000000003AEAC40,in_out=0,bulk=0,da_p=000000000205F540)
4 ETW000 30 0.153311
4 ETW000 [ dev trc,00000] -> allocParameter(in_out=0,col_cnt=0) 21 0.153332
4 ETW000 [ dev trc,00000] -> calculate_record_length(sc_hdl=0000000003AEAC40,in_out=0,bulk=0,types=0000000000000000,#col=0,useBulkInsertWithLobs=0)
4 ETW000 54 0.153386
4 ETW000 [ dev trc,00000] #float=0,#lob=0,itab=0,#short=0,#int=0,#llong=0,#uc=0,rec_lng=0,db_lng=0
4 ETW000 33 0.153419
4 ETW000 [ dev trc,00000] <- calculate_record_length(row_size=0, lob_cnt=0, lob_pw_cnt=0, long_cnt=0, ins_bulk_lob=0, row_max=1)
4 ETW000 33 0.153452
4 ETW000 [ dev trc,00000] -> exec_modify(sc_hdl=0000000003AEAC40,ss_p=000000000205F4E0,bulk=0,in_out=1,da_p=000000000205F540)
4 ETW000 36 0.153488
4 ETW000 [ dev trc,00000] -> stmt_execute(sc_hdl=0000000003AEAC40,ss_p=000000000205F4E0,in_out=1,da_p=000000000205F540)
4 ETW000 95 0.153583
4 ETW000 [ dev trc,00000] OPEN CURSOR C_0000 on connection 0 28 0.153611
4 ETW000 [ dev trc,00000] CURSOR C_0000 SET InputSize=1 23 0.153634
4 ETW000 [ dev trc,00000] CURSOR C_0000 EXECUTE on connection 0 22 0.153656
4 ETW000 [ dev trc,00000] execute() of C_0000, #rec=0, rcSQL=0, rc=0 6404 0.160060
4 ETW000 [ dev trc,00000] CURSOR C_0000, rc=0,#rec=0,#dbcount=0 36 0.160096
4 ETW000 [ dev trc,00000] -> bind_variables(sc_hdl=0000000003AEAC40,in_out=1,bulk=0,da_p=000000000205F540)
4 ETW000 33 0.160129
4 ETW000 [ dev trc,00000] -> allocParameter(in_out=1,col_cnt=1) 21 0.160150
4 ETW000 [ dev trc,00000] -> calculate_record_length(sc_hdl=0000000003AEAC40,in_out=1,bulk=0,types=000000000205F518,#col=1,useBulkInsertWithLobs=0)
4 ETW000 37 0.160187
4 ETW000 [ dev trc,00000] #float=0,#lob=0,itab=0,#short=0,#int=0,#llong=0,#uc=72,rec_lng=144,db_lng=144
4 ETW000 31 0.160218
4 ETW000 [ dev trc,00000] <- calculate_record_length(row_size=144, lob_cnt=0, lob_pw_cnt=0, long_cnt=0, ins_bulk_lob=0, row_max=1)
4 ETW000 31 0.160249
4 ETW000 [ dev trc,00000] -> allocIndicator(in_out=1,row_cnt=1) 21 0.160270
4 ETW000 [ dev trc,00000] -> allocData(in_out=1,size=1048576) 21 0.160291
4 ETW000 [ dev trc,00000] -> bind_type_and_length(sc_hdl=0000000003AEAC40,in_out=1,bulk=0,arr_size=1,types=000000000205F518,da_p=000000000205F540)
4 ETW000 45 0.160336
4 ETW000 [ dev trc,00000] -> exec_fetch(sc_hdl=0000000003AEAC40,bulk=0,da_p=000000000205F540)
4 ETW000 41 0.160377
4 ETW000 [ dev trc,00000] xcnt=1,row_i=0,row_pcnt=0 20 0.160397
4 ETW000 [ dev trc,00000] -> stmt_fetch(sc_hdl=0000000003AEAC40) 20 0.160417
4 ETW000 [ dev trc,00000] CURSOR C_0000 FETCH (xcnt=1) on connection 0 23 0.160440
4 ETW000 [ dev trc,00000] next() of C_0000, rc=0 27 0.160467
4 ETW000 [ dev trc,00000] fetch() of C_0000, #rec=1, rc=0, rcSQL=0 28 0.160495
4 ETW000 [ dev trc,00000] -> deactivate_stmt(sc_hdl=0000000003AEAC40,da_p=000000000205F540,rc=0)
4 ETW000 91 0.160586
4 ETW000 [ dev trc,00000] -> StmtCacheFree(DBSL:C_0000) 24 0.160610
4 ETW000 [ dev trc,00000] CURSOR C_0000 CLOSE resultset on connection 0 20 0.160630
4 ETW000 [ dev trc,00000] } DbSlHDBRead(rc=0) 34 0.160664
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=43,arg_p=00000001400FAB06) 25 0.160689
4 ETW000 [ dev trc,00000] INFO : SAP RELEASE (DB) = 740 19 0.160708
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 16 0.160724
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=41,arg_p=00000001400FAB98) 49 0.160773
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 19 0.160792
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=14,arg_p=0000000002055888) 22 0.160814
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 18 0.160832
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=50,arg_p=0000000002055880) 22 0.160854
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 26 0.160880
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=52,arg_p=00000000020558F0) 23 0.160903
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 17 0.160920
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=20,arg_p=0000000141FC74F0) 99 0.161019
4 ETW000 [ dev trc,00000] INFO : STMT SIZE = 1048576 21 0.161040
4 ETW000 [ dev trc,00000] INFO : MARKER_CNT = 32767 18 0.161058
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 19 0.161077
4 ETW000 [ dev trc,00000] NTAB: SELECT COMPCNT, UNICODELG FROM DDNTT WHERE TABNAME = 'SVERS'...
4 ETW000 38 0.161115
4 ETW000 [ dev trc,00000] { DbSlHDBPrepare(con_hdl=0,ss_p=0000000002055160,op=3,da_p=00000000020551B0)
4 ETW000 31 0.161146
4 ETW000 [ dev trc,00000] -> buildSQLStmt(stmt_p=0000000002055180,da_p=00000000020551B0,for_explain=0,lock=0,op=3)
4 ETW000 32 0.161178
4 ETW000 [ dev trc,00000] <- buildSQLStmt(len=63,op=3,#marker=0,#lob=0) 23 0.161201
4 ETW000 [ dev trc,00000] -> stmt_prepare(sc_hdl=0000000003AEACD8,ss_p=0000000002055160) 38 0.161239
4 ETW000 [ dev trc,00000] sc_p=0000000003AEACD8,no=1,idc_p=0000000000000000,con=0,act=0,slen=63,smax=256,#vars=0,stmt=000000000AE09690,table=DDNTT
4 ETW000 38 0.161277
4 ETW000 [ dev trc,00000] SELECT COMPCNT, UNICODELG FROM "DDNTT" WHERE TABNAME = 'SVERS' ; 21 0.161298
4 ETW000 [ dev trc,00000] CURSOR C_0001 PREPARE on connection 0 19 0.161317
4 ETW000 [ dev trc,00000] } DbSlHDBPrepare(rc=0) 6453 0.167770
4 ETW000 [ dev trc,00000] db_con_test_and_open: 1 open cursors (delta=1) 30 0.167800
4 ETW000 [ dev trc,00000] db_con_check_dirty: 1 open cursors, tx = NO , bc = NO 18 0.167818
4 ETW000 [ dev trc,00000] db_con_check_dirty: db_con_dirty = YES 16 0.167834
4 ETW000 [ dev trc,00000] { DbSlHDBBegRead(con_hdl=0,ss_p=0000000002055160,da_p=00000000020551B0)
4 ETW000 35 0.167869
4 ETW000 [ dev trc,00000] ABAP USER is not set 23 0.167892
4 ETW000 [ dev trc,00000] -> activate_stmt(sc_hdl=0000000003AEACD8,da_p=00000000020551B0) 23 0.167915
4 ETW000 [ dev trc,00000] -> bind_variables(sc_hdl=0000000003AEACD8,in_out=0,bulk=0,da_p=00000000020551B0)
4 ETW000 32 0.167947
4 ETW000 [ dev trc,00000] -> allocParameter(in_out=0,col_cnt=0) 23 0.167970
4 ETW000 [ dev trc,00000] -> calculate_record_length(sc_hdl=0000000003AEACD8,in_out=0,bulk=0,types=0000000000000000,#col=0,useBulkInsertWithLobs=0)
4 ETW000 34 0.168004
4 ETW000 [ dev trc,00000] #float=0,#lob=0,itab=0,#short=0,#int=0,#llong=0,#uc=0,rec_lng=0,db_lng=0
4 ETW000 30 0.168034
4 ETW000 [ dev trc,00000] <- calculate_record_length(row_size=0, lob_cnt=0, lob_pw_cnt=0, long_cnt=0, ins_bulk_lob=0, row_max=1)
4 ETW000 31 0.168065
4 ETW000 [ dev trc,00000] -> exec_modify(sc_hdl=0000000003AEACD8,ss_p=0000000002055160,bulk=0,in_out=1,da_p=00000000020551B0)
4 ETW000 32 0.168097
4 ETW000 [ dev trc,00000] -> stmt_execute(sc_hdl=0000000003AEACD8,ss_p=0000000002055160,in_out=1,da_p=00000000020551B0)
4 ETW000 32 0.168129
4 ETW000 [ dev trc,00000] OPEN CURSOR C_0001 on connection 0 20 0.168149
4 ETW000 [ dev trc,00000] CURSOR C_0001 SET InputSize=1 19 0.168168
4 ETW000 [ dev trc,00000] CURSOR C_0001 EXECUTE on connection 0 20 0.168188
4 ETW000 [ dev trc,00000] execute() of C_0001, #rec=0, rcSQL=0, rc=0 5712 0.173900
4 ETW000 [ dev trc,00000] CURSOR C_0001, rc=0,#rec=0,#dbcount=0 34 0.173934
4 ETW000 [ dev trc,00000] -> bind_variables(sc_hdl=0000000003AEACD8,in_out=1,bulk=1,da_p=00000000020551B0)
4 ETW000 32 0.173966
4 ETW000 [ dev trc,00000] -> allocParameter(in_out=1,col_cnt=2) 21 0.173987
4 ETW000 [ dev trc,00000] -> calculate_record_length(sc_hdl=0000000003AEACD8,in_out=1,bulk=1,types=0000000002055240,#col=2,useBulkInsertWithLobs=0)
4 ETW000 34 0.174021
4 ETW000 [ dev trc,00000] #float=0,#lob=0,itab=0,#short=2,#int=0,#llong=0,#uc=0,rec_lng=16,db_lng=4
4 ETW000 30 0.174051
4 ETW000 [ dev trc,00000] <- calculate_record_length(row_size=16, lob_cnt=0, lob_pw_cnt=0, long_cnt=0, ins_bulk_lob=0, row_max=65536)
4 ETW000 32 0.174083
4 ETW000 [ dev trc,00000] -> allocIndicator(in_out=1,row_cnt=65536) 20 0.174103
4 ETW000 [ dev trc,00000] -> allocData(in_out=1,size=1048576) 30 0.174133
4 ETW000 [ dev trc,00000] -> bind_type_and_length(sc_hdl=0000000003AEACD8,in_out=1,bulk=1,arr_size=65536,types=0000000002055240,da_p=00000000020551B0)
4 ETW000 36 0.174169
4 ETW000 [ dev trc,00000] } DbSlHDBBegRead(rc=0) 24 0.174193
4 ETW000 [ dev trc,00000] { DbSlHDBExeRead(con_hdl=0,ss_p=0000000002055160,da_p=00000000020551B0)
4 ETW000 35 0.174228
4 ETW000 [ dev trc,00000] ABAP USER is not set 20 0.174248
4 ETW000 [ dev trc,00000] -> exec_fetch(sc_hdl=0000000003AEACD8,bulk=0,da_p=00000000020551B0)
4 ETW000 33 0.174281
4 ETW000 [ dev trc,00000] xcnt=1,row_i=0,row_pcnt=0 20 0.174301
4 ETW000 [ dev trc,00000] -> stmt_fetch(sc_hdl=0000000003AEACD8) 20 0.174321
4 ETW000 [ dev trc,00000] CURSOR C_0001 FETCH (xcnt=1) on connection 0 20 0.174341
4 ETW000&Hi,
Could you check for SAP Note 1952701 - DBSL supports new HANA version number
Regards,
Gaurav -
OBIEE EXECUTE PHYSICAL sql as Data Model Query
The following SQL was generated using OBIEE. I'd like to use it as the SQL query for my data model. It works fine it I hard code all of the values into the where clase. However when I attempt to pass parameter values (:ACCOUNTING_PERIOD & :FISCAL_YEAR) into the below SQL statement, I get an error and the report will not generate. The error is the typical "The report can't be rendered. Check with your administrator". Any ideas on how I can pass parameter values into this SQL?
EXECUTE PHYSICAL CONNECTION POOL SDEVDW SELECT A.BUSINESS_UNIT,A.PROJECT_ID,A.PROJECT_STATUS,A.EFFDT FROM SPSDW.PS_PROJECT_STATUS A WHERE A.EFFDT = (SELECT MAX(B.EFFDT) FROM SPSDW.PS_PROJECT_STATUS B WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.PROJECT_ID = A.PROJECT_ID AND B.PROJECT_STATUS<>'C' AND B.EFFDT <= (SELECT PPERIOD_END_DT FROM SPSDW.PS_D_DET_PERIOD WHERE PPERIOD_CD = 6 AND PYEAR_NUM = 2008 AND DT_PATTERN_CD = '01' AND SRC_SYS_ID = 'FSCM')
) ORDER BY 1,2,3I turned on debug and bounded OC4J. After I ran the report, I did not see any link.
The error that returns is:
"The report cannot be rendered because of an error, please contact the administrator."
Where will the link be located. Is there are log file that I can review. We are using BI Publisher enterprise (10.1.3.3.0). -
Hi,
This is kind of weird issue that I am experiencing with excel connection manager in SSIS 2012. This issue occurs sometimes but when I close and re-open SSDT (SQL Server Data Tools - newer BIDS) then this issues goes off temporarily.
Just FYI, through SSDT environment I executed the package successfully with both settings Run64bit runtime setting to Yes and No when error does not occur.
So far I have installed
http://www.microsoft.com/en-us/download/details.aspx?id=13255 (Microsoft Access Database Engine 2010 Redistributable).
I still remember for older versions of SQL Server (2005 & 2008) that I have executed Excel connection SSIS packages with Run64bit runtime = false i.e. in 32-bit mode. As far as I know I think Excel 64-bit issue has been resolved with SQL Server
2012 release.
Here is the detail of error message:
TITLE: Package Validation Error
Package Validation Error
ADDITIONAL INFORMATION:
Error at Data Flow Task [Excel Source [2]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection
Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
Error at Data Flow Task [SSIS.Pipeline]: Excel Source failed validation and returned error code 0xC020801C.
Error at Data Flow Task [SSIS.Pipeline]: One or more component failed validation.
Error at Data Flow Task: There were errors during task validation.
Error at Package [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "Unspecified error".
(Microsoft.DataTransformationServices.VsIntegration)
Here are my environment details:
SQL Server 2012 {Microsoft SQL Server 2012 (SP1) - 11.0.3368.0 (X64) } , Excel 2010 (32-bit). I am developing SSIS code on Virtual desktops with Windows 7 32-bit OS.
Also it occurred to me that since Virtual Desktops are on Shared Infrastructure, the source files and SSIS packages (code) can be on Shared drives for e.g. \\<Corpnet>\userdata\<Corp_Users_Grp>\<Username>\Visual Studio 2010\Projects\Integration
Services Project2\Integration Services Project2\Package.dtsx.
Does this kind of Shared drives have any impact to give this issue?
Thanks in advance!
Ketan
P.S.: I had look at this forum question -->
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/903bbe1d-e070-4c43-9d3b-0a5193550029/64bit-error-in-excel-connection-manager-in-ssisHi Arthur,
Thanks for your response.
Yes, it looks like SSIS still has bunch of issues with Excel files like as follows:
1) Some times excel source files cannot be parsed by excel source connection manager.
2) For derive column conversion, we can't replace the existing column. rather, we have to add the derived column as " add as new column" which is tough to manage while destination mapping.
3) If an column in excel contains a data which is not of the data type assigned for the column in excel, the excel source reads that data as "null". For the same, we can't validate the data and redirect the erroneous data in reject file. <-- For
this we tried IMEX setting also
4) In multi-tab/sheet excel file, excel source is unable to detect a tab and identify the metadata of the excel.
I am also checking Microsoft connect for Excel issues with SSIS 2012(https://connect.microsoft.com/SQLServer/SearchResults.aspx?SearchQuery=excel#&&PageIndex=22
As worst case scenario, I am thinking of converting Excel to CSV file or Flat text file. (http://www.mssqltips.com/sqlservertip/2772/importing-data-from-excel-using-ssis--part-2/).
Do you think it is advisable to convert Excel into CSV or Flat file.
Thanks,
Ketan
Maybe you are looking for
-
How do you use AVERAGE based on values from an IF formula?
This is probably a very simple thing to do, but I haven't managed to find a solution yet. Someone please help! I have a spreadsheet to calculate grades for my students. I enter their raw scores, which is then calculated into a percentage (which I the
-
Ive installed a couple of apps such as dropbox, keycue and zooskmessanger, when i scan using iBoost they show in the startup items but when i go to system preferences they are not there and i want to disable them since they are making my startup very
-
Same filesize no matter what bitrate I choose
Hello everyone. So, I just noticed this problem. It doesn't really matter what bitrate I choose (Only matters if I go below 70) I get almost the EXACT same file size and quilty. Here are my export settings. I have a YouTube channel and I upload video
-
Playing clips to log and set in and out points for scenes I will use later. Something changed with the new update and I think it is a bug. When I hit the I and O keys to set in and out points on a clip before dragging to the sequence, it zooms in o
-
Doc Import Param to suppress XML import validation message
Hi, I'm running a script where the first part is to import an xml document, then to make some changes to the imported xml. Problem is, the xml may not always be valid. If it isn't I would like to still make the changes regardless. Unfortunately, my c