SqlCe data provider doesn't handle REAL datatype?

I'm getting an odd error out of a CREATE TABLE command to Sql Server Compact:
System.Data.SqlServerCe.SqlCeException
Message=The specified data type is not valid. [ Data type (if known) = real ]
The code this is thrown on is:
command.CommandText =
"CREATE TABLE PendingReports " +
"(Id INTEGER IDENTITY NOT NULL, " +
"ResourceAvailable BIT NOT NULL, " +
"ResourceLoad FLOAT (24) NOT NULL, " +
"ResourceName NVARCHAR (255) NOT NULL, " +
"ReportDateTime DATETIME NOT NULL, " +
"CONSTRAINT PkPendingReports PRIMARY KEY (Id))";
command.ExecuteNonQuery ();
"Real" is the SQL Server synonym for FLOAT (24).
I can work around it easily enough, but knowing what's wrong would be nice.
Thanks.

Remove the size of the float or use "real" - see
https://msdn.microsoft.com/en-us/library/ms172424.aspx
Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com

Similar Messages

  • UIX with XSQL as XML data provider and event handler

    Hello ,
    I would like to bind XML data to messageinput elements of a form element
    as values to be presented before entering (data provider)
    as well as input values to be persisted after completing the form (event handler).
    My impression (as a newbee) is that only for BC4J integration there is a bidirectional binding with view objects.
    Can i use 'include' to bind a static xml file as data source for output?
    How can i use XSQL to be bound as data for input as well as for output of a form?
    A last question concerning a page with 3 tabs:
    do i need 3 different pages and requests to get the data of the 3 tabs
    or is it possible to get the whole data of the page in one request
    and distribute it over the 3 tabs.
    Any help appreciated
    Thanks
    Klaus Dreistadt

    You could do this, but we don't provide any tools to make this easy.
    You'd have to write an implement of the DataObject interface
    that gives your UI access to the XML document, and write custom
    event handlers to perform the "set" side of things. The Data Binding
    and UIX Controller chapters of the UIX developer's guide will give you
    a high-level view of how to accomplish this, but nothing specifically
    about reading or writing to XML documents.

  • How can I do for a row of a query be data provider for a variable?

    Hi friends, I have a problem !
    How can I do for a row of a query be data provider for a variable?
    I need that a value of variable be stored when the user select a row in a query. At the BPS we can do this configuring the variable selector in WIB, and in a WAB how I can do this ?
    Best regards,
    Gustavo Liberado

    In this case when I press the key to call other forms I need to wait for the response in the secondary form and then process the result.That is exactly what a "modal JDialog" (or JOptionPane) are used for.
    Try it. Create a short demo program. All you need is a JFrame with a single button to show the modal dialog. All you modal dialog needs is a single button to close the dialog. After you show the modal dialog add a System.out.println(...) statement in your code and you will see that it is not executed until the dialog is closed.
    Then once you understand the basics you add the code to your real program.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • How to retrieve data from a field of CLOB datatype?

    How can I retrieve data from a field of CLOB datatype in Oracle
    8 being called from an ASP or VB application? The recordset
    object in ASP or VB doesn't support the CLOB datatype.
    Thank you in advance for your help.

    How can I retrieve data from a field of CLOB datatype in Oracle
    8 being called from an ASP or VB application? The recordset
    object in ASP or VB doesn't support the CLOB datatype.
    Thank you in advance for your help. Hello.. were you able to solve your problem? I'm faced with pretty much the same task.. I have a VBA application that needs to pull various pieces of data(CLOBs, BLOBs, etc..) from an Oracle8i db.

  • Error Calling Data Provider for Return PO in Me21N Message Number FES011

    Hi Experts,
    I am trying to create a Return PO using ME21N. Im giving all the parameters and values. But While saving its generating an Error.
    it states "Error calling Data Provider".
    Message No. FES011
    What could be the possible error . Any clues?
    Thanks and Regards,
    Selvakumar. M

    hi,
    Check with the Basis consultant....actually Data provider deals with the database..Also sometimes when the data provider doesnot provides the data...the error doesn't reach....
    Pls check with the BASIS consultant....the netweaver part could be checked by ABAP consultant...
    Also check the links:
    http://msdn.microsoft.com/en-us/library/bb508810(SQL.90).aspx
    http://help.sap.com/saphelp_nwpi71/helpdata/en/11/e8179b247e4720882512a04041491d/frameset.htm
    http://sapnetweavernotes.blogspot.com/2008/04/sap-earlywatch-alert.html
    Hope it helps....
    Regards
    Priyanka.P

  • Oracle Data Provider (ODP)

    Does the new Oracle Data Provider 9.2.0.1.1 (from Visual Basic .Net) support passing arrays to PL/SQL Packages whose procedures accept table arrays as the input parameters?
    oo4o supported this functionality.

    Does the new Oracle Data Provider 9.2.0.1.1 (from Visual Basic .Net) support passing arrays to PL/SQL Packages whose procedures accept table arrays as the input parameters?
    oo4o supported this functionality. I am also wondering about this. The beta doesn't but will the final version? If not, why not?

  • Netbeans 5.5 + VWP and Object List Data Provider

    Hi there.
    I'm trying to build an Object List Data Provider as in fieldguide_08_dataProviders.
    I'm using Netbeans 5.5 + VWP
    When I try to "Configure the Table" on page 360, there are some difference.
    When I select Object List Data Provider and drop it on the Table component opens an unexpected choose for the target, then I choose tableRowgroup1.
    The JSP souce don't change and is still
    <ui:tableRowGroup binding="#{Schedule.tableRowGroup1}" id="tableRowGroup1" rows="10"
    sourceData="#{Schedule.defaultTableDataProvider}" sourceVar="currentRow">
    When I select objectListDataProvider1 the drop down opposite property list doesn't work. The button opens a selection window with no items.
    Regards.

    A better resource is http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/hibernate.html#object in conjunction with http://blogs.sun.com/LongLiveThePepper/entry/using_netbeans_visual_web_pack

  • SQL function column in drop down list's data provider's query

    Just wondering, if it is somehow possible to use SQL function column for drop down list through data provider.
    At the moment, I am using id column as return value and name as display value from this query through CachedRowSetDataProvider:
    SELECT ALL someTable.Id,
    someTable.Name,
    someTable.Postal_Code,
    FROM someTable
    However, I want to change display to use calculated column as display value, for example Name_PostalCode from below mentioned changed query:
    SELECT ALL someTable.Id,
    CONCAT(someTable.Name, ' - Pin Code: ',someTable.Postal_Code) Name_PostalCode ,
    someTable.Name,
    someTable.Postal_Code,
    FROM someTable
    But JSC doesn't seem to like this.
    Is it someway possible to achieve this?
    Thanks.

    >
    But JSC doesn't seem to like this. Can you explain more. When doesn't it like it, in the design view, in the query editor, when your run it? What is the error you are seeing?
    See http://blogs.sun.com/divas/entry/displaying_multiple_fields_in_a

  • Where is Non-Spatial data provider

    Hi!
    I study the MapViewer and go over examples in Oracle Maps Tutorial. All examples work fine except "Dynamic XML BI data and choropleth map", "Dynamic XML BI data and Pie Charts" and "Dynamic XML BI data and dynamic theme".
    I think at least second one (Dynamic XML BI data and Pie Charts) must show some sort of pie chars over the states polygons. I can only see the map with states.
    Is there something as "Non-Spatial data provider" that should be installed manually ?
    If not, where to start debugging?
    Regards,
    Sašo
    Edited by: user594252 on 10.2.2011 15:07

    I have ns_data_provider element uncommented in mapViewerConfig.xml :
    <ns_data_provider
    id="defaultNSDP"
    class="oracle.sdovis.NSDataProviderDefault"
    />
    On the other side, I can see pies&charts using
    -Dynamic theme, BI data and Pie chart style
    -Dynamic theme, pie chart and custom rendering rules
    -Dynamic theme and dynamic Bar chart style
    So there should be something wrong with handling "Dynamic XML BI data". This is essential for us, because we need integration between BI and Spatial.
    Any advice?
    Sašo

  • How to bind BubbleSeries data provider?

    Hi,
    I have a bubbleChart and multiple bubble series inside it. Initially I set the data provider of each of my series. Later, when I update the array collections (to which my bubble series's data provider was binded), bubble series' data provider is not updated.
    <mx:BubbleChart>
         <mx:BubbleSeries dataprovider={arr[0]}>
         </mx:BubbleSeries>
         <mx:BubbleSeries dataprovider={arr[1]}>
         </mx:BubbleSeries>
         <mx:BubbleSeries dataprovider={arr[2]}>
         </mx:BubbleSeries>
    </mx:BubbleChart>
    In actionscript, arr[0],arr[1] and arr[2] are updated. I want to see updated bubbleseries too, but in vain.
    I have marked arr as bindable.
    Please help..
    Thanks,
    Tanu

    Hi Tanu Jain,
    If you have no problem updating the values there itself.. then you can do one thing...But the way you are trying to update the things is however correct but it will not update the values for BubbleSeries. The reason is why because the each object and its properties in the expenses array collection are not Bindable as since the objects in the expenses array collection are generic objects.
    In order to make the objects bindable you can make use of a seperate class and make all the properties Bindable as needed so that you can acheive things you needed.
    And one more thing here to note is ...when you are assiging the dataProvider the first time in the for loop you are using the below line of code...
    bubbleSeries.dataProvider = expenses.getItemAt(i);
    But in the click handler you are reassigning the dataProvider as expenses = expenses1; by doing so you are assigning/adding new items to your expenses ArrayCollection but the binding you assigned to the bubbleSeries dataProvider are different items so there is no possibility of updating the values to the BubbleSeries by this approach so you should update the values there itself by making use of external Bindable class so that Bubble Series gets updated correctly.
    Actually I got this sorted out yesterday itself but you said as you are having some 200 - 300 series it is taking more time delay to get updated by reassigning the dataProvider by looping through the series as I suggested in my previous post. By updating the values there itself say if you have some 300 - 400 rows in your expenses ArrayCollection then you need to loop through all the rows(300 - 400 times)  and update all the properties within that Object.
    Any way try this example below which I am explaining above...hope this is less expensive when compared to reassigning the dataProvider again..
    <!-- Bindable class BubbleSeriesVO -->
    package
    [Bindable]
    public class BubbleSeriesVO
            public var Month:String;
            public var Profit:Number;
            public var Expenses:Number;
            public var amt:Number;
      public function BubbleSeriesVO()
    <!-- Application Source Code -->
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" minWidth="955" minHeight="600" creationComplete="init()">
        <mx:Script>
            <![CDATA[
                import mx.charts.series.BubbleSeries;
                import mx.collections.ArrayCollection;
                /* [Bindable]
                public var expenses:ArrayCollection = new ArrayCollection([
                    {Month:"Jan", Profit:2000, Expenses:1500,amt:200},
                    {Month:"Feb", Profit:1000, Expenses:200,amt:340},
                    {Month:"Mar", Profit:1500, Expenses:500,amt:500}
                [Bindable]public var expenses:ArrayCollection;
                [Bindable]public var expenses1:ArrayCollection;
                /* [Bindable]
                public var expenses1:ArrayCollection = new ArrayCollection([
                    {Month:"Jan", Profit:2500, Expenses:1500,amt:1000},
                    {Month:"Feb", Profit:1500, Expenses:200,amt:2000},
                    {Month:"Mar", Profit:2000, Expenses:500,amt:1500}
                private function createExpensesCollection():void
                 //Creating expenses ArrayCollection
                 expenses = new ArrayCollection();
                 var bubbleVO:BubbleSeriesVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Jan";
                 bubbleVO.Profit = 2000;
                 bubbleVO.Expenses = 1500;
                 bubbleVO.amt = 200;
                 expenses.addItem(bubbleVO);
                 bubbleVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Feb";
                 bubbleVO.Profit = 1000;
                 bubbleVO.Expenses = 200;
                 bubbleVO.amt = 340;
                 expenses.addItem(bubbleVO);
                 bubbleVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Mar";
                 bubbleVO.Profit = 1500;
                 bubbleVO.Expenses = 500;
                 bubbleVO.amt = 500;
                 expenses.addItem(bubbleVO);
                 //Creating expenses1 ArrayCollection
                 expenses1 = new ArrayCollection();
                 bubbleVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Jan";
                 bubbleVO.Profit = 2500;
                 bubbleVO.Expenses = 1500;
                 bubbleVO.amt = 1000;
                 expenses1.addItem(bubbleVO);
                 bubbleVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Feb";
                 bubbleVO.Profit = 1500;
                 bubbleVO.Expenses = 200;
                 bubbleVO.amt = 2000;
                 expenses1.addItem(bubbleVO);
                 bubbleVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Mar";
                 bubbleVO.Profit = 2000;
                 bubbleVO.Expenses = 500;
                 bubbleVO.amt = 1500;
                 expenses1.addItem(bubbleVO);
                private function init():void
                 createExpensesCollection();
                    var bubbleSeriesColl:Array = new Array();
                    for(var i:int = 0; i < expenses.length; i++)
                        var bubbleSeries:BubbleSeries = new BubbleSeries();
                        bubbleSeries.xField = "Profit";
                        bubbleSeries.yField = "Expenses";
                        bubbleSeries.radiusField = "amt";
                        bubbleSeries.dataProvider = expenses.getItemAt(i);
                        bubbleSeriesColl.push(bubbleSeries);               
                    myChart.series = bubbleSeriesColl;               
                private function clickHandler():void
                    //expenses = expenses1;
                    for(var i:int = 0; i < expenses1.length; i++)
                     if(i >= expenses.length)
                      break;
                     (expenses.getItemAt(i) as BubbleSeriesVO).Month = (expenses1.getItemAt(i) as BubbleSeriesVO).Month;
                     (expenses.getItemAt(i) as BubbleSeriesVO).Profit = (expenses1.getItemAt(i) as BubbleSeriesVO).Profit;
                     (expenses.getItemAt(i) as BubbleSeriesVO).Expenses = (expenses1.getItemAt(i) as BubbleSeriesVO).Expenses;
                     (expenses.getItemAt(i) as BubbleSeriesVO).amt = (expenses1.getItemAt(i) as BubbleSeriesVO).amt;
                    expenses.refresh();
                    //updateBuubleSeries();
                private function updateBuubleSeries():void
                  for(var i:int = 0; i < myChart.series.length; i++)
                        myChart.series[i].dataProvider = expenses.getItemAt(i);
            ]]>
        </mx:Script>
        <mx:BubbleChart id="myChart" showDataTips="true">          
        </mx:BubbleChart>
        <mx:Button label="change Data" click="clickHandler()" />
    </mx:Application>
    Thanks,
    Bhasker

  • I have a problem with a chart refreshing after its bound data provider changes.

    I have a problem with a chart refreshing after its bound data
    provider changes. After the subsetHighLowData.refresh() is called I
    would expect the chart to redraw, but it still looks the same. I
    even inspected the debugger to see if the slice had taken place and
    it had.
    Any ideas coding friends?

    "nikos101" <[email protected]> wrote in
    message
    news:gib6aa$prr$[email protected]..
    >I have a problem with a chart refreshing after its bound
    data provider
    >changes.
    > After the subsetHighLowData.refresh() is called I would
    expect the chart
    > to
    > redraw, but it still looks the same. I even inspected
    the debugger to see
    > if
    > the slice had taken place and it had.
    >
    > Any ideas coding friends?
    >
    > subsetHighLowData.source =
    >
    highLowData.source.slice(slider.values[0],slider.values[1]);
    Just use the ArrayCollection's removeItemAt, and it should
    handle the event
    dispatching for you.
    HTH;
    Amy

  • Need help coneverting data provider for inline fx:Component renderer for a datagrid

    I want to use an existing inline item renderer and point the hard coded data provider to an arraycollection, which comes from a database.
    At firt glance this looks easy, just change
    <fx:Declarations>
      <fx:Component id="inlineEditor">
       <mx:ComboBox >
        <mx:dataProvider>
         <fx:String></fx:String>
         <fx:String>AIG</fx:String>
         <fx:String>BHN</fx:String>
         <fx:String>FH</fx:String>
         <fx:String>LM</fx:String>
         <fx:String>SD</fx:String>
        </mx:dataProvider>
       </mx:ComboBox>
      </fx:Component>
    </fx:Declarations>
    TO
    <fx:Declarations>
      <fx:Component id="inlineEditor">
       <mx:ComboBox
        dataProvider="{outerDocument.wripAttachTypeAc}"
        labelField="WRIP_ATTACHED_FILE_TYPE_DESC">
       </mx:ComboBox>
      </fx:Component>
    </fx:Declarations>
    BUT that does not work the data grid produces the object.object value as theres no association to the labelField . Can anyone see what I am doing wrong. The datagrid entry is
    <mx:DataGridColumn dataField="Permit File"
              width="150"
              editorDataField="selectedItem"
              itemEditor="{inlineEditor}"/>

    Thanks Harui, but it doesn't help. If the border is set it will help, but the very big problem is the empty rows that appear at the end of the datagrid... I can't find a way of measuring correctly the height of the itemRenderers!
    I'll update this thread if I manage to do it.

  • Error Installation Data Provider for Net

    When I am installing to the moment of the configuration this mistake happens and Net Manager does not allow to initiate
    Line parameters of incorrect commands
    parts from the software based on the work of independent JPEG Group

    hi,
    Check with the Basis consultant....actually Data provider deals with the database..Also sometimes when the data provider doesnot provides the data...the error doesn't reach....
    Pls check with the BASIS consultant....the netweaver part could be checked by ABAP consultant...
    Also check the links:
    http://msdn.microsoft.com/en-us/library/bb508810(SQL.90).aspx
    http://help.sap.com/saphelp_nwpi71/helpdata/en/11/e8179b247e4720882512a04041491d/frameset.htm
    http://sapnetweavernotes.blogspot.com/2008/04/sap-earlywatch-alert.html
    Hope it helps....
    Regards
    Priyanka.P

  • Newbie attempting to use Data Provider

    Hello everyone, I just downloaded Flex and am eager to learn
    but I'm having some difficulties finding any debugging tools to
    help me troubleshoot the code below. I basically grabbed the data
    provider example and tried to rework it for something I need but
    the cursor gets set to busy and the data never loads.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="400" height="300" creationComplete="qSrv.send()">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.InvokeEvent;
    import mx.managers.CursorManager;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    import mx.controls.Alert;
    import mx.collections.ArrayCollection;
    [Bindable]
    private var questionsCol:ArrayCollection;
    // Gets called when HTTPService is invoked to
    // request the XML.
    private function qSrvInvokeHandler(event:InvokeEvent):void
    // Display the busy cursor
    CursorManager.setBusyCursor();
    // Gets called when the XML is successfully loaded.
    private function qSrvResultHandler(event:ResultEvent):void
    // Save a reference to the list of questions
    questionsCol = event.result.MBTI.question;
    // Hide the busy cursor
    CursorManager.removeBusyCursor();
    private function qSrvFaultHandler(event:FaultEvent):void
    // There was an error in loading the XML
    Alert.show (event.fault.message);
    // Hide the busy cursor
    CursorManager.removeBusyCursor();
    ]]>
    </mx:Script>
    <mx:HTTPService id="qSrv" url="data/questions.xml"
    invoke="qSrvInvokeHandler(event);"
    result="qSrvResultHandler(event);"
    fault="qSrvFaultHandler(event);" />
    </mx:Canvas>
    and the xml located in the data folder:
    <?xml version="1.0" encoding="UTF-8"?>
    <MBTI>
    <question>
    <description>
    You are almost never late for your appointments
    </description>
    </question>
    </MBTI>

    Okay here is a different way of doing it. It doesn't seem to
    render properly if I have a canvas component and try to load the
    data, only if it's within the application directly. Below is the
    code I currently have, why does the label of the QuestionHBox
    always come up blank?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:components="*" layout="absolute"
    creationComplete="qSrv.send()">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.InvokeEvent;
    import mx.managers.CursorManager;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    import mx.controls.Alert;
    import mx.collections.ArrayCollection;
    [Bindable]
    private var questionsCol:ArrayCollection;
    // Gets called when HTTPService is invoked to
    // request the XML.
    private function qSrvInvokeHandler(event:InvokeEvent):void
    // Display the busy cursor
    CursorManager.setBusyCursor();
    // Gets called when the XML is successfully loaded.
    private function qSrvResultHandler(event:ResultEvent):void
    // Save a reference to the list of questions
    questionsCol = event.result.MBTI.question;
    // Hide the busy cursor
    CursorManager.removeBusyCursor();
    private function qSrvFaultHandler(event:FaultEvent):void
    // There was an error in loading the XML
    Alert.show (event.fault.message);
    // Hide the busy cursor
    CursorManager.removeBusyCursor();
    ]]>
    </mx:Script>
    <mx:HTTPService id="qSrv" url="data/questions.xml"
    invoke="qSrvInvokeHandler(event);"
    result="qSrvResultHandler(event);"
    fault="qSrvFaultHandler(event);" />
    <mx:Model id="artwork" source="data/questions.xml"/>
    <mx:Panel title="Employee Factor Personality Assessment"
    height="95%" width="95%"
    paddingTop="10" paddingLeft="10" paddingRight="10"
    paddingBottom="10">
    <mx:Text width="100%" color="blue"
    text="Welcome Kim Garland"/>
    <mx:HBox borderStyle="solid" width="100%"
    paddingTop="5" paddingLeft="5" paddingRight="5"
    paddingBottom="5">
    <mx:Button id="searchButton" label="Take Test"
    click="myViewStack.selectedChild=search;"/>
    <mx:Button id="cInfoButton" label="View Results"
    click="myViewStack.selectedChild=custInfo;"/>
    </mx:HBox>
    <!-- Define the ViewStack and the three child containers
    and have it
    resize up to the size of the container for the buttons.
    -->
    <mx:ViewStack id="myViewStack" borderStyle="solid"
    width="100%" height="80%">
    <!-- <components:TestQuestionsPart1 id="search"
    backgroundColor="#FFFFCC" label="Search" width="100%"
    height="100%">
    <mx:Label text="Test Part 1" color="#000000"/>
    </components:TestQuestionsPart1> -->
    <mx:Canvas id="search" backgroundColor="#CCFFFF"
    label="Customer Info" width="100%" height="100%">
    <mx:Label text="Test" color="#000000"/>
    <mx:TileList dataProvider="{questionsCol}"
    itemRenderer="QuestionHBox" />
    <!--<mx:Repeater dataProvider="questionsCol">
    <mx:Label text="name" />
    </mx:Repeater> -->
    </mx:Canvas>
    <mx:Canvas id="custInfo" backgroundColor="#CCFFFF"
    label="Customer Info" width="100%" height="100%">
    <mx:Label text="Test Results" color="#000000"/>
    </mx:Canvas>
    </mx:ViewStack>
    </mx:Panel>
    </mx:Application>
    QuestionHBox:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="100%" height="20" scroll="false">
    <mx:Label text="{data.name}" width="700" fontSize="12"
    textAlign="left"/>
    <mx:RadioButtonGroup id="radiogroup1"/>
    <mx:RadioButton label="Yes" groupName="radiogroup1"
    height="100%"/>
    <mx:RadioButton label="No" groupName="radiogroup1"
    height="100%"/>
    </mx:HBox>
    questions.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <MBTI>
    <question>
    <name>You are almost never late for your
    appointments</name>
    </question>
    <question>
    <name>You are almost never late for your
    appointments</name>
    </question>
    </MBTI>

  • Multiple installs of causing Data provider internal error (-3000) on Open

    Hi,
    We have an application written against Oracle ODP 10.1.0.401 that's been deployed out on a web farm working great for some time now, however recently another area has asked to get ODP for 11g installed on that server. The install originally broke our application, but we were able to resolve most of the issues after following all of the appropriate "PATH" reordering and registering appropriate dlls. In fact, we finally got a server completely back up and running both versions with no issues.
    Unfortunately, it's a load-balanced server, and while one of the two servers is working correctly, the second seems to be having issues with specific parts of the install. We're trying to fix it on the second server now, and will be doing the same install shortly in our production environments.
    I was able to break the error out and create a very simple test app to eliminate as many variables as possible. It appears to be an issue with the driver when we enlist into a Distributed Transaction.
    The following code works fine:
    var connection = new Oracle.DataAccess.Client.OracleConnection(connectionStringBase + "Enlist=False");
    connection.Open();
    While this code does not:
    var connection = new Oracle.DataAccess.Client.OracleConnection(connectionStringBase);
    connection.Open();
    In both examples, connectionStringBase is Data Source=...;Validate Connection=true;User ID=...;Password=...; (where ... represents masked values). I've also tried "Enlist=True" in case the default was a problem, but it also fails.
    The exceptions we're getting on the server happen in the .Open() call. The stack trace is:
    [OracleException: Data provider internal error(-3000) [System.String]]
    Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure) +779
    Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) +41
    Oracle.DataAccess.Client.OracleConnection.Open() +3338
    Default.Page_Load(Object sender, EventArgs e) in C:\Code\Oracle11gTest\Oracle11gTest\Default.aspx.cs:13
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
    System.Web.UI.Control.OnLoad(EventArgs e) +91
    System.Web.UI.Control.LoadRecursive() +74
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2604
    I've read a few articles on this particular error and found that it's generally considered an ambiguous error with many potential causes, most of which I've been trying to test and rule out. While I don't have direct access to the server, I've been working with someone who does and they have compared registry settings and registered dlls, and have told me that the 2 servers match, and we've already re-installed the 10.1 drivers hoping it would help, but at this point we're stumped. I've read that it's possible that the COM+ install could have become corrupt, but what confuses me is that just prior to the 11g install, everything works great, and after doing no more than an ODP 11g install, it breaks. Do you have any advice or suggestions we could try?
    Thanks in advance for any insight you might have!
    ~Jeff

    If I read your post correctly that this is a "everything is equal as far as we know, but box A works and box B doesn't" type situation, my first suggestion would be to get Process Explorer from http://sysinternals.com, and compare the loaded modules between the working and non-working servers. You'll probably find that you're not using the software you think you're using, or have mismatched dlls across homes, or something to that effect. Once you figure out what the difference between the two is, correcting it will probably be the easy part.
    Hope it helps,
    Greg

Maybe you are looking for