Unable to create dimensions in schemas that use synonyms

I have three schemas (s1, s2 and s3) that use synonyms to reference different tables. S1 and S2 have all tables, equally distributed in their schema. S3 is an end user who has just synonyms.
I tried creating dimensions in any of them, table or view not found error is encountered.
I created required tables in my schema (user: meka) and I was successfully able to create dimensions. The following command worked in "meka", not any of the three schemas (s1, s2 and s3).
CREATE DIMENSION country
     level city_id is lu_city.CITY_ID
          level state_id is lu_state.STATE_ID
          level country_id is lu_country.COUNTRY_ID
hierarchy country_hier (
city_id CHILD OF
state_id CHILD OF
country_id
JOIN KEY lu_city.STATE_ID references state_id
JOIN KEY lu_state.COUNTRY_ID references country_id
ATTRIBUTE city_id DETERMINES (lu_city.CITY_NAME)
ATTRIBUTE state_id DETERMINES (lu_state.STATE_NAME)
I tried a few combinations, including specifying fully qualified table names (s1.lu_city.city_id, etc); created views at user S3 tried the same. All of them were unsuccessful. I am using Oracle 11g R2, here is screen shot:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Q: How can I create a dimension in a schema where tables do not exist. They exist in another schema.
Edited by: user8967661 on Jan 12, 2010 2:12 PM

This is resolved.

Similar Messages

  • Can we create the Purchase order that using P&L account or just using account do not use cost center.

    Dear Experts,
    Could you please advise :
    1) Can we create the purchase order that using profit and loss account ? ( if yes , which kind of account assignment category we should use ?)
    2) How to create a purchase order for service charge .( just using GL account )
    Thanks & Best Regards,
    Watson

    Hi,
       May I know why you do not use cost center for consumption?
       You may create a new account assignment category in OME9 by copying K and maintain the cost center as optional. Please note that you have to maintain the item category blank and the account assignment category combination in OMG0. Now, you can use a GL account in PO which doesnt require a cost center assignment (in OBC4 against the field status group of the GL)
       You may use the same account assignment category created in the previous step with item category D, after you maintain the combination of the account assignment with item category D in OMG0.
        Please test the scenario and revert back.
    Regards,
    AKPT

  • Problems creating a web service that uses the report generation toolkit

    Hi,
           Im trying to develop a web service using labview 2013.
    I create a html form that is correctly communicating with my labview method and part of the web service functionality is to create a report from the data obtained in the html form published.
    I realized that using the report generation toolkit inside of the web service method the server cannot generate a report. ( If I run the same Vi before publishing the web service it works on the server but it doesnt work after I deploy it)
    I thought that maybe Im unable to use the report generation toolkit VIs inside of the web service because Im not incluiding the (dynamic VIs labview uses when they run), I tried to add the excel dynamic library to the proyect but with no success.
    I also tried to use VI SERVER to call a VI that generates the report using the report generation toolkit  in the method that runs when the web service is call but  it doesnt work either.
    How can I deploy a web service able to use  the report generation toolkit ?, how can I deploy a web service able to use VI server ?
    Any help is really appreciated.
    Erwin Franz 
    Erlab

    The issue you are running into is actually a limitation intended by Microsoft.  They don't want windows services to be able to call into the ActiveX interface for Microsoft Office for security reasons.  If you are deploying your web service to the NI Application Web Server on Windows you will run into this problem since the web server is a Windows Service.
    While I haven't tested this, you may be able to work around this by packaging your Web service with a LabVIEW EXE rather than deploying to the NI Application Web server. 
    Mark
    LabVIEW R&D

  • Unable to build dimension thru rule file using export from DRM

    Hi All,
    I exported a dimension from DRM in parent-child format and trying to load it thru rule-file into essbase. Everytime i load the data..it is throwing error. Iam confused whether the error is due to DRM file or Essbase itself?
    Actually i wanted to show the client the syncup between DRM and Essbase, this is kind of POC. I created an ESSbase application and using outline extractor, extracted the individual dimensions and then converted it into DRM import and loaded there successful. After creation of Properties there and added few members under the hierarchy in DRM.Again exported the dimensions and wanted to load into the same Essbase Application which should reflect the member additions did in DRM. But this DRM to essbase thing is not happening.
    Pls anybody help me in this.
    Regards,
    Sahitya

    Hi,
    Is there anything in the error log file that is generated when you load it in Essbase??
    You got to find the reason in the error file and then we can help you out on this.
    Thanks,
    Sourabh

  • User created SQL Agent Job that uses linked server with Windows authentication

    OK, here's what I want to do, but not sure exactly what I need to accomplish it.
    Environment
    Windows 2008 Enterprise
    SQL 2012 Enterprise
    SQL Server & SQL Agent running under AD account (which has local Windows Administrative privileges...yes, I know..bad!)
    Linked server to Teradata utilizing AD account mappings (the linked server works successfully and each windows login is mapped to a Teradata LDAP login)
    Requirement
    Allow non sysadmins to create SQL Agent jobs which execute TSQL statements which use OPENQUERY(LDAPLinkedServer, '....) syntax
    I've already given the non sysadmins the necessary permissions to create and run SQL Agent jobs, and I understand that the jobs run under their login context, but I suspect that I'm missing something when it comes to the linked server.
    Each windows user could have access to different databases/tables on the Teradata system that even I (the SQL Server sysadmin) don't have access to.
    How can I facilitate this functionality?  Any ideas?

    I think I may have been over complicating the Teradata piece.  The authentication methodology in Teradata is LDAP, which just means that it authenticates against AD, but you still have to submit your Windows login & password.  It doesn't automatically
    authenticate you just because you're logged into Windows.  
    The linked server has the mapping for the individual windows logins like:
    Local Login = <domain>.<windows id>
    Remote User = <windows id>
    Remote Password = <windows password>
    This setup requires the user to have to change the passwords in the linked server whenever they change their passwords according to domain policy (every xx days)...but we've created a utility proc that they can use to do this.
    So, I'm thinking that Teradata isn't really part of this equation.

  • Unable to create dimension in Analytic Workspace manager

    Hi all,
    I am trying to create dimension using Analytic Workspace Manager(AWM) and it throws the following error.
    *"The transaction is not committable: "java.lang.RuntimeException: org.xml.sax.SAXException: Missing XML attribute: Attribute for tag: <Metadata><StandardDimension><Organization><AWPrimaryDimensionOrganization><AttributeOrganization>"*
    Kindly share your comments.
    I am using Oracle 11g r1 client to connect with oracle 11g R2 database.
    Please let me know the steps to create a OLAP cube using AWM
    Regards
    Mukhil

    It sounds like a mismatch between an old version of AWM and a new version of the server. Please try a more recent version of AWM.
    http://www.oracle.com/technetwork/database/options/olap/olap-downloads-098860.html

  • Unable to create a linked server that points to an availability group listener.

    I don't even know if this scenarios is supported or not, I can't find any documentation on it.
    I have a couple SQL 2012 servers setup using AlwaysOn Availability Groups.  The listener (SQLAG1) is setup and working as expected with applications.   The 2 machines are in different subnets, so we are using the MultiSubnetFailover=True on the
    connection strings to ensure that failover works. 
    From an SQL 2014 box I want to create a linked server that points at the Listener.   I'm able create the linked server, but it appears like sql server is not using the MultiSubnetFailover=True and it fails to connect.  Here is what I used to create
    the linked server;
    EXEC sp_addlinkedserver
    @server = N'SQLAG1',
    @srvproduct = N'SQL2012',
    @provider = N'SQLNCLI11',
    @datasrc = N'SQLAG1',
    @provstr = N'Provider=SQLNCLI11.1;Data Source=SQLAG1;MultiSubNetFailover=True',
    @catalog = NULL
    GO
    Do anyone know if this is supported?  if so what it proper way to create the linked server?  
    Thanks!!!

    Thank you.   
    OLE DB in the SQL Server Native Client does
    not support the MultiSubnetFailover keyword.

  • Unable to create a single larger partition using diskpart

    Hello,
    I am fairly new to Windows server management.
    I have a Windows Server 2008 R2 RDP machine on Amazon EC2 cloud. I have about 10 different partitions which are 8GB each. I would like to merge them all and create a single larger partition. I know diskpart generally does the trick (as per forums) but in
    this case it hasn't.
    I have converted three 8GB partitions into dynamic disks and I then I type the following command in diskpart:
    create volume raid disk = 4,5,6
    which gives me the following:
    Virtual Disk Service error:
    The size of the extent is less than the minimum.
    I do not understand why is this happening. Would someone please be able to throw some light on this issue?
    I would eventually want to add 6*1TB partitions and then merge them into a single large partition of 5TB (I got to know that 1TB will be reserved for parity).
    I also tried running the following command:
    create volume raid size=10000 disk = 4,5,6
    and got the following:
    The volume you have specified is too big for the specified disk(s).
    Any help would be greatly appreciated.
    Cheers

    Hi,
    Command line:
    Create volume raid used to create a RAID-5 volume using three or more specified dynamic disks.
    http://technet.microsoft.com/pt-pt/library/cc731343(v=WS.10).aspx
    Partitions does not equal to disks.
    If you do not familiar with Diskpart, you can use Disk Management to perform the same tasks.
    Disk Management
    http://technet.microsoft.com/en-us/library/cc770943.aspx
    More information:
    Partitions and Volumes
    http://technet.microsoft.com/en-us/library/dd163559.aspx
    Understanding Disk Terminology
    http://technet.microsoft.com/en-us/library/dd163557.aspx
    How To Use Disk Management to Configure Dynamic Disks
    http://support.microsoft.com/kb/308424/en-us
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • Firefox 8... Unable to create PDF files from screen using Adobe Acrobat X...what happened?

    I'm no longer able to use the Adobe feature to create PDF's from the Firefox screen.
    Unable to find any information on correcting this issue.
    I would not have upgraded to Firefox 8 if I knew the loss of the Adobe PDF feature would be effected.
    I reinstalled the standard Adobe Acrobat X with no results...
    What happened?

    Firefox Support - I even create a Firefox account just to agree with [email protected] I appreciate the word "Thank you for being awesome!" when I registered the account and I certainly do hope you all guys being awesome to. Please do something with all this Firefox update - add-on plugin no longer support thingy. Firefox still awesome, it's just that I can't do much wit it anymore like I used to do. Ohh yayy theres Safari..

  • Create a XML Schema (C#) using Visual Studio Express 2012

    How do I add an XML schema to my xml file?
    Here is my code:
    private void WriteXmlToFile(DataSet dsDataSet)
    if (dsDataSet == null) { return; }
    // Create a file name to write to - creates a string
    string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
    // Create the FileStream to write with.
    System.IO.FileStream stream = new System.IO.FileStream
    (xmlfilename, System.IO.FileMode.Create);
    // Create an XmlTextWriter with the fileStream.
    System.Xml.XmlTextWriter xmlWriter =
    new System.Xml.XmlTextWriter(stream,
    System.Text.Encoding.Unicode);
    // Write dsDataSet to the file with the WriteXml method.
    dsDataSet.WriteXml(xmlWriter);
    xmlWriter.Close();
    And here is my xml:
    <NewDataSet>
    <Table1>
    <Item_Code>A0001</Item_Code>
    <Item_Description>Wheels, Horse on</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0002</Item_Code>
    <Item_Description>Wheels, Elephant on</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0003</Item_Code>
    <Item_Description>Wheels, Dog on</Item_Description>
    <Current_Count>0</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>

    Open the XML with NOTEPAD to see if you are getting the correct results. Something may be wrong with you CSV file.  Get original CSV that teacher gave out.  Here is my results and C# code.  The styling is the 2nd line and simply
    requires changing the one line in the C# that outputs the line.
    <?xml version="1.0" encoding="UTF-8"?>
    <?xsl:stylesheet type='text/xsl' href='book.xsl'?>
    <NewDataSet>
    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Table1">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="Item_Code" type="xs:string" minOccurs="0" />
    <xs:element name="Item_Description" type="xs:string" minOccurs="0" />
    <xs:element name="Current_Count" type="xs:int" minOccurs="0" />
    <xs:element name="On_Order" type="xs:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <Table1>
    <Item_Code>A0001</Item_Code>
    <Item_Description>Horse on Wheels</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0002</Item_Code>
    <Item_Description>Elephant on Wheels</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0003</Item_Code>
    <Item_Description>Dog on Wheels</Item_Description>
    <Current_Count>0</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0004</Item_Code>
    <Item_Description>Seal on Wheels</Item_Description>
    <Current_Count>3</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0005</Item_Code>
    <Item_Description>Bear on Wheels</Item_Description>
    <Current_Count>7</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0006</Item_Code>
    <Item_Description>Teddy Bear</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0007</Item_Code>
    <Item_Description>Clown</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0008</Item_Code>
    <Item_Description>Puppy(crouch)</Item_Description>
    <Current_Count>3</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0009</Item_Code>
    <Item_Description>Puppy(stand)</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0010</Item_Code>
    <Item_Description>Puppy(jump)</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0011</Item_Code>
    <Item_Description>Pupp(lying)</Item_Description>
    <Current_Count>1</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0012</Item_Code>
    <Item_Description>Cart with Blocks (50)</Item_Description>
    <Current_Count>0</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0013</Item_Code>
    <Item_Description>Cart with Blocks (100)</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0014</Item_Code>
    <Item_Description>Cart with Blocks (200)</Item_Description>
    <Current_Count>4</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0015</Item_Code>
    <Item_Description>Train with 0 Carriage</Item_Description>
    <Current_Count>12</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0016</Item_Code>
    <Item_Description>Train with 1 Carriage</Item_Description>
    <Current_Count>10</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0017</Item_Code>
    <Item_Description>Train with 2 Carriage</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0018</Item_Code>
    <Item_Description>Train with 3 Carriage</Item_Description>
    <Current_Count>4</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0019</Item_Code>
    <Item_Description>Train with 4 Carriage</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0020</Item_Code>
    <Item_Description>Train with 5 Carriage</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0021</Item_Code>
    <Item_Description>Building Blocks (20)</Item_Description>
    <Current_Count>15</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0022</Item_Code>
    <Item_Description>Building Blocks (30)</Item_Description>
    <Current_Count>13</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0023</Item_Code>
    <Item_Description>Building Blocks (40)</Item_Description>
    <Current_Count>16</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0024</Item_Code>
    <Item_Description>Building Blocks (50)</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0025</Item_Code>
    <Item_Description>Building Blocks (100)</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0026</Item_Code>
    <Item_Description>Building Blocks (200)</Item_Description>
    <Current_Count>8</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0027</Item_Code>
    <Item_Description>Windmill</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0028</Item_Code>
    <Item_Description>Farmhouse</Item_Description>
    <Current_Count>6</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0029</Item_Code>
    <Item_Description>Fencing</Item_Description>
    <Current_Count>22</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0030</Item_Code>
    <Item_Description>Barn</Item_Description>
    <Current_Count>12</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0031</Item_Code>
    <Item_Description>Tractor</Item_Description>
    <Current_Count>6</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0032</Item_Code>
    <Item_Description>Animals</Item_Description>
    <Current_Count>3</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0033</Item_Code>
    <Item_Description>House</Item_Description>
    <Current_Count>9</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0034</Item_Code>
    <Item_Description>Car</Item_Description>
    <Current_Count>12</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0035</Item_Code>
    <Item_Description>Building (small)</Item_Description>
    <Current_Count>4</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0036</Item_Code>
    <Item_Description>Building (medium)</Item_Description>
    <Current_Count>3</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0037</Item_Code>
    <Item_Description>Building (tall)</Item_Description>
    <Current_Count>4</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0038</Item_Code>
    <Item_Description>Shop</Item_Description>
    <Current_Count>7</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0039</Item_Code>
    <Item_Description>Traffic Lights</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0040</Item_Code>
    <Item_Description>Petrol Station</Item_Description>
    <Current_Count>4</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    </NewDataSet>
    C#
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    using System.Data.OleDb;
    using System.Xml;
    using System.Xml.Xsl;
    namespace CSVImporter
    public partial class CSVImporter : Form
    //const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
    const string xmlfilename = @"C:\temp\test.xml";
    DataSet ds = null;
    public CSVImporter()
    InitializeComponent();
    WriteXML();
    public void WriteXML()
    // Create a Open File Dialog Object.
    openFileDialog1.Filter = "csv files (*.csv)|*.csv|All files (*.*)|*.*";
    openFileDialog1.ShowDialog();
    string fileName = openFileDialog1.FileName;
    //doc.InsertBefore(xDeclare, root);
    // Create a CSV Reader object.
    CSVReader reader = new CSVReader();
    ds = reader.ReadCSVFile(fileName, true);
    dataGridView1.DataSource = ds.Tables["Table1"];
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    String PItext = "type='text/xsl' href='book.xsl'";
    newPI = doc.CreateProcessingInstruction("xsl:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    doc.Save(xmlfilename);
    XslCompiledTransform myXslTrans = new XslCompiledTransform();
    myXslTrans.Load(xmlfilename);
    string directoryPath = Path.GetDirectoryName(xmlfilename);
    myXslTrans.Transform(xmlfilename, directoryPath + "result.html");
    webBrowser1.Navigate(directoryPath + "result.html");
    public class CSVReader
    public DataSet ReadCSVFile(string fullPath, bool headerRow)
    string path = fullPath.Substring(0, fullPath.LastIndexOf("\\") + 1);
    string filename = fullPath.Substring(fullPath.LastIndexOf("\\") + 1);
    DataSet ds = new DataSet();
    try
    if (File.Exists(fullPath))
    string ConStr = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0}" + ";Extended Properties=\"Text;HDR={1};FMT=Delimited\\\"", path, headerRow ? "Yes" : "No");
    string SQL = string.Format("SELECT * FROM {0}", filename);
    OleDbDataAdapter adapter = new OleDbDataAdapter(SQL, ConStr);
    adapter.Fill(ds, "TextFile");
    ds.Tables[0].TableName = "Table1";
    foreach (DataColumn col in ds.Tables["Table1"].Columns)
    col.ColumnName = col.ColumnName.Replace(" ", "_");
    catch (Exception ex)
    MessageBox.Show(ex.Message);
    return ds;
    jdweng

  • Unable to load Dimension into Hyperion planning using ODI ?

    Hi All
    We are trying to load Dimension into hyperion planning Ver. 11.1.2 using ODI. We have created the interface and mapped the source csv file to target planmning application using ODI KM.
    LKM file to SQL
    IKM SQL to Planning
    We get success in ODI's Operator but the Dimension is not updated nor new data is insreted.
    We get this message in Error file:-
    +
    Retail Format,Parent,Alias: Default,Data Storage,Two Pass Calculation,Smart List,Data Type,Plan Type (APlan),Error_Reason
    ABC,Total Format,,StoreData,,,,Aplan,Cannot load dimension member, error message is: java.lang.RuntimeException: Fetch of saved member "ABC" failed.
    +
    We get this message in log files:-
    +
    2010-07-22 07:04:06,550 INFO [DwgCmdExecutionThread]: Oracle Data Integrator Adapter for Hyperion Planning - Release 9.3.1.1
    2010-07-22 07:04:06,550 INFO [DwgCmdExecutionThread]: Connecting to planning application [******] on [********]:[11333] using username [admin].
    2010-07-22 07:04:06,597 INFO [DwgCmdExecutionThread]: Successfully connected to the planning application.
    2010-07-22 07:04:06,597 INFO [DwgCmdExecutionThread]: The load options for the planning load are
         Dimension Name: Retail Format Sort Parent Child : false
         Load Order By Input : false
         Refresh Database : true
    2010-07-22 07:04:06,612 INFO [DwgCmdExecutionThread]: Begining the load process.
    2010-07-22 07:04:06,612 DEBUG [DwgCmdExecutionThread]: Number of columns in the source result set does not match the number of planning target columns.
    2010-07-22 07:04:06,659 INFO [DwgCmdExecutionThread]: Load type is [Load dimension member].
    2010-07-22 07:04:06,675 ERROR [DwgCmdExecutionThread]: Record [[ABC, Total Format, null, null, StoreData, null, null, null, null, null, null, null, null, null, Aplan, null, null, null]] was rejected by the Planning Server.
    2010-07-22 07:04:06,675 INFO [DwgCmdExecutionThread]: Planing cube refresh operation initiated.
    2010-07-22 07:04:08,425 INFO [DwgCmdExecutionThread]: Planning cube refresh operation completed successfully.
    2010-07-22 07:04:08,425 INFO [DwgCmdExecutionThread]: Load process completed.
    +
    Please help out .....

    Can you check the error log file as you have posted the log file, it should give more information to why the records were rejected.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to create sales Order/Inquiry object using SAP JCo

    Hi All,
    Pls can you help me.
    I am using BAPI_INQUIRY_CREATEFROMDATA2 and BAPI_Trancation_commit to create Inquiry object.From my Client JCo code there is no error.I debugged the BAPI_Trasaction_commit, there is no error,  return code is 0.  But th system is not creating Inquiry object. When I try the same from SAP GUI client with exactly the same input parameters it works.
    Do I need to set any option/value to commit the Inquiry to the SAP database? How to maintain the same session between the different BAPI's. Is there any issue with Session maintainance? I would appreciate if you can provide me any sample SAP JCo code for creating a Sales Order/Inquiry.
    Thanks
    mars

    Can you put the part of your code that fill the ORDER_PARTNERS table, also you could compare your coding with [Sales order creation using BAPI|http://wiki.sdn.sap.com/wiki/display/Snippets/SalesordercreationusingBAPI] in [Community Code Gallery |http://wiki.sdn.sap.com/wiki/display/Snippets/CommunityCodeGallery] (don't forget that there is a conversion exit on the partner role, so use internal codes "AG" and "WE")
    Regards,
    Raymond

  • Unable to create the sales team record using api AS_ACCESS_PUB.create sales

    Hi all,
    Please help with any sample code to create the sales team using AS_ACCESS_PUB.create sales team.
    When i am initialising,i am getting AS_SALES_MEMBER_PVT USing Fn error
    If i am not initialising,i am getting cannot read the value for profile option user_id;
    Regards,
    Raj

    Hi Ankitha,
    Your scenario is very vague.
    You have got the PO in the client 130 system and you wanted to created a SO in the same client 130 system.
    Usually we don't create a SO using the PO from the same system. Instead of using an IDOC concept, Call the BAPI BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2.
    You can use any of the 2 BAPI's to create the sales order.
    Write a custom program to call the BAPI and assign that custom program as a driver program to your output type which is being triggered in the PO document, then as soon as that output type is triggered it creates the sales order for you.
    My sincere suggestion just counter check your requirement with the concerned persons as we don't generally create a sales order by referencing the po in the same system, but we create a po by referencing a so in the same system for Third party sales orders.
    Thanks,
    Mahesh.

  • Unable to Create a Content Repository Connection using 'socketssl'

    I'm trying to create a Content Repository Connection with RIDC Socket Type as "socketssl".
    I am not able to create the connection. The following are the parameters mentioned in Jdeveloper
    RIDC Socket Type : socketssl
    Server Host Name : <ip of the content server>
    Content Server Listener Port : 54444 (incoming SSL provider is configured in the content server)
    KeyStore File Location : patch of the client keystore
    KeyStore Password : password
    Private Key Alias : PrivateKey Alias Name
    Private Key password : password
    I get the below error. However I am able to use RIDC to connect to UCM using socketssl. This problem is seen only with jdeveloper.
    SEVERE: Submission[id=1, service=oracle.webcenter.content.jcr.login, resource=ucm] caught exception running task
    javax.jcr.RepositoryException: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
         at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:161)
         at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:185)
         at oracle.jcr.impl.OracleRepositoryImpl.login(OracleRepositoryImpl.java:444)
         at oracle.vcr.jam.LoginTask.call(LoginTask.java:68)
         at oracle.vcr.jam.LoginTask.call(LoginTask.java:29)
         at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
         at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
         at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
         at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
         at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:254)
         at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:165)
         at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:171)
         ... 15 more
    Caused by: java.net.SocketException: Software caused connection abort: recv failed
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
         at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1523)
         at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:103)
         at com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:689)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:985)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:904)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:238)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:893)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:753)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
         at oracle.stellent.ridc.common.util.StreamUtil.readRawLine(StreamUtil.java:227)
         at oracle.stellent.ridc.common.util.StreamUtil.readLine(StreamUtil.java:254)
         at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readHeaders(HdaProtocol.java:453)
         at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:215)
         ... 17 more
    31/10/2011 2:14:29 PM oracle.webcenter.content.internal.dt.connection.wizard.AdapterConfigPanel validateConfig
    WARNING: Invalid Configuration Parameters
    javax.jcr.RepositoryException: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
         at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:161)
         at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:185)
         at oracle.jcr.impl.OracleRepositoryImpl.login(OracleRepositoryImpl.java:444)
         at oracle.vcr.jam.LoginTask.call(LoginTask.java:68)
         at oracle.vcr.jam.LoginTask.call(LoginTask.java:29)
         at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
         at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
         at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
         at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
         at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:254)
         at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:165)
         at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:171)
         ... 15 more
    Caused by: java.net.SocketException: Software caused connection abort: recv failed
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
         at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1523)
         at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:103)
         at com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:689)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:985)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:904)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:238)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:893)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:753)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
         at oracle.stellent.ridc.common.util.StreamUtil.readRawLine(StreamUtil.java:227)
         at oracle.stellent.ridc.common.util.StreamUtil.readLine(StreamUtil.java:254)
         at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readHeaders(HdaProtocol.java:453)
         at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:215)
         ... 17 more
    Please let me know the valid Configuration Parameters?
    Thanks,
    Manjunath
    Edited by: 890922 on Oct 30, 2011 8:25 PM

    You need to supply the "Key Store Location", "Key Store Password", "Private Key Alias" and "Private Key Password' to use socketssl.
    Also please make sure that the content server has enabled "Use SSL". You can configure it using the enterprise manager.

  • A question about creating a Connection pool that uses Oracle JDBC

    Dear all,
    I have an issue with creating a connection pool within a web application in order to be used by several servlets. I appreciate if you could kindly give me a hand.
    I'm using:
    Web server: Apache-tomcat: 6.0.18
    Oracle Database 11g Enterprise: 11.1.0.6.0 - Production
    Operating system: Linux (ubuntu 8.10)
    IDE: Sun Netbeans
    Oralce JDBC Drivers: 11.1.0.7.0-Production (ojdbc6.jar and orai18n.jar)
    JDK 1.6
    Usually, just for creating a connection to my database (without using a connection pool), I proceed in the following way:
    String dbURL = "jdbc:oracle:thin:@localhost:1521:database01";
    String username = "scott";
    String user_password = "tiger";
    String userSqlQuery = "SELECT * FROM mytable";
    Connection connection = DriverManager.getConnection (dbURL, username, user_password);
    Statement statement = connection.createStatement();
    statement.executeUpdate(query_text);This works pretty well allowing to communicate with my oracle database. By this method I have run several projects
    with different queries (SELECT, INSERT, UPDATE, DELETE ,etc.) and each time it worked without any problem and
    returned the result of the query. Therefore I think that there is no problem with JDBC drivers
    However, when I want to create a connection pool, it seems that the lookup method cannot locate Oracle JDBC drivers. That is,
    try
         InitialContext ic = new InitialContext();
         Context envContext  = (Context)ic.lookup("java:/comp/env");
         dataSource = (DataSource)envContext.lookup("jdbc/oracle11gEnterprise");
           Connection connection = dataSource.getConnection();
    catch (Exception e)
         e.printStackTrace();
    }Just after calling dataSource.getConnection() the java.lang.NullPointerException is thrown.
    Any idea?
    Thanks in advance,
    And for your information, here are context.xml and web.xml files for my project
    Here is my context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Context antiJARLocking="true" path="/WebApplication1">
        <Resource name="jdbc/oracle11gEnterprise"
              scope="Shareable"
              type="javax.sql.DataSource"
              auth="Container"
              description="Oracle Database 11g Enterprise"
              maxActive="100"
              maxIdle="30"
              maxWait="10000"
              removeAbandoned="true"
              removeAbandonedTimeout="60"
              logAbandoned="true"
              url="jdbc:oracle:thin:@localhost:1521:database01"
              username="scott"
              password="tiger" />
    </Context>my web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <ConsumeOutput>false</ConsumeOutput>
        <resource-ref>
            <res-ref-name>jdbc/oracle11gEnterprise</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
        </resource-ref>
        <!--
            .  And here as usual I write servlet definition and url mappings
        -->   

    nobody?

Maybe you are looking for

  • Unable to login shared services URL for hyperion 9.3.1

    Hi experts, I am facing a serious issue as i am not able to see shared services welcome page at http://localhost:58080/interop though my openldap services and shared services service is started.It is showing page cannot be displayed.I am websphere as

  • Keeping song data in iTunes library after hard drive crash

    I have an iPhone 3GS that I used to sync with iTunes on my Windows PC. Then the hard drive on that PC crashed, but fortunately I had made a backup of my entire iTunes library on an external drive. Now I have a new Windows PC that I want to transfer m

  • Decode Clarification

    Is it true that Decode function used only inside of SQL Statement ' declare i number; --cursor dept_cursor is select * from dept; begin select deptno into i from dept where deptno=10; -- dbms_output.Put_line(); dbms_output.put_line('Hi'||decode(sql%r

  • My Smudge Tool isnt blending correctly like it should?

    My smudge tool isn't working correctly like it should in Photoshop cs5. Can someone help me? Heres an example. :

  • Require Configuration Details regarding JDBC Sender Adapter Parameters

    Hi All, I have a scenario in which I need to read around 2 million records from an SQL Server table and process. Since the data content is very huge, I have decided to split the data and execute. So, in the select statement of my SQL Server Query, I