Upgrade to version 2.102.2.20 has broken code

Hi everyone,
The code below worked using ODAC 2.102.2.10 but now fails with version 2.102.2.20:
int rows = 0;
using (OracleConnection con = new OracleConnection(Configuration.Instance.ConnectionString))
con.Open();
// Create and set up the command.
OracleCommand cmd = new OracleCommand("", con);
cmd.XmlCommandType = OracleXmlCommandType.Insert;
// The following call sets the command text to an xml representation
// of the object to be stored in the database, including a set of
// points in the sdo_geometry type 'geo_position'
cmd.CommandText = CreateXMLText(link);
// Columns to be inserted...
string[] UpdateColumnsList = new string[10];
UpdateColumnsList[0] = "ID";
// etc...more columns corresponding to xml
UpdateColumnsList[9] = "GEO_POSITION";
// Set the XML save properties.
cmd.XmlSaveProperties.RowTag = "ROW";
cmd.XmlSaveProperties.Table = "LINK_INSTANCE";
cmd.XmlSaveProperties.UpdateColumnsList = UpdateColumnsList;
// Do the insert.
rows = cmd.ExecuteNonQuery();
// Clean up.
cmd.Dispose();
con.Close();
It throws this error:
"Object reference not set to an instance of an object."
Apart from reverting to the previous version, does anyone have any other suggestions please?
Steve Clay

Hi,
Just to make it easier if anyone wants to help, here's an example using the scott + tiger schema, user and password. Exact same problem.
static void InsertDept()
string sDeptXML =
"<?xml version=\"1.0\"?>" +
"<ROWSET>" +
"<ROW>" +
"<DEPTNO>1</DEPTNO>" +
"<DNAME>Testing</DNAME>" +
"<LOC>Suffolk</LOC>" +
"</ROW>" +
"</ROWSET>";
using (OracleConnection con = new OracleConnection("Data Source=BT;User Id=Scott;Password=Tiger;"))
con.Open();
OracleCommand cmd = new OracleCommand("", con);
cmd.XmlCommandType = OracleXmlCommandType.Insert;
cmd.CommandText = sDeptXML;
string[] UpdateColumnsList = new string[3];
UpdateColumnsList[0] = "DEPTNO";
UpdateColumnsList[1] = "DNAME";
UpdateColumnsList[2] = "LOC";
cmd.XmlSaveProperties.RowTag = "ROW";
cmd.XmlSaveProperties.Table = "DEPT";
cmd.XmlSaveProperties.UpdateColumnsList = UpdateColumnsList;
try
int nRowsAffected = cmd.ExecuteNonQuery();
catch (Exception e)
Console.WriteLine(e.Message);
cmd.Dispose();
con.Close();
The stack trace starts like this...
at Oracle.DataAccess.Client.OracleParameter.SetStatus(Int32 arraySize)
at Oracle.DataAccess.Client.OracleParameter.PreBind(OracleConnection conn, IntPtr errCtx, Int32 arraySize)
at Oracle.DataAccess.Client.OracleCommand.ExecuteXmlSave()
at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
Well, hey, this code used to work!
Regards
Steve

