ORA-12545 when running on another machine
Hi All,
I have developed an app in Visual C# 2008, which uses ODP.NET for connecting to Oracle.
It works perfectly, but when I pass the application binaries to my colleagues, they keep getting the [ORA-12545|http://ora-12545.ora-code.com/] error.
They have the same client version (11.1.0.6.0), but at a different location.
From the nature of the error, I assume that the application "finds" the oracle client (and thus the Oracle.DataAccess.dll) correctly.
What can I do to make the app run on their computer as well? They have the same tnsnames.ora and every setting is the same, other applications (like Toad) work for them using the same client and tnsnames.ora.
Thanks,
David.
Edited by: king4aday on 2010.05.11. 6:26
Well, given that, I think getting a sqlnet trace would be a good idea. Have you done that before by chance? It's not terribly difficult, but maybe a bit messy to do through a forum posting (not impossible mind)... If you have a support contract you can open an SR to help with that.
As an example, here's my sqlnet.ora file from an 11.2 ODAC install with all the tracing enabled (need to change path as appropriate, of course):
SQLNET.AUTHENTICATION_SERVICES=(NTS)
NAMES.DIRECTORY_PATH=(TNSNAMES, EZCONNECT)
DIAG_ADR_ENABLED=OFF
TRACE_LEVEL_CLIENT=16
TRACE_DIRECTORY_CLIENT=C:\oracle\11.2\odac\Network\Admin\TraceWhen I deliberately place an invalid host name in my tnsnames.ora file as a simple test, the section of the resulting trace file of interest looks like this:
(5840) [11-MAY-2010 11:10:08:581] nttbnd2addr: entry
(5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: entry
(5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: getaddrinfo() failed with error 11001
(5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: exit
(5840) [11-MAY-2010 11:10:08:581] nttbnd2addr: looking up IP addr for host: bogus
(5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: entry
(5840) [11-MAY-2010 11:10:10:833] snlinGetAddrInfo: getaddrinfo() failed with error 11004
(5840) [11-MAY-2010 11:10:10:833] snlinGetAddrInfo: exit
(5840) [11-MAY-2010 11:10:10:833] nttbnd2addr: *** hostname lookup failure! ***
(5840) [11-MAY-2010 11:10:10:834] nttbnd2addr: exit
(5840) [11-MAY-2010 11:10:10:834] nserror: entry
(5840) [11-MAY-2010 11:10:10:834] nserror: nsres: id=0, op=77, ns=12545, ns2=12560; nt[0]=515, nt[1]=1004, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
(5840) [11-MAY-2010 11:10:10:834] nsc2addr: error exitSo, you can clearly see the 12545 in this trace and the file will have lots of other information such as the tnsnames.ora file used, etc.
Regards,
Mark
Similar Messages
-
ConnectException when running in another machine
Hi,
I am getting ConnectException when i am running the server in another machine which is linux server,and when i am calling it from my local system it throws ConnectException.
But i didn't get it when i am running both in my local system.Please tell what modifications have i to made with my programs.
regards,
j.mouliThe problem is with the command being used to start the RMI server. If you are starting it with the flag
-D:java.rmi.server.hostname=localhost
chang the flag to
-D:java.rmi.server.hostname=johnb -
Lightroom 5. I've reinstalled it on a macbook pro but when I click "Develop" it states the module is disabled and I need to purchase a licence but I've got a full licence and it's running on another machine. How do I fix it?
Lightroom doesn't launch or returns "Develop module is disabled" error after 5.5 update
-
Ora-3113 when running sql in sqlplus mts. dedicated works fine
when i try to execute a simple query (return 1 row), from sqlplus (in the server database) by shared connection, i recive ora-3113. by dedicated conection it works fine. environment datas : server side (windows 2003 server; 10.2.0.1).
part of my trace file :
nsprecv: normal exit
nsrdr: got NSPTDA packet
nsrdr: NSPTDA flags: 0x40
nsrdr: normal exit
nsdo: entry
nsdo: cid=0, opcode=85, bl=2001, what=0, uflgs=0x0, cflgs=0x1
nsdo: nsctx: state=6, flg=0x620d, mvd=0
nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
nserror: entry
nsdo: error exit
nsdo: nsctxrnk=0
nsdo: error exit
nioqer: entry
nioqer: incoming err = 12151
nioqce: entry
nioqce: exit
nioqer: returning err = 3113
nioqer: exit
nioqrc: exit
nioqbr: entry
nioqbr: state = normal (0)
nioqsm: entry
nioqsm: Sending break packet (1)...
nsdo: entry
nsdo: cid=0, opcode=67, bl=1, what=17, uflgs=0x100, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=3, flg=0x420d, mvd=0
nsdo: nsctxrnk=0
nsdo: error exit
nioqsm: send-break: failed to send break...
nioqper: error from send-marker
nioqper: nr err code: 0
nioqper: ns main err code: 12583
nioqper: ns (2) err code: 0
nioqper: nt main err code: 0
nioqper: nt (2) err code: 0
nioqper: nt OS err code: 0
nioqsm: exit
nioqer: entry
nioqer: incoming err = 12152
nioqce: entry
nioqce: exit
nioqer: returning err = 3113
nioqer: exit
nioqbr: returning 3113
nioqbr: exit
nioqds: entry
nioqds: disconnecting...
thanksThread continued at -->
ora-3113 when running sql in sqlplus mts. dedicated works fine -
Getting ora-0600 when running PROFLOAD.sql
Hi,
I was getting ORA-0600 when running PROFLOAD.sql script for DBMS_PROFILER (from SYS account). I am running Oracle 9i personal edition on win98. Did anybody had the same problem??Here is the full dump..
QL> @profload
Package created.
Grant succeeded.
Synonym created.
create or replace library sys.dbms_profiler_lib wrapped
ERROR at line 1:
ORA-00600: internal error code, arguments: [16201], [], [], [], [], [], [], []
create or replace
ERROR at line 1:
ORA-00600: internal error code, arguments: [16201], [], [], [], [], [], [], []
Testing for correct installation
PACKAGE BODY sys.DBMS_PROFILER - missing or invalid
PL/SQL procedure successfully completed. -
I just upgraded to 10.10. On the mail program, one of my accounts is having an issue sending email. I am getting the following error message:
The certificate for this server is invalid.
Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.
But on another machine running Mavericks, I can still continue to send email. The same is try from my iPhone 5S.
On that machine running Mavericks the SMTP is configured as SSL and for "Usual Ports" (25, 465, 587) but THIS OPTION IS MISSING ON THE NEW VERSION. On the new version I have tried configuring the port to 25 and then 465 and 587 with no success. I have used the Network Utility to see if my provider is blocking me -- it is not. I have no third-party software on this machine (anti virus). I can receive email fine. On the new Yosemitie Mail there are new checkbox options of Automatically check my settings and Allow unsecure connections. I tried to uncheck SSL for SMTP but then it says it cannot send securely my passowrd and i need to check the option "Allow to send unsecurely". I did that but the same error message keeps appearing. So I have tried nearly everything I have been able to, all to no avail. Please can somebody help?Thanks for your reply. Yes, it is a POP account. Incoming mail is fine. My port for incoming is also 110. But the outgoing port should be 587 (or 24, 465 and 587 as on Mavericks' "Usual Ports" option). I am using the same configuration across three different devices and only the machine running Yosemite is having issues. I notice in the new version of Mail there is no longer the "Usual Ports" option. I am not sure this is the culprit or not. But the fact is no matter how I configure it, it will not send mail for these particular servers. I have multiple clients and only one is affected, meaning I can send email from other email addresses (different hosting contracts) on Yosemite but on this one particular one I cannot.
-
WEBUTIL: ora-305501 when running howto_ole.html
When running OTN demo file http://otn.oracle.com/products/forms/htdocs/webutil/howto_ole.html Word gets open and text replaced but SaveAs command is not executed. Instead. Error ora-305501 is displayed in the forms status bar.
I have only changed the name of the file to open.
This is my code from OTN demo:
DECLARE
app CLIENT_OLE2.OBJ_TYPE;
docs CLIENT_OLE2.OBJ_TYPE;
doc CLIENT_OLE2.OBJ_TYPE;
selection CLIENT_OLE2.OBJ_TYPE;
args CLIENT_OLE2.LIST_TYPE;
BEGIN
-- create a new document
app := CLIENT_OLE2.CREATE_OBJ('Word.Application');
CLIENT_OLE2.SET_PROPERTY(app,'Visible',1);
docs := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Documents');
doc := CLIENT_OLE2.INVOKE_OBJ(docs, 'add');
selection := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Selection');
-- insert data into new document from long item
CLIENT_OLE2.SET_PROPERTY(selection, 'Text', 'Texto añadido');
-- save document as example.doc
args := OLE2.CREATE_ARGLIST;
CLIENT_OLE2.ADD_ARG(args, 'c:\pepe.doc');
CLIENT_OLE2.INVOKE(doc, 'SaveAs', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
-- close example.doc
args := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.ADD_ARG(args, 0);
CLIENT_OLE2.INVOKE(doc, 'Close', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
CLIENT_OLE2.RELEASE_OBJ(selection);
CLIENT_OLE2.RELEASE_OBJ(doc);
CLIENT_OLE2.RELEASE_OBJ(docs);
-- exit MSWord
CLIENT_OLE2.INVOKE(app,'Quit');
exception
when others then
message(sqlcode);
message(sqlerrm);
message('Ha habido un error');
END;This is the output I have got in my Java Console.
I hope this will help you.
JInitiator: Versión 1.3.1.9
Usar versión JRE 1.3.1.9 Java HotSpot(TM) Client VM
Directorio local del usuario = C:\Documents and Settings\lobato
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
connectMode=HTTP, native.
La versión del applet Forms es: 902110
2003-ago-29 08:19:04.772 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.782 WUI[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.802 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.812 WUF[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.832 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.842 WUH[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.862 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.872 WUS[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.882 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.902 WUT[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.922 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.932 WUO[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.952 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.962 WUL[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:04.972 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2003-ago-29 08:19:04.992 WUB[VBeanCommon.getIPAddress()] 192.168.0.58
2003-ago-29 08:19:20.224 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
2003-ago-29 08:19:20.254 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2003-ago-29 08:19:20.284 WUT[loadSettings()] Local properties file loaded
2003-ago-29 08:19:20.294 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2003-ago-29 08:19:20.315 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
2003-ago-29 08:19:20.335 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2003-ago-29 08:19:20.345 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2003-ago-29 08:19:20.365 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
2003-ago-29 08:19:20.385 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2003-ago-29 08:19:20.395 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2003-ago-29 08:19:26.23 WUO[setProperty()] Setting property WUO_OLE2_OBJNAME to Word.Application
2003-ago-29 08:19:26.43 WUO[getProperty()] Getting property WUO_OLE2_CREATE_OBJ
2003-ago-29 08:19:28.196 WUO[getProperty()] Value of WUO_OLE2_CREATE_OBJ=1
2003-ago-29 08:19:28.216 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 1
2003-ago-29 08:19:28.266 WUO[setProperty()] Setting property WUO_OLE2_PROPNAME to Visible
2003-ago-29 08:19:28.286 WUO[setProperty()] Setting property WUO_OLE2_SET_PROPERTY to N1
2003-ago-29 08:19:28.556 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 1
2003-ago-29 08:19:28.707 WUO[setProperty()] Setting property WUO_OLE2_PROPNAME to Documents
2003-ago-29 08:19:28.727 WUO[getProperty()] Getting property WUO_OLE2_GET_OBJ_PROPERTY
2003-ago-29 08:19:28.767 WUO[getProperty()] Value of WUO_OLE2_GET_OBJ_PROPERTY=2
2003-ago-29 08:19:28.787 WUO[getProperty()] Getting property WUO_OLE2_CREATE_ARGLIST
2003-ago-29 08:19:28.787 WUO[getProperty()] Value of WUO_OLE2_CREATE_ARGLIST=3
2003-ago-29 08:19:28.807 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 3
2003-ago-29 08:19:28.827 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 2
2003-ago-29 08:19:28.837 WUO[setProperty()] Setting property WUO_OLE2_PROPNAME to add
2003-ago-29 08:19:28.857 WUO[getProperty()] Getting property WUO_OLE2_INVOKE_OBJ
2003-ago-29 08:19:29.908 WUO[getProperty()] Value of WUO_OLE2_INVOKE_OBJ=4
2003-ago-29 08:19:29.928 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 1
2003-ago-29 08:19:29.978 WUO[setProperty()] Setting property WUO_OLE2_PROPNAME to Selection
2003-ago-29 08:19:29.998 WUO[getProperty()] Getting property WUO_OLE2_GET_OBJ_PROPERTY
2003-ago-29 08:19:30.49 WUO[getProperty()] Value of WUO_OLE2_GET_OBJ_PROPERTY=5
2003-ago-29 08:19:30.59 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 5
2003-ago-29 08:19:30.79 WUO[setProperty()] Setting property WUO_OLE2_PROPNAME to Text
2003-ago-29 08:19:30.99 WUO[setProperty()] Setting property WUO_OLE2_SET_PROPERTY to STexto añadido -
ORA -04062 when running forms aginst a different schema
Hello,
I am getting this error (ORA -04062 signature of 'procedure' has been changed)when I try to run my form aginst my test- schema (different from my development schema). I get rid of the error if I compile the form against the test schema. In the production environment I have to run this form against multiple schemas, so recompilation is not a possible solution.
Has anybody else come across this problem.
nullThanks John for your reply !
I think my problem is close to the second thing you mention as a possible cause. I found out that I had used a parameter of type table%ROWTYPE in call to a pacakged procedure. When I defined a "TYPE MyRec IS RECORD" record type in my pacakge specification and used that as the type for the parameter my form seems to work against my test schema without recompilation. Unfortunately the table is pretty large so my package specification does not look so neat anymore. And I lost the dynamics associated with the %ROWTYPE attribute.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Alexander ([email protected]):
That's a well-known bug. Its worse with a v7 database, but still can occur with 8/8i.
A couple of things to look for:
1) REMOTE_DEPENDENCIES_MODE is SIGNATURE instead of TIMESTAMP in init.ora.
2) Forms that call stored procedures with a large parameter list (about 55 or more) can get a run-time error ORA-4062 if running on a different schema than where it was compiled.
3) You can also hit a snag if you are calling a dbms_XX package within the form. Instead, call it within a db procedure, which you can call from the form.
John Alexander
St. Petersburg, FL www.SummitSoftwareDesign.com <HR></BLOCKQUOTE>
null -
ORA-01816 when running with Oracle Instant Client
good morning
we are running the same SQL script on 2 computers.
- native system with DB
- via Oracle Instant client
when running via the instant client i get the following error.
( select to_char(to_date('1970-01-01') + "DATE" / 86400000, 'YYYY-MM-DD') "CD", logical_name
ERROR at line 2:
ORA-01861: literal does not match format string
thanks for any hintIt probably works on one and not the other because you have set the NLS_DATE_FORMAT for one system to match the format of the string you are passing in, so Oracle knows how to do the implicit conversion.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
"Security error accessing url" - Accessing HTTP service running on another machine
Flex app is hosted as web service and is trying t access data
from HTTP Service
running on different machine. It throws following error
[RPC Fault faultString="Security error accessing url"
faultCode="Channel.Security.Error" faultDetail="Destination:
DefaultHTTP"]
at
mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::DirectHTTPMessageResponder/securityErrorHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
at flash.events::EventDispatcher/dispatchEvent()
But when I run the HTTP Services (data provider) on same
machine application
works fine.
Already used crossdomain.xmlSorted the cross domain problem by using mx:Webservice rather
than an httpservice. -
Runtime error ora-12703 when running utl_mail
hello,
I call a procedure through push button to use UTL_MAIL.send(..) and I got error ora-12703.
There is no error during compilation.
For your info, I manage to execute the same code on stored procedure using TOAD and I received the email sent using TOAD and telnet from my local.
For info:
Forms developer version:
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
procedure:
PROCEDURE test_email IS
BEGIN
UTL_MAIL.send (
sender => '[email protected]',
recipients => '[email protected]',
cc => '[email protected]',
bcc => '[email protected]',
subject => 'Test',
MESSAGE => 'Hello World',
mime_type => 'text; charset=us-ascii',
priority => 3
END;
Could anyone please help me on this.
Regards,
DayangHi All,
I tried another function that use utl_smtp to send email.
Again I could recieve email when I execute the function in TOAD but got error ora-12703 when I ran using forms.
When I ran the form, only "debug 1st" apear, then after that it returned error ora-12703.
Function:
FUNCTION SEND_MAIL
(pIssuer IN VARCHAR2,
pReceiver IN VARCHAR2,
pSender IN VARCHAR2,
pSubject IN VARCHAR2,
pMessage IN VARCHAR2) RETURN VARCHAR2 IS
c utl_smtp.connection;
respuesta utl_smtp.reply;
pServer VARCHAR2(50) := '10.0.3.79';
CRLF CHAR(2) := CHR(13) || CHR(10);
BEGIN
message('debug 1st');
-- Abre la conexión al Server de correo
c := utl_smtp.open_connection(pServer);
message('debug2nd');
respuesta := utl_smtp.helo(c, pServer);
-- Inicia el Issuer del correo.
respuesta := utl_smtp.mail(c, pSender);
-- Inicia el Receiver
respuesta := utl_smtp.rcpt(c, pReceiver);
respuesta := utl_smtp.open_data(c);
-- Escribe la cabecera del e-mail
utl_smtp.write_data(c, 'From: ' || pIssuer || CRLF);
utl_smtp.write_data(c, 'To: ' || pReceiver || CRLF);
-- Escribe el Subject
utl_smtp.write_data(c, 'Subject: ' || pSubject || CRLF);
-- Escribe el texto del Message.
utl_smtp.write_data(c, CRLF || pMessage);
utl_smtp.write_data(c, CRLF || '.');
respuesta := utl_smtp.close_data(c);
-- Cierra la conexión
respuesta := utl_smtp.quit(c);
RETURN '0';
EXCEPTION
WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
utl_smtp.quit(c);
RETURN sqlerrm;
--raise_application_error(-20000,
-- 'El envío del email ha fallado devolviendo el siguiente error: ' || sqlerrm);
END;
Regards,
Dayang -
Make unzip scrip run on another machine
H i all so I came up with this little script. It's very unoptimized and I want to make the unzip part into a function. My main question is I'm copying this zip folder to another machine. Will it actually use this machine to unzip or will the work load be
done on the host that I'm sending it from.
Here's the code:
$a = Get-Content C:\Users\cody-horton\Desktop\list.txt
function Expand-ZIPFile($file, $destination)
$shell = new-object -com shell.application
$zip = $shell.NameSpace($file)
foreach($item in $zip.items())
$shell.Namespace($destination).copyhere($item)
for($i=0;$i -lt $a.Length; $i++){
if(!(Test-Connection -Cn $a[$i] -BufferSize 16 -Count 1 -ea 0 -quiet)){
Write-Host $a[$i] -foregroundcolor red
else{
#Create directory
New-Item -ItemType directory -Path "\\$($a[$i])\C`$\Users\Public\Documents\Android SDK\adt-bundle-windows-x86_64-20131030\sdk\" -Force
#Move zip to directory
Copy-Item "\\nlcr2553218x4-1\C`$\Users\ttinker\Desktop\adt-bundle-windows-x86_64-20131030.7z" "\\$($a[$i])\C`$\Users\Public\Documents\Android SDK\adt-bundle-windows-x86_64-20131030\sdk" `
-Recurse -Force
#Unzip file
Expand-ZIPFile –File "\\$($a[$i])\C`$\Users\Public\Documents\Android SDK\adt-bundle-windows-x86_64-20131030\sdk\adt-bundle-windows-x86_64-20131030." `
–Destination "\\$($a[$i])\c$\Users\Public\Documents\Android SDK\adt-bundle-windows-x86_64-20131030\sdk"
#Delete zip folder
Remove-Item "\\$($a[$i])\C`$\Users\Public\Documents\Android SDK\adt-bundle-windows-x86_64-20131030\sdk\adt-bundle-windows-x86_64-20131030.7z" -Recurse
Write-Host $a[$i] -foregroundcolor green
$b = new-object -comobject wscript.shell
$c = $b.popup("DONE!!",10,"Test Message Box",1)
Would I need to make a batch file and if so how would I do this. ThanksYou'd need to use either Invoke-Command (if you have PS Remoting enabled) or PSExec (if not) to launch the extraction script on the remote machine.
-
ORA-44356 when running report from Oracle Application Server 10g
All,
We have some reports that we developed using Reports Builder 10g. We use a few program units that run with every record that use the exec_sql package to run dynamic sql in a remote database. Everything runs fine when we test the reports in Reports Builder. After we compile the reports into the .rep format and place them on our Oracle Application Server 10g portal instance, we are running into the subject error when we try to run the report from the website. From the research that I've done, it seems that this error has to do with the use of exec_sql, but there is not too much info on the web regarding this error number. Running a trace when running the report in Reports Builder doesn't show any errors, and to further complicate things, this error only occurs on some reports...others that use the exec_sql package work fine.
Does anyone have any ideas as to why this might be happening?
Thanks for your help,
TomNothing is different between the reports in the exec_sql section. The strange part is that the reports will bomb out seemingly at random, at different times, and during the execution of different program units. I was able to find a work-around using DB Links, but I'd rather not use the DB Link if I can avoid it.
-
Report stuffed up when transporting to another machine
Hi,
I made a report at college, and when I brought it home and tried to run it, it wouldn't work, giving some strange ORA error. I ran the report wizard in re-entrant mode and finally it worked, however all my formatting was gone from the web layout. I made the report in .RDF format, and only transported the .RDF file home. Was there another file I was supposed to bring as well? What is the cause of this?
thx
adamHi Sawye Raj
no there are no other files that are to be carried along with RDF file as its the source file.
the reason u have got that formatting disturbed is due to the re run of the wizard, which has reconfigured the layout.
ORA error may be due to some connection of database or inconsistent in tables that are used at ur college and home.
Bhaskar -
ORA-12705 when running application what was linked statically
I am trying to link our application statically, which is ProC and Oci application, compiled with oracle 9.2.0.6.
I am compiling on HP-UX 11.00.
I used the static linkage of oracle's sample1.pc, to see which libraries are taken by oracle, and I got the following:
-lclntst9 -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -l:libcl.sl -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl -lm -lpthread -lpthread
After linking my application with the following libraries, I try to run it. I didnt supply my application ORA_NLS33. NLS_CHARACTERSET of the database I am trying to connect is WE8ISO8859P1.
When I tried running it, I got:
ORA-12705: invalid or unknown NLS parameter value specified
Therefore I tried to add the nls libraries, -lnls9 -lsnls9 -lunls9, to the static compilation, but when I try to rerun my application, I still got the same error.
Only after applying my application ORA_NLS33, it worked fine.
The question is:
When I am linking statically, does my application must have a client, in order to work properly, or am I missing other libraries that I need to link with?Well, given that, I think getting a sqlnet trace would be a good idea. Have you done that before by chance? It's not terribly difficult, but maybe a bit messy to do through a forum posting (not impossible mind)... If you have a support contract you can open an SR to help with that.
As an example, here's my sqlnet.ora file from an 11.2 ODAC install with all the tracing enabled (need to change path as appropriate, of course):
SQLNET.AUTHENTICATION_SERVICES=(NTS)
NAMES.DIRECTORY_PATH=(TNSNAMES, EZCONNECT)
DIAG_ADR_ENABLED=OFF
TRACE_LEVEL_CLIENT=16
TRACE_DIRECTORY_CLIENT=C:\oracle\11.2\odac\Network\Admin\TraceWhen I deliberately place an invalid host name in my tnsnames.ora file as a simple test, the section of the resulting trace file of interest looks like this:
(5840) [11-MAY-2010 11:10:08:581] nttbnd2addr: entry
(5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: entry
(5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: getaddrinfo() failed with error 11001
(5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: exit
(5840) [11-MAY-2010 11:10:08:581] nttbnd2addr: looking up IP addr for host: bogus
(5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: entry
(5840) [11-MAY-2010 11:10:10:833] snlinGetAddrInfo: getaddrinfo() failed with error 11004
(5840) [11-MAY-2010 11:10:10:833] snlinGetAddrInfo: exit
(5840) [11-MAY-2010 11:10:10:833] nttbnd2addr: *** hostname lookup failure! ***
(5840) [11-MAY-2010 11:10:10:834] nttbnd2addr: exit
(5840) [11-MAY-2010 11:10:10:834] nserror: entry
(5840) [11-MAY-2010 11:10:10:834] nserror: nsres: id=0, op=77, ns=12545, ns2=12560; nt[0]=515, nt[1]=1004, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
(5840) [11-MAY-2010 11:10:10:834] nsc2addr: error exitSo, you can clearly see the 12545 in this trace and the file will have lots of other information such as the tnsnames.ora file used, etc.
Regards,
Mark
Maybe you are looking for
-
I just spent over 2 $2000 on the new iPhone 5 for myself and my wife, we sitll use the other iphone4's that we have with other numbers and as we have a big family we have 7 computers that all need to work with itunes. We also have 5 ipads and i was
-
Question on GR/IR clearing - T/code F.19 (Urgent)
Dear Guru, I have some questions on GR/IR clearing GR and IR have been done for a PO. I run F.19 for GR/IR clearing. Next, I run a customised report to check whether the GR/IR for this PO has been cleared. However, the detail is still resides in tabl
-
Hi guys I am newbie in vb net and I want your help to solve a problem. I have this datagridview with two columns and all days of a month in custom columns. [IMG]http://i59.tinypic.com/2qwpj15.png[/IMG] I also have one combobox to change Year and a co
-
Placing radiobuttons side by side in report
Hi, How to place two radio buttons side by side in a report program. Can anyone help me on this. Thanks, Rose.
-
Not able to make a change in the row
I get a message - No data found - ORA-01403 when I try and make a change in my row