Invalid printer error on clustered WIN Servers
We have one BOE system operating on an MS cluster, two servers total.
We also have 6,000+ printers, scattered over 15+ print servers.
Needless to say, the printer drivers get out of synch over the various print servers, and this is the problem.
Every day, any report that is scheduled to run to either an HP 4200 or HP 4250 fails.
Not only that, if we log on to the WIN server, and try to print to any 4200 / 4250 printer from notepad, that also fails.
The solution is to stop the BOE job server, recycle the print WIN spooler, go to the server properties for the printers, and remove the drivers for these printers. Restart the job servers, and now all is well, until the next day, all 4200 / 4250 reports fail again.
Seems that BOE automatically adds / updates printer drives, and since the versions are out of synch on the print server, they crash.
We have run out of options, SAP has no solution; any help would be appreciated,
Rick
Hi Richard,
As far as I know BO uses the windows subsystem when sending a print job. So BO sends the job to the OS for print handling.
Having the same driver versions across your print servers & BO servers would be the resolution, alternatively you might want to consider using HP's universal print driver:
http://h20271.www2.hp.com/SMB-AP/downloads/380442_infotrends_upd.pdf
http://h20271.www2.hp.com/SMB-AP/cache/380442-0-0-190-121.html
The below article might give some insight into what is happening behind the scenes:
http://technet.microsoft.com/en-us/library/cc783789(WS.10).aspx
Similar Messages
-
hi -- I've developed some Crystal Reports for a client. I work on my own machine, not on their network.
When the client runs the report, they get the message "Invalid printer; the default printer will be used."
I don't recall them having this problem previously, though of course they've never been able to access my printer. Have I inadvertently caused Crystal to remember and expect to find my printer?
Really want to get avoid this behavior. Help?
Thanks,
CarolHi Carol,
When a report is designed in Crystal it will default to the printer that is set as the system default. If the report is later opened on a computer that doesn't see that same printer it will prompt with that message you saw and go back to default settings.
To avoid this there are a few more options. Please check them.
First, is to set the report with "No Printer" this will make it look the same on different computers, the downside being when you print you will have to select a printer.
The other option is to have a default printer set up that every user can see so the setting will not change, again the issue with this is that if a user wants.
Hope this helps you!
Regards,
Anindita -
[Security:090398] Invalid Subject error in clustered deployment
Hi,
I have a simple Java client that calls an EJB which works fine when the EJB is deployed on a non-clustered server, but it fails intermittently with a [Security:090398]Invalid Subject: ... error when the EJB is deployed on a clustered server. Looking at the log files, it seems that one of the two servers in the cluster is throwing the exception consistently. I believe the servers are in the same domain, but since I've migrated the WL 6.1 config.xml file to 8.1 perhaps there is something I missed.
Also, I noticed that the two servers in the cluster are able to see each other. The messages about the other node joining the cluster are in both logs.
Here's the exception on the client side:
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system]
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
at com.kiodex.ejb.security.PrincipalOpsBean_21hnly_HomeImpl_813_WLStub.create(Unknown Source)
at com.kiodex.wlclient.WeblogicClusterClient.main(WeblogicClusterClient.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Caused by: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system]
at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:680)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:187)
at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:827)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:300)
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:996)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:917)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:682)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:628)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:123)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Here is the server-side exception:
####<Sep 17, 2004 4:44:17 PM EDT> <Warning> <RMI> <titanic> <titanic> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-080003> <RuntimeException thrown by rmi server:
weblogic.rmi.cluster.ClusterableServerRef@12e - hostID: '2921525709399114632S:10.0.14.10:[23770,23770,-1,-1,-1,-1,-1,0,0]:hindenburg.nis.kiodex.com:23770,titanic.nis.kiodex.com:23770:RiskWorkbenc
h:titanic', oid: '302', implementation: 'com.kiodex.ejb.security.PrincipalOpsBean_21hnly_HomeImpl@120a9d6'
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system].
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system]
at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:680)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:187)
at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:827)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:300)
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:996)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:917)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:682)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:628)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:123)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Any ideas?Hi Joshua,
Make sure that
a) Servers in the cluster are in the same domain;
b) Server in the cluster are named differently.
Also, check this:
http://www.viewtier.com/newsgroups/thread.jspa?threadID=4&tstart=0
http://support.bea.com/support_news/product_troubleshooting/Investigating_Domain_Trust_Issues_Pattern.html
Regards,
Slava Imeshev
"Joshua Davis" <[email protected]> wrote in message news:32871939.1095455911574.JavaMail.root@jserv5...
> Hi,
>
> I have a simple Java client that calls an EJB which works fine when the EJB is deployed on a non-clustered server, but it fails
intermittently with a [Security:090398]Invalid Subject: ... error when the EJB is deployed on a clustered server. Looking at the
log files, it seems that one of the two servers in the cluster is throwing the exception consistently. I believe the servers are
in the same domain, but since I've migrated the WL 6.1 config.xml file to 8.1 perhaps there is something I missed.
>
> Also, I noticed that the two servers in the cluster are able to see each other. The messages about the other node joining the
cluster are in both logs.
>
> Here's the exception on the client side:
> java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system]
> at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
> at com.kiodex.ejb.security.PrincipalOpsBean_21hnly_HomeImpl_813_WLStub.create(Unknown Source)
> at com.kiodex.wlclient.WeblogicClusterClient.main(WeblogicClusterClient.java:41)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
> Caused by: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system]
> at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:680)
> at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:187)
> at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:827)
> at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:300)
> at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:996)
> at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:917)
> at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
> at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
> at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
> at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:682)
> at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:628)
> at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:123)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
> Here is the server-side exception:
>
> ####<Sep 17, 2004 4:44:17 PM EDT> <Warning> <RMI> <titanic> <titanic> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'>
<<WLS Kernel>> <> <BEA-080003> <RuntimeException thrown by rmi server:
> weblogic.rmi.cluster.ClusterableServerRef@12e - hostID:
'2921525709399114632S:10.0.14.10:[23770,23770,-1,-1,-1,-1,-1,0,0]:hindenburg.nis.kiodex.com:23770,titanic.nis.kiodex.com:23770:RiskW
orkbenc
> h:titanic', oid: '302', implementation: 'com.kiodex.ejb.security.PrincipalOpsBean_21hnly_HomeImpl@120a9d6'
> java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system].
> java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system]
> at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:680)
> at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:187)
> at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:827)
> at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:300)
> at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:996)
> at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:917)
> at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
> at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
> at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
> at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:682)
> at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:628)
> at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:123)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
> Any ideas?
-
Error [12] invalid printer type (98)
Hello, when i want to print a output PDF File whith adobe central output Server.
With Adobe Output Designer 5.6, I have compiled a template with Portable document format only.
On Adobe central control 5.6, I have a job TESTPDF with a task JFMERGE and a printer I have named PDFPrint. on the printer I have -zc:\temp\toto.pdf
When I'm merging the data I have the error Invalid printer type (98)
Could you help me please!I am getting the same problem, but putting pdf file path/name in the printer table wont work as I want/need different file names for different dat files processed by the same form, ie include PO number as part of the file name
-
Invalid Printer Specified Error
I have an application that allows the user to select the target printer from the list of available printers on the system.
The following code generates the list of printers from which they select:
Dim PrinterList As New List(Of String)
Dim PrintServer = New LocalPrintServer
Dim PrintQueues = PrintServer.GetPrintQueues(New EnumeratedPrintQueueTypes() {EnumeratedPrintQueueTypes.Connections, EnumeratedPrintQueueTypes.Local})
For Each p In PrintQueues
PrinterList.Add(p.FullName)
Next
The selected value is saved. When I go to print, I use the following code to select the printer:
ClientInstructions.PrintOptions.PrinterName = My.Application.PrinterSettings.ActiveLetterheadPrinter
Edited by: Don Williams on Aug 10, 2010 7:08 AMThis works 90% of the time. I occasionally get the following error:
Error generated by: Print Client Instructions - Print Record Copy
Error Message: Invalid printer specified.
temp_63b3d1f8-dedf-4eee-a119-0d301e2a98fa {34670353-397C-4316-B1EC-206D545CB318}.rpt
HelpLink:
Source: Analysis Server
Target (Method): Void ModifyPrinterName(System.String)
Stack Trace: at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.ModifyPrinterName(String newVal)
at CrystalDecisions.CrystalReports.Engine.PrintOptions.set_PrinterName(String value)
at Workflow_WPF.ReportPrinting.PrintClientInstructions(RecordEntry ClientInstruction, Boolean ClientCopy, Boolean RecordCopy, Boolean Envelope, objVisitData WorkingData) in D:\TomGarg\Documents\Visual Studio 2008\Projects\WMS WPF\WorkflowClientApp\Modules\ReportPrinting.vb:line 1037
Printer: hp OfficeJet 8500 Premier (redirected 2)
When I use other redirectred printers, it works fine.
Any idea what I am doing wrong? Any thoughs are greatly appreciated. -
Invalid printer name error (-41002)
While I use 'Print Report.vi with new HP Deskjet 5443 printer (connected to the computer by USB and configured as a deafault) I get Invalid printer name error (-41002).
The application is working properly with other printers.
The "HP Deskjet 5400 Series" name appears in the printers list that was found by "Get Printers list.vi".
The printer is printing properly with Word, Excel and other applications.
I am working with Labview v8.00.Hi Alex,
I have found a corrective action request in our R&D database that addresses this very error occurring, with HP-5940(USB) printers. I plan to add your feedback that it is happening for you as well with the HP 5443.
Have you tried going to the printers entry in the control panel, getting the printer name there, and then entering that as a string constant into Print Report.vi ? Also, you can try leaving the input terminal empty and it should use the default printer.
Let me know if either of these works for you.
-Sam F, DAQ Marketing Manager
Learn about measuring temperature
Learn how to take voltage measurements
Learn how to measure current -
Dear Friends,
Greetings to you all!
Below error is not allowing me to view the PLD on all inventory related documents like GRPO/DELIVERY/GOODS RECEIPT/GOODS ISSUE/Inventory transfer and also at invoice level if transaction was posted directly and attached file is for your information.
I couldn't find the (Field: F_060) and Variable '69' even in hidden files.
"Printing Error:Invalid variable number (RPT -6300) (Field: F_060) Variable '69' [Message 200-38]"
Request you to provide me the solution ASAP to clear this issue.
With warm regards
Rajesh Babu K
9959934444Dear Mr.Nagarajan garu,
Thanks for the reply and the problem is not with one specific PLD, even it is not allowing to view SAP given PLD's also.
And it is happening only with the inventory related transactions.
EX- If invoice had any base document then it can be viewable.
If Invoice/GRPO docs were directly posted then printing error is throwing
Thanks & Regards
Rajesh Babu K -
"invalid flavor error" Printing html docs
DocFlavor flavor = DocFlavor.URL.TEXT_HTML_US_ASCII;
I need to print a URL with an applet in Internet Explorer but keep getting the "invalid flavor" error.
please post your answer in the following topic:
http://forum.java.sun.com/thread.jsp?thread=350123&forum=57&message=2630553
Thanksi tried to print all the flavors that my printer supports but i didn't understand the output.
This is part of my code:
DocFlavor[] flavors = service.getSupportedDocFlavors();
for (int i = 0; i < flavors.length; i++) {
cade1 += "\n" + flavors.toString();
System.out.println(cade1);
System.out.println("\n" + service.getName());This is the output of the app:
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
[Ljavax.print.DocFlavor;@f62373
\\data1\canonAny help?
This is frustrating me quite a bit... I've been trying to print for months so far.
Thanks,
Silvio Sisto -
Invalid Subject error showing different user name
I am getting an Invalid Subject error when some of my users attempt to login. It doesn't happen to all users and sometimes the users we have been seeing the problem with are able to successfully login. The weird part is that we print out what user is attempting to login (by retrieving the subject) but the error message we get back is for a different user... what could be getting confused so that it is using the subject from another user even though we know we had the correct subject returned ?
I have searched the forum and some people have had similar problems when servers/domains/JMS queues did not have unique names. I verified everything we run is uniquely named. We are running WL9. Here is an example error from our logs:
< login():Username:exampleUser Principals:[exampleUser, group1] >
<Warning> <RMI> <machine> <server4> <RuntimeException thrown by rmi server: weblogic.jndi.internal.AdminRoleBasedDispatchServerRef@9, implementation: 'weblogic.jndi.internal.RootNamingNode@5429f96c' oid: '9', implementationClassName: 'weblogic.jndi.internal.RootNamingNode'
java.lang.SecurityException: Security:090398 Invalid Subject: principals=[differentUser, group1].
java.lang.SecurityException: Security:090398 Invalid Subject: principals=[differentUser, group1]
at weblogic.security.service.SecurityServiceManager.seal(Unknown Source)
at weblogic.security.service.SecurityServiceManager.getSealedSubjectFromWire(Unknown Source)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:316)
at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:850)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:314)
at weblogic.rmi.cluster.ClusterableServerRef.dispatch(ClusterableServerRef.java:236)
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1084)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1001)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:240)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:877)
at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:446)
at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:368)
at weblogic.socket.AbstractMuxableSocket.dispatch(AbstractMuxableSocket.java:383)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:872)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:818)
at weblogic.socket.DevPollSocketMuxer.processSockets(DevPollSocketMuxer.java:120)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117) >Did some one get answer for this?
Please let me know. -
XML Publisher Report ends with Warning -- Invalid Character Error in XML
Hi,
I have migrated the standard report 'Invoice Print Selected Invoices' from Reports 6i to XML Publisher. It has to print a Euro(€) in the report. It does not even generate the XML File fully. It gives the below error in the XML File. When i remove the special character, it works fine.
Please let me know the settings to ensure that XML file also accepts the special characters. How do i get the Euro symbol printed in XML File with out giving Invalid Character Error?
===========================================================The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again
later.
An invalid character was found in text content. Error processing resource 'http://dfw1svdevapp03.ora.rackspace.com:8040/OA_...
<C_INV_CURRENCY_SYMBOL>
N class="m">>
<LINE_UOM />
<LINE_UNIT_SELLING_PRICE />
===========================================================
The XML File even does not show which character set it uses. The output file starts with:
===========================================================
<?xml version="1.0" ?>
- <!-- Generated by Oracle Reports version 6.0.8.25.0
-->
===========================================================Hi Tim,
Thanks for your adhoc response.
I have gone thru the Document 222663.1 and it says that the Developer 6.0.8.23 is required to handle this problem. We are using almost the updated Developer version i.e., Developer 6.0.8.25. So, this should be handled automatically, but it still errors out. Please suggest.
Thanks,
Kesava -
Dynamic SQL Issue ORA-00904:invalid identifier error
Here is my SP
create or replace procedure srini_ref_cursor_test(p_county_code IN VARCHAR2,
p_ref_cur out PK_FR_TYPES.cursor_type) is
query_str varchar2(5000);
begin
query_str := 'SELECT * FROM dw_county where county_name = :P ';
open p_ref_cur for query_str USING p_county_code;
insert into srini_query_str_test values (query_str);
commit;
end srini_ref_cursor_test;
When I pass the p_county_code = Adams working find.
create or replace procedure srini_ref_cursor_test(p_county_code IN VARCHAR2,
p_ref_cur out PK_FR_TYPES.cursor_type) is
query_str varchar2(5000);
begin
query_str := 'SELECT * FROM dw_county where county_name in ('||p_county_code||')';
open p_ref_cur for query_str;
insert into srini_query_str_test values (query_str);
commit;
end srini_ref_cursor_test;
When I pass the p_county_code = Adams for above SP I got the following error
ORA-00904: "ADAMS": invalid identifier error
With out Bind variables how Can I pass the Char type values in Dynamic SQL ?
I would like to pass multipule values to p_county_code like 'Adams','Ashley' etc
How Can I do this ?
Thank for great help.
SriniHow do I write the Dynamic SQL for
SELECT * FROM DW_COUNTY WHERE COUNTY_NAME LIKE 'Ad%'
The usual way...
hr@ORA10G>
hr@ORA10G> var str varchar2(1000);
hr@ORA10G> var cr refcursor;
hr@ORA10G>
hr@ORA10G> exec :str := 'select * from employees where first_name like ''A%''';
PL/SQL procedure successfully completed.
hr@ORA10G> -- note the escape character for each single quote
hr@ORA10G> print str
STR
select * from employees where first_name like 'A%'
hr@ORA10G>
hr@ORA10G> exec open :cr for :str;
PL/SQL procedure successfully completed.
hr@ORA10G> print cr
EMPLOYEE_ID FIRST_NAME LAST_NAME EMAIL PHONE_NUMBER HIRE_DATE JOB_ID SALARY COMMISSION_PCT MANAGER_ID DEPARTMENT_ID
103 Alexander Hunold AHUNOLD 590.423.4567 03-JAN-90 IT_PROG 9000 102 60
115 Alexander Khoo AKHOO 515.127.4562 18-MAY-95 PU_CLERK 3100 114 30
121 Adam Fripp AFRIPP 650.123.2234 10-APR-97 ST_MAN 8200 100 50
147 Alberto Errazuriz AERRAZUR 011.44.1344.429278 10-MAR-97 SA_MAN 12000 .3 100 80
158 Allan McEwen AMCEWEN 011.44.1345.829268 01-AUG-96 SA_REP 9000 .35 146 80
167 Amit Banda ABANDA 011.44.1346.729268 21-APR-00 SA_REP 6200 .1 147 80
175 Alyssa Hutton AHUTTON 011.44.1644.429266 19-MAR-97 SA_REP 8800 .25 149 80
185 Alexis Bull ABULL 650.509.2876 20-FEB-97 SH_CLERK 4100 121 50
187 Anthony Cabrio ACABRIO 650.509.4876 07-FEB-99 SH_CLERK 3000 121 50
196 Alana Walsh AWALSH 650.507.9811 24-APR-98 SH_CLERK 3100 124 50
10 rows selected.
hr@ORA10G>
hr@ORA10G>pratz -
Please help me itunes 8 wont load w/ invalid signature error
There has to be some sort of cosmic joker who is laughing at all of us. Perhaps the folks at Verisign are playing games with us or maybe it's Microsoft. How can there be a requirement to upgrade to itunes 8 when you purchase a new Nano and then not be able to do it because of an invalid signature error. I'm not the only one who has had this problem as I see it all over the web. I have tried it on another system sitting right next to this one (Win vista x32bit) and it didn't work either. I have deleted everything and updated win installer ver 4.5 and nothing works. The application wont run because of the signature error. I'm sure that the powers that be know what the problem is but dont want to release the fix because one side or the other hasn't been paid the appropriate money. It's always about the money. I have read every thread and suggestion that I could find but cant get it to work. If anyone has the answer please help me. I'm not a technotard and this is frustrating
I am afraid AFIK a clear cut solution for this hasn't emerged.
Are you trying to update with Apple Software Update. You might try repairing it from add/remove programs and trying again after a restart.
Have you tried downloading the iTunes installer from here:
http://www.apple.com/itunes/download/
Save the file on your desktop and run it from there.
I would clear your temporary Internet files and restart your PC before doing this.
If that doesn't work, maybe running the installer from your browser would work, although saving the file is usually best.
I have one report that a problem with a router causes this problem and that replacing the router fixed it, but in this case all downloads were affected.
It would be interesting to see if you can install the standalone Quicktime as a test. You can download it from here:
http://www.apple.com/quicktime/download/win.html
You want the version without iTunes, which is not the default. -
I have two printers installed on Windows Server 2008 R2 (64-bit):
1. Samsung SCX-4521f
2. Samsung SCX-4300
There are two computers (Windows 7 Professional, 32-Bit) connected to this server that utilise these shared printers.
The drivers installed are as follows:
SCX-4x21_Win7_Print.exe (Win 2000/XP/2003/Vista/2008/Win 7 3.04.96:03 Print Driver 11 Dec, 2009 12.37 MULTI LANGUAGE)
SCX-4300_Print.exe (Win 2000/XP/2003/Vista/2008/Win 7(32,64bit) 3.04.95:07 Print Driver Jan 19, 2011 53.07 MULTI LANGUAGE)
After printing documents for some time (within a 24 period) the printers no longer respond to print requests.
On the server opening "Control Panel\Hardware\Devices and Printers" shows the two printers with yellow exclamation marks.
The "SCX-4x21" printer shows the "Status" as "Needs troubleshooting" and "Printer: Error".
The "SCX-4300" printer shows the "Status" as "Needs troubleshooting".
Neither will print a test page.
Searching for new drivers automatically returns saying: "The best driver software for your device is already installed".
The error persists and nothing will print.
When double-clicking on the "SCX-4x21" printer (or going to "Control Panel\Hardware\Devices and Printers\Samsung SCX-4x21 Series") you see the following:
"Printer: Error" and "N document(s) in queue".
Clicking on either of these brings up the print queue and shows a document with the status of "Error - Printing".
As each job with an error is cancelled the next one attempts to print and also displays an error like the last.
Once all the jobs are cleared the printer information says "Printer: Ready".
Sending a "Print Test Page" sends the printer into an error state saying "Printer: Error".
With the "SCX-4300", sending a "Print Test Page" displays a bubble saying: "Toner Empty: Replace Toner".
However, I can't see any specific error messages.
How do I find out what exactly "Needs troubleshooting"?
Please can anyone advise further?The printer (SCX-4300) has stopped again.
Since it has been stopped I have done your recommendations:
Unticked the "Enable bidirectional support" option under the "Ports" tab in the printer properties.
Set the "Interactive Services Detection" to Automatic and started it.
Unfortunately the printer did not start printing, the print jobs did not restart or delete.
I decided to check the Operational logs that we enabled.
The first job I see goes like this:
Information: Rendering job 41.
Error: The print spooler failed to delete the file C:\Windows\system32\spool\PRINTERS\00041.SHD, error code 0x2. See the event user data for context information.
Information: The print job 41 was sent through the print processor SSE1MPC on printer Samsung SCX-4300 Series, driver Samsung SCX-4300 Series, in the isolation mode 1 (0 - loaded in the spooler, 1 - loaded in shared sandbox, 2 - loaded in isolated
sandbox). Win32 error code returned by the print processor: 0x0.
Information:Printing job 41.
Information:Spooling job 41.
This job actually printed.
Other jobs printed fine with no error.
There are no other errors in the "Operational" log other than the "print spooler failed to delete" error.
Any ideas what to try now?
Update: Unticking the "Enable bidirectional support", clearing the print queue and then trying again seems to have fixed the problem for now. -
Report will not open due to an invalid printer issue.
Post Author: Tammy Chavez
CA Forum: General
I have a Crystal Report that will not open. It gives the following error messages:
1.The report uses and invalid printer. The default printer will be used instead.
2.Failed to open document.
3.TSLV Record Not Found.
4.The report couldnot be opened for writing. Any changes must be saved to a new file.
Then it will not open the file at all. Anyon have this type of issue before?Post Author: mario
CA Forum: General
Tammy Chavez: Is there another program to try to open it with?
I don't think so, forget that. If you downloaded the file with Firefox try to do it again with Internet Explorer. I remember some time ago Mozilla having issues with some binary files. Or tell the client to zip the file before emailing it to you - if unzipping works and CR still complains about missing records then the problem is only on your machine and you should check the dlls (Google for them). -
"Invalid Expression " Error with Refreshing variable
Hi
When ever i try to validata following query in Refreshing tab of a variable, I am getting invalid expression error
select USER_NAME from SNP_SESSION where SESS_NO = <%=odiRef.getSession()%>
if i use following Query
select STEP_MESS
from <%=snpRef.getObjectName("L","SNP_STEP_LOG","D")%>
where SESS_NO = <%=snpRef.getSession("SESS_NO")%>
and STEP_STATUS = 'E'
Its giving invalid table
Need your suggestions
Thanks
BajiHi
Thanks alot for your information .But when ever i click on "Refresh" button available in refrshing tab.I am able to see following error in operator
Execution
java.sql.SQLException: ORA-00900: invalid SQL statement
Description
BeanShell script error: Sourced file: inline evaluation of: ``out.print("select USER_NAME from SNP_SESSION where SESS_NO = ") ; out.print(odiR . . . '' : Error in method invocation: Method getSession() not found in class'com.sunopsis.dwg.snpreference.b' : at Line: 2 : in file: inline evaluation of: ``out.print("select USER_NAME from SNP_SESSION where SESS_NO = ") ; out.print(odiR . . . '' : odiRef .getSession ( )
BSF info: Filter_Records at line: 0 column: columnNo
out.print("select USER_NAME from SNP_SESSION where SESS_NO = ") ;
out.print(odiRef.getSession()) ;
out.print(" \n\n\n\n\n\n") ;
****** ORIGINAL TEXT ******
select USER_NAME from SNP_SESSION where SESS_NO = <%=odiRef.getSession()%>
Thanks
Baji
Maybe you are looking for
-
After the recent update on my Ipad Mini. It crashes frequently. The latest is that during saving, it crashed. Now I can't open my project file. It says, Not a valid Adobe Photoshop Touch file. What happened?!!
-
L215p - better than T410s screen? Good enough for photo editing work?
I never had set up an external monitor with a laptop, so just have 3 questions regarding the L215p monitor. 1) The T410s outputs screen resolution with an aspect of 16:10. A monitor like the L215p (most new wide monitors for that matter) display an
-
I have upgraded to itunes 11.3.8. My library is showing, however I can't log onto itunes. I have logged in with my apple id, but it doesn't come up. Help? When I click on itunes store within itunes, the screen comes up blank. I'm using a macbook pro.
-
What is the difference between instance variable and class variable?
i've looked it up on a few pages and i'm still struggling a bit maybe one of you guys could "dumb" it down for me or give and example of how their uses differ. thanks a lot
-
Add new Services / Worksets in MSS
Hi, I am on ECC 6 Webdynpro ABAP (EHP 5) and EP 7. Pls let me know how to add new services / workset to existing MSS role in ECC. Thanks Edited by: king vs on Feb 10, 2012 7:22 AM Edited by: king vs on Feb 10, 2012 7:32 AM