Row cannot be located for updating. Some values may have been changed...

Hello,
I have a legacy application written in VB6 and using Oracle OLEDB Provider (version 9 and updated to the last ones from oracle site)
I've a problem during insert of a record using recordset method (AddNew).
The returned message is "Row cannot be located for updating. Some values may have been changed since it was last read. "
I know that problem is caused by a Before Insert trigger that I CANNOT change.
Trigger does not change any primary key values !!!. It put only some default values on other not rilevant columns.
I tried to use the recordset Property option "Update Criteria" = adCriteriaKey without success !
I had same problem with SQL Server but i solved putting into the trigger SET NOCOUNT ON.
I think problem is related to the fact that ADO tries to calculate number of affected rows and for doing that it use a where clause built on the changed columns but using values it had on the client.
Other important info:
Cursor = adUseClient (and i cannot adUseServer)
Provider= MSDAORA (version 9.2...)
Oracle server = 9.1
Trigger causing problem = BEFORE INSERT (for each row)
Thanks in advance
Luigi

Hello,
I have a legacy application written in VB6 and using Oracle OLEDB Provider (version 9 and updated to the last ones from oracle site)
I've a problem during insert of a record using recordset method (AddNew).
The returned message is "Row cannot be located for updating. Some values may have been changed since it was last read. "
I know that problem is caused by a Before Insert trigger that I CANNOT change.
Trigger does not change any primary key values !!!. It put only some default values on other not rilevant columns.
I tried to use the recordset Property option "Update Criteria" = adCriteriaKey without success !
I had same problem with SQL Server but i solved putting into the trigger SET NOCOUNT ON.
I think problem is related to the fact that ADO tries to calculate number of affected rows and for doing that it use a where clause built on the changed columns but using values it had on the client.
Other important info:
Cursor = adUseClient (and i cannot adUseServer)
Provider= MSDAORA (version 9.2...)
Oracle server = 9.1
Trigger causing problem = BEFORE INSERT (for each row)
Thanks in advance
Luigi