Similar Messages

  • HT203175 After upgrading to version 11.0.4.4 I get a "Itunes has stopped working" message when I try to start a movie on my PC. I have updated Quick time and previous version of Itunes worked great.

    After upgrading to version 11.0.4.4 I get a "Itunes has stopped working" message when I try to start a movie on my PC. I have updated Quick time and previous version of Itunes worked great.

    One thing is for sure, and that is if the only page i visit is the Google homepage (not logged in) or this site (mozilla forum), the problem does not occur, ever. I can't make it happen.
    If i visit yahoo.com (not logged in) (or ighome.com, logged in), as examples, it happens every time.

  • HT201274 My iPad is currently on OS version 7.1.2 and has not been upgraded to 8 yet.  If I do an "Erase All Content and Settings" will iTune force an upgrade to 8?  I would like to keep the device at 7.1.2.

    My iPad is currently on OS version 7.1.2 and has not been upgraded to 8 yet.  If I do an "Erase All Content and Settings" on the device will the device be forced to upgrade to 8 ?  I would like to keep the device at 7.1.2.

    To Perform the Erase All Content and Settings directly on the iPad it does not need to be connected to a computer.
    In fact yes, is better if its not connected to one, but simply connected to its charger, and have it plugged in. Erase All content and settings, will not update the iOS.
    If you restore the iPad using iTunes on your computer with the iPad connected, then it will update to iOS 8. Because the restore will place the newest available iOS version supported by the Phone on it.
    Basically disconnect the iPhone, plug it in to its charger, and the charger to the wall, and then on the iPad go to Settings->General->Reset->Erase all Content and Settings.  This will wipe clean the iPhone but will do nothing to the underlying iOS installation.
    Once everything is removed, you can plug it into iTunes and sync your content back.  Do not attempt to restore from backup while connected to iTunes, as it will update the iOS version in the process. Simply sync and you should have no issues.

  • How do you fix 'unable to upgrade from version 0'?

    I have been working on 6 ibooks over the past year, documenting a lot of stuff for user manuals for our school. The ibooks were all created in iBA version 1.0, but are not published - we only use them internally so we just use the previews.
    I gave up trying to upgrade my 1.0 iBooks, it takes too long to 'optimize' the files when I try to open them in 2.0. I have read all the issues with iBA 2.0, but decided to download 2.0 on another computer and wabt to try to re-write all my old 1.0 manuals (I have all the files that went into them).
    However, when I double-click to open the 2.0, nothing happens. So I go to 'File' and select 'New from Template Chooser'. I then get the window with all the new templates, including the portrait ones. When I select any template, say the 5th one for example, I get the prompt "The document 'Textbook 05.ibatemplate' could not be upgraded. Unable to upgrade from version 0". This happens for every template. I don't understand. I downloaded the 2.0 from the app store onto a 'clean' computer. Yes, it has Lion on it and all the spec requirements to run iBA. Can anyone help me with what to do next?

    Did you ask Apple for help yet?
    [email protected]
    …support phone number call +1 (877) 206-2092.
    Global Phone Support
    We have expanded English-language publisher phone support. To make contacting the iBookstore support even easier, new local phone numbers are now available for Australia, France, Germany, Italy, Netherlands, Spain, and the U.K. Support is available Monday to Friday, from 7 a.m. to 5 p.m. (PT).
    Country
    Phone Number
    Australia
    1300 307 504
    Note that this is a low tariff number.
    France
    0805 540 117
    Germany
    0800 664 5307
    Italy
    800 915 902
    Netherlands
    0800 0201 578
    Spain
    900 812 687
    U.K.
    0800 975 0615
    U.S.
    +1 (877) 206-2092
    Toll-free from U.S. and Canada.

  • Cannot install or deinstall upgrade to version 5

    I am running Firefox 4.01 on my desktop with Windows 7 Ultimate.
    Almost everyday Firefox comes up with a "This is embarrassing..." message. more or less independently of what sites I have visited. Don't you think it is time you did something about this problem?
    On a second desktop, running XP SP3, I resisted for a long time the pestering to upgrade, but finally, having lost the important menu bar" File---History--- Menu---Help " , I downloaded Version 5.
    When I ran the installation program, however, the program froze while checking the compatibility of add-ons.
    So I de-installed Version 5 via the control panel, and under "Add and Remove Programs" Firefox is not now listed there.
    However, it is still listed under Startup Programs, the properties showing it is in C:\Program Files\Mozilla Firefox\Firefox.exe, though not showing which version.
    Under Program Files I find listed Version 5. 0.1. 4205. Clicking on this program either under Startup files or Program files has no effect.
    Yesterday I tried to submit feedback under" Firefox makes me sad".
    I was asked to include the URL of the site with the problem. I find it amazing that Mozilla does not know its own URL!
    When I clicked "Submit Feedback" nothing happened.
    The same happened again today, so I am now trying the "volunteer" service, as it seems direct technical support from Mozilla is non-existent.
    To add insult to injury my log in password was not recognized and a further delay has resulted from having to reset it.
    I have now installed Chrome on my XP desktop.
    I also have a netbook running version 4 of Firefox, also persistently pushing for me to upgrade to version 5.
    But until my Mozilla problem on the desktop machine is fixed I do not plan to take any action with the netbook.
    I also find it irritating that I cannot simply send an email, but have to fill in a form which does not appear in my Outlook sent mail, but has to be cut and pasted so that I can keep a copy of my message.
    RPB

    Wow, lots of questions there, let's go one by one.
    random_ wrote:
    For example, BB App world: The desktop manager says it is installed, but it's not accessible because there is no icon anywhere.
    Look at Options > Advanced > Applications > AppWorld, confirm it is installed. Is it AppWorld version 1.1.0.35?  Then, read this:  KB22944 Home screen icon disappears after an update to to BlackBerry App World 1.1.0.35
    My carrier say they can't help me any further as it's a device issue.
    Your carrier is being silly. They can help you and if they cannot, they should offer (or you should ask) to have the issue escalated to RIM technical support.
    I don't understand what settings are supposed to be changed after I do a factory reset and restore from backup.
    A "factory reset" and "restore from backup" are two different things. What do you need help with here?
    Is it possible version 5 doesn't work with Orange at all?
    Yes, it does.
    What is the relationship between these things:
    * http://www.blackberryfaq.com/index.php/How_do_I_do​wngrade_the_OS_on_my_BlackBerry%3F
    * the desktop manager software for PC
    * the platform as reported on the device
    * the app version as reported on the device
    Could you please ask specific questions about the above four things?
    The first tells you how to downgrade your device OS and I don't see where your headed with the remaining three
    Good luck, post back and we'll try to clear things up.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I upgraded to version 7.3.1, msg box said i had authorized a new machine

    After I finished upgrading to version 7.3.1, a message box appeared saying that I had authorized a new machine.
    "Machine Authorization was Successful. You have authorized a total number of 4 machines out of your available 5."
    Wait, why did upgrading my iTunes application on my same computer cause me to use up a machine authorization?
    The previous number was 3 and now I've authorized a 4th machine simply for upgrading on the SAME computer? That's not fair.
    Has anyone experienced this problem? What should I do about it. Apparently upgrading is a VERY bad idea because it will use up your machine authorizations for no reason!

    If you've ended up with multiple authorisations on that PC, the following document may be of some help with getting the count correct on it again:
    One computer using multiple iTunes Music Store authorizations

  • Help! Safari not working after upgrade to version 2.0

    After i have upgraded to version 2.0, dispite all the problems i have read it has worked fine for 24hrs, but all of a sudden the wifi link has stopped.
    If i try using it the message reads " Safari can't open the page because it is not connected to the internet"
    Why! I haven touched a thing it just stopped mid browse
    Any help?

    Are you noticing that all other applications that use the Internet doing the same thing? i.e. email, weather, stocks, etc. They all time out.
    Same symptom: Looks like Apple broke wifi in 2.0

  • Upgrade to Version 7.1 (11D167)

    My iPad (retina) has slowed down since the upgrade to Version 7.1 (11D167) and I am not sure but think the battery is not lasting as long.
    When I say slow down I mean that some pictures (which never gave me probs) are now taking a loooong time to load on Facebook and Safari.
    As regards the battery it seems to be running down more quickly.

    This has persisted and I notice that accessing some websites taies a longer time and sometimes just slows to a halt.
    I have a fibre broadband wi-fi connection and have tested the speeds which are showing up as fine at the router.
    Problems only started after download of 7.1
    Disappointing!

  • Iphone and 3 ipods not registering with iTunes since upgrading to version 10.4!

    Good day and thanks for your help.  AppleCare has been unable to solve or identify my problem.  Since upgrading to version 10.4 I am unable to have my iphone or ipods be recognized in iTunes.  I have deleted and reloaded iTunes four times, as instructed by my AppleCare tech.  I still cannot see any devices in iTunes.  I am running a Dell Latitude D620 with XP, Service Pack 3.  My device manager shows all USB ports are active and working properly.  I have tried multiple Apple sync cables.  My phone and cable work fine on my wife's laptop, so I do not believe it is a hardware issue with the cable or phone.
    I heard a rumor that I need USB 2.0 ports for version 10.4.  I believe my ports are version 1.  Is this true?  If so, how can I find and reinstall iTunes version 10.3.
    Thank you for your time and assistance.  I am extremely frustrated by this process!

    Hi robert2232!
    I have a couple of articles here that can help you with troubleshooting this issue:
    Mac OS X: Resetting the SyncServices folder
    http://support.apple.com/kb/TS1627
    If the issue is still appearing after following the suggested steps in that article, then you will want to see this article for some further troubleshooting steps:
    Sync Services: Advanced troubleshooting for contact and calendar syncing
    http://support.apple.com/kb/ts2481
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Upgraded to Version 10 and NO Bookmarks & associated Passwords

    I am using Win 7 Pro 64 Bit
    Just upgraded to Version 10 and WHAM!!! NO Bookmarks and of course all stored Passwords have gone with them.
    Is there a solution or a way to "Roll Back" to the previous version?
    Do not recall seeing a BIG Flashing Sign saying "BEWARE"
    Have never had this problem before.
    Firefox advises an update is available & I let it install
    What has gone wrong this time?
    I am sure I am not the only one with this problem

    Hi mohayley, Windows 10 drivers are not planned for your PIXMA MP530. You may be able to download and instal the Windows 8 drivers, but please note that it is to be done at your own risk and there is no support for using these drivers with Windows 10. You may want to consider the Canon Loyalty Program, which provides you the opportunity to upgrade to a new Windows 10 compatible unit via next-day delivery at a discounted price. We also offer free ground shipping (if the order is completed by 12:30PM ET). If you would like to take part in this option, please call our Sales Department at (800) OK CANON (800-652-2666) seven days a week, 8am to Midnight. Let them know you have been working with email technical support and the Canon Loyalty Program was offered.

  • Does the Technical Communication Suite have an installation application similar to the Creative Cloud Suite? If so, how do I get it? If not, how do I upgrade from version 4? Thank you

    Does the Technical Communication Suite have an installation application similar to the Creative Cloud Suite? If so, how do I get it? If not, how do I upgrade from version 4?
    Thank you.

    Not sure what CCS has that you’re referring to, but TCS5 is out and can be installed via subscription or downloaded installer.

  • I just upgraded my os and now YouTube app has disappeared. How do I get it back?

    I just upgraded to os 6 and now YouTube has disappeared. No iPad app available. Just iPhone. How do I get that old tv back?

    In the mean time you can use the iPhone version of YouTube or Jasmine
    http://itunes.apple.com/sg/app/youtube/id544007664?mt=8
    https://itunes.apple.com/sg/app/jasmine-youtube-client/id554937050?mt=8

  • BB Z30 - Upgrade to version 10.2.1.3247 - Improved battery life

    On 09.09.2014 I got a notification about an available OS upgrade to version 10.2.1.3247 and I installed it. After the upgrade the battery life of my BB Z30 improved dramatically.
    Thank you BB Team!

    Software upgrades often include great performance enhancers such as better battery life so I'm glad you're happy!
    Cheers.  
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • Upgrade to Version 12

    I am thinking of upgrading from Version 8.5 to 12. I need Director to make interactive director projects, heavy in short videos (2-3 min each). The work needs to play on computers and as apps on ipad.There is no games or 3D involved.
    1) Is Director version 12 stable program for this purpose?
    2) Is there any content on apple  App store made with Director 12?
    3) are there any alternate programs for my purpose. Thanks
    RZ

    When a user tries to run a report, they enter all the parameters and click Go. When they click go it usually brings up a dialog box to say the report is running. However, this particular user instead of having this dialog box pop back up, it returns the user to the Ebusiness Suite main menu.What is the client OS?
    Can you find any errors in the server logs?
    We have tried to clear the temporary internet files (Running IE7) along with clearing of the Java cache. I have also tried to clear the users profile %USERPROFILE%\Application Data\Sun and %USERPROFILE%\Local Settings\Temp. Still no result.
    Any further suggestions, it appears to only be one user though.What if you login as a different user on the same machine?
    Sorry if I have posted in the wrong group, or not enough info has been posted.You can post similar questions in:
    EBS General Discussion
    General EBS Discussion
    Thanks,
    Hussein

  • BP &C upgrade to version 7 failing, server configuration file missing.

    Anyone,
    When I run the version 7 Startup.exe, the only options are to Prepare or Other.  I think the server configuration file is missing.  Is there a way to create/recreate one without using the insight export feature (that appset is not installed or enabled).
    Thanks in advance.

    Your flame is not at all helpful. After digging into the problem for a couple hours I was able to discover EXACTLY what had happened.
    Thank you
    For everyone else, here is what the upgrade has done:
    Under the "iTunes\iTunes Music" folder there used to be a "Downloads" folder that was deleted by the 7.0 upgrade.
    It looks like this folder was used for the recovery of failed downloads, but the previous versions of iTunes were not managing this folder very well. There were several folders containing just 1 media file. Most of the media files were 0 bytes long, except for the 2 files that I had lost during the upgrade. Apparently, iTunes was using these 2 files. The upgrade to version 7.0 caused this folder to be deleted; thus the links were broken. Anyone else who had a failed download, in particular a video download, may have the same issue.

Maybe you are looking for