OracleCachedRowSet error: The RowSet is not write enabled

Hello,
I'm trying to used OracleCachedRowSet class from the ocrs12.jar (Oracle 9.2 Client) with an Oracle 9i Database.
When I try to insert a new row in the row set I get the error message "The RowSet is not write enabled, SQL State: null". I don't know what I have to do to write enable the row set. I think I do the same as described in Appendix A of the Manual JDBC Developer's Guide and Reference. I also tried to set the concurrency to ResultSet.CONCUR_UPDATABLE. Unfortunately I didn't find the JavaDoc API documentation of this class. It is not included in the Oracle/JDBC documentation.
The code looks like this:
OracleCachedRowSet rowSet = new OracleCachedRowSet ();
rowSet.setUrl("jdbc:oracle:oci:@MYDB");
rowSet.setUsername("MYDB");
rowSet.setPassword("MYPWD");
rowSet.setCommand(sqlStatement);
rowSet.setType(ResultSet.TYPE_SCROLL_INSENSITIVE);
rowSet.setConcurrency(ResultSet.CONCUR_UPDATABLE);
rowSet.execute();
System.out.println ("--- Row set after first select ---");
printResultSet (rowSet);
rowSet.moveToInsertRow ();
rowSet.updateString ("KUNDENID","4711");
rowSet.updateString ("VORNAME","Fred");
rowSet.updateString ("NACHNAME","Mayr");
rowSet.insertRow();
The row set contains the right data after the select statement is executed!
What is wrong? Where do I find the API documentation?
Thomas Mayr

