Skip to Content
0
Former Member
Jul 10, 2007 at 10:45 AM

PDF Runtime Exception(ADS Render Exception)

56 Views

Hi,

I am running a PDF sample application from Webdynpro Java.I have made the necessary connections(ADSCallers group and ADS User) and have installed the credentials also. While testing the ADS I am getting the ADS version number also.

Now while running my application I am getting ADS Render Exception whose details I am pasting below.

<b>com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: ADS Render Exception occured. Append "sap-wd-errorPdf=true" to the URL and access the application once again. This time you will get an error PDF. Save the error PDF on the file system. This is a helpful attachment in case of an OSS message. com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_16390850\DM-4222775756593195106.dir\DM8407235031966216051.tmp Specific error information: $$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights General error information: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0 Exception Stack Trace: com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_16390850\DM-4222775756593195106.dir\DM8407235031966216051.tmp Specific error information: $$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights General error information: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0 at com.adobe.ads.request.UsageRights.execute(UsageRights.java:227) at com.adobe.BaseADSRequest.doWork(BaseADSRequest.java:111) at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:758) at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130) at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120) 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.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79) at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92) at SoapServlet.doPost(SoapServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: com.adobe.document.pdf.NotAllowedByCredential: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0 at com.adobe.document.pdf.NotAllowedByCredentialHelper.read(NotAllowedByCredentialHelper.java:67) at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:286) at com.adobe.EJB_PDFAgent.setUsageRights(EJB_PDFAgent.java:303) at com.adobe.ads.request.UsageRights.execute(UsageRights.java:213) ... 30 more</b> .

Can any body please let me know how to solve the issue as it is urgent related to my project.

Looking forward to the reply.

Regards,

Pawan