Error #5 - XMLExporter - Invalid procedure call or argument c:
MS Access version installed on machine
* Version of MDB file - 2002
* Operating System - Windows Server 2003
* Service Pack version - Service Pack 2
* Is it a linked MDB file? Tables already linked to Oracle Backend
* Version of Exporter tool used - 10.2.0.2.0
* Have you carried out the steps to analyse your MDB file to remove erroneous/invalid objects? Yes
Using the Exporter I keep gettin this Error message after about 3sec
Error #5 - XMLExporter - Invalid procedure call or argument c:<Location of .mdb> Database Schema did not complete successfully
Would somebody by any chance know what wrong. I ran the documenter and everything seems to be fine
Thanks
Hi Roger,
Can you please confirm that you carried out the steps outlined in the Diagnosing Exporter Problems announcement - http://forums.oracle.com/forums/ann.jspa?annID=376 ?
I have been unable to reproduce the reported error with the 2002 Exporter, so for the time being, I would recommend that you continue using the 2000 version. It would be very helpful if I could obtain a copy of your MDB file (a copy of the MDB file without the data would suffice). I could then use it in an attempt to replicate the issue, and resolve it for a future release of the Exporter tool. If possible, could you please update your profile with your email address so I can contact you directly.
Regards,
Hilary
Similar Messages
-
Error #5 - XMLExporter - Invalid procedure call or argument
I cannot seem to get past this error:
Error #5 - XMLExporter - Invalid procedure call or argument C:\temp\Larry1.mdb Database Schema Export did not complete successfully.
Oracle SQL Developer (3.1.07) Build MAIN-07.42
Windows XP - 5.1 Build 2600.xpsp_sp3_gdr.111025-1629 Service Pack 3
Access 2002 (10.4302.4219) SP-2
Tools > References:
Visual Basic for Applications
Microsoft Access 10.0 Object Library
OLE Automation
Microsoft DAO 3.6 Object Library
Microsoft ActiveX Data Ojbects 2.5 Library
Larry1.mdb is a new MDB created for this test, with one table and nothing else.
Table: Person
Columns:
ID auto-number, primary key
Name text 50
Age Number (Long Integer)
Any suggestions?Larry,
I did some research on this error and can only recommend to read some other forum threads in the hope they give you some help:
https://kr.forums.oracle.com/forums/thread.jspa?messageID=4176175
Trying to use MS Access Migration
Error #5 - XMLExporter - Invalid procedure call or argument.
If that does not help I suggest you open a Service Request with Oracle Support so that you can upload your mdb file for further investigations.
Regards
Wolfgang -
FDM Conditional Map error - Invalid Procedure Call or arguments
Hi,
I am trying to add a script to my LIKE mapping to pick up the target Product based on the type of target account.
This is the script I have written -
If Mid(varValues(14),1,1) = "6" Then Result = varValues(37) Else Result = varValues(21) End If
When i try to import (using Integration script from a database table) I get the error - Invalid Procedure Call or arguments.
If I remove the 'Else' part, it imports successfully. Also I tried the same using Case statements - I get the same error, if I remove 'Case Else' it works fine.
Any hekp on this would be highly appreciated!
Thanks in advnace...This mapping is associated with Product dimension - UD10 (varValues(37)). UD10 is active and mappable, mapped to target Product dimension. UD2 (varValues(21)) is the lookup which is not mapped to a target dimension.
-
Bex Designer 3.5: An unexpected 'invalid procedure call or argument' error
Hi,
Our Bex environment has both 3.5 and 7.0 queries and objects.
Recently Bex Query Designer 3.5 started crashing when we expand on the Restricted Key Figures. It works fine in 7.0 designer. And, expanding the Calculated Key Figures works fine in both 3.5 and 7.0
It only happens on 1 multiprovider, which has more than 100 RKFs.
The error message is: An unexpected 'invalid procedure call or argument' error occured in wdbrlog.
On clicking Continue, the next message is: Run-time error '-2147221499 (80040005)'; Fatal Error - Terminating
The same error is happening in Test, UAT and Production environments for this 1 multiprovider.
I resinstalled Business Explorer client software, but no change.
Any suggestions on how to fix or approach fixing this?
Thanks!Problem was resolved by opening a note with SAP. Their response is pasted below:
"The problem has been solved. The reason for the termination in Query Designer was actually the fact the one Restricted Key Figure somehow has lost it's technical name.
The problematic object is RKF SAP Plan Value (4L9J85WYTCFK4DEA63PD2R4V7)The user given name of this object was not available in the database table RSZCOMPDIR and was actually required in the Query Designer. The application was not able to create a tree of expanded RKFs having no technical names.
In general, this error can be fixed by the special check program analyze_rsz_tables which is supposed to try to find out this missing technical name. But in this particular case the repair procedure in the program has failed as no traces or information what this missing name could be was available. Therefore I just fixed this issue manually by entering a new technical name for this object." -
"Run-time Error "5": Invalid Procedure Call or Argument" when starting application
I tried installing an old custom accounting application on Windows 7 and it won't run.
I then tried using the "simpleprogramdebugger" and here are the last few lines when the error was encountered:
Event Time
Event Type
Thread ID
Memory Address
Filename
More Information
00:00.6
Load DLL
5044
0x74cc0000
C:\Windows\system32\rsaenh.dll
00:00.7
Exception
5044
0x755e812f
Exception Code: 0xc000008f, Parameters: , 0xdeadcafe, 0xdeadcafe
00:00.7
Load DLL
5044
0x74400000
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.DLL
00:02.8
Exception
5044
0x755e812f
Exception Code: 0xc000008f, Parameters: , 0xdeadcafe, 0xdeadcafe
00:02.8
Exit Thread
6108
Exit Code: 0x00000000
00:02.8
Exit Process
5044
Exit Code: 0x00000000
Any suggestions on how I might fix this problem?Hi,
The MONITOR told that the hhes3.exe is trying to query wing.dll,wing32.dll qtim32.dll and WAVMIX16.dll which cannot be found on your system. See:
And wing.dll is a very old Windows 3.11 DLL, more information regarding this, please check this thread:Wing.dll
could not be found,
As you told that this application could be run on another PC running Windows 7 Premium, could you please also have a share with the log running on that PC?
From the result it seems that this application is not compatible with your OS current version. So if you want to run this application, we could run it in an XP virtual box, or we might try with
XP mode.
Hope this might help
Best regards
Michael
If you have any feedback on our support, please click
here.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Hi,
I',m very new of EXCEL VBA programs, one of the pivot table able to run with out error.
but other getting error when i run it
below codes are automatically created by excel macro recorder.
if you help me out this situation, i really appriciated
Sub Macro11()
' Macro11 Macro
ActiveWorkbook.Worksheets("LCG-JKX").PivotTables("ThickCheckIn").PivotCache. _
CreatePivotTable TableDestination:="LCG-JKX!R17C64", TableName:= _
"PivotTable9", DefaultVersion:=xlPivotTableVersion15
Sheets("LCG-JKX").Select
CellS(17, 64).Select
ActiveWorkbook.ShowPivotTableFieldList = True
With ActiveSheet.PivotTables("PivotTable9")
.PivotFields("Thick(mm)").Orientation = xlRowField
.PivotFields("matTypeC").Orientation = xlPageField
End With
ActiveSheet.PivotTables("PivotTable9").ColumnGrand = False
Range("BL17").Select
ActiveSheet.PivotTables("PivotTable9").PivotSelect "", xlDataAndLabel, True
Selection.ClearContents
Range("BH18").Select
End SubYou can't have two pivot table with same name in a sheet. As the macro names pivot table as "Pi...9" always if you run 2nd time, macro will try naming with "Pi..9" again but is not allowed.
try changing only the first block.
ActiveWorkbook.Worksheets("LCG-JKX").PivotTables("ThickCheckIn").PivotCache. _
CreatePivotTable TableDestination:="LCG-JKX!R17C64", TableName:= _
"PivotTable" & [=round(Rand()*1000,0)], DefaultVersion:=xlPivotTableVersion15
Just added RAND to make the pivot table name unique.
Best Regards,
Asadulla Javed, Kolkata
Please do not forget to click “Vote as Helpful” if any post helps you and
"Mark as Answer”if it solves the issue. -
An error has occurred:Invalid postback or callback argument in InfoView
Hi Friends,
When i try to change the parameter values and click OK button while scheduling a report in InfoView, i am getting the following error:
An error has occurred:Invalid postback or callback argument. Event validation is enabled using in configuration or in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager. RegisterForEventValidation method in order to register the postback or callback data for validation.
Till now i have not find any good solution for this. Please help in providing any better solutions to fix this.
Edited by: Shivananda Puli on Aug 6, 2010 11:55 AM
Edited by: Shivananda Puli on Aug 6, 2010 11:55 AMThis forum is for questions in regards to using the SDK within a custom application, since you are using Infoview, please post this in the applicable forum under the [Business Objects|/community [original link is broken]; section
-
I'm replicating between two servers in two sites (Server A - Server 2012 R2 STD, Server B - Server 2008 R2) over a VPN (Sonicwall Firewall). Though the initial replication seems to be
happening it is very slow (the folder in question is less than 3GB). I'm seeing these in the event viewer every few minutes:
The DFS Replication service is stopping communication with partner PPIFTC for replication group FTC due to an error. The service will retry the connection periodically.
Additional Information:
Error: 1726 (The remote procedure call failed.)
and then....
The DFS Replication service successfully established an inbound connection with partner PPIFTC for replication group FTC.
Here are all my troubleshooting steps (keep in mind that our VPN is going through a SonicWall <--I increased the TCP timeout to 24 hours):
-Increased TCP Timeout to 24 hours
-Added the following values on both sending and receiving members and rebooted server
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Value =DisableTaskOffload
Type = DWORD
Data = 1
Value =EnableTCPChimney
Type = DWORD
Data = 0
Value =EnableTCPA
Type = DWORD
Data = 0
Value =EnableRSS
Type = DWORD
Data = 0
---------------------------------more troubleshooting--------------------------
-Disabled AntiVirus on both members
-Made sure DFSR TCP ports 135 & 5722 are open
-Installed all hotfixes for 2008 R2 (http://support.microsoft.com/kb/968429) and rebooted
-Ran NETSTAT –ANOBP TCP and the DFS executable results are listed below:
Sending Member:
[DFSRs.exe]
TCP 10.x.x.x:53 0.0.0.0:0
LISTENING 1692
[DFSRs.exe]
TCP 10.x.x.x:54669
10.x.x.x:5722 TIME_WAIT 0
TCP 10.x.x.x:54673
10.x.x.x:5722 ESTABLISHED 1656
[DFSRs.exe]
TCP 10.x.x.x:64773
10.x.x.x:389 ESTABLISHED 1692
[DFSRs.exe]
TCP 10.x.x.x:64787
10.x.x.x:389 ESTABLISHED 1656
[DFSRs.exe]
TCP 10.x.x.x:64795
10.x.x.x:389 ESTABLISHED 2104
Receiving Member:
[DFSRs.exe]
TCP 10.x.x.x:56683
10.x.x.x:389 ESTABLISHED 7472
[DFSRs.exe]
TCP 10.x.x.x:57625
10.x.x.x:54886 ESTABLISHED 2808
[DFSRs.exe]
TCP 10.x.x.x:61759
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61760
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61763
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61764
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61770
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61771
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61774
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61775
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61776
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61777
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61778
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61779
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61784
10.x.x.x:52757 ESTABLISHED 7472
[DFSRs.exe]
TCP 10.x.x.x:63661
10.x.x.x:63781 ESTABLISHED 4880
------------------------------more troubleshooting--------------------------
-Increased Staging to 32GB
-Opened the ADSIedit.msc console to verify the "Authenticated Users" is set with the default READ permission on the following object:
a. The computer object of the DFS server
b. The DFSR-LocalSettings object under the DFS server computer object
-Ran
ping <var>10.x.x.x</var> -f -l 1472 and got replies back from both servers
-AD replication is successful on all partners
-Nslookup is working so DNS is working
-Updated NIC drivers on both servers
- I ran the following to set the Primary Member:
dfsradmin Membership Set /RGName:<replication group name> /RFName:<replicated folder name> /MemName:<primary member> /IsPrimary:True
Then Dfsrdiag Pollad /Member:<member name>
I'm seeing these errors in the dfsr logs:
20141014 19:28:17.746 9116 SRTR 957 [WARN] SERVER_EstablishSession Failed to establish a replicated folder session. connId:{45C8C309-4EDD-459A-A0BB-4C5FACD97D44} csId:{7AC7917F-F96F-411B-A4D8-6BB303B3C813}
Error:
+ [Error:9051(0x235b) UpstreamTransport::EstablishSession upstreamtransport.cpp:808 9116 C The content set is not ready]
+ [Error:9051(0x235b) OutConnection::EstablishSession outconnection.cpp:532 9116 C The content set is not ready]
+ [Error:9051(0x235b) OutConnection::EstablishSession outconnection.cpp:471 9116 C The content set is not ready]
---------------------------------------more troubleshooting-----------------------------
I've done a lot of research on the Internet and most of it is pointing to the same stuff I've tried. Does anyone have any other suggestions? Maybe I need to look somewhere
else on the server side or firewall side?
I tried replicating from a 2012 R2 server to another 2012 server and am getting the same events in the event log so maybe it's not a server issue.
Some other things I'm wondering:
-Could it be the speed of the NICs? Server A is a 2012 Server that has Hyper-V installed. NIC teaming was initially setup and since Hyper-V is installed the NIC is a "vEthernet
(Microsoft Network Adapter Multiplexor Driver Virtual Switch) running at a speed of 10.0Gbps whereas Server B is running a single NIC at 1.0Gbps
-Could occasional ping timeout's cause the issue? From time to time I get a timeout but it's not as often as the events I'm seeing. I'm getting 53ms pings. The folder
is only 3 GB so it shouldn't take that long to replicate but it's been days. The schedule I have set for replication is mostly all day except for our backup times which start at 11pm-5am. Throughout the rest of the time I have it set anywhere from
4Mbps to 64 Kbps. Server A is on a 5mb circuit and Server B is on a 10mb circuit.I'm seeing the same errors, all servers are running 2008 R2 x64. Across multiple sites, VPN is steady and reliably.
185 events from 12:28:21 to 12:49:25
Events are for all five servers (one per office, five total offices, no two in the same city, across three states).
Events are not limited to one replication group. I have quite a few replication groups, so I don't know for sure but I'm running under the reasonable assumption that none are spared.
Reminder from original post (and also, yes, same for me), the error is: Error: 1726 (The remote procedure call failed.)
Some way to figure out what code triggers an Event ID 5014, and what code therein specifies an Error 1726, would extremely helpful. Trying random command line/registry changes on live servers is exceptionally unappealing.
Side note, 1726 is referenced here:
https://support.microsoft.com/kb/976442?wa=wsignin1.0
But it says, "This RPC connection problem may be caused by an unstable WAN connection." I don't believe this is the case for my system.
It also says...
For most RPC connection problems, the DFS Replication service will try to obtain the files again without logging a warning or an error in the DFS Replication log. You can capture the network trace to determine whether the cause of the problem is at the network
layer. To examine the TCP ports that the DFS Replication service is using on replication partners, run the following command in a
Command Prompt window:
NETSTAT –ANOBP TCP
This returns all open TCP connections. The connections in question are "DFSRs.exe", which the command won't let you filter for.
Instead, I used the NETSTAT command as advertised, dumping output to info.txt:
NETSTAT -ANOBP TCP >> X:\info.txt
Then I opened Excel and manually opened the .TXT for the open wizard. I chose fixed-width fields based on the first row for each result, and then added a column:
=IF(A3="Can not", "Can not obtain ownership information", IF(LEFT(A3,1) = "[", A3&B3&C3, ""))
Dragging this down through the entire file let me see that row (Row F) as the file name. Some anomalies were present but none impacted DFSrs.exe results.
Finally, you can sort/filter (I sorted because I like being able to see everything, should I choose to) to get just the results you need, with the partial rows removed from the result set, or bumped to the end.
My server had 125 connections open.
That is a staggering number of connections to review, and I feel like I'm looking for a needle in a haystack.
I'll see if I can find anything useful out, but a better solution would be most wonderful. -
Capture error messages from stored procedure calls
Hi there,
How do I capture a stored procedure calls error messages provided the stored procedures does not have output parameters? This questions applies to Oracle 7.3.4 stored procedures calls.
TQ
NeoThere are two parts.
The stored proc must 'throw' an exception.
And java must catch it.
You probably already have the java part. That is the catch(SQLException).
As for the stored proc you can use the following search string in the jdbc forum
raise oracle
You need to use 'raise' in the stored proc but I am not sure of the exact form, but one of the threads using the above search string is likely to have it. -
(BOXI R2):InfoView: Error: Invalid postback or callback argument
HI
I am working on Crystal report server2008 (XI R2): InfoView: An error has occurred:Invalid postback or callback argument.
When user tries to schedule a report by changing the input parameter values. The following error is showing. I.e When user tries to edit the parameter values and clicks OK button, the following error is prompting.
An error has occurred:Invalid postback or callback argument. Event validation is enabled using in configuration or in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. Need some quick solution for this.
Regards,
Patrick RathsPlease post your query to the [Business Objects Enterprise Administration|BI Platform; forum. This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
BTW., if this is an important issue, I'd recommend creating a phone case.
Ludek
Edited by: Ludek Uher on Aug 11, 2010 1:57 PM -
Too many arguments for stored procedure call
I have a stored procedure with 34 arguments, including the return value. I am trying to call it from java using JDBC thin drivers (jdk11, oracle815), but I get the "wrong number or types of arguments" error message. JDBC-OCI fails also. I saw a reference in this discussion group to there being a limit of 32 arguments for stored procedure calls from jdbc (posted 6/29/99). Is there such a limit? If so, is there a fix or workaround? If there is not a limit, how can I determine which argument is causing the problem?
Many thanks.
Mike
java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'PUT_CHECK'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav
a)
at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement
.java)
at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
edStatement.java)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
ement.java)
at metris.quickcheck.database.DS1.main(DS1.java:79)
nullI must confess I still don't understand your problem. By rows ...
I have an sql that recodes a column and has 1450 rows. This doesn't work
although when I use the same with less rows 40-60 it works.... do you mean rows in the table or elements in the CASE() statement ?
From the 9i SQL Reference:
" The maximum number of arguments in a CASE expression is 255, and each WHEN ... THEN pair counts as two arguments. To avoid exceeding the limit of 128 choices, you can nest CASE expressions. That is return_expr can itself be a CASE expression."
According to the 10g docs the limit is the same there.
Cheers, APC -
Error 306, wrong number or types of argument in call to ADD_OBJECT_ARG
Hello all,
I am trying to install Webutil to Forms 9i, but when compiling the webutil.pll, I am getting the compilation error 306, wrong number or types of argument in call to ADD_OBJECT_ARG(args, a0, 'java/lang/Object').
The problems are in the body of Package Jave_System when some methods of JNI are called.
What is JNI and how i can fix this problem?<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Instructor:
The procedure most likely requires an argument when executed.
To specify the argument in forms, you need to go to BLOCK property QUERY DATA SOURCE ARGUMENTS and if performing DML...use INSERT PROCEDURE ARGUMENTS, UPDATE PROCEDURE ARGUMENTS, and DELETE PROCEDURE ARGUMENTS.
Hope this helps.<HR></BLOCKQUOTE>
thanks, I will check it out !
null -
Form Builder. Error 306 wrong number or types of arguments in call to populate_table
Hi ! I'm trying to build a simple form based on a procedure.
the error that i get:
error 306 - wrong number or types of arguments in call to populate_table
When I use the Data block
wizard, I specify the procedure with a ref cursor argument. the procedure code:
open ind_prof for select i.nome, i.idade, p.nome
from individuo i, individuo_profissao ip, profissao p
where i.cod_individuo=ip.cod_individuo
and ip.cod_profissao=p.cod_profissao;
The error that i get 'points' to this procedure. I checked the cursor type, the record
type and everything seems ok.
I'm using a ref cursor to query.
I have the same proble either using a procedure or a function.
There is another method to load the data into the block. That procedure is called
automatically and it has a table of the same record type as the ref cursor as an
argument. What code should I write on it ?
what should I write in both of them ?
Thanks !<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Instructor:
The procedure most likely requires an argument when executed.
To specify the argument in forms, you need to go to BLOCK property QUERY DATA SOURCE ARGUMENTS and if performing DML...use INSERT PROCEDURE ARGUMENTS, UPDATE PROCEDURE ARGUMENTS, and DELETE PROCEDURE ARGUMENTS.
Hope this helps.<HR></BLOCKQUOTE>
thanks, I will check it out !
null -
Error 'ORA-01403 no data found', if a procedure called through $Universe
Hello,
we use at our customer the scheduling software $Universe. The problem follows is happend at calling PL/SQL-procedures within SQL*Plus:
Within the calling procedur another subprogram will be called. This program crashed on select of currval with the error 'ORA-01403 no data found'. This error happens only, if the procedure called through $Universe. If the procedure called directly from SQL*Plus or about a unix shell-script, no error happens.
About the command "select saddr,sid,serial# from sys.V_$SESSION where
username ='xxx';" we select the Session_ID's. These are identically before and after call of the procedure!
Do you have an idea, how the problem can be?
Next information about OS, releases, settings of Oracle-Session-Parameters, and the crashing procedure:
SQL*Plus: Release 8.1.6.0.0 - Production on Fri Mar 15 13:25:05 2002
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
OS: HP-UX11
ORACLE-Server NLS-parameters on HP-UX:
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_CHARACTERSET WE8DEC
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:T
NLS_DUAL_CURRENCY $
NLS_NCHAR_CHARACTERSET WE8DEC
NLS_COMP BINARY
Windows-desktop NLS-parameters:
ALTER SESSION set NLS_LANGUAGE = 'GERMAN';
ALTER SESSION set NLS_TERRITORY = 'GERMANY';
ALTER SESSION set NLS_ISO_CURRENCY = 'GERMANY';
ALTER SESSION set NLS_NUMERIC_CHARACTERS = ',.';
ALTER SESSION set NLS_CALENDAR = 'GREGORIAN';
ALTER SESSION set NLS_DATE_FORMAT = 'DD/MM/YY';
ALTER SESSION set NLS_DATE_LANGUAGE = 'GERMAN';
ALTER SESSION set NLS_SORT = 'GERMAN';
ALTER SESSION set NLS_TIME_FORMAT = 'HH24:MI:SSXFF';
ALTER SESSION set NLS_TIMESTAMP_FORMAT = 'DD.MM.RR HH24:MI:SSXFF';
ALTER SESSION set NLS_TIME_TZ_FORMAT = 'HH24:MI:SSXFF TZH:TZM';
ALTER SESSION set NLS_TIMESTAMP_TZ_FORMAT = 'DD.MM.RR HH24:MI:SSXFF
TZH:TZM';
ALTER SESSION set NLS_DUAL_CURRENCY = '?';
ALTER SESSION set NLS_COMP = 'BINARY';
PROCEDURE PROC_NEW_ID (p_value IN NUMBER,
p_field IN VARCHAR2,
p_table IN VARCHAR2,
p_currval OUT NUMBER)
IS
v_stmt VARCHAR2(200);
v_currval NUMBER;
BEGIN
-- Bildung des SQL-Statements.
v_stmt := 'INSERT INTO '||p_table|| '('|| p_field || ') VALUES
('||p_value||')';
-- Ausfuehren des SQL-Statements.
EXECUTE IMMEDIATE v_stmt;
COMMIT;
-- Bildung des SQL-Statements.
v_stmt := 'SELECT SEQ_'|| p_table || '.CURRVAL FROM DUAL';
-- Ausfuehren des SQL-Statements.
EXECUTE IMMEDIATE v_stmt INTO v_currval;
-- Wertrueckgabe
p_currval := NVL(v_currval,0);
EXCEPTION
WHEN OTHERS THEN
pkg_mira_protokoll.proc_write_error_fwd
(pkg_mira_consts.act_error,
SQLCODE,
SQLERRM(SQLCODE),
'PROC_NEW_ID');
p_currval := 0;
RAISE;
END;
Thanks for your request!
Best regards
Esser Office Consulting KG
J|rgen EsserThis forum is for posting feedback about the OTN site.
The best place for your question is probably a Portal forum.
There is a list of Portal forums here:
http://forums.oracle.com/forums/index.jsp?cat=13 -
Why do I get an invalid handle error when debugging, on a call to ncReset?
I am working with the example program obj2obj.c
I have a PCI-CAN/2 card installed.
I must call ncReset for *both* ports (CAN0 and CAN1), prior to any other commands or I will get a driver error (NC_ERR_DRIVER, Bxxx0002).
This happens even if the program terminates properly, closing all handles, and I then remove the ncReset commands.
Fine, I can live with the ncResets.
However, if I then try and debug the program using Microsoft Visual C++, it immediately chokes on the second call to ncReset( "CAN1", 0 ) and complains about an invalid handle.
If I add a status check to both of the ncResets and run the program from the DOS command line, I don't get any errors printed out
so the calls are working fine just running the program.
The driver updates listed do not appear to address this problem (1.4.1 uses LabView which I do not have and 1.4.2 is for Windows 2000)
Why are the ncResets required in the first place?
And why can't I single step through the second call to ncReset?
Thanks in advance for your help.
System details:
PC running Windows NT 4.00.1381
PCI-CAN/2 w/driver 1.4
Microsoft Visual C++ 6.0 Professionalbsat, thank you for helping out!
I had tried using only one ncReset previously and was experiencing driver errors. I removed the second ncReset as you suggested and now it seems to work with only one. I cannot get it to fail like it was doing.
However, at least one ncReset must be used or I get the following error:
ERROR ncConfig CAN1: Driver error (qual=000b000)
Press any key to continue
I get this error even when the program terminates normally. For example:
1) Build obj2obj with the ncReset command.
2) Execute and allow to terminate normally.
3) Edit obj2obj and remove ncReset command.
4) Execute and the error message is displayed.
Amazingly, I was also able to single step through most of the program this morning. I got the first three messages (of 10 total) before ge
tting the error:
Microsoft Visual C++
First-chance exception in cctool.exe (NTDLL.DLL): 0xC0000008: Invalid Handle
It seems to be more random than first appeared and perhaps more related to MSVC than to the NI-CAN card. Any insight?
Also, having to include an ncReset is undesireable since I'd like to develop a CAN driver that could be called from multiple threads. I'd be very interested in your opinion on why I'm having trouble getting it to work without one.
Thanks again for your help, it is greatly appreciated!
Maybe you are looking for
-
I believe that Time Machine will only back up my Mac hard drive and will not know that my libraries are on an external drive. I essentially have my Mac, 1 external for time machine back ups, and 1 external dedicated to my iPhoto and iTunes libraries.
-
HT4113 HELP TO UNLOCK MY I POD TOUCH
HELP ME TO UNLOCK MY I POD TOUCH
-
Encore won't save project with new filename
I have just rendered a bluray disc image of a project. Now I want to save a version of the project to tweak it specifically for the DVD image, and preserve the bluray project. On the first failed saved I learned in this forum to run Encore as an admi
-
Indesign Spell Check plugin?
Hi all, Have browsed the web a bit but haven't come across quite what I'm after. I'm looking for a spell check plugin for InDesign CS6 that gives a little more flexibility over what it's searching for. I want to be able to customize the search. For i
-
System Software Update changing settings
Why is it when I update the system software using software update, it changes my settings in the system preferences?? For instance, after the latest system update, my desktop was changed and the "require password to wake from sleep" option was change