Hello Avi,
thanks for your reply (even if it's nor vey helpful). I read off course the general description of the standard Java interface CachedRowSet (which is implemented by OracleCachedRowSet). I also implemented the scenario with Sun's reference implementation CachedRowSetImpl. This works by the way with this code fragment (however this implementation has other bugs). I think each implementation needs a certain set of properties which are be defined by the interface? The SQL statement executed is set by the method setCommand() and the statement string is "SELECT KUNDENID,NACHNAME,VORNAME FROM JDBCTEST" (sorry this is missing in the code fragment). The row set is also populated with the content of the table, so the statement execution works. I also tried to populate the row set with a result set created by a prepared statement. But the error message when updating the row set is the same. The code looks like this:
PreparedStatement ps = dbConnection.prepareStatement(sqlStatement,
ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_UPDATABLE);
ResultSet resultSet = ps.executeQuery ();
rowSet.populate (resultSet);
Note that the code fragment is not part of a productive code. It is a test case for row sets which I like to use in a productive code in a completly different scenario. Explicit insert, update or delete statements are not an alternative!

Similar Messages

  • Exception : The RowSet is not write enabled

    I am using oracle jdbc cached row set to store data from a table. while trying to insert a row in the row set, and hence into the database, i am getting the following exception:
    Exception : The RowSet is not write enabled
    Any solutions please...

    Not all databases support updatable resultsets (though all the major ones do, I think)
    You should query the database and result set meta data to find out what it is capable of using the standard JDBC API functions. If the database doesn't support a feature that your code depends on then you can't continue. The alternative is to make your code flexible enough to work on all systems.

  • Uploading AIR for IOS thru Application Loader I get the following error - The package does not contain an Info.plist.

    I'm publishing an .fla in AIR for IOS.
    I'm in CC 2014 so first I need to know which AIR should I publish in?
    newest is AIR 14.0.0.178 for IOS
    IOS deployment type is App Store
    publishes with no error.
    I see the following files included .swf and app.xml
    I convert the .ipa to a zip file
    Upload that thru the Application Loader I get the following error
    The package does not contain an Info.plist.
    Where is the infoplist for this and do I convert the .ipa and the info to a zip file?
    I converted the .ipa to a .zip and the intoplist file is NOT THERE  how do I generate this?
    Any help here?

    Ok this is becoming very very frustrating as I have been at this for hours now. So the only way to explain this is to write what I did step by step as I have to be doing something wrong, just to recap:
    I was publishing from Flash CC 2014 using AIR 14.0 and getting Digital Certificate is not valid message.
    Was instructed to download new AIR 17 , I did this installed into Flash and used to publish.
    I used my previous p12, app ID and distribution certificates all generated properly.
    The file worked ONCE but I got an app ID error ( I understood I used the wrong app ID)
    I changed it to the right app ID and the very next time and after 10 attempts I got the same error  Digital Certificate is not valid
    SO I then downloaded AIR 16.0
    RE DID ALL MY CERTIFICATES AND P12'S
    went to publish and I STILL GET THE SAME MESSAGE   Digital Certificate is not valid

  • ERROR: The operation could not be performed because the file can't be accessed or doesn't exist. Please contact your web developer to correct the problem.

    Only on one page, the client is receiving this error:
    Error - The operation could not be performed because the
    file cant be accessed or doesnt exist. Please contact your web
    developer to correct the problem.
    I tested it with a couple different usernames and a couple different browsers and it works fine on my end.. but none the less it is happening to him. This is the second time it happened to two different clients.
    ??? Any ideas ??? Anyone else had this happen?

    Here's the setup on the two machines in particular...
    Machine #1:
    XP Pro
    Was IE7, now latest FF
    No antivirus
    Firewall – Windows Firewall, Downloaded AVG free trial ver., but not installed
    Machine #2:
    XP Pro
    IE7
    Again, No AV… had Kaspersky… but uninstalled it
    Windows Firewall
    Maybe that could be of some assistance... not seeing anything that could possibly block or inhibit the ICE. Each machine is independent of the other, separate networks, different locations, JavaScript enabled, no cookie blockers, etc.
    ....STUMPED!!!   

  • Pls/portal shows: Error: The portlet could not be contacted  after SSL enab

    The OCS /pls/portal page shows: Error: The portlet could not be contacted, I believe this happened after SSL enabling the system. Anyone out there seen this errof before?

    FYI
    This happens if you remove port 80 as a listening port webcache/em, etc. Oracle claims it needs port 80 for internal communication. For whatever reason the /pls/portal providers are registered in non-SSL. Not sure if Oracle will provide a fix or ?

  • Manage Users --Cannot Save, getting error "The resource could not be saved.... unknown error"

    In Project Server 2010, in Server Settings > Manage Users we can't edit any existing users - no matter if we change something or not, as soon as we hit
    the SAVE-Button, we get this error:
    The resource could not be saved due to the following reasons:
    An unknown error has occurred.
    We have two custom Security Categories and Users Group. The Resources are synced with AD Groups every midnight. There are no Resource level Custom fields.
    We were able to save it till few days, not sure what is the issue now. 
    How to find out and resolve this issue!
    Any hint would be of great help.
    Thanks.
    Greema

    Hi
    Go to IISManager --> Select "SharePoint Web Access" --> Double click on Compression -->
    2] Uncheck both "Enable Dynamic content compression" and "Enable static content compression" --> click on Apply.
    3] Do the same steps for the site where PWA is present. Then try editing the user.

  • Crawling error: The object was not found SPS 2010 FBA

    Hi,
    We have a SharePoint 2010 Foundation environment. This environment contains one app two front ends and an SQL backend server. We have a web application on port 80 with hostheader http://subdomain.domain.com which is extended to port 81 (http://subdomain.domain.com:81).
    We have two zones: Default and Intranet. Both has forms based authentication enabled but only Intranet has NTLM enabled.
    In the alternate access mappings we have the following configured:
    Internal URL Zone
    Public URL for Zone
    http://subdomain.domain.com:81 Default
    https://subdomain.domain.com
    https://subdomain.domain.com Default
    https://subdomain.domain.com
    http://subdomain.domain.com Intranet
    http://subdomain.domain.com
    The SharePoint is publishd by Checkpoint on URL: https://subdomain.domain.com and is reachable outside the company only with forms authentication. We can login to http://subdomain.domain.com inside the network with NTLM authentication. The system is working
    fine.
    However we installed Search Server Express 2010 on all servers and configured it. The main configuration steps were:
    content access account setup
    full read permission to all zones for content access account
    Checked DB permission for content access account
    DisableLoopbackCheck configured on all servers
    content source is set to http://subdomain.domain.com (Intranet URL?) to use NTLM authentication
    Tried to set crowl rule to http://subdomain.domain.com/*
    When I start a full crawl I only get one Top Level Error: 
    The object was not found. ( Error from SharePoint site: HttpStatusCode NotFound The request failed with HTTP status 404: Not Found. )
    We also have a developer environment. This environment is a "one men show". All of the roles are on the same machine but all configurations are the same. We also installed Search Server Express 2010 on the developer SharePoint and all works properly.
    I googled days and tried a lot of possible solution but nothing helped. 
    Does anyone have idea what do I wrong?
    Thanks!
    I'm not a developer! I'm an infrastructure engineer! Please be patient on the development forums! :)

    Thanks for the reply.
    Loopbackcheck disabled on all servers.
    We can browse site on search server.
    IIS binding is correct on all SPS servers.
    We have no entry on host file.
    Edit: I have to correct myself! Some of the administrators (I think) set host host file. I rechecked after Inderjeet comment and this resolved this issue.
    Thanks to pointing me to double check allways if I think something is correct. (Anyway this was the only thing I didn't rechecked).
    Thanks!
    I'm not a developer! I'm an infrastructure engineer! Please be patient on the development forums! :)

  • SharePoint designer 2013 crashes most of the time, when opening sites. Error: The server could not complete the request.

    Hi,
    I have few sharepoint 2013 site's, which I am trying to open in sharepoint designer 2013.
    After adding the site name in open site and clicking ok, the sharepoint designer crashes.  At times the sites open, but 90% of the time, the sharepoint 2013 designer has crashed. I get the message "The server could not complete the request. For
    more specific information, click on the Details button".
    When clicking on "Details" button, there is a empty box. The error message never gets closed and have to kill the process.
    I have tried doing "IISreset" multiple times, which has not helped.
    Has anybody faced this issue? How to fix this?
    Thanks

    Hi Venkatzeus,
    Firstly, I  need to verify the followings:
     1.Whether  this issue occurred on a specify SharePoint 2013 site.
     2.Whether  you have extended the problematic site.
    Make  sure that your user is a site administrator. If you have extended the problematic site, please add it to AAM.
    There are other probable causes for this issue:
     1.Anonymous authentication is not configured for the problematic web application in IIS
        Fix: Enable Anonymous authentication in IIS
     2.Server is running out of memory
        Fix: Free up memory on the server
    Here are some similar articles for you to take a look at :
    http://forums.bitwiseglobal.com/forum/sharepoint/the-server-could-not-complete-your-request-for-more-specific-information-click-the-details-button/
    http://tjendarta.wordpress.com/2013/05/24/fix-sharepoint-designer-2013-the-server-could-not-complete-your-request-for-more-specific-information-click-the-details-below/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/11854880-e85d-4e4c-ae9c-0ffd640d33d8/error-the-server-could-not-complete-your-request-while-opening-site-in-sharepoint-designer?forum=sharepointadminprevious
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f93e155e-2c65-4744-a1d0-96cdbd50014d/sharepoint-designer-error-the-server-could-not-complete-your-request
    I hope this helps.
    Thanks,
    Wendy
    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.

  • Error "The file could not be written"

    Hi!
    'm tyring to export some pictures in lightroon but I receive the error "The file could not be written".
    Any suggestion?
    Thanks

    Make sure you have permission to write to the output folder and that there is enough space on the disk.
    What OS are you running?   What version of Lightroom?
    Hal

  • Crystal report error (The table '' could not be found)

    Dear Expert,
    As I know, the end user who don't want to edit the crystal report design no need to buy crystal report,right?
    Using the 'Crystal reports for SAP B1', they already view the report.
    But, how about, if I had created one crystal report, and then I want to distribute to end user. When I load the report on user machine that dont have crystal report, the system shown an error (The table '' could not be found).
    I think, maybe because of the database location. When I create the report, of course I made connection to my machine as a source of database location. But, how i'm going to change the database location to user machine?
    Is it when we login into SAP, did SAP auto detect the new location source? And will auto create connection to the crystal report?
    Thanks in advance for any help.

    Hi ,
    We do not create the database connection for the end user. the end user must have the same database connection as it is set up on your machine. The report is looking for the same connection, with the same access into the database.
    Best regards,
    Jadie

  • Error :"The provider is not compatible with the version of Oracle client"

    Hi guys!
    I'm facing this problem:
    When my .Net application tries to access the DB, I get this error message above.
    The application is into the same machine of DB and the operational system is Windows Server Enterprise 64 bits.
    I'm comparing to another machine that has the same scenario but runs in Windows Vista 64 bits. This problem doesn't happen and I can normally access the DB.
    The both database versions are 10g Release 2 (10.2) and all components from Oracle Database Components 10.2.0.2.21 are installed as the containing bellow:
    -Oracle Data Provider for .NET 1.x 10.2.0.2.20
    -Oracle Data Provider for .NET 2.0 10.2.0.2.20
    -Oracle Developer Tools for Visual Studio .NET 2003 10.2.0.2.20
    -Oracle Developer Tools for Visual Studio 2005 10.2.0.2.20
    -Oracle Provider for OLE DB 10.2.0.2.20
    -Oracle Objects for OLE 10.2.0.2.20
    -Oracle Services For Microsoft Transaction Server 10.2.0.1.0
    -Oracle Net 10.2.0.1.0
    -Oracle Universal Installer 10.2.0.2.0
    Oracle.DataAcces.DLL is 2.102.2.20 and it is reference in my .Net app (that is published and located into IIS).
    These are the Oracle assemblies installes in 'C:\Windows\Assembly':
    Windows Vista Machine:
    ASSEMBLY NAME VERSION CULTURE PUBLIC KEY TOKEN PROCESS ARCHITECTURE
    Oracle.DataAccess 10.2.0.100 Neutral 89b483f429c47342
    Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 pt-BR 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 it 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 fr 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 es 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 de 89b483f429c47342
    Oracle.Management.Omo 2.102.2.20 Neutral 89b483f429c47342 x86
    Oracle.VsDevTools 2.102.2.20 Neutral 89b483f429c47342 x86
    Policy.10.1.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Policy.10.2.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Windows Server Machine:
    ASSEMBLY NAME VERSION CULTURE PUBLIC KEY TOKEN PROCESS ARCHITECTURE
    Oracle.DataAccess 10.2.0.100 Neutral 89b483f429c47342
    Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Oracle.DataAccess 2.102.2.20 Neutral 89b483f429c47342 x86
    Oracle.DataAccess.resources 10.2.0.100 pt-BR 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 zh-CHT 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 zh-CHS 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 ko 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 jp 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 it 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 fr 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 es 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 de 89b483f429c47342
    Policy.10.1.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Policy.10.2.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Policy.9.2.Oracle.DataAccess 10.2.0.100 Neutral 89b483f429c47342
    Policy.9.2.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    What should I check and do to solve this problems?
    Thanks for help,
    Anderson

    Hi,
    Often the error "The provider is not compatible with the version of Oracle client" is raised when the unmanaged dll OraOpsX.dll can't be found, can't be loaded, or is the wrong version. For version 10.2.0.x of ODP.NET and .NET Framework 2.x the file should be called "OraOps10w.dll" and should be found in the %ORACLE_HOME%\bin directory.
    Since the ODAC pieces are installed on the same host as the database, are they in a separate Oracle Home or the same Oracle Home as the database software? If there are multiple Oracle Home directories, which one is in the system path first?
    I would start with verifying the version of OraOps10w.dll and the system path on the server. You might also confirm that the Oracle Home directory (and everything under it) has the following permissions for Authenticated Users:
    - Read & Execute
    - List folder contents
    - Read
    Regards,
    Mark

  • HELP! InDesign CC got an error: The property is not applicable in the current state." number 30615

    HELP! Was working perfectly now it is giving me this error and doesn't seem to be going past the printing option. Code is below.
    main.scpt
    set posixIdPath to "/Applications/Adobe InDesign CC/Adobe InDesign CC.app"
    do shell script "/Users/cdapice/Desktop/cryptoquip/getquip.sh"
    delay 8
    tell application posixIdPath
    activate
    end tell
    delay 8
    set scripttoRun to ":Users:cdapice:Desktop:cryptoquip:Script.jsx" as alias
    tell application "Adobe InDesign CC"
    do script scripttoRun language javascript
    end tell
    delay 5
    Adobe InDesign CC got an error: The property is not applicable in the current state." number 30615
    Script.jsx
    var myDocument = app.open(File("/Users/cdapice/Desktop/cryptoquip/NewCryptoquip.indt"), true);
    //var myDocument = app.activeDocument;
    var myPage = myDocument.pages.item(0);
    var myTextFrame = myPage.textFrames.add();
    //Place a text file in the text frame.
    //Parameters for TextFrame.place():
    //File as File object,
    //[ShowingOptions as Boolean = False]
    //You'll have to fill in your own file path.
    myTextFrame.place(File("/Users/cdapice/Desktop/cryptoquip/quips.txt"));
    //var myTextFrame = app.selection[0];
    myTextFrame.parentStory.pointSize = 10;
    var brkStory = myTextFrame.parentStory.contents;
    var myPIs = myDocument.pageItems;
    var  destTextFrame = myPIs[6];
    destTextFrame.parentStory.contents = brkStory;
    firstChange();
    myTextFrame.remove();
    app.select(destTextFrame);
    splitStory();
    for (i = 0; i < myPIs.length; i++) {
              if (myPIs[i].appliedObjectStyle.name == "puzzleBox") {
                        var newBoxStyle = myPIs[i].appliedObjectStyle;
                        secondChange(myPIs[i]);
            myPIs[i].applyObjectStyle(newBoxStyle,true);
        if(myPIs[i].appliedObjectStyle.name == "otherBox"){
            var newBoxStyle = myPIs[i].appliedObjectStyle;
            myPIs[i].applyObjectStyle(newBoxStyle,true);
    Date.prototype.getMonthFormatted = function() {
        var month = this.getMonth() + 1;
        var formMonth = month < 10 ? '0' + month : month; // ('' + month) for string result
              return formMonth.toString();
    Date.prototype.getDayFormatted = function() {
        var day = this.getDate();
        var formDay = day < 10 ? '0' + day : day; // ('' + day) for string result
              return formDay.toString();
    var newdate = new Date();
    var laterdate = new Date();
    var dayofweek = newdate.getDay();
    var offsetdays = 0;
    switch(dayofweek) {
        case 2:
            offsetdays = 6;
            break;
        case 3:
            offsetdays = 5;
            break;
        case 4:
            offsetdays = 4;
            break;
        case 5:
            offsetdays = 3;
            break;
    app.epsExportPreferences.appliedFlattenerPreset.convertAllStrokesToOutlines = true;
    app.epsExportPreferences.appliedFlattenerPreset.convertAllTextToOutlines = true;
    app.epsExportPreferences.appliedFlattenerPreset.rasterVectorBalance = 100;
    //app.activeDocument.exportFile(ExportFormat.epsType, newFile, false);
    for (i = 1; i < 7; i++) {
        var curPage = i + "";
        var x = i + (offsetdays - 1);
        laterdate.setMonth(newdate.getMonth());
        laterdate.setDate(newdate.getDate());
        //alert(newdate);
        //alert(x);
        //alert(laterdate);
        laterdate.setDate(newdate.getDate() + x);
        //alert(laterdate);
        var nameDate = laterdate.getMonthFormatted() + laterdate.getDayFormatted() + ".eps"
        //alert(nameDate);
        app.epsExportPreferences.pageRange = curPage;
        var curFile = new File("/Users/cdapice/Desktop/cryptoquip/" + nameDate);
        app.activeDocument.exportFile(ExportFormat.epsType, curFile, false);
    var endDate = laterdate.getMonthFormatted() + laterdate.getDayFormatted();
    var firstDate = new Date();
    firstDate.setDate(newdate.getDate() + offsetdays);
    var startDate = firstDate.getMonthFormatted() + firstDate.getDayFormatted();
    var idFile = "cryptoquip_" + startDate + "_" + endDate + ".indd";
    app.activeDocument.save(new File("/Users/cdapice/Desktop/cryptoquip/" + idFile));
    with (app.activeDocument.printPreferences){
            printer = "Advertising - Creative - Color Xerox";
            copies = 1;
            pageRange = "1-6";
            paperSize = "US Letter";
            paperHeight = "11 in";
            paperWidth = "8.5 in";
            printPageOrientation = PrintPageOrientation.landscape;
            pagePosition = PagePositions.centered;
           scaleHeight = 100;
           scaleWidth = 100;
            scaleMode = ScaleModes.scaleWidthHeight;
            scaleProportional = true;
            pageInformationMarks = true;
            colorOutput = ColorOutputModes.COMPOSITE_CMYK;
    app.activeDocument.print(false);
    for(myCounter = app.documents.length; myCounter > 0; myCounter--){
    app.documents.item(myCounter-1).close(SaveOptions.no);
    function firstChange() {
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
              app.findChangeTextOptions.caseSensitive = false;
        app.findTextPreferences.findWhat = "^t";
              app.changeTextPreferences.changeTo = "";
              myDocument.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
         app.findTextPreferences.findWhat = "^p^p";
              app.changeTextPreferences.changeTo = "^p";
              myDocument.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
              app.findTextPreferences.findWhat = "^p";
              app.changeTextPreferences.changeTo = "^R";
              myDocument.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
    function secondChange(curFrame) {
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
              app.findChangeTextOptions.caseSensitive = false;
        app.findTextPreferences.findWhat = "    ";
              app.changeTextPreferences.changeTo = "|";
              curFrame.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
         app.findTextPreferences.findWhat = " ";
              app.changeTextPreferences.changeTo = "";
              curFrame.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
              app.findTextPreferences.findWhat = "|";
              app.changeTextPreferences.changeTo = " ";
              curFrame.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
    function splitStory(){
              //Make certain that user interaction (display of dialogs, etc.) is turned on.
              app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
              if(app.documents.length != 0){
                        if(app.selection.length != 0){
                                  //Get the first item in the selection.
                                  var mySelection = app.selection[0];
                                  //Process the selection. If text or a text frame is
                                  //selected, do something; otherwise, do nothing.
                                  switch(mySelection.constructor.name){
                                            case "Text":
                                            case "InsertionPoint":
                                            case "Character":
                                            case "Word":
                                            case "Line":
                                            case "TextStyleRange":
                                            case "Paragraph":
                                            case "TextColumn":
                                            case "TextFrame":
                                                      //If the text frame is the only text frame in the story, do nothing.
                                                      if(mySelection.parentStory.textContainers.length > 1){
                                                                //Splitting the story is a two-step process: first, duplicate
                                                                //the text frames, second, delete the original text frames.
                                                                mySplitStory(mySelection.parentStory);
                                                                myRemoveFrames(mySelection.parentStory);
                                                      else{
                                                                alert("Please select a story containing more than one text frame and try again.");
                                                      break;
                                            default:
                                                      alert("Please select some text or a text frame and try again.");
                        else{
                                  alert("Please select some text or a text frame and try again.");
              else{
                        alert("Please open a document and try again.");
    function mySplitStory(myStory){
              var myTextFrame;
              //Duplicate each text frame in the story.
              for(var myCounter = myStory.textContainers.length-1; myCounter >= 0; myCounter --){
                        myTextFrame = myStory.textContainers[myCounter];
                        myTextFrame.duplicate();
    function myRemoveFrames(myStory){
              //Remove each text frame in the story. Iterate backwards to avoid invalid references.
              for(var myCounter = myStory.textContainers.length-1; myCounter >= 0; myCounter --){
                        myStory.textContainers[myCounter].remove();

    Hotfixes are special, out-of-band patches created to fix specific problems, so they are never published to Windows Update.  Often the hotfix gets incorporated into a released patch that is published on Windows Update.  If this hotfix was incorporated
    into a released patch, and you applied that patch to your system, the hotfix would see that its files are older than the latest files on the system and would give you this message.  Because the hotfix is not for general distribution, there is rarely documentation
    saying that it has been superceded.
    Generally there is a file list with a hotfix/patch that gives you the version number of the affected files.  You can go through those files to see that you have the latest files.  The problem is finding the actual patch that updated those files. 
    Without going through lots of patches, it is hard to find which patch made the hotfix obsolete.
    .:|:.:|:. tim

  • Getting error The user could not be registered at this time due to an internal error in R11

    We created new Organization (that had alpha numeric value e.g.  7777A) using Customer Online to be used in iStore i11 version. 
    The user account and password was also created for the organization.  When we tried to login to istore the first time the registration screen (jtftmplh.jsp) was displayed.  After filling the needed information and submitting we get the error:
    "The user could not be registered at this time due to an internal error Please contact the system administrator if this problem persists.
    Note to System Administrators: View source for more information about this error."
    But if we created new Organization with numbers only  e.g. 7777  we don't have the issue. Yet we already have large number of organization with alpha numeric and they work fine. (believe they were pragmatically loaded).
    The profiles "HZ: Generate Party Number" and "HZ: Generate Party Site Number" are set to Yes.
    ==> Here is the error in the page source:
    Message: The user could not be registered at this time due to an internal error
    Please contact the system administrator if this problem persists.
      Note to System Administrators: View source for more information about this error.
    Stack:
    oracle.apps.jtf.base.resources.FrameworkException: The user could not be registered at this time due to an internal error
    Please contact the system administrator if this problem persists. 
    Note to System Administrators: View source for more information about this error.
        at oracle.apps.jtf.um.template.TmplUtils.action(TmplUtils.java:406)
        at _oa__html._jtftmplh._jspService(_jtftmplh.java:3961)
        at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
        at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
        at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
        at oracle.jsp.JspServlet.internalService(JspServlet.java)
        at oracle.jsp.JspServlet.service(JspServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java)
        at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java)
        at _oa__html._jtftmplh._jspService(_jtftmplh.java:3870)
        at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
        at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
        at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
        at oracle.jsp.JspServlet.internalService(JspServlet.java)
        at oracle.jsp.JspServlet.service(JspServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java)
        at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java)
        at _oa__html._jtftmplh._jspService(_jtftmplh.java:2342)
        at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
        at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
        at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
        at oracle.jsp.JspServlet.internalService(JspServlet.java)
        at oracle.jsp.JspServlet.service(JspServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java)
        at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java)
        at _oa__html._ibeCRgpBusinessCreate._jspService(_ibeCRgpBusinessCreate.java:1467)
        at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
        at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
        at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
        at oracle.jsp.JspServlet.internalService(JspServlet.java)
        at oracle.jsp.JspServlet.service(JspServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
        at org.apache.jserv.JServConnection.run(JServConnection.java:294)
        at java.lang.Thread.run(Thread.java:680)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: IBE_ERR_UM_REG_USER
        at oracle.apps.ibe.um.RegisterBusiness.handle(RegisterBusiness.java:1157)
        at oracle.apps.jtf.um.template.TmplUtils.action(TmplUtils.java:379)
        ... 37 more
    Caused by: oracle.apps.jtf.base.resources.FrameworkException
        at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
        at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
        at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)
        at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)
        at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)
        at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)
        at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)
        ... 39 more
    The error message is not helpful and not clear of the error. How can we register users with alpha-numeric value (if that is the issue?).
    Thanks for your assistance.

    Been like this for a couple of days.  Is this something that happens from time to time?

  • Mysite Error - The site does not contain a default keywords termstore

    I know this error has to do with the Managed Metadata Service. I recently had to delete my User Profile Service and Search Service, and then recreate new ones. Do I need to connect them to the existing Managed Metadata Service somehow?
    I get this error when trying to change certain user profile columns in Mysites.

    Go to the list of shared services in Central admin, highlight the Managed Metadata Service Proxy and select the properties button from the Ribbon.  You'll see four checkboxes.  Make sure the one labeled  'This service application is the default
    storage location for Keywords' is checked.  Depending on the order of installation of services or if the Managed Metadata service is deleted and recreated this sometimes doesn't happen.
    http://social.technet.microsoft.com/Forums/en-US/3cba2f1a-c1c7-4aed-b46e-6247f6a14e88/after-setting-everything-up-successfully-error-the-site-does-not-contain-a-default-keywords?forum=sharepointadminlegacy
    http://technet.microsoft.com/en-us/library/gg750250%28v=office.14%29.aspx
    http://donalconlon.wordpress.com/2010/06/30/managed-metadata-setting-the-default-termstore/
    http://www.deliveron.com/blog/post/Define-the-default-Term-store-for-New-keywords-in-SharePoint-2010.aspx

  • Adobe Acrobat Pro XI 11.0.06 when I reduce file size or try to optimize, I get this error: The document could not be saved. A number is out of range. I do the exact same thing every month and it works. I did it a few days ago and it worked. I receated the

    Adobe Acrobat Pro XI 11.0.06 when I reduce file size or try to optimize, I get this error: The document could not be saved. A number is out of range. I do the exact same thing every month and it works. I did it a few days ago and it worked. I receated the pdf, I renamed it. tried to do it before I imported more pages. no go. the 16 mg pdf will normally reduce to 5 or 6

    Hi,
    Are you facing the issue with any pdf file?
    Please try updating Acrobat to 11.0.7 and check.
    You might also want to repair Acrobat and see.
    Regards,
    Rave

Maybe you are looking for

  • How can I update a catalog on my laptop and then transfer the updates to master catalog on desktop?

    This is similar to Goeffbubbles question but I don't want to have the original files on both laptop and desktop Here is the question: I want to make a copy of a Lightroom 3 catalog to put on my laptop so while on the move I can be geo-tagging and key

  • ITunes 7.4.3 and Windows 2000

    My computer (running Windows 2000 SP4) locked up when attempting to run the latest iTunes update. After thay, iTunes was corrupted and would not run. I removed the application via the Control Panel, and downloaded iTunes 7.4.3. The installer gives me

  • Display F4 values as TEXT ONLY on selection screen of Bex report

    Hi, I have InfoObject with text(short) loaded for it. In Bex report on selection screen, I need to display ONLY TEXT values when you do F4 for values. How this can be achieved? I get key & text both now. Please note that I have tried all below settin

  • Cool preloader in as3 to as3

    Hi to everyone .... I use this preloader in several of my professional works and it's cool ... but in futures works i'll need't in AS23. ¿Is there a way to converted (or make it) in AS3?. Otherwise is there a web site where i can find cool flash prel

  • Print option in OAF Screen .

    Dear Friends , I have OAF page developed with table layout region , now i would like to add a button in the same page . The main functionality of this button should be same as browser's " PRINT" ( Control +p) option  . How can i enable this button in