DataSource attribute if table not valid

Hi
I have upgraded Javawebdynpro application from 6.40 to 7
when I run the application I got the fowwloing error in 7
DataSource attribute if table not valid  [Table table4 in view class com.sap.tc.webdynro.progmodel.generation.DelegatingView]
please help
Thanks

jj

Similar Messages

  • Attribute value is not valid

    After executing an RFC, I want to get a table of elements that is passed as the Output.
    As soon as I try to get the first element of the Output table, via xxxNode.getElementAt(index), I receive this error:
    Attribute value is not valid for attribute 'Flag_Stam_Orig' of model class 'it.prova.mctciat_rfc.checkprintstatus_sr00.Zmctbpm_Rfc_Output_Print_A'
    com.sap.tc.cm.base.model.BaseGenericModelClass.setAttributeValue(BaseGenericModelClass.java:327)
    com.sap.tc.cm.arfc2.model.ARFC2GenericModelClass.unmarshalFromJCoRecord(ARFC2GenericModelClass.java:287)
    com.sap.tc.cm.arfc2.model.ARFC2ModelObjectCollection.doUnMarshalAt(ARFC2ModelObjectCollection.java:97)
    com.sap.tc.cm.arfc2.model.ARFC2ModelObjectCollection.get(ARFC2ModelObjectCollection.java:120)
    com.sap.tc.webdynpro.progmodel.context.ModelElementList.getElement(ElementList.java:1726)
    com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:387)
    com.sap.tc.webdynpro.progmodel.context.Node.getElementAt(Node.java:395)
    it.prova.mctciat_rfc_client_man.rfcclientmanagercomp.RFCClientManagerComp.callSpecifiedRFC(RFCClientManagerComp.java:1163)
    Before calling .getElementAt(index) I use xxxNode.size() to get the number of returned elements and then I execute a for loop in which I visit all the elements of node XXX.
    Can someone help me?
    Thank you,
    Pietro
    Edited by: pietro.m on Dec 3, 2010 2:10 PM

    I've solved the problem.
    At first the attribute generating the error was defined ABAP-side as a custom domain based on CHAR (1) type that allowed only two possible values: "O" or "X". But the ABAP function returned only " " (empty space) or "X".
    So we tried to add "O" to the set of the legitimate values, but that did not solve the problem.
    Next we got rid of the custom type and custom domain and we defined the parameter as a simple CHAR (1).
    That made the problem disappear and, best of all, I can't still figure why. Anyway, the problem is solved and that is all that matters now.
    *I'm sorry to say this in a SAP forum, but SAP's approach to type checking sucks really hard.*
    It is not possible that the ABAP side does not check types and the Java side raises these kind of errors (and, please note that it is not allowed to change a model type in Java).
    Anyway, thank you Nizamudeen for helping me.
    Edited by: pietro.m on Dec 7, 2010 9:41 AM

  • MDSModelDeploy Operation Failed, clone cannot be deployed, The Attribute Value is not valid

    I've created a model containing a customer entity with various domain based attributes.  I've populated the entities via a combination of manual entry and the staging tables.  In the source system I have approx 950 customer records, all of which
    fail validation on the source system as some of the attributes will be maintained only in MDS and are not in the source systems I'm pulling the initial data from.
    I ran the MDSModelDeploy.exe to create a package containing data on the source system.  I then ran the package to apply the package using the -deployclone option on my target system.  I piped the output into a flat file for review.
    Here is the error I'm receiving.
    MDSModelDeploy operation failed. Elapsed time: 00:01:00.2314612
    Error:
    A clone of the "Subzero_1" model cannot be deployed.
    An error occurred while processing message request type 'EntityMembersMergeRequest'. See exception details for more information.
    Package deployment failed with 344 errors
    The attribute value is not valid.
    The attribute value is not valid.   (repeated 344 times)
    Any ideas what the issue might be?  I have tried verbose logging as well and did not find anything that would point me in the direction of the problem.  The end result was that the model was not deployed to the target.
    I have also created a package without data, deployed that, then applied the data.  This gets the model to the target and the data also appears to be there but I did receive this error on the deployupdate.
    This is on SQL Server 2012.

    I am seeing the same error. Created a model, Cloned the model. Made changes to the clone (Schema and Data), and used MDSModelDeploy UpdateModel to update the primary (not cloned) model.  In looking at the log, I see the error shown below, but I do not
    see anything that points to what was happening at the time.
    I tried running a SQL trace to see if one of the SQL commands received an error, but none of the commands did.
    In looking at the model that was updated, I can see all of the schema changes were made, and most of the data was updated. There is one table that did not update completely. The attributes in the table consist of Domain Specific and text attributes only. 
    I also verified that everything on both models was validated before starting.
    In the weblog I see the error listed below, but there is nothing in the data that would match that value 
    Not sure were to go from here....
    Chad
    --- MDSMODELDEPLOY ERROR RECEIVED ---
    MDS Error: 0 : Microsoft.MasterDataServices.WebUI.ServiceAdapterObjectInvalidException: An error occurred while processing message request type 'EntityMembersMergeRequest'. See exception details for more information.
       at Microsoft.MasterDataServices.WebUI.ServiceAdapter.InspectResponseForErrors(MessageRequest request, MessageResponse response)
       at Microsoft.MasterDataServices.WebUI.ServiceAdapter.ExecuteRequest[TRequestType,TResponseType](MdmServiceOperation`2 operation, TRequestType request)
       at Microsoft.MasterDataServices.WebUI.ServiceAdapter.DoEntityMembersMerge(EntityMembers entityMembers)
       at Microsoft.MasterDataServices.Deployment.ModelDeployer.BatchEntityMembersMerge(Collection`1 masterData, Boolean membersOnly, Int32 batchSize, Int32 totalBatches, Collection`1 errors)
       at Microsoft.MasterDataServices.Deployment.ModelDeployer.UpdateData(Collection`1 masterData, Warnings errorsAsWarnings)
       at Microsoft.MasterDataServices.Deployment.ModelDeployer.DeployUpdate(Package package, Boolean includeData, Identifier targetVersionId)
       at Microsoft.MasterDataServices.Deployment.Utility.ModelDeploy.DeployUpdate(String serviceName, String packageFile, String versionName)
       at Microsoft.MasterDataServices.Deployment.Utility.ModelDeploy.Main(String[] args)
        DateTime=2014-02-06T16:03:17.8405277Z
    -- WEB ERROR RECEIVED --
    MDS Verbose: 0 : Unable to convert value of query string parameter Id = VID to an integer
        DateTime=2014-02-06T17:18:00.7367274Z

  • htmlb:tableView : (table) Attribute value is not a valid reference

    Hi All,
    In Table view i am getting the following error.
    The following error text was processed in the system:
    <htmlb:tableView>: (table) Attribute value is not a table
    My code in View is
    CREATE OBJECT  MODEL TYPE  ZCL_HREPAN_MODEL_MAIN.
    CREATE OBJECT tv_itr1 TYPE ZCL_HREPAN_MODEL_ITR_STATUS exporting model = model.
    %>
         <htmlb:tableView  id              = "reportsTable1"
                           headerVisible   = "true"
                           headerText      = "All PANs:"
                           footerVisible   = "true"
                           design = "alternating"
                           visibleRowCount = "20"
                           width           = "100%"
                           fillUpEmptyRows = "false"
                           columnWrapping  = "false"
                           columnWidth     = "200"
                           sort = "server"
                           selectionMode = "lineEdit"
                           iterator        = "<%=tv_itr1%>"
                           table           = "//MODEL/DATE_RANGE_PAN" >
          </htmlb:tableView>
    in above DATE_RANGE_PAN is table from model 'ZCL_HREPAN_MODEL_MAIN'
    Controller as below:  DO_REQUEST.
    if lr_event is bound and lr_event->server_event = 'allpans'.
      lo_model ?= get_model( 'model_id_status' ).
      lo_display_view->set_attribute( name = 'model' value = lo_model ).
      lo_display_view = create_view( view_name = 'allpans.htm').
      call_view( lo_display_view ).
      ENDIF.
    DO_INIT as below
    lo_model ?= create_model( class_name = 'ZCL_HREPAN_MODEL_MAIN'
                                model_id   = 'model_id_status').
    please help me how to solve this??
    REgards,
    Kishan

    I think DATE_RANGE_PAN is not table. Make sure its a table. If issue persist, post the data type declaration here.
    Raja

  • BeginTimer and EndTimer Not Working In Data-Driven Unit Test Using DataSource Attribute

    Using VS2012 Ultimate I have a unit test with the <DataSource> attribute which passes in values from a CSV file.  I'm wrapping the unit test in a load test.  I expect a Transaction to appear in the load test results for each row in my DataSource
    due to the BeginTimer and EndTimer methods in the unit test.  However, I only get 1 transaction, with response time roughly equal to the overall test time.  For example, if each row in the DataSource takes 1 second to process, then my test time and
    transaction time would be about 10 seconds with 10 rows in the CSV file.
    I've created a load test with Constant Load Pattern, 1 user, and 1 test iteration.  Seeing the behavior described above.
    I have tried with and without and the check for $LoadTestUserContext.  I'm only using that because I get a NotSupportedException when running the unit test on its own.  I can't believe this bug still
    exists, but that is another topic.
    Note also that I cannot see the Debug output in the Output window in VS2012.
    Any tips?  Thank you.
        <TestMethod()>
        <DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\TestData\MyValues.csv", "MyValues#csv", DataAccessMethod.Sequential)>
        Public Sub WebServiceTest()
            Dim service As MySvc = New MySvcClient()
            Dim input As MyInput = New MySvcInput()
            input.A = testContextInstance.DataRow("A")
            input.B = testContextInstance.DataRow("B")
            Dim g As Guid = Guid.NewGuid()
            If TestContext.Properties.Contains("$LoadTestUserContext") Then 'running as load test
                TestContext.BeginTimer("MySvcTrans")
                Debug.WriteLine("Begin Transaction MySvcTrans:  {0}", g)
            End If
            Dim output As MySvcOutput = service.Method(input)
            If TestContext.Properties.Contains("$LoadTestUserContext") Then 'running as load test
                Debug.WriteLine("End Transaction MySvcTrans:  {0}", g)
                TestContext.EndTimer("MySvcTrans")
            End If
            Assert.AreEqual(0, output.ReturnCode)
        End Sub

    Hi John,
    >> I expect a Transaction to appear in the load test results for each row in my DataSource due to the BeginTimer and EndTimer methods in the unit test.  However, I only get 1 transaction, with response time roughly equal to the overall test
    time.
    Could you share me a screen shot about the reslut in load test?
    Could you share us the load test result in "Transaction"Tables?
    About how to use the
    Transaction for unit tests, maybe you could get useful informaiton here:
    http://blogs.msdn.com/b/slumley/archive/2006/04/14/load-testing-web-services-with-unit-tests.aspx
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Shared Datasource Is Not Valid Error

    Using Reporting Services (SQL Server 2008 R2), I have a VS SSRS project with 23 reports, all running off the same Shared Data Source.  They all execute in VS.  I have deployed the datasource, datasets & reports to server.  From the Report
    Manager, I can execute all reports except 4, which have the same error:
    The report server cannot process the report or shared dataset. The shared data source '22d600c2-a3d5-4178-8a39-d05361607ebd' for the report server or SharePoint site is not valid. Browse to the server or site and select a shared data source. (rsInvalidDataSourceReference)
    I have tried the following, without success:
    1)verified that the datasource exists in the Data Sources folder, and is Enabled
    2) Checked and reset the Shared Datasource to point to the deployed datasource in the Data Sources folder
    3) Recreated & redeployed the datasource
    4) Deleted the 4 reports on the server and re-deployed
    5) Deleted the reports, used Upload instead of Deploy, then set the Shared Datasource to point to the one on the server
    6) Verified that the Link column in ReportServer.DataSource is NOT NULL.  Actually have the same Link as the other 19 reports.  Verified that the GUID in the LinkID exists in Catalog table and is the id for the Datasource.
    No matter what I have tried, for some reason, the GUID in these failing reports appear to get set to '22d600c2-a3d5-4178-8a39-d05361607ebd', which does not exist in Catalog table.  The other reports never fail, these reports never execute.  Anyone
    have any ideas?
    Victor 
     

    As I recall, I went into the Report server db and updated the Catalog table.  Open the table and you'll find your reports listed with a link to their datasource (in the DataSource table).  I found the 4 reports that failed had a different value
    in the LinkID column than the reports that executed, even though they use the same shared datasource.
    So I copied the good LinkID value (a GUID) into the 4 reports that failed, and then they ran fine.    For some unknown reason, there was an invalid value stuck in the LinkID column which pointed to a datasource that really did not exist. 
    Go figure.
    Victor
    Victor Kushdilian

  • Not able to display the Node context attributes to table

    Hi Friends,
    Issue: Currently i am reading the Node parameters and assigning the parameters to the Context of the mainView.
    Then displaying the attributes into table here i am using a iterator to fetch the attributes.
    But its reading only one record to the table not all the attributes.
    Here i am attaching the code:
    Node is EvaluationDimensions and attributes are Dimension and Selected_values.
    Line: -
    public void wdDoInit()
       //@@begin wdDoInit()
    try
    IBONodeElement test = null;
    test = (IBONodeElement)wdThis.wdGetDefinedimensiongafController().wdGetContext().nodeEvaluationDimensions().currentEvaluationDimensionsElement().model();
    IBONode testNode = test.getBONode();
    Iterator it = testNode.iterator();
    IBONodeElement itElement = null;
    while(it.hasNext())
    itElement = (IBONodeElement)it.next();
    //wdContext.nodeEvaluationDimensions().createAndAddEvaluationDimensionsElement();
    wdContext.createAndAddEvaluationDimensionsElement();
    wdContext.currentEvaluationDimensionsElement().setDimension(itElement.getAttributeValue("KPIParameterDefinitionName").toString());
    wdContext.currentEvaluationDimensionsElement().setSelected_Values(itElement.getAttributeValue("ParameterSelectedValuesText").toString());
    } catch (RuntimeException e) {
    e.printStackTrace();
    wdThis.wdGetDefinedimensiongafController().wdGetAPI().getComponent().getMessageManager().reportSuccess(e.toString());
        //@@end
    Line: -
    Could you suggest me some alternatives to show all records into table??
    Thanks & Best Regards, Prabhu(9886855725)
    Edited by: Armin Reichert on Apr 24, 2008 12:57 PM

    Hi Prabhu
    IBONodeElement test = null;
    test = (IBONodeElement)wdThis.wdGetDefinedimensiongafController().wdGetContext().nodeEvaluationDimensions().currentEvaluationDimensionsElement().model();
    What is this model() .
    You remove the try catch method once and test it to trace the error.Why cant you use typed AccessAPI to fetch the values from the node element.Is your node have more elements test it.By getting the size of the node.
    That too you are setting values to only current context element .Not for other elements.Everytime you are setting the values to current context element,thats why you are getting only one element values at a time.Iterate properly and try to set the values for each element
    wdContext.currentEvaluationDimensionsElement().setDimension(itElement.getAttributeValue("KPIParameterDefinitionName").toString());
    See the above code every time you are setting to currentNode lement notforother elements.
    Regards
    kalyan

  • Validity Table not updating for 0IC_C03 while updating data

    Hi,
    1.Validity table not updating for 0IC_C03 while updating data in my BW 7.4 With HANA data base?
    Key fields : 0Plant
                       0Calday
    if you run this programe after loading data - RSDG_CUBE_VALT_MODIFY it is updating.
    2. I am not getting no marker update option in non-cumulative Info cube 0ic_c03 manage tab or in DTP tabs check as per 7.4 modifications?
    and  2LIS_03_BX in DTP I am getting below this option only
    Can you please give me solution for this issues.
    Regards
    Umashankar

    Hi Uma,
    Please go through the below link which might be helpful.
    Not able to Edit Validity Table : RSDV
    Marker Update Option is available under Collapse tab of Info cube.
    Thanks,
    Karan

  • The attributes SID table(s) could not be filled

    I am trying to change an attribute to a navigational attribute for 0MAT_PLANT and I am receiving this error upon activation.  I have tried the following:
    1)  Deleting Master Data and reactivating
    2)  Program RSDMD_CHECKPRG_ALL
    3)  Activating in the background
    4)  Fill Attribute SID Table
    When I try to fill the attribute SID table, I get a SQL error.
    SQL Error: "/BI03503" in R3DBWDATA type *FILE not found. MSGI D= Job=753132/DBW00/WP14
    Can someone tell me how to correct this error?

    Likely there was data in these tables, and DB system can't adjust the table with changes you have done.
    If you can, try dropping all master data for the IOBJ and then reactivate.
    If this doesn't work or is not feasible, identify which table is having this issue (/BIxxxx), display it in SE11, go to utilities-->Database object --> Database utility; on the next screen try to do a Activate and Adjust Database (first with save data, and if unsuccessful then with Delete data option).

  • Error When Adjust Width in Custom Table Headers "The width key is not valid"

    I tried to custom headers for a table of MAC Addresses. I used the following expression and it worked fine.
    Get-WmiObject win32_networkadapterconfiguration -Filter "DHCPEnabled=True" | Select-Object @{Expression={$_.DNSHostname};Name="Workstation"},@{Expression={$_.Description};Name="Adapter"}, @{Expression={$_.MACAddress};Name="MAC"}
    When I tried to adjust the width of the columns by including that in the Custom Headers I got an error.
    Get-WmiObject win32_networkadapterconfiguration -Filter "DHCPEnabled=True" | Select-Object @{Name="Workstation";width=25;Expression={$_.DNSHostname}},@{Name="Adapter";Expression={$_.Description}},@{Name="MAC";Expression={$_.MACAddress}}
    Select-Object : The width key is not valid.
    At line:1 char:78

    You have a couple of useful options:
    #1
    Get-WmiObject win32_networkadapterconfiguration -Filter 'DHCPEnabled=True' |
    Select-Object @{E={$_.DNSHostname};N="Workstation"},
    @{E={$_.MACAddress};N="MAC"},
    @{E={$_.Description};N="Adapter"} |
    Format-Table -Auto
    #2
    Get-WmiObject win32_networkadapterconfiguration -Filter 'DHCPEnabled=True' |
    Format-Table @{N="Workstation";W=25;E={$_.DNSHostname}},
    @{N="MAC";W=18;E={$_.MACAddress}},
    @{N="Adapter";E={$_.Description}}
    ¯\_(ツ)_/¯

  • Error message making changes to BP :ATTRIBUTE INDUSTRY CODE 1 NOT VALID

    when changing a business partner in MSA I get an error message :
    ATTRIBUTE INDUSTRY CODE 1 NOT VALID FOR BUSINESS PARTNER
    Does anybody know what is causing this , the industry code has been set correctly in the customizing.
    We are working on CRM 5.0 SP08
    Thanks for your help.
    Regards,
    Wim

    Hi Wim,
    Is this problem still happenning on your client?
    The customizing object to synchronize for Industry code is:
    Customizing Object sBDoc: DNL_CUST_INDUST
    Regards,
    Gervase

  • Error VISA (Hex 0xBFFF001E) The specified state of the attribute is not valid, or is not supported as defined by the resource.

    Hi,
    First of all I need to say that I just beginning with the instrument control using Labview. For this reason, it's possible that the problem that i have would be easy to resolve. However, I have been looking for any solution for the forum, but unfortunately I can't fint anything. 
    Then the situation is the following: I'm trying to connect a power analyzer (Yokogawa WT1800) with the PC through GPIB. To achieve this objective I use the Agilent 82357B USB/GPIB Interface. The connection is done properly because I can see and comunicate with it through the NI MAX explorer. 
    In order to achieve the instrument control using Labview, I have downloaded and installed the Yokogawa WT1800 driver (ykt1800 Instrument Driver) using the NI Instrument Driver Finder tool. The problem that I have is that when I execute the provided examples I find the following error:
    Error -1073807330 occurred at Property Node (arg1) in Yokogawa WT1800 Series.lvlib: Initialize.vi -> Yokogawa WT1800 Series Measure Continuos Normal.vi
    Possible reason(s):
    VISA: (Hex 0xBFFF001E) The specified state of the attribute is not valid, or is not supported as defined by the resource,
    I tried to change the input arguments of the Visa open vi because I think that is there where is the problem but I can't achieve any solution. In the following image is attached the block diagram of the initialize.vi:
    Any help is appreciated.
    Thank you.
    Solved!
    Go to Solution.

    Hi,
    The Vi should work, I used it with a NI USB-GPIB interface. Can you use HighLight execution to see which property node is failing. Maybe your interface does not support the used property node.
    Kees

  • I want to create generic master data attribute datasource on ANLA table .

    hI,
    I want to create generic master data attribute datasource on ANLA table .
    and have to activate delta load.
    Is it possible for delta upload on this table?
    if it is possible then on which field i can create genric delta?

    1.I want to fetch quantity ,inventory no , serial no.......
    I have to enhance that datasource.....
    2.else i can create master data for asset number using ANLA
    I have opted 2nd option

  • "The new table link contain TargetFieldNames that are not valid?

    I am designing a report based on a sql stored procedure with 3 parameters required.  I have a parameter that I would like to make dynamic based on an "Item" table for multiple selections.
    I keep getting this error when I run the report
    Prompting failed with the following error message: 'List of VAlues failure: fail to get values. (Cause of error: the new table link contains TargetFieldNames that are not valid.  Error source: prompt.dll
    Error code: 0x8004380d
    Can someone point me to an example or tell me if this even possible to do?
    Edited by: SHARON SCHMIDT on Feb 17, 2009 3:16 PM

    Hi Sharon,
    Searching for the error message got many KBase but I hope referring to the following would help you:
    1211133 - Using parameters to select one, some or all values in a record selection formula
    1220118 - Error: "List of Values failure"prompt.dll Error code: 0x8004380D"
    Regards,
    Sheeba

  • 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

Maybe you are looking for

  • Error: Configuration file /model/common/bc4j.xcfg is not found in the classpath???

    Hi Everyone, My Jdev version is 11.1.2.3.0. I have developed one ADF application and was working very fine. But the Jdev got crashed so i re-installed the same version but the application which was running earlier is not working now. I tried by insta

  • Consolidate Apple E-mail Addresses

    I am trying to use one email address across all my Apple platforms, and it is a major pain in the $$$.  Something that should be so simple... How can I use one email address for my iCloud and iTunes accounts? My bet is this is cause by some kind of c

  • My iPod is disabled help?!?

    I have an ipod 4g and I havent used it in a while and I charged it and I don't remember the password and it says "Ipod is disabled connect to iTunes" I don't want to lose all of my pictures so I plugged it into my laptop to download the pictures and

  • Hyperlink from word in topic to glossary

    Can I use insert hyperlink from a word on a topic page to glossary term? I am not a programmer and wonder if there is an easy way to do this. I'm using Robohelp 7. Thanks. dpeterson8034

  • Mail program won't open

    Hello, i hope somebody can help me. My mail program won't open, and says that i might have to reinstall the program. In the message there is a big describtion of the the problem - i have pasted it below. The message also says that i can try to reinst