Error in trying to Add Attachment RN

Hi Guys
i wonder if you can help me...
we have a requiremnt to create a page that will allow us to attach documents to the AR Credit Memo using AME workflow.
i created a blank page with a new VO, the query in the VO is
SELECT r.request_id,
r.customer_trx_id,
r.total_amount,
r.cm_reason_code,
l.meaning,
r.created_by,
r.comments,
r.line_credits_flag,
r.line_amount,
r.tax_amount,
r.freight_amount,
r.ORIG_TRX_NUMBER,
r.TAX_EX_CERT_NUM
FROM fnd_lookup_values l, ra_cm_requests_all r
WHERE r.cm_reason_code = l.lookup_code
AND l.lookup_type = 'CREDIT_MEMO_REASON'
i then added 2 regions 2 the page...
1) a table to display the info regarding the above query, which is filtered down to a single request.
and a second regions with a Attachment Rn
the Attachment ITem has the above vo as its View Instance.
then i created a entity map, with one primary key.
i then tried to progrmatically add the Entity ID RA_CM_REQUESTS, as that is the table we are trying to add attachments onto..
i however get the following error when i run the page
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865) at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:707) at oracle.apps.ak.attach.webui.AkAttachmentListCO.processRequest(AkAttachmentListCO.java:561) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest(OAFlowLayoutBean.java:351) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAAttachmentTableHelper.processRequest(OAAttachmentTableHelper.java:450) at oracle.apps.fnd.framework.webui.beans.layout.OAAttachmentTableBean.processRequest(OAAttachmentTableBean.java:139) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2335) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429) at OA.jspService(OA.jsp:34) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534)
## Detail 0 ## java.lang.NullPointerException at java.lang.StringBuffer.<init>(StringBuffer.java:130) at oracle.apps.fnd.server.OAAttachmentsAMImpl.copyRowsFromCache(OAAttachmentsAMImpl.java:702) 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 oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:707) at oracle.apps.ak.attach.webui.AkAttachmentListCO.processRequest(AkAttachmentListCO.java:561) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest(OAFlowLayoutBean.java:351) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAAttachmentTableHelper.processRequest(OAAttachmentTableHelper.java:450) at oracle.apps.fnd.framework.webui.beans.layout.OAAttachmentTableBean.processRequest(OAAttachmentTableBean.java:139) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2335) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429) at OA.jspService(OA.jsp:34) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException at java.lang.StringBuffer.<init>(StringBuffer.java:130) at oracle.apps.fnd.server.OAAttachmentsAMImpl.copyRowsFromCache(OAAttachmentsAMImpl.java:702) 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 oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:707) at oracle.apps.ak.attach.webui.AkAttachmentListCO.processRequest(AkAttachmentListCO.java:561) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest(OAFlowLayoutBean.java:351) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAAttachmentTableHelper.processRequest(OAAttachmentTableHelper.java:450) at oracle.apps.fnd.framework.webui.beans.layout.OAAttachmentTableBean.processRequest(OAAttachmentTableBean.java:139) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2335) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429) at OA.jspService(OA.jsp:34) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534)
Message was edited by:
GeorgeGoosen

Hi Naveen
Ok...
in oracle apps i went to application developer/attachments/ document entity's
the below was already defined
Table Name = RA_CM_REQUESTS
Entity ID = RA_CM_REQUESTS
Entity Name =RA_CM_REQUESTS
Prompt = RA_CM_REQUESTS
Application = Receivables
Below is the structure of my page
- Header RN (R2iAttRN)
------attachmentTable Item(R2iARAMEAttaments) the only thing set on this item is the view instance name (R2iARAMERequestsVO1)
------------entityMap1(nothing set)
--------------------PrimaryKeys
------------------------primaryKey1(the only thing set here is View Attribue) which is RequestId
thats the page then i have programatically added the following in the process Request
OAApplicationModule am = pageContext.getApplicationModule(webBean);
Serializable[] parameters = {"2572" };
am.invokeMethod("initRequestVO", parameters);
OAAttachmentTableBean attTable =
(OAAttachmentTableBean)webBean.findChildRecursive("R2iARAMEAttaments");
System.out.println();
System.out.println( attTable.getEntityId());
attTable.setEntityId("RA_CM_REQUESTS");
attTable.setDefaultMiscCategoryEnabled(true);
System.out.println( attTable.getEntityId());
System.out.println();
Does that help