Similar Messages

  • InfoPath 2013: InfoPath cannot load the view. The view may have been modified to contain unsupported HTML such as frames.

    Hello Folks,
    I'm facing a strange behavior of InfoPath 2013 while using with SharePoint Designer 2013 to customize the forms. Whenever i open any SharePoint form to customize it in InfoPath 2013, it gives me error "InfoPath cannot load the view. The view may have
    been modified to contain unsupported HTML such as frames."
    Just like all other folks, i also assumed that the forms are corrupted and i need to change the extension to *.cab and blah blah blah. But, when i noticed that the error is coming with new list forms, new workflow forms as well then i tried to research on
    the issue. Surprisingly, all forms are opening on my colleague's PC but not from my PC. We're using the same server, same SharePoint Production, same SharePoint Development and similar InfoPath. Infact, our system team has prepared both of us in a similar
    way. The only difference is OS, where he is using Win 8 and mine is Win 7 Pro.
    Therefore, from last 1 week, i've to swap my PC with my colleague if i've to customize or update any form in InfoPath 2013. This is quite bizarre. Can someone let me know what's wrong with this issue?
    Regards,
    Sohaib
    Sohaib Khan

    Hi Sohaib,
    I'd like to double confirm with you that the issue only occurs to your client machine. Please log on to another machine and see if the issue is related to your account.
    If the issue is only related to your machine, I'd recommend you clear InfoPath cache and repair Office program.
    Then go to InfoPath > Options > More Options > General > Internet Options > Add SharePoint sites to your trusted sites and disbale protected mode.
    http://blogs.msdn.com/b/michael_yeager/archive/2008/07/09/infopath-cache.aspx
    http://office.microsoft.com/en-in/infopath-help/repair-office-programs-HA010357402.aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • InfoPath cannot load the view. The view may have been modifed to contain unsupported HTML such as frames.

    Hi,
    I'm running InfoPath 2013 Designer and I'm experiencing a very annoying bug. Whenever I try to open a Infopath file I get the error, "InfoPath cannot load the view. The view may have been modifed to contain unsupported HTML such as frames."
    Sometimes it opens without a problem but most the time I get this error message. The strange thing is that I can create a new form without any frames, save it and then when I go to open it have the same problem. I've tried reinstalling InfoPath but it didn't
    help.
    Please help!!!
    Thanks in Advance,
    Mark Elliott
    Windows 7 Home Premium 64 bit; Internet Explorer 11; Office 2013 Pro

    Has anybody figured this out? I have the same problem.  InfoPath 2013 will not open any files from one computer which all work from another computer with the same version of InfoPath so this basically rules out file corruption. (The files are in
    a network share).  Both computer have InfoPath 2013. If I reboot the computer in question it will sometimes work then goes back to the error. 
    The only difference between this computer an all the others is that this one has a bunch of Office 2010 updates since it has SharePoint 2010 designer installed, (not office).  I did try to uninstall the updates but the problem has not been resolved. 
    This is the second time this happens.  Last time I had to completely remove Office 2013 & SharePoint designer then used the Windows rollback feature and finally reinstall office 2013.  Everything worked great until I installed SharePoint 2010
    designer then after a few updates the problem resurfaced.
    This is really annoying, I cant believe its not happening to more people.
    Ben
    ** Update **
    The problem went away although I am not 100% sure why. I decided to provide additional information in case someone has the same issue.  I deleted the Digital Certificate that I had previously requested from our domain server. Now suddenly everything
    is working. Like I said before, I'm not sure if this was the cause/fix but if you are having the same problem perhaps you can try the same thing and provide some feedback to possibly help others.
    I would like to thanks anyone who spent time on this.
    **Update**
    The problem came back. At this point I suspect either an update or something with Visual Studios 2012. My forms are heavy on custom code so I must be doing something wrong. I doubt it was an update since it would be happening to more people
     Again, I am able to open the same file from another computer with the only difference being that the other PC does not have Visual Studio 2012

  • HT201363 my husband received an email from Apple stating we needed new credit card information.  We had just gotten a new credit card and couldn't remember if we updated it or not.  What kind of questions would you ask for that? It may have been fraud?

    My husband received an email from Apple stating our account was frozen and we needed to update our credit information.  We recently got a new credit card and so went ahead and updated information.  They asked about mothers maiden name and social security information.  Now we are feeling skeptical.  Are these the kinds of questions Apple would ask?  Now all my information is out there and I can't even get a hold of a human being at support to answer any questions for me as to whether they sent this or not????? Help!!!!!!!!!!!!!!!!

    That email was a phishing attempt to get your iTunes account and payment details - iTunes accounts aren't 'frozen', and iTunes don't need your social security info.
    If your husband entered his card details then he should contact the card issuer immediately and get it cancelled and replaced.
    He should also change the password on his iTunes account e.g. via the Store > View Account menu option on his computer's iTunes or via http://appleid.apple.com
    If you still have the email then you could forward it to Apple : [email protected]

  • Infopath cannot load the view. The view may have been modified to contain unsupported HTML

    I am working on a form that the error only happens when I am on the Page Design tab and switching views. I have 3 views which are basically just copies of the default view with some sections removed, or controls hidden.
    The error doesn't occur on just one of the views, it can happen when switching to anyone of the views. But doesn't happen all the time but enough to really become irritating.
    Any suggestions on the cause?
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

    It looks like it may be due to something on my Virtual Desktop, as my physical desktop has no errors when switching views.
    any ideas on what InfoPath is trying to do/save/change when I am switching a view? Is it writing something some where in my profile, %appdata%, etc?
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • The updated row cannot be refreshed because its key values are unset ERROR

    Hi
    Doing commit operation with adf business components on mysql database. The moment i have inserted a new record into the table i need to get the value of the primary key column for that inserted row.How to get the value of the primary key column.i set refresh on insert and refresh on update properties in the corresponding EO. then iam getting The updated row cannot be refreshed because its key values are unset or modified by database triggers. error.Suggest how to resolve this error and how to achieve this functionality.
    Thanks
    Satya

    Here the primary key column is auto_increment column in database table.

  • Since the recent  update for my Iphone 5, I have been upable to toggle 'on' my location services button  which affects the proper usage of some apps.

    Since the recent  update for my Iphone 5, I have been upable to toggle 'on' my location services button  which affects the proper usage of some apps. 
    Any suggestions?

    The restriction passcode is not necessarily the same as the device passcode.
    The restriction passcode can not set itself. It had to be set by you or by someone with physical access to your phone..
    Ask the person/people you live with if they set one... A spouse, a parent, a jealous boy/girlfriend, etc.
    If they deny it, and you don't know what it is, then the only thing you can do is restore the phone using iTunes. Do NOT restore your backup. The restriction settings are contained in the backup.

  • Windows update cannot currently check for updates

    dears
    when I Try to update my windows 7 by clicking on windows update ( control panel or windows update) I get some notification saying
    "windows update cannot currently check for updates because of the service is not running you may need to restart the computer"
    I have tried with 2 solution in internet found but not successeded as below :
    1) stop windows update service and rename " SoftwareDistribution" folder in order to be created later after restart aformentioned service" and some solution as for stop "Background Intelligent Transfer Service" before windows
    update service even though didnt pass.
    2) run windows update troubleshooter to idnetify the problems and fix the issue , it tells me its fixed but nothing there.
    I need your support please if somebody encounter that to let me run my windows Update for more information its colored with red.
    Ali Hadawe

    Hi ,
    First of all ,I would you suggest to check the status of the "Windows update "services " and "Background Intelligent Transfer service".Run "Services.msc" to open the services manager.
    Someone has tried the following methods to resolve the similar issue,please have a try :
    1.go into Windows Update and change the settings to "Never check for updates (not recommended)", click OK, and then change it back to "Install updates automatically".
    2.Turn on the Windows Defender and update it .
    Here is a link for reference :
    windows update cannot currently check for updates because the service is not running window 7 HELP(pay attention to Brook and Gab_Power`s answers)
    https://social.technet.microsoft.com/Forums/en-US/ee85d867-ce2f-412f-8c03-f43ab92132cc/windows-update-cannot-currently-check-for-updates-because-the-service-is-not-running-window-7-help?forum=w7itproinstall
    If the issue persists, please run the fix it tool in the following link to reset the windows update components to have a check .
    How do I reset Windows Update components?
    http://support.microsoft.com/kb/971058
    Best regards

  • A lot of songs in my library have an excalmation point to the left of the song.  This means the song cannot be located for syncronizing even though they can be played.  I have deleted all of them and started over but the problem still exists.

    A lot of songs in my library have an exclamation point to the left of the song.  Apparently this means the song cannot be located for syncronizinf to the IPOD but yet they can still be played.  I have gone so far as deleting every song and then importing them.  Same problem.  This is not just a few songs but at one time was in the hundreds. 
    Has anyone experience this?

    The exclamation point indicates the media is not where iTunes expects it to be.
    What happened just prior to this issue starting?

  • (solved)-Windows update cannot currently check for updates, because the service is not running. You may need to restart your computer

    (solved)-Windows update cannot currently check for updates, because the service is not running. You may need to restart your computer
    Hetti Arachchige V Aravinda | Network Administrator (B.Sc, MCP, MCTS, MCSA, MCSE, MCITP, CCNA, CEH, MBCS)| http://www.windowstechinfo.com |

    Hi,
    Glad to see your problem resolved, Hope your experience is helpful with others.
    Roger Lu
    TechNet Community Support

  • When I try to update my phone to ios 7 it says i need to update my itunes to 11.0.5, when i check my current version in help menu under check for updates it says I have the current 11.0.5 version.

    When I try to update my phone to ios 7 it says i need to update my itunes to 11.0.5, when i check my current version in help menu under check for updates it says I have the current 11.0.5 version. Even the downloader for the update doesnt show that i need to update.Help plzz????

    There is some kind of error. The new version of iTunes is 11.1, which although is not available via updates, it can be downloaded from the Apple website here:
    http://www.apple.com/itunes/download/
    After updating iTunes to the newest version you should be able to update your iOS
    EDIT: I just did that and it works

  • TS3899 "cannot get mail" in iphone5 suddenly. been using iphone to check 2 email accounts for months now, one is gmail and not troubled. the other is thunderbird and i get this error message now. no settings have been changed or anything! ideas?

    hey all, I have been getting the "cannot get mail" error message on my iphone5 suddenly.
    ive been using iphone to check two email accounts for months now, one is gmail and not troubled. the other is mail from thunderbird and i get this error message now saying it is not responding. no settings have been changed or anything, it just suddenly stopped receiving mail on my device as of Tuesday afternoon.
    Does anyone have iny ideas about why? i have yet to update to the new OS7 yet, could that be it?

    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • I have Adobe Reader X loaded on my computer.  Adobe sends me automatic updates periodically.  I have been told that some hackers have been sending what appears to be an Adobe update and when I select run it will load malicious software or spyware onto my

    I have Adobe Reader X loaded on my computer. Adobe sends me automatic updates periodically. I have been told that some hackers have been sending what appears to be an Adobe update and when I select run it will load malicious software or spyware onto my computer. How would I recognize this attempt and how can I prevent it? I also have Norton protection loaded on my computer (via Comcast). I am not sure if Norton can protect me if I select run. Do you have any suggestions?

    Hi peterc,
    By default, Reader updates occur automatically via the Reader app itself, and this is the most secure way to receive updates. While you can choose to update manually (by choosing Help > Check for Updates), you may not always get critical updates as they're released. See Automatic updates | Acrobat, Reader. If you receive an email about needing to update Reader, you should ignore it, as that is where the malicious updates can come from. Just make sure you're letting the updates happen from within Reader, either automatically or manually.
    Best,
    Sara

  • "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    lots of people seem to be havgin a problem sending email from iCloud webmail.
    does your email address have uppercase characters in it?
    if so, try creating an alias in lowercase (go to preferences in iCloud webmail and select 'accounts') and see if email sends okay from that

  • I downloaded Mac OS X Lion and when I go to install, it says file cannot be verified, may have been corrupted during download.  How do I determine if it is corrupt and how do I get a clean copy of Lion, since I have already paid for it?

    I downloaded Mac OS X Lion and when I go to install, it says file cannot be verified, may have been corrupted during download.  How do I determine if it is corrupt and how do I get a clean copy of Lion, since I have already paid for it?

    Download again, move the existing file out of the applications folder first.

Maybe you are looking for