BPC - "Error occurs during UpdateRemainData. Invalid column name formula4

Hi All,
After creating a new dimension, I am trying to add members in it.
I am not sure why, but first I got message to include FORMULAH1 and FORMULAH2 as properties to the dimesion. I added those two properties although I do not have any formula for my Dim members.
When I try to process the dimension, I get the error message,
"Error occurs during UpdateRemainData. Invalid column name 'formula4'."
Can anybody throw some light as to why I might be getting this message and how to fix it.
I do not have any column named 'formula4'.
Thanks in advance.
Anurag

Hello,
   You have to have only one property named Formula into the dimension. The formulah1, formulah2, ... should be added corresponding with the number of hierarchies defind in your dimension.
  To have an idea more clear, just look to the AcountL on ApShel, which has 3 hierarchies and 3 formulas, but only one FORMULA property.
Best regards,
Mihaela

Similar Messages

  • Error querying fact: -2417217900 invalid column name

    Dear Xperts
    while validating script logic it gives error"error querying fact: -2417217900 invalid column name P_ACCT"
    P_ACCT dimension created by me.
    problem has started today while creating new script logic.
    as old logic created earlier was sucessfully validated
    new logic was created refering document 330 for bpc,so there is no scripting error
    pls guide me through this.
    thanks
    kashyap

    thanks  for ur advice
    i was able  to validate logics previously.
    i tried way you sugested but was unable to validate.
    i also  tried updating that dimension members but it was giving me some olap querry error while processing dimension after changing dimension members.
    so finally i deleted that dimension created new one did whole process again
    & was successfull
    but i wanted to know why this error could have occured
    thanks
    kashyap

  • The following syntax error occurred during parsing: Invalid token, Line 1,

    Hello Experts,
    I hope someone could help me. I am trying to create a MDX formula in Account dimension (Cuenta).
    When formula created use "Iif" syntax, system give the following error:
      - [CUENTA].[H1].[#X000] Parser: The following syntax error occurred during parsing: Invalid token, Line 1, Offset 15, [.
    My Account dimension (Cuenta) has 3 parent, and the formula introduces is:
    'Iif([Cuenta].[H1].[BLOQ_FASEC]<0.5 and [Cuenta].[H1].[BLOQ_FASEC]>-0.5,0,[Cuenta].[H1].[BLOQ_FASEC])
    We try another syntax
    'Iif([Cuenta].[BLOQ_FASEC]<0.5 and [Cuenta].[BLOQ_FASEC]>-0.5,0,[Cuenta].[BLOQ_FASEC])
    But same error persist.
    Could you have any idea?
    Thanks

    Can you check into dimension properties what is the size of FORMULA propertiy?
    Make sure is bigger than number of chars from your formula.
    Do you have multiple hierarchies for CUENTA?
    The formula which you mentioned it has to be into column: FORMULAH1.
    Also make sure that your formula doesn't have an end of line at the end. That can cause again problems.
    Regards
    Sorin Radulescu
    Edited by: Sorin Radulescu on Apr 22, 2010 11:03 AM

  • Error : ABEND RS_EXCEPTION (000): Invalid column name 'TXTMD'

    Dear Team,
    Am getting this Dump / Error Msg. when tring to execute the query in BI Java Stack, the same query is executing perfectly in BI ABAP Stack, could some one throw some light to how to fix this, we are in process of Upgradating from BI 3.5 to BI 7.0 EHP1,
    all production report of earlier version is being upgraded to BI. 7, currently our Java Stack is on SP 6.
    The details of the error Msg:
    The initial exception that caused the request to fail was:
    Termination message sent
    ABEND RS_EXCEPTION (000): [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid column name 'TXTMD'.
      MSGV1: [Microsoft][SQL Server Native Client 10.0][SQL
      MSGV2: Server]Invalid column name 'TXTMD'.
    pl. revert. Your early responses are highly appreciated..!
    Thanks in Advance.

    Nasiroddin,
    according following post:
    Re: 500 Internal Server Error
    might be that some of variables linked to characteristics that is contained in free characteristics area is corrupted. Try to remove it.
    BR
    m./

  • ODI Agent error: java.sql.SQLException: Invalid column name

    When running a scenairo on a standalone ODI agent, it hangs on "Wait" state. The ODI agent's log is logging the following errors over and over again.
    We are in Fusion Application Development and are using Middleware D8B4A RC5.
    [2011-01-07T14:35:16.381-08:00] [odi] [WARNING] [] [oracle.odi.agent] [tid: 4215] [ecid: 0000IpYbCrKE8TQRyaJ7D01D8^zE00009o,0] /oraclediagent/invoke.do[[
    oracle.odi.core.security.SecurityManager.doODIInternalAuthentication(SecurityManager.java:356)
    oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:331)
    oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:418)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:503)
    org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
    org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    org.mortbay.jetty.Server.handle(Server.java:326)
    org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
    org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:749)
    org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:219)
    org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
    org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
    [2011-01-07T14:35:18.341-08:00] [] [ERROR] [ODI-1131] [] [tid: 4214] [ecid: 0000IpYaiZCE8TQRyaJ7D01D8^zE00009n,0] [arg: OracleDiAgent] [arg: java.sql.SQLException: Invalid column name] Agent OracleDiAgent encountered an error: java.sql.SQLException: Invalid column name

    Are you sure the datasources point to the right master/work configuration, and that your repository is correctly up-to-date? This looks like the agent trying to connect a repository, but the repository is not updated correctly, or misses some columns. The whole stack (and the name of the missing column) would help of course.

  • Error No. ORA-00904: invalid column name

    I have an error in production AP->Setup->Options->financials Or
    Payables As follows.the SELECT Statement looks for a
    Fields: &#8216;EXPENSE_CLEARING_CCID&#8217;in the
    Table : &#8216;FINANCIALS_SYSTEM_PARAMETERS&#8217;.
    SELECT
    SET_OF_BOOKS_ID,FUTURE_PERIOD_LIMIT,ACCTS_PAY_CODE_COMBINATION_ID
    PREPAY_CODE_COMBINATION_ID,DISC_TAKEN_CODE_COMBINATION_ID,RATE_VA
    R_GAIN_CCID,
    RATE_VAR_LOSS_CCID,EXPENSE_CLEARING_CCID,REQ_ENCUMBRANCE_FLAG,REQ
    ENCUMBRANCETYPE_ID,
    RESERVE_AT_COMPLETION_FLAG,PURCH_ENCUMBRANCE_FLAG,PURCH_ENCUMBRAN
    CE_TYPE_ID,
    INV_ENCUMBRANCE_TYPE_ID,BUSINESS_GROUP_ID,EXPENSE_CHECK_ADDRESS_F
    LAG,
    USE_POSITIONS_FLAG,TERMS_ID,PAY_DATE_BASIS_LOOKUP_CODE,
    TERMS_DATE_BASIS,PAYMENT_METHOD_LOOKUP_CODE,RECEIPT_ACCEPTANCE_DA
    YS,
    ALWAYS_TAKE_DISC_FLAG,EXCLUSIVE_PAYMENT_FLAG,SHIP_TO_LOCATION_ID,
    BILL_TO_LOCATION_ID,FOB_LOOKUP_CODE,SHIP_VIA_LOOKUP_CODE,INVENTOR
    Y_ORGANIZATION_ID,
    FREIGHT_TERMS_LOOKUP_CODE,RFQ_ONLY_SITE_FLAG,HOLD_UNMATCHED_INVOI
    CES_FLAG,
    USER_DEFINED_VENDOR_NUM_CODE,MANUAL_VENDOR_NUM_TYPE,VAT_CODE,
    VAT_COUNTRY_CODE,VAT_REGISTRATION_NUM,LAST_UPDATE_DATE,
    LAST_UPDATED_BY,LAST_UPDATE_LOGIN,CREATION_DATE,CREATED_BY,
    ROWID FROM FINANCIALS_SYSTEM_PARAMETERS
    WHERE 1=1
    thanks fo coopration
    [email protected]

    In order for testtune to create a function-based index on a table in hrdmadm's schema that uses a function in testtune's schema, testtune must have the system privilege GLOBAL QUERY REWRITE and SELECT privileges on hrdmadm's table, and hrdmadm must have execute privileges on testtune's function, and the function name must be prefaced with the schema name when creating the index.
    So, have someone with DBA privileges:
    GRANT GLOBAL QUERY REWRITE TO testtune;
    Have hrdmadm:
    GRANT SELECT ON bkg_empl_asgnmt to testtune;
    Have testtune:
    GRANT EXECUTE ON test_func_index to hrdmadm;
    Then, testtune can:
    create index testtune.test_func_index on
    hrdmadm.bkg_empl_asgnmt(substr(testtune.CalcDistFctUnit(GHRS_INTERNAL_EMPL_ID_NO, HOME_ORGANIZATION, EFFECTIVE_DATE, HOME_AGENCY),1,5))

  • Adding dim property -  Error processing (Invalid column name)

    BPC 5.1 SP3
    I'm trying to add FormulaH1 and FormulaH2 properties to a user-defined dim containing two hierarchies. Properties are added and processed without any issues. However, when I subsequently try to process the member sheet, which has two new columns ("FormulaH1" and "FormulaH2"), I receive this error:
      - Error occurs during UpdateRemainData. Invalid column name 'formula13'.
    Column 13 in the member sheet contains the new "FormulaH2" property. (Column 12 has the "FormulaH1" property).
    Any ideas what might be causing this error? I do see the new columns added to the mbr table. I've tried changing the property lengths and "In App" settings---get the same error when processing the member sheet.
    Are there issues with added Formula properties to a user-def dim? Or, is there something else going on here?

    Answered my own question....
    I only need to add one property called "Formula". BPC will then add the H1 and H2 "property" columns in the member sheet.

  • Invalid column name 'formula6'.

    This error occurs when i attempt to process the dimension.   "- Error occurs during UpdateRemainData. Invalid column name 'formula6'."
    When I uncheck the InApp  FORMULAH1 and FORMULAH2 properties it process without error. When I have them as InApp, i get the error.
    Any ideas why this happens?
    thanks,
    Agnes

    To add to Sorin's explanation -- the ParentH1, ParentH2, FormulaH1, FormulaH2 properties are controlled by the system -- you must add these columns to the member sheet, and you must NOT add them manually as properties.
    It's never been clear to me exactly why it works this way, but that's how it works. There are a few other system-controlled properties (EvDescription, Calc, IsBaseMem, HIR, DimCalc are some, plus others that may vary by dimension type, such as TimeID) which are created as columns in the member table, but which don't need to be in the member sheet.
    Also note, if you only have one hierarchy ParentH1 (but no ParentH2), then you should use Formula (not FormulaH1). If you have 2 hierarchies, then use FormulaH1 and FormulaH2. At least, that's been my experience on BPC 5.0 and 5.1. Things may have changed slightly on BPC 7 M, and I'd bet that this has changed in even greater ways on BPC 7 NW.

  • Invalid column name - fixed by inserting a carriage return - Why?

    I'm writing some JSP pages and am executing a statement that retrieves values from three tables.
    When executing the statement I receive the error
    java.sql.SQLException: Invalid column name
    I just want to state here that ALL the column names are definitely correct. I attempted to isolate the problem using my SQL*Plus Interface.
    When copying and pasting the SQL that was used (I put the SQL statement into the HTML to allow me to do this) into SQL*Plus it also come up with the error. I found that if I broke up the statement it would run. Specifically if I placed a carriage return (by hitting enter) prior to the 'A' of the AND operator and then copied and pasted into SQL*Plus it would work!
    I thought the problem was related to bad syntax in the outer join operator. But removal of the outer join operator and making it a EQUI JOIN situation still gave the same results. I tried the use of brackets to 'help' the DB engine figure it out - silly I know, but it didn't work anyway :(
    I've tried this out on UNIX in SQL*Plus where the query was on one line and it worked fine. I've tried it on Oracle 8.1.5 SQL*Plus & Oracle 8.1.7 SQL*Plus on Win2000 and WinNT and no go.
    It has also been tested on an Oracle 7.3.4 DB and no go either.
    Remember I'm only using SQL*Plus to find out why it is not working - I'm actually attempting to execute this via JDBC (classes12.zip Oracle9 version) in my JavaBean. I can't place a carriage return to 'fix' the problem, and I'm assuming that I shouldn't either.
    I've pasted the SQL below (both non-working and working versions). I was going to paste the output of DESC on the associated tables should you too would rule out a mispelled column name, but I didn't want to put anyone off with a long post.
    If you can provide any advice I would be very appreciative.
    Darren James
    Show Me Technology
    SQL> SELECT UNIT.Asset_Number,Model,PERSON.Novell_User_Name FROM
    UNIT, UNIT_USERS, PERSON
    2 WHERE UNIT.Hardware_Reference_Number =
    UNIT_USERS.Hardware_Reference_Number(+) AND UNIT_USERS
    .Novell_User_Name = PERSON.Novell_User_Name (+) ORDER BY Make,
    Model, Asset_Number,Serial_Number,
    UNIT.Hardware_Reference_Number,Unit_Type,PERSON.Last_Name,PERSON.Fi
    rst_Name,PERSON.Novell_User_Name;
    3 /
    WHERE UNIT.Hardware_Reference_Number =
    UNIT_USERS.Hardware_Reference_Number(+) AND UNIT_USERS.Novel
    ERROR at line 2:
    ORA-00904: invalid column name
    REM -- Using the one with an return prior to the AND
    SQL> SELECT UNIT.Asset_Number,Model,PERSON.Novell_User_Name FROM
    UNIT, UNIT_USERS, PERSON
    2 WHERE UNIT.Hardware_Reference_Number =
    UNIT_USERS.Hardware_Reference_Number(+)
    3 AND UNIT_USERS.Novell_User_Name = PERSON.Novell_User_Name
    (+) ORDER BY Make, Model,
    4 Asset_Number,Serial_Number,
    5
    UNIT.Hardware_Reference_Number,Unit_Type,PERSON.Last_Name,PERSON.Fi
    rst_Name,PERSON.Novell_User_
    Name;
    ASSET_NUMBER
    MODEL
    NOVELL_USE
    10023445
    desktop raider
    tabisho
    10023445
    desktop raider
    pjblee
    100349864
    VEi8
    SQL>

    Ok. I feel ashamed that the answer was so simple and not the
    problem I thought it was. But in the interests of perhaps
    preventing someone else doing the same silly thing....
    The error was caused by using a wrong name when 'getting' the
    values int the return ResultSet object. (eg using getString
    ("s.Some_Name") when it should have been getString
    ("s.Another_Name").
    Interestingly the error did occur in one of our SQL*Plus
    versions. Why we still are not sure, but since this was a silly
    error on my part, I'm sure a similarly silly reason will be the
    cause there two.
    I appreciate those who responded though. It is a great resource.
    Darren James
    I'm just guessing here, but could it be some sort of a size thing? Could it be that, if you don't break up line 2, somehow
    it gets truncated or wrapped at an inappropriate place? To test
    this theory, you might try putting the carriage return in front
    of the ORDER BY, instead of in front of the AND, and see if it
    has the same effect. If you do get it figured out, please
    satisfy our curiosity and let us know.

  • "Invalid column name" when restoring SAP DM IFRS Starter Kit

    I want to share an issue that we came across when restoring the SAP Disclosure Management IFRS Starter Kit. Namely when trying to restore it on an environment we got the following error:
    Server Error in '/' Application.
    Invalid column name 'AccountExpirationDate'.
    Invalid column name 'PasswordChangedDate'.
    Invalid column name 'LastSuccessfulLoginDate'.
    In our case, after getting this error we tried restoring the SK on SAP Disclosure Management SP06 and it turned out to work ok so hope that this solves it for anyone else stuck at the same

    Hi Rajneesh,
    Check whether you have both the row-axis and column-axis of the input template through 'edit report'.
    Probably your input template has some member dimensions missing in your template.
    We have faced the same problem before and corrected it.
    This error occurs sometimes when we create a input template by clearing defining the row & column axis in the template but afterwards try some EPMOlapmember in any axis by deleting the original report elements.
    So check the input template once again. I think you will track the error.
    Regards,
    Bishwajit

  • Invalid Column Name message in the subquery

    Hi All, I am receiving the invalid column name message in the subquery. Please help me if there is any work around or change in the query:
    Sample query:
    update table1 set table1.column1 =
    (Select column1 from
    (Select column1 from table2 where
    table1.columnX = table2.columnX
    order by table2.columnM desc,table2.ColumnN desc,
    where rownum =1)
    When i run the above query i am receiving the following error message:
    ORA-00904:invalid column name at table1.columnx.
    This column is already existing in table1 and looks like this table is not recoginzed inside of the subquery.
    I am trying to update table1.column1 using the first value from table2 after ordering by table2.columnM desc, table2.columnN desc. (ColumnM and ColumnN are the Date columns which i need to perform the sorting). I am new to sql/Plsql. Thanks in Advance for help....

    The problem is that you can not refer to columns from the outer table from inside a second subquery inside your subquery. Only one level of subquery can be used to transport the column name,.
    A solution can be to use groups and aggregation functions instead of rownum = 1.
    The following might work.
    untested
    update table1
    set table1.column1 =
      (Select max(column1) keep (dense_rank first over table2.columnM desc,table2.ColumnN desc)
       from table2
       where table1.columnX = table2.columnX
       ) Another way can be to to make a UNCORRELATED subquery first and then filter on that uncorrelated query with the column name from the outer statement.
    This time I use a analytic function.
    untested
    update table1 u
    set u.column1 = (select v1.column1
       from
         (Select t2.column1, t2.columnX, row_number over (partition by t2.column1, t2.columnX order by t2.columnM desc,t2.ColumnN desc) as rn
          from table2
          ) v1
       where v1.columnX = u.columnX
       and v1.rn = 1
    where /* where clause is missing! */

  • An error occurred during local report processing.The definition of the report '' is invalid.The definition of this report is not valid or supported by this version of Reporting Services. he report definition may have been created with a later version of R

    Hi,
    I am trying to create rdlc file programmatically. Using Memory Table as dataset. Here is my code
    ' For each field in the resultset, add the name to an array listDim m_fields AsArrayList
      m_fields = NewArrayList()
      Dim i AsIntegerFor i = 0 To tbdataset.Tables(0).Columns.Count - 1
          m_fields.Add(tbdataset.Tables(0).Columns(i).ColumnName.ToString)
      Next i
      'Create Report 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' Open a new RDL file stream for writingDim stream AsFileStream
      stream = File.OpenWrite("D:\MyTestReport2.rdlc")
      Dim writer AsNewXmlTextWriter(stream, Encoding.UTF8)
      ' Causes child elements to be indented
      writer.Formatting = Formatting.Indented
      ' Report element
      writer.WriteProcessingInstruction("xml", "version=""1.0"" encoding=""utf-8""")
      writer.WriteStartElement("Report")
      writer.WriteAttributeString("xmlns", Nothing, "http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition")
      writer.WriteAttributeString("xmlns:rd", "http://schemas.microsoft.com/SQLServer/reporting/reportdesigner")
      writer.WriteStartElement("ReportSections")
      writer.WriteStartElement("ReportSection")
      writer.WriteElementString("Width", "11in")
      writer.WriteStartElement("Body")
      writer.WriteElementString("Height", "5in")
      writer.WriteStartElement("ReportItems")
      writer.WriteStartElement("Tablix")
      writer.WriteAttributeString("Name", Nothing, "Tablix1")
      writer.WriteElementString("Top", ".5in")
      writer.WriteElementString("Left", ".5in")
      writer.WriteElementString("Height", ".5in")
      writer.WriteElementString("Width", (m_fields.Count * 1.5).ToString() + "in")
      writer.WriteStartElement("TablixBody")
      ' Tablix Columns
      writer.WriteStartElement("TablixColumns")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixColumn")
          writer.WriteElementString("Width", "1.5in")
          writer.WriteEndElement() ' TableColumnNext fieldName
      writer.WriteEndElement() ' TablixColumns' Header Row
      writer.WriteStartElement("TablixRows")
      writer.WriteStartElement("TablixRow")
      writer.WriteElementString("Height", ".25in")
      writer.WriteStartElement("TablixCells")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixCell")
          writer.WriteStartElement("CellContents")
          writer.WriteStartElement("Textbox")
          writer.WriteAttributeString("Name", Nothing, "Header" + fieldName)
          ' writer.WriteAttributeString("CanGrow",  True)' writer.WriteAttributeString("Keeptogether", True)
          writer.WriteStartElement("Paragraphs")
          writer.WriteStartElement("Paragraph")
          writer.WriteStartElement("TextRuns")
          writer.WriteStartElement("TextRun")
          writer.WriteElementString("Value", fieldName)
          writer.WriteStartElement("Style")
          writer.WriteElementString("TextDecoration", "Underline")
          writer.WriteElementString("PaddingTop", "0in")
          writer.WriteElementString("PaddingLeft", "0in")
          writer.WriteElementString("LineHeight", ".5in")
          ''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
          writer.WriteEndElement() ' Style
          writer.WriteEndElement() ' TextRun
          writer.WriteEndElement() ' TextRuns
          writer.WriteEndElement() ' Paragraph
          writer.WriteEndElement() ' Paragraphs
          writer.WriteEndElement() ' TexBox
          writer.WriteEndElement() ' CellContents
          writer.WriteEndElement() ' TablixCellNext
      writer.WriteEndElement() ' TablixCells
      writer.WriteEndElement() ' TablixRow'writer.WriteEndElement() ' TablixRows          Do not close Rows tag here colse it after details'End of Headers'Details Rows'writer.WriteStartElement("TablixRows")         Since Rows tag in header is not closed not need to open fresh tag
      writer.WriteStartElement("TablixRow")
      writer.WriteElementString("Height", ".25in")
      writer.WriteStartElement("TablixCells")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixCell")
          writer.WriteStartElement("CellContents")
          writer.WriteStartElement("Textbox")
          writer.WriteAttributeString("Name", Nothing, fieldName)
          '  writer.WriteAttributeString("CanGrow", True)'  writer.WriteAttributeString("Keeptogether", True)
          writer.WriteStartElement("Paragraphs")
          writer.WriteStartElement("Paragraph")
          writer.WriteStartElement("TextRuns")
          writer.WriteStartElement("TextRun")
          'writer.WriteElementString("Value", fieldName)
          writer.WriteElementString("Value", "=Fields!" + fieldName + ".Value")
          writer.WriteStartElement("Style")
          writer.WriteElementString("TextDecoration", "Underline")
          writer.WriteElementString("PaddingTop", "0in")
          writer.WriteElementString("PaddingLeft", "0in")
          writer.WriteElementString("LineHeight", ".5in")
          ''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
          writer.WriteEndElement() ' Style
          writer.WriteEndElement() ' TextRun
          writer.WriteEndElement() ' TextRuns
          writer.WriteEndElement() ' Paragraph
          writer.WriteEndElement() ' Paragraphs
          writer.WriteEndElement() ' TexBox
          writer.WriteEndElement() ' CellContents
          writer.WriteEndElement() ' TablixCellNext
      writer.WriteEndElement() ' TablixCells
      writer.WriteEndElement() ' TablixRow
      writer.WriteEndElement() ' TablixRows'End of Details Rows
      writer.WriteEndElement() ' TablixBody
      writer.WriteStartElement("TablixRowHierarchy")
      writer.WriteStartElement("TablixMembers")
      writer.WriteStartElement("TablixMember")
      ' Group
      writer.WriteElementString("KeepWithGroup", "After")
      writer.WriteEndElement() ' TablixMember' Detail Group
      writer.WriteStartElement("TablixMember")
      writer.WriteStartElement("Group")
      writer.WriteAttributeString("Name", Nothing, "Details")
      writer.WriteEndElement() ' Group
      writer.WriteEndElement() ' TablixMember
      writer.WriteEndElement() ' TablixMembers
      writer.WriteEndElement() ' TablixRowHierarchy
      writer.WriteStartElement("TablixColumnHierarchy")
      writer.WriteStartElement("TablixMembers")
      'writer.WriteStartElement("TablixMember")ForEach fieldName In m_fields
          writer.WriteStartElement("TablixMember")
          writer.WriteEndElement() ' TablixMemberNext' writer.WriteEndElement() ' TablixMember
      writer.WriteEndElement() ' TablixMembers
      writer.WriteEndElement() ' TablixColumnHierarchy
      writer.WriteElementString("DataSetName", "tbdataset")
      writer.WriteEndElement() ' Tablix
      writer.WriteEndElement() ' ReportItems
      writer.WriteEndElement() ' Body
      writer.WriteStartElement("Page")
      ' Page Header Element
      writer.WriteStartElement("PageHeader")
      writer.WriteElementString("Height", "1.40cm")
      writer.WriteStartElement("ReportItems")
      writer.WriteStartElement("Textbox")
      writer.WriteAttributeString("Name", Nothing, "Textbox1")
      writer.WriteStartElement("Paragraphs")
      writer.WriteStartElement("Paragraph")
      writer.WriteStartElement("TextRuns")
      writer.WriteStartElement("TextRun")
      writer.WriteElementString("Value", Nothing, "ABC CHS.")
      writer.WriteEndElement() ' TextRun
      writer.WriteEndElement() ' TextRuns
      writer.WriteEndElement() ' Paragraph
      writer.WriteEndElement() ' Paragraphs
      writer.WriteEndElement() ' TextBox
      writer.WriteEndElement() ' ReportItems
      writer.WriteEndElement() ' PageHeader
      writer.WriteEndElement() ' Page
      writer.WriteEndElement() ' ReportSection
      writer.WriteEndElement() ' ReportSections' DataSources
      writer.WriteStartElement("DataSources")
      writer.WriteStartElement("DataSource")
      writer.WriteAttributeString("Name", Nothing, "tbdata")
      writer.WriteStartElement("DataSourceReference")
      writer.WriteEndElement() ' DataSourceReference
      writer.WriteEndElement() ' DataSource
      writer.WriteEndElement() ' DataSources'DataSet
      writer.WriteStartElement("DataSets")
      writer.WriteStartElement("DataSet")
      writer.WriteAttributeString("Name", Nothing, "tbdataset")
      writer.WriteStartElement("Query")
      writer.WriteElementString("DataSourceName", Nothing, "tbdata")
      'writer.WriteElementString("CommandText", Nothing, "/* Local Query */")
      writer.WriteElementString("CommandText", Nothing, "TableDirect")
      writer.WriteEndElement() ' Query'Fields
      writer.WriteStartElement("Fields")
      ForEach fieldName In m_fields
          writer.WriteStartElement("Field")
          writer.WriteAttributeString("Name", Nothing, fieldName)
          writer.WriteElementString("DataField", fieldName)
          writer.WriteElementString("rd:TypeName", fieldName.GetType.ToString)
          writer.WriteEndElement() ' FieldNext
      writer.WriteEndElement() ' Fields' rd datasetinfo
      writer.WriteEndElement() ' DataSet
      writer.WriteEndElement() ' DataSets
      writer.WriteEndElement() ' Report' Flush the writer and close the stream
      writer.Flush()
      stream.Close()
      'Convert to StreamDim myByteArray AsByte() = System.Text.Encoding.UTF8.GetBytes("D:\MyTestReport2.rdlc")
      Dim ms AsNewMemoryStream(myByteArray)
      'Supply Stream to ReportViewer
      ReportViewer1.LocalReport.LoadReportDefinition(ms)
      ReportViewer1.LocalReport.Refresh()When I open rdlc in designer I get following error"Data at the root level is invalid."When I run the aspx I get following error
    An error occurred during local report processing.
    The definition of the report '' is invalid.
    The definition of this report is not valid or supported by this version of Reporting Services.
    The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas.
    Details: Data at the root level is invalid. Line 1, position 1.
    Can anybody guide me?

    Hi Wendy Fu,
    Thanks for your feed back. I could see Microsoft.ReportViewer.ProcessingObjectModel.dll to add as reference to my project. Actually I can open generated rdlc in designer, at run time I get error. I could not make out where is the exact mistake out of three
    options flashed.
    The definition of this report is not valid or supported by this version of Reporting Services.
    The report definition may have been created with a later version of Reporting Services
    or contain content that is not well-formed or not valid based on Reporting Services schemas
    Details: Data at the root level is invalid
    My web config has following references
    <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
    <add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
    May be I have to change these versions to 9 or 10.
    First I will try adding Microsoft.ReportViewer.ProcessingObjectModel.dll .
    Once thanks for your reply.
    Races

  • Invalid column name error

    Having an interesting problem with a site I'm fixing. I'm
    sure I'm looking past the obvious, so maybe some of you can help:
    ASP Pages display results from recordset based on a session
    variable (memberID) that is created during user login.
    Recordset looks like this:
    <%
    Dim rs__MMColParam
    rs__MMColParam = "%"
    If (Session("memberID") <> "") Then
    rs__MMColParam = Session("memberID")
    End If
    %>
    <%
    set rs = Server.CreateObject("ADODB.Recordset")
    rs.ActiveConnection = MM_cnConnection_STRING
    rs.Source = "SELECT id, adminusername, anotherone1,
    anotherone2, anotherone3 FROM dbo.basic1 WHERE adminusername = '" +
    Replace(rs__MMColParam, "'", "''") + "'"
    rs.CursorType = 0
    rs.CursorLocation = 2
    rs.LockType = 3
    rs.Open()
    rs_numRows = 0
    %>
    Seems correct to me, unles I'm overlooking something obvious.
    Unfortunately I keep getting the following error:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column
    name 'SESSIONVAR'.
    (Note: in this error above, SESSIONVAR is the name of the
    session variable memberID)
    Strange thing is, as long as the session variable is a #,
    everything works. If it's a word, it won't work. So it appears the
    session variables are being defined and passed to the next page.
    As for the database, it's a SQL Database
    column 'adminusername' is a NVARCHAR with a 4000 char limit
    Thanks in advance for any help.

    Are you sure the query is the same? It looks like the one you posted has a syntax error
    SELECT e.emp_id, e.dep_id
      FROM emp e, loc ct, dep dt
    WHERE[b] c.dep_id[/b] IN (SELECT dt.dep_idYou've aliased the LOC table to CT in the FROM clause, but you're using the alias C in the WHERE clause. You use the correct alias CT in the query in your IN clause.
    Justin

  • Error "Invalid Column Name tp_level" when open restored web app

    Hi,
    I have a web application in development environment and it works fine when I try to restore the web application to the staging or production environment it is restored successfully but when I open the web application I got an error "Invalid column name
    tp_level"
    I don't know why this issue occurred. Do anyone knows what is the reason and how to solve it.
    Thank you.
    Ehab

    tp_level is an internal column of a content database. Can you check permissions on a restored content database for an account used for web app pool running?
    If it will not help, I offer you to create web application in staging/production and then make a copy of a content database from development enviroment and attach it to a newly created web app.

  • Invalid column name while loading member error in EIS

    we have changed the sort_order_01 column as LEVEL01_SORT_ORDER in SQL server view, but it is not reflecting in EIS during member load, however we added manually LEVEL01_SORT_ORDER in table properties of dimension member, but it is not reflecting in EIS, it is poping the error as:Invalid column name "sort_order_01".
    hi techies kindly throw some light on this

    we have done the same, even then it is not reflecting in OLAP model and Meta Outline.Problem is whether in the sql server or in the EIS ..
    Please suggest & help me out.
    sunil

Maybe you are looking for