Similar Messages

  • Error while trying to add Master Data in S&OP

    Hi,
    I am getting the below error while trying to add new Master Data entries in S&OP. Can anyone help here please? I have added new items in the past, but did not get any error before.
    code: MASTER_DATA_OPERATION_EXCEPTION
    severity: INFO
    description: Error during Stage 02 of Data Integration
    log id: 08f6b26e-5981-4e21-ad65-17df697fdc62
    I have also attached the screenshot and the new data i am trying to add.
    Thanks,
    Thahir Masdook

    Hi Vivek,
    I have added Master Data in the past as well. Recently this system (Z45) was upgraded and the planning area was re-activated by my Project Lead. After the re-activation i am unable to add any Master Data and Save.
    Thanks,
    Thahir Masdook

  • ORA-20600 error while trying to add RAC database

    I'm receiving the following error while trying to add the RAC database in grid control. Any idea?.
    ORA-20600: The specified target is in the process of being deleted
    This database doesn't exists in targets. But, I'm still unable to add.

    Check the metalink Note: Unable To Add Rac Database To Grid Control Getting Error Ora-20600 [ID 1218797.1]
    You need to wait for a while and check the status.

  • I am getting an error when trying to add a caption.

    I get the following error when trying to add a caption to a photo.   "An error occurred while reading files or writing files to disc.  The disc may be full or there may be a problem with the source media."    I am running Windows 7 Pro.   The files are located on my c:.   The drive has 274 GB Free so space isn't an issue.   I have tried deleting a file and readding it to the same catalog and still the same problem.   I have copied the file to the desktop and cataloged it from there and the error went away.  
    If i check on the folder attibutes it is set to read-only but the desktop folder is as well.   If i try to remove the read only it only resets itelf to read only again.   Once i get the error another file shows up with the image name plus -edTM P-1 and it has the caption on it.  

    I was able to get it to work.  The root folder which held the pictures had a lock on it through windows 7.   Even though the drive was shared, I still had to go into the folder properties and share it with everyone.   Once i got the lock off and rebooted I was able to add captions again.

  • TS3694 Hello, I have an error while trying to add move music into my itunes library. 'The itunes library file cannot be saved. You do not have enough previledges for this operaion? help - what does this mean?

    Hello, I have an error while trying to add move music into my itunes library. 'The itunes library file cannot be saved. You do not have enough previledges for this operaion? help - what does this mean?

    Hi luxmi01,
    Here is some information and troubleshooting on the permissions issues you are seeing:
    Trouble adding music to iTunes library or importing audio CD
    http://support.apple.com/kb/ts1387
    Cheers!
    - Ari

  • Ora 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • Fatal error when trying to add derived table

    Hello,
    I'm new at desiging a universe. I get the following a fatal error when trying to add a derived table to my universe:
    1 processor x Family 15 Model 0 Stepping 0
    Windows 2000 Workstation  v5.1 build 2600 (S)
    Physical Total/Avail: 2.097.151 Kb / 2.004.940 Kb
    Temp directory C:\DOCUME1\xxxxxx\LOCALS1\Temp\ (1 Kb available)
    'Unknown' video card
       1280 x 768 in true color
    (doesn't make sense to me)
    I use an ODBC connection that connects to a MySQL database. When I test the connection it's fine.
    I am trying to add a derived table because it seems that my universe cannot produce LEFT OUTER JOINS.  I read somewhere that I should set my ansi92 parameter to YES instead of NO. But, everytime I re-open my universe, it sets itself automatically to NO again.
    My utlimate goal is :
    For example, list ALL the people, left join my table to their websites, but return ALL the people, even if they don't have a website.
    I dont' understand, my join should be simple enough.
    Anybody knows what could be causing all these restrictions ?
    Thanks for you help.
    Edited by: Sose Canadian on Feb 9, 2009 9:40 PM

    Hi Sose,
    In BusinessObjects (Universe) Designer, the outer join option in a join is not available and is dimmed when using a Generic ODBC connection.
    Try Following Solutions:
    Solution : 1
    When using an ODBC connection the odbc.prm must be modified on the machine where BusinessObjects Designer is used.
    Use the following steps to modify odbc.prm:
    1. Locate odbc.prm in the following folder:
    \Business Objects\Business Objects Enterprise 11\win32_x86\dataAccess\Connection Server\odbc
    2. Open odbc.prm in a text editor and modify the parameter 'EXT_JOIN' so its value is 'YES' instead of 'NO'.The outer join option is now available in BusinessObjects Designer.
    If the outer join option is still not available after following the steps above. open odbc.prm in a text editor and modify the parameter OUTERJOINS_GENERATION. Change its value from 'NO' to either 'ANSI92' or 'ODBC'.
    Solution : 2
    This can occur when user is using a non-database specific middleware such as generic ODBC. Generic ODBC allows creating a successful connection and universe, however will not allow the Outer Join option.
    The syntax for outer joins is specific to each database and the Generic ODBC driver only lets you access standard common features of all ODBC data sources.
    Ensure that you are using the database specific middleware to create the connection.
    I Hope this Helpsu2026.
    Thanksu2026.
    Pratik

  • Get the following error when trying to add a new user - Error of type eDSSchemaError (-14142) on line 1235 of /SourceCache/WorkgroupManager/WorkgroupManager-421/PMMUGMainView.mm

    Get the following error when trying to add a new user on Mac OS Server 10.5 - Error of type eDSSchemaError (-14142) on line 1235 of /SourceCache/WorkgroupManager/WorkgroupManager-421/PMMUGMainView.mm

    How come Leopard let me use the WGM in standard mode?
    While SA complains that it won't work in Standard Configuration, WGM does not. There is some fault in the logic of this for which I don't have an explanation.
    If I want to get control on Dock, selection of Home folder, config of Proxy... which I think are basic things, do I really need the advanced mode?
    If you wish to have complete control of all client settings, yes. There really is no disadvantage of using an Advanced configuration other than the learning curve.
    So if I switch to advanced mode, there is good chance I won't get this error message anymore, right?
    Yes.

  • Error while trying to add a new field in search criteria by VO extension

    Hi,
    I am trying to add a new field by using the VO extension to a seeded OAF page used to search Repository contracts.
    I get the following error on opening the page after I have compiled my code on server and bounced apache.
    Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME =SSPN_AdvancedSearchAttributesPVO; APPLICATION_MODULE = oracle.apps.okc.repository.search.server.ContractsAdvSearchAM;
    I extended the AM also after this to include the extended VO but still the error comes.
    This page is a dynamic search page where the results change based on the different search criteria.
    Cheers
    Swati

    Hi,
    I extended the AM also after this to include the extended VO but still the error comes.There is no need to extend the AM for extending a VO. Hopefully the VO which u extending already attached to the AM oracle.apps.okc.repository.search.server.ContractsAdvSearchAM.
    Regards,
    Gyan

  • Error while trying to add a Model

    I am getting the following error while try to add a new Model.
    java.sql.SQLException: ORA-00001: unique constraint (SNPW.PK_MODEL) violate.
    I am using 10.1.3.4.4 version of ODI. Can any help me to solve the issue.

    Are you trying to create a new Model or trying to import a Model ?

  • Premiere Elements 11 -- Visual C++ Runtime Error when trying to add Movie Menus

    Premiere Elements seems to be working fine in all reapects, except when I try to add Movie Menus, nothing shows up in the Movie Menu area, and eventually I get a Visual C++ Run time error as shown in the attached image.  When I click OK, the program crashes.  This is repeatable.
    I am running Windows 7 with latest Service Pack.  I am running dual GeForce cards, with the latest drivers.  No other software is giving me any issues.
    Any suggestions?
    Thanks,
    Nick

    Steve,
    Thanks for the reply.
    I have my two graphics cards SLI sttings properly configured, and they have been working correctly for every other Premiere unctionality, as well as all of the rest of CS6 applications (and Lightroom).  I have double-checked that I do have the latest drivers from nVidia's site.
    I do have the latest QuickTime software.
    I have gone in and updated all of the optional Windows updates.
    I keep getting the same error, but I think I can describe it better.
    When I go into the Movie Menu panel, the "Add a theme" link in the panel does not respond.  When I click the Menu Theme button in the upper right corner of the Movie Menu panel, I do get the library of themes to select from, but when I select one, it does not load in to the panel.  (It does download the content from online, though it doesn't show on the screen. I just see the "Add a theme" link in the middle of the page.)  The Adjustments panel on the right is completely blank.
    I can click the "Done" button to close the Movie Menu panel.  But when I try to open the Movie Menu panel a second time, it crashes immediately and I get the error message from my last post in this thread.
    I have repeatedly re-booted my computer, but I get the identical behavior.  All of the other functionality of Premiere Elements still work.
    If the next receommendation is to re-install the software, do I have to move my projects anywhere?  Or do I just leave them and re-install?
    Thanks,
    Nick

  • Error when trying to add printer on USB Print Server

    I'm attempting to connect to a Canon MP530 printer via a Netcomm NP3680 USB Print Server.
    When attempting to add the printer via the Print & Scan process, the USB port is seen by the MacBook and listed - ie: mini_me-3-usb2, and the driver is selected automatically without any problem after gathering printer information, however the macbook is unable to connect and returns the error: "An error occurred while trying to add the selected printer."
    If a manual configuration is attempted the message returned is: "An error occurred while trying to add the selected printer. Unable to communicate with the printer at this time." Further manual config via the IP address will allow the printer to be entered, however the printer is non-responsive.
    I have setup this printer via the same Print Server on the same Macbook prior to this and it setup and worked correctly - the same setup is working correctly on my wife's macbook. However I had to remove the setup on my Macbook and can't get the printer functioning again on this particular Macbook, or my son's.
    The direct connection setup via USB directly works without any problem at all.
    I'm currently running OSX 10.8.1, however my son is running 10.7.x and has the same problem. My wife's macbook is also running 10.7.x and is working fine.
    Can anyone throw any light on this issue - it is truely frustrating, especially when I know it has worked in the past.
    thanks very much in advance
    GDT

    After 55 views and 0 replies, and a number of calls to Applecare (without success) , I decided to once again troubleshoot the problem.
    Fixed!
    Bearing in mind, I had no other printers already set up in the Print and Scan window....
    I removed the following items from the /library/preferences directory: 
    "com.apple.print.makequeues.plist",
    "jp.co.canon.ij.print.filter.raster2canonij.plist",
    "jp.co.canon.ij.print.utility.command2canonij.plist",
    "org.cups.printers.plist"
    I also removed all items from the /library/printers directory (including Canon, PPDs, plist files and icons)
    Then I retried to install the printer..... (holidng my breath) and the Console showed:
    Repairing access permissions of "/Library/Printers/InstalledPrinters.plist"
    All is fine now

  • Get an error when trying to add a new object!

    Post Author: zhaodifan
    CA Forum: Administration
    I was trying to add a new object from central management console and I got the following error:
    Retrieve Error
    There was an error while retrieving data from the server: Failed to read data from report file C:\WINNT\Temp\pres_report.rpt. Reason: Operation not yet implemented. File C:\WINNT\TEMP\tmpreport\~ci226c521bf2923e0.rpt.
    The report I am trying to add was running on a Linux box with the same version BusinessObjects Cyrstal 11 running. I want to move it to a Windows box... The report itself shouldn't have problems because it was running fine on the linux box...
    Also want you let you know that I don't know too much about Crystal Report and our Crystal Report admin quited his job last week! I will be very appreciated if anybody can give me any advice. Thank you!
    Difan

    If this is a Gmail account you might need to unlock by going here: https://accounts.google.com/DisplayUnlockCaptcha.

  • FRM-40735 Error when trying to add an employee as key member for a project

    FRM-40735: ON Insert trigger raised unhandled exception ORA-06502 in PAXPREPR when trying to add an employee as key member for a project
    Tried generating FND log messages to see if it shows any error messages but it didn't show any specific error.

    Error ORA-06502 says PL/SQL: numeric or value error.
    The Error could be in the data already exist in the system for key members. If this Project was created using APIs, there are possibilities that some other character( i.e. next line chracter ) got entered in the column value which Form "PAXPREPR" is not able to fetch or update.
    You can query the key member data from back-end to check if any data corruption is there. you may require data-fix to correct that.
    AB

  • Error When Trying To Add Web Clipping

    Receiving the following error in the Apache error log when trying to add a webClipping portlet:
    [Sun Feb  1 08:17:25 2004] [info] [client 141.146.192.68] MOD_OC4J_0007: Oc4j process unique id:
    C_130.35.162.13.11a3ac.f52e368ff8.-8000#titsto_iasmt.auohsitst03.oracleoutsourcing.com#391727#OC4J_Portal#OC4J_Portal#default_island parsed from cookie of session request: /portalTools/webClipping/htdocs/wcstudio/jsp/toolbar.jsp does not match to oc4j instance with destination name: OC4J_Portal. Ignore this cookie.
    The error "WCS-102" shows up on the web - page while trying to add a webClipping portet.
    We have installed JPDK 9.0.2.6.2 over 9.0.2.6.1 and redeployed jpdk and portalTools. Note that the middle tier is a two node RAC.

    Sorry to resurrect this old topic - but was a solution found for this? I'm having the same problem.

Maybe you are looking for