Can not read shared variable on cRIO, error -1950678968 nitaglv
Hardware setup:
Laptop
Laptop connected via USB to a frammer garber.
Laptop IP: 192.168.0.2
NI vision calculating a diameter and setting a network varaible
cRIO
cRIO connected to the laptop
cRIO IP: 192.168.0.1
Project has the shared variable in the cRIO library
NI vision writes to the variable on the cRIO. I can see the variable properly updating in system manager on the cRIO. I can also run a VI in my computer that shows the variable properly updating. But...... When I read the variable with a VI running on the cRIO, I get the folowing error and the variable never updates:
Error -1950678968 occurred at Shared Variable in Main.vi
Possible reason(s):
LabVIEW: Failed to load nitaglv, which is required for Network-Published Shared Variables.
This error or warning occurred while reading the following Shared Variable:
\\NI-cRIO-OASIS\cRIOVariableLib\BubbleDiameterFromVision
\\192.168.0.1\cRIOVariableLib\BubbleDiameterFromVision
(I do not get any errors at deloyment)
So everything (NI Vision, a VI deployed on the laptop, NI Distributed System Manager) can see the variable on the cRIO being updated by the NI Vision.... Except for a VI running on the cRIO.
I have verified that I have Network Variable Engine and Variable Client Support for RT installed on the cRIO. I have tried reinstalling all s/w on the cRIO. Tried rebooting all. And talked in a nice, positive, reassuring voice to the chassis.
Hi!
I just had the same issue with my cRIO 9073 using NI RIO 3.6.0.
The problem is not caused by a corrupted project, but the improper installation of the OS on the target. There is nothing you can do using the SW installation wizard in MAX, as it does not matter if you intall a full RIO SW, minimal or custom.
You have to install the full install or a custom one with Shared Variable support. Then you have to FTP to the cRIO, and manually edit the "ni-rt.ini" file located in the root of the controller.
Make sure you have a line in the "[MODULE VERSIONS]" section which shows the version of the nitaglv.out file. (The problem is caused because this dll is not loaded when you try to access a SV) Mine looks like nitaglv.out=6.3
Then you have to insert "nitaglv.out;" without quotes to the [LVRT] section's StartupDLLs key's value. I did it after the taggerrt.out name. So my key entry now looks like this:
[LVRT]
StartupDLLs=nisysapirpc.out;NiViSrvr.out;NiRioRpc.out;taggerrt.out;nitaglv.out;sysstatepublisher.out;
memoryChecking=False
LABVIEWRTDir=/c/ni-rt/system
PATH=/c/ni-rt/system/;/c/ni-rt/;
CDIntervalTicks=55
WebServer.Enabled=FALSE
RTTarget.VIPath=/c/ni-rt/startup
RTTarget.IPAccess=+*
RTEnetRcvMode=2
RTCPULoadMonitoringEnabled=True
RTTarget.ApplicationPath=/c/ni-rt/startup/startup.rtexe
server.tcp.access="+*"
RTTarget.LaunchAppAtBoot=True
RTTarget.EnableFileSharing=True
server.tcp.serviceName="Main Application Instance/VI Server"
After you are done with the editing, you have to save the file, and overwrite the original one. You have to reboot the controller for the modification to take effect.
After this you will be able to host your variables on the cRIO and also read/write them from the application running on that same target.
I hope this will help for you too.
Regards,
Peter
Similar Messages
-
Can not read or write to disk (error -36)
I have an additional internal SATA 250GB Drive that is partitioned into "Videos" 135GB and "Music" 100GB.
Everything has been working fine until recently. The "Music" drive (where my itunes library is stored) will no longer let me copy a file and gives me an error that reads "The finder cannot complete the operation because some data in "file name" could not be read or written. (error code -36)
I have verified and repaired the disk, but it wont let me repair permissions because it's not the boot drive i guess. "Video" still works fine. "Music" has 1.46GB available.
Let me know if i should move this to Tiger discussion.I am so glad to hear I am not the only one. About 4 weeks ago, I started getting this issue as well. However, I would get it while making copies of folders onto the same hard drive, any of my 10 external drives etc ... I took my Dual 2.0 (June 2004) and they said my hard drive was bad. They gave me a new drive and logic board, but still had the issue. Went out and bought ALL new cables. Still ahve the issue. I even have the issue on three new external drives! I wish I had an aswer, but I am still confused.
I get the same error code message as well.
Good luck. -
I am trying to import cr2files from the camera into lightroom 5 and keep getting an error message saying Lightroom can not read the files and therefore will not import them. Has anyone had a similar problem….thanks
If you are having the same problem, i.e. a disk permission problem, open your favorite search engine and search on, "change disk permissions", and I think you'll find plenty of information on how to fix the problem. This is a Lightroom forum. Your problem is with your operating system. There is no sense in rewriting instructions that are already available if you do a simple search.
-
Can not read or write to mac hard drive error
When attempting to transfer music files from an external usb harddrive formatted in windows into Itunes, I can only successfully import a small fraction of the music, and then its stops with a error, that the Mac HD can not read or write files.
It's possible the file names have some 'funky' characters in them that the Mac doesn't like ?
What format is the external drive ? -
" Can not interpret the data in file " error while uploading the data in DB
Dear All ,
After running the below report I am getting the " Can not interpret the data in file " error.
Need to upload the data in DB through excel or .txt file.
Kindly advise to resolve the issue.
REPORT ZTEST_4.
data : it like ZPRINT_LOC occurs 0 with header line,
FILETABLE type table of FILE_TABLE,
wa_filetable like line of filetable,
wa_filename type string,
rc type i.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
CHANGING
FILE_TABLE = filetable
RC = rc.
IF SY-SUBRC = 0.
read table filetable into wa_filetable index 1.
move wa_filetable-FILENAME to wa_filename.
Else.
Write: / 'HI'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
start-of-selection.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = wa_filename
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = it.
IF SY-SUBRC = 0.
Write: / 'HI'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
insert ZPRINT_LOC from table it.
if sy-subrc = 0.
commit work.
else.
rollback work.
endif.
Regards
Machindra Patade
Edited by: Machindra Patade on Apr 9, 2010 1:34 PMDear dedeepya reddy,
Not able to upload the excel but have sucess to upload the .csv file to db through the below code. Thanks for your advise.
REPORT ZTEST_3.
internal table declaration
DATA: itab TYPE STANDARD TABLE OF ZPRINT_LOC,
wa LIKE LINE OF itab,
wa1 like line of itab.
variable declaration
DATA: v_excel_string(2000) TYPE c,
v_file LIKE v_excel_string VALUE 'C:\Documents and Settings\devadm\Desktop\test.csv', " name of the file
delimiter TYPE c VALUE ' '. " delimiter with default value space
read the file from the application server
OPEN DATASET v_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
write:/ 'error opening file'.
ELSE.
WHILE ( sy-subrc EQ 0 ).
READ DATASET v_file INTO wa.
IF NOT wa IS INITIAL.
append wa TO itab.
ENDIF.
CLEAR wa.
ENDWHILE.
ENDIF.
CLOSE DATASET v_file.
EXEC SQL.
TRUNCATE TABLE "ZPRINT_LOC"
ENDEXEC.
*------display the data from the internal table
LOOP AT itab into wa1.
WRITE:/ wa1-mandt,wa1-zloc_code,wa1-zloc_desc,wa1-zloc,wa1-zstate.
ENDLOOP.
insert ZPRINT_LOC from table itab. -
Read shared variable using D/3 DCS
This is a rather odd question.. I think it can be done, but I have not yet figured how.
A client has a DCS System (I believe from NovaTech), which communicates with a database.
They use a different PC to get data from a cFP using Shared Variables.
There is mention of data being sent over a Modbus Interface.
They want to know if it is possible to read the Shared Variables directly using their DCS System. If the DCS was from NI, it would probably be easier to accomplish. However, I am not at all acquainted with the NovaTech product, but I believe there must be a way to innterface to it. Probably using Data Sockets and/or PSP Protocol.
I realize the above is rather obscure... I have sent an email requesting more info and I am preparing the next email. I figured that I'd better do some background investigation and ask proper questions.
Has anyone attempted such a thing or similar? How about reading Shared Variables from Non-NI software? I did find some threads discussing reading/Writing (to/from) Shared Variables using LabWindows-CVI, but I suspect this will be quite different. Maybe I'm wrong..Thanks Christian.
I will continue in this thread after I find out more details from the client.
RayR -
Help required please. "Itunes can not read the contents of my iphone"
Greetings all,
I know this question has been asked before and I apologize for asking again but all the solutions provided don't seam to work for me, can anyone help me please.
I am receving the message: "Itunes can not read the contents of the iPhone. Go to the summary tab In iPhone Preferences and click restore torestore this Iphone to factory settings".
Now a little about my iphone, Itunes and my laptop and what steps i havealready tried.
I have an iPhone 4 running software 5.0
My itunes version is 10.5.0.142
I know these are not the most up to date versions but I have had this issue for almost 3 months now and updating the software back then was the first step I tried. I don’t believe updating to the latest will fix this issue as updating the last two times did nothing.
Every so often after starting Itunes, The program will stop responding and will require the three finger death kill (CTRL, ALT, DELETE) to open task manager to end the task of Itunes. Once it shuts down, I restart the iTunes and it runs smoothly, apart from not reading my iPhone.
When I run a diagnostic in itunes under the help tab, I get these fail messages:
Network Connectivity test: Secure link to Itunes store fail
Device connectivity test: Under support services: Itunes helper is not running. And under ports: No iPod, iPhone or iPad found.
Device Sync test: No iPod touch, iPhone or iPad found.
*See below for full diagnostic report*
I have restored back to factory settings twice.
I have shut down and restarted both my iPhone and laptop.
I am running Windows 7 32-bit on my laptop.
I am using ZoneAlarm as my fire wall, and have been disabling it when syncing my iPhone to prevent other error messages.
The iPhone is plugged into a genuine Iphone USB cable and is plugged into a USB port not a USB hub on my laptop, I have tried plugging it into all 4 USB ports and this issue still persist. The Cable is less then 5 months old, is not frayed or damaged in any way, have also borrowed 2 other cables from friends and still the same issue.
The iPhone does not even come up in windows explorer as a digital camera.
The iPhone is NOT jailbroken
I do not live close to a so called genius bar, however I have made the journey to them on 3 separate occasions last year when I first received my iPhone for a different issue, the so called genius's could not fix the problem so they just gave me a new (refurbished) iPhone, which did not extend my warranty. I will not be taking the iPhone back to them as I believe they can not resolve many issues, this is why I am reaching out to the power of the people in the wider apple community.
I have read in other forums about ifunbox and other programs for jail broken iPhones to isolate folders “iTunesDB” and "iTunesCDB" and delete them. If this is the issue is there a way to access these files through windows explorer as my iphone is not jailbroken.
I hope I have provided enough information and someone can help me fix this issue. If I have left anything out, please let me know. I thank everyone in advance for your patience and support.
Thanks
Hoggie27
FULL DIAGNOSITC REPORT
Microsoft Windows 7 Home Premium Edition Service Pack 1 (Build 7601)
Hewlett-Packard HP Pavilion dv6 Notebook PC
iTunes 10.5.0.142
QuickTime not available
FairPlay 1.13.35
Apple Application Support 2.1.5
iPod Updater Library 10.0d2
CD Driver 2.2.0.1
CD Driver DLL 2.1.1.1
Apple Mobile Device 4.0.0.96
Apple Mobile Device Driver 1.57.0.0
Bonjour 3.0.0.10 (333.10)
Gracenote SDK 1.9.3.494
Gracenote MusicID 1.9.3.106
Gracenote Submit 1.9.3.136
Gracenote DSP 1.9.3.44
iTunes Serial Number 001BAD14XXXXEA78
Current user is an administrator.
The current local date and time is 2011-11-16 10:04:53.
iTunes is not running in safe mode.
WebKit accelerated compositing is enabled.
HDCP is supported.
Core Media is supported.
Video Display Information
NVIDIA, NVIDIA GeForce GT 230M
**** External Plug-ins Information ****
No external plug-ins installed.
The drive H: Vodafone USB SCSI CD-ROM Rev USB is a USB 1 device.
**** Network Connectivity Tests ****
Network Adapter Information
Adapter Name: {97524DB0-B9DC-41DB-8AFA-0CE6938F7C95}
Description: PC
IP Address: (HAS BEEN REMOVED FOR PERSONAL REASONS)
Subnet Mask: 255.255.255.255
Default Gateway: 0.0.0.0
DHCP Enabled: No
DHCP Server:
Lease Obtained: Thu Jan 01 11:00:00 1970
Lease Expires: Thu Jan 01 11:00:00 1970
DNS Servers: 10.143.147.147
10.143.147.148
Adapter Name: {BFF0456E-DE42-4FEF-B1FA-1EA1C5EDEE42}
Description: Vodafone Mobile Broadband Network Adapter (ZTE)
IP Address: 0.0.0.0
Subnet Mask: 0.0.0.0
Default Gateway: 0.0.0.0
DHCP Enabled: No
DHCP Server:
Lease Obtained: Thu Jan 01 11:00:00 1970
Lease Expires: Thu Jan 01 11:00:00 1970
DNS Servers:
Adapter Name: {D5511FFD-0CA8-4F62-B3CA-E90384FFCD03}
Description: Broadcom 43225 802.11b/g/n
IP Address: 0.0.0.0
Subnet Mask: 0.0.0.0
Default Gateway: 0.0.0.0
DHCP Enabled: Yes
DHCP Server:
Lease Obtained: Thu Jan 01 11:00:00 1970
Lease Expires: Thu Jan 01 11:00:00 1970
DNS Servers:
Active Connection: PC
Connected: Yes
Online: Yes
Using Modem: Yes
Using LAN: No
Using Proxy: No
SSL 3.0 Support: Enabled
TLS 1.0 Support: Enabled
Firewall Information
Windows Firewall is on.
iTunes is NOT enabled in Windows Firewall.
ZoneAlarm Firewall is installed.
Connection attempt to Apple web site was successful.
Connection attempt to browsing iTunes Store was successful.
Connection attempt to purchasing from iTunes Store was successful.
Connection attempt to iPhone activation server was successful.
Connection attempt to firmware update server was unsuccessful.
The network connection timed out.
Connection attempt to Gracenote server was successful.
Last successful iTunes Store access was 2011-11-16 09:59:57.
**** CD/DVD Drive Tests ****
LowerFilters: Afc (1.0.0.2),
UpperFilters: GEARAspiWDM (2.2.0.1),
F: hp CDDVDW TS-L633N, Rev 0300
Drive is empty.
**** Device Connectivity Tests ****
iPodService 10.5.0.142 is currently running.
iTunesHelper is currently not running.
Apple Mobile Device service 3.3.0.0 is currently running.
Universal Serial Bus Controllers:
Intel(R) 5 Series/3400 Series Chipset Family USB Enhanced Host Controller - 3B34. Device is working properly.
Intel(R) 5 Series/3400 Series Chipset Family USB Enhanced Host Controller - 3B3C. Device is working properly.
FireWire (IEEE 1394) Host Controllers:
1394 OHCI Compliant Host Controller. Device is working properly.
Most Recent Devices Not Currently Connected:
iPhone 4 (GSM) running firmware version 5.0
Serial Number: 85107XQLA4S
**** Device Sync Tests ****
No iPod, iPhone, or iPad found.
< Edited By Host >Hi AM_Kidd.
Thanks for your reply.
I have done a complete uninstall and re install of iTunes and all related apple programs from my laptop through control panel, add remove programs and also by going through program files and deleting all tracers of any left over folders remove programs may have missed.
My apologies for forgetting to add this in my original post.
Thanks again -
I cannot open some files from Illustrator which contain PNG files placed. When I try to open the file, I get a message saying: "this png contains addtional data for Adobe fireworks, which will be discarded upon save." When I press "ok" I get the same screen again. When I press "cancel" I get: "coulld not read the file because an error has occured". I am currently working on a Mac Mavericks. Using Illustrator cc and Fireworks CS6.
Eliana,
If you have some file corruption, one thing often tried first is to create a new document and File>Place the (PDF contents, if any of the) corrupted one to see how much may be rescued that way.
Here are some websites where you can see whether it can rescue the actual file, and if it can, you may pay for a subscription to have it done,
http://www.recoverytoolbox.com/buy_illustrator.html
http://markzware.com/adobe-software/fix-illustrator-file-unknown-error-occurred-pdf2dtp-fi le-recovery/
http://www.illustrator.fixtoolbox.com/
As far as I remember, the first one is for Win and the second one is for Mac, while the third one should be for both.
Here are a few pages about struggling with it yourself:
http://daxxter.wordpress.com/2009/04/16/how-to-recover-a-corrupted-illustrator-ai-file/
http://helpx.adobe.com/illustrator/kb/troubleshoot-damaged-illustrator-files.html
http://kb2.adobe.com/cps/500/cpsid_50032.html
http://kb2.adobe.com/cps/500/cpsid_50031.html
http://helpx.adobe.com/illustrator/kb/enable-content-recovery-mode-illustrator.html -
Why do I keep getting a "you can not sign in because of server error" when I try to turn on my icloud control panel from my Windows 7 PC?
I'm able to log in from my browser, why not from control panel?Hello, Sameh.tolba.
Thank you for visiting Apple Support Communities.
I would recommend going through the troubleshooting steps in the two articles below when experiencing this issue.
Apple software on Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/ts4123
iCloud: Making sure that iCloud works with security software in Windows
http://support.apple.com/kb/TS4175
Cheers,
Jason H. -
Exception --- Value can not be converted to requested type.Error Code: 0
Inside my query, I try to use function,like
Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD");
sometimes query works fine and sometimes got following exception, can anyone here help me out..
Internal Exception: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.Error Code: 0
Call:SELECT COUNT(*), to_char(REG_DATE, 'YYYY/MM/DD') FROM SYSTEM_DETAIL WHERE ((REG_DATE BETWEEN {ts '2008-08-10 00:00:00.0'} AND {ts '2008-09-30 23:59:59.0'}) AND (GEOGRAPHIC_ID = 104)) GROUP BY to_char(REG_DATE, 'YYYY/MM/DD') ORDER BY to_char(REG_DATE, 'YYYY/MM/DD') ASC
Query:ReportQuery(com.cad.registration.RegistrationDetailImpl)
at com.cad.report.data.DocumentReturnedDataGenImpl.loadData(DocumentReturnedDataGenImpl.java:130)
at com.cad.report.data.AbstractDataGen.getReport(AbstractDataGen.java:96)
at com.cad.report.command.ProcessReportRequestOnMessage.run(ProcessReportRequestOnMessage.java:74)
at com.cad.registration.command.AbstractCommand.execute(AbstractCommand.java:106)
at com.cad.flow.core.Run.run(Unknown Source)
at com.cad.flow.core.WorkflowComponent.run(Unknown Source)
at com.cad.flow.ejbs.WorkflowManagerBean.execute(WorkflowManagerBean.java:238)
at com.cad.flow.ejbs.WorkflowManagerBean.execute(WorkflowManagerBean.java:135)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl.execute(WorkflowManager_uh667k_EOImpl.java:132)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl_1001_WLStub.execute(Unknown Source)
at com.cad.util.WorkflowProxy.runWorkflow(WorkflowProxy.java:128)
at com.cad.kbd.messenger.listener.mdb.ReportRequestMDB.onMessage(ReportRequestMDB.java:84)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3964)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070620)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.Error Code: 0
Call:SELECT COUNT(*), to_char(REG_DATE, 'YYYY/MM/DD') FROM SYSTEM_DETAIL WHERE ((REG_DATE BETWEEN {ts '2008-08-10 00:00:00.0'} AND {ts '2008-09-30 23:59:59.0'}) AND (GEOGRAPHIC_ID = 104)) GROUP BY to_char(REG_DATE, 'YYYY/MM/DD') ORDER BY to_char(REG_DATE, 'YYYY/MM/DD') ASC
Query:ReportQuery(com.cad.registration.RegistrationDetailImpl)
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:988)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.fetchRow(DatabaseAccessor.java:780)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:562)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:457)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:174)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:481)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:825)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllReportQueryRows(ExpressionQueryMechanism.java:791)
at oracle.toplink.queryframework.ReportQuery.executeDatabaseQuery(ReportQuery.java:518)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:779)
at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:451)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:2089)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:993)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:965)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:878)
at com.cad.persistence.toplink.TopLinkPersistenceBrokerImpl.executeQuery(TopLinkPersistenceBrokerImpl.java:420)
at com.cad.report.data.DocumentSys.getSummitedDocumentNumber(DocumentSys.java:332)
at com.cad.report.data.DocumentSys.loadData(DocumentSys.java:110)
... 24 more
Caused by: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.base.BaseData.getTimestamp(Unknown Source)
at weblogic.jdbc.base.BaseResultSet.getTimestamp(Unknown Source)
at weblogic.jdbc.wrapper.ResultSet_weblogic_jdbc_base_BaseResultSet.getTimestamp(Unknown Source)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObjectThroughOptimizedDataConversion(DatabaseAccessor.java:1038)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:942)
... 45 moreHere is my code
ExpressionBuilder builder = new ExpressionBuilder();
ReportQuery query = new ReportQuery(RegistrationDetailImpl.class, builder);
query.addArgument("startTime");
query.addArgument("endTime");
query.addArgument("lro");
Expression lroCol = builder.get("lro");
Expression regDateCol = builder.get(
QueryConstants.RegistrationDetailQueryConstants.REGISTRATION_NUMBER_COL).get(
QueryConstants.RegistrationDetailQueryConstants.REGISTRATION_DATE_COL);
Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD");
Expression timeExp = regDateCol.between(builder.getParameter("startTime"), builder
.getParameter("endTime"));
Expression lroExp = lroCol.equal(builder.getParameter("lro"));
query.setSelectionCriteria(timeExp.and(lroExp));
query.addCount();
query.addAttribute("regDate", formattedRegDateCol);
query.addGrouping(formattedRegDateCol);
query.addOrdering(formattedRegDateCol.ascending());
descriptor.getDescriptorQueryManager().addQuery("testquery", query); -
FRM-40010:can not read form
FRM-40010:can not read form/appstest/cmwprodappl/po/11.5.0/forms/us/nwasa.fmx
how can i resolve this error
please tell meRanga,
Make sure the form is there in the correct path.
Error Message: FRM-40010: Cannot read form %s.
Error Cause:
One of the following: 1. You entered a nonexistent form name. 2. You typed an incomplete path. 3. You do not have the proper privileges to run the form. 4. You do not have a compiled copy of the form.Regards,
Manu. -
Hi!
I can not go to ITunes. An error. It says: This Apple ID has not yet been used with the iTunes Store.
What to do?Go view your account and make sure you have a valid payment method in your account.
-
Hello, I have downloaded the new update to my iPhone 4 but I can not instal it , gives me a error signs would you please help me thank you. Nasser
Please identify the error.
-
I have set up icloud tool and I try to log in but it always fail showing error "you can not sign in because of server error", what can I do?
Hello, Sameh.tolba.
Thank you for visiting Apple Support Communities.
I would recommend going through the troubleshooting steps in the two articles below when experiencing this issue.
Apple software on Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/ts4123
iCloud: Making sure that iCloud works with security software in Windows
http://support.apple.com/kb/TS4175
Cheers,
Jason H. -
I can not download my movie it says error 50
I can not dowload a movie it says error 50 what does that mean?
Have a read of this:
http://support.apple.com/kb/ts1583
Maybe you are looking for
-
The Exchange Management Shell fails to connect in Exchange 2013 environment, this is a DAG environment and previously it indicates another error message, which is in my another thread. We fixed that error by delete the retired proxy entry in the serv
-
Download Adobe photoshop elements 9
As you tell me that it is permitted to have two active installations can you tell me how I have to do to download it because I have the DVD but my netbook hasn't a DVD player. Is it possible to download by internet and, if yes, can you give me the pr
-
Hi MM experts Could any one help, How to List PO based on discounts with discount value? Thanks in advance Regards Senthilnathan
-
Change Report Layout to Landscape
Hi, There is one Print Icon available at the below of the page in dashboard. We have the requirment to change the report layout to landscape view when printing through PDF option. Any way through which we can achieve this? Regards
-
+*Hi, I have a Mac Mini running OS X 10.5.1 Leopard. I recently tried to download the 10.5.2 Update, it downloaded successfuly, but when I try to install it, it sits and the loading bar doesn't move at all. I've let it sit for several hours (12 to be