Loaded dump from 12.5.4 to 15.7, Error 622 & Tables/Views not found

Hi all,
I am getting desperate trying to fix that issue. I had to import a dump from an ASE 12.5.4 into a new database on an ASE 15.7. I therefore enabled the compatibility mode server-wide and then proceeded to the load which seems to have performed correctly. The database seems well imported, and I can access most of the tables/views/procedures (from my C# application), but a procedure is giving me troubles.
I am getting this error while executing a given procedure :
Error: 622, Severity: 20, State: 1
Opentable was passed a varno of 52. Object 'temp worktable' in database 'tempdb' already has that session descriptor in use. This occured while opening object id -1245236 in database id 2.
I realised this was caused by a view which is used in this procedure but which is weird is that the error is not thrown when running the SQL code itself, out of the procedure context.
I am using Toad for Sybase as a client, and realised I cannot access the data tab of the concerned view, Toad gives me the same error. So I cannot execute this view while it performs without any trouble on  the original server (production server which runs ASE 12.5.4).
I also realised, when trying to execute some pieces of the query individually that I get warnings about unfound tables (and that I should use sp_help to fix the problem). Although, the tables actually exists and I can access their data.
I have tried so many things and still cannot fix this problem. I've used 'upgrade_object', 'sp_recompile' on all tables, 'dbcc reindex' on all tables.
Would you have any idea where the problem could come from? Thank you very much

Thank you for your reply.
Good to know that enabling compatibility mode before or after loading the load doesn't have any effect.
I didn't drop/recreate all the SP and views but I can tell you I recreated a similar view and it causes the same issue.
I had a look at your link yes. I have run 'dbcc upgrade_object' several times already, on the view and the procedures calling the view, and it won't solve anything.
I've seen a similar post about the problem I have when executing the code itself of the view in a "normal" adhoc query (errors saying the tables are not found) : SAP Sybase Forums - ASE - Backup and Recovery - PRoblem after restore - Object does not exist.
Could it be the same problem for me?
Although I've tried splitting the SQL query and executing the parts individually and it works without any trouble. Problem is when the 2 parts of the view are put together. It may be something that was possible with ASE 12.5.4 but not with 15.7 and that compatiblity mode doesn't solve. My view consists of an union a two selects where both have left joins, case when then else, not in and a final group by (adding an order by doesn't help, as I tried).
PS : I don't have access to the production server where the dump is actually from (but I could if it is really necessary)

Similar Messages

  • When I try to access a web page or link from a web page I receive an error message like "Server not found" or "Unable to connect." After repeated "try again" attempts the page will load, but when I click on a button or link, the same thing repeats. Why?

    When I try to access any web page or any link from a web page, I receive an error message such as "Server not found" or "Unable to connect." After repeated "try again" attempts that the page will load, but as soon as I click on a button or link, the same thing repeats. Any suggestions?

    When I try to access any web page or any link from a web page, I receive an error message such as "Server not found" or "Unable to connect." After repeated "try again" attempts that the page will load, but as soon as I click on a button or link, the same thing repeats. Any suggestions?

  • I am getting error 205 while trying to install Creative Cloud. I already had chated with support, Uninstalled CC and tried to install it again. From the Adobe site, the page keeps loading eternally, from the previous installer, it gives me error 205. What

    I am getting error 205 while trying to install Creative Cloud. I already had chated with support, Uninstalled CC and tried to install it again. From the Adobe site, the page keeps loading eternally, from the previous installer, it gives me error 205. What to do? Give up on CC?
    This is not the first time I get it, and it seems a recurring problem.

    Milliet are you on a managed network?  If not then please see Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html for information on how to resolve error 205.

  • How do I load music from my ipod to itunes on my new mac, I do not have my old mac?

    How do I load music from my ipod to itunes on my new mac, I do not have my old mac?

    Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was planned with you maintaining a master copy of your media on a computer which is itself properly backed up against loss.  To use a device with a new computer you transfer the content from the old computer (or its backup) directly to the new computer, not the device to the new computer. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchases which can be transferred to a computer.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software.  See this document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991

  • Database upgrade from 7.5 to 7.6.0.12 - AK Catalog information not found:00

    I just upgraded a database to 7.6.0.12. The catalog of the upgraded database is corrupt for one user. When I try to view the triggers defined for the user I get this message :
    General error;-9205 POS(1) System error: AK Catalog information not found:0000000000000000007200
    SELECT * FROM "DOMAIN"."TRIGGERS"
    All other entities, tables, sequences, procs appear to be valid. Another user's entities are all present and correct, including triggers.
    How can I repair the catalog to allow me to recreate the missing triggers?

    Hi again Joe,
    with the help of the vtrace you provided, we found out the TABID of the involved table: 0x000000000000051E
    We now need to find out which table it is:
    SELECT SCHEMANAME, TABLENAME FROM TABLES WHERE TABLEID = x'000000000000051E'
    After finding out the relevant table, there are two options:
    1. delete the triggers for this table
    or
    2. copy the table in a new table, delete the old table and rename the new table to the old table:
    CREATE TABLE <schema>.<new_table> AS SELECT * FROM <schema>.<old_table>
    DROP TABLE <schema>.<old_table>
    RENAME TABLE <schema>.<new_table> TO <schema>.<old_table>
    This all (point 1 AND 2) should preferably be done within a transaction, so it can be rollbacked, should anything go wrong.
    Please note that in point 2 that all given privileges, defined views and indexes no longer apply or exist, these have to be regiven/recreated.
    It might thus be a good idea to check if there are views defined using the table <schema>.<old_table> BEFORE following the steps of point 2.
    Regards,
    Roland

  • Loader will load images from another server, but then we get error on Bitmap operation

    I'm developing an app that currently is using Loader to get images from another server.  This shouldn't currently work since we are still waiting for the owner of that server to put a crossdomain file in place.  However, it does work -- sort of .
    Loader can load the images fine, without an error.  But then the app has a feature in which we are making a larger duplicate of the image to display in a sidebar, we do this in this manner:
    var myBitmap:Bitmap = Bitmap(loader.content);
    and when this runs we get a Flash player security error 2122, sandbox violation.
    So while I'm hoping all this will fix itself when the crossdomain.xml file is put in place, I'm confused as to why we only get the sandbox error when we make a Bitmap from the image, and not when we initially try to retrieve the image.
    (Incidentally: is there a better way to make a "copy" of an image loaded by a Loader, and then change its width and height for simultaneous display in another part of the stage?  I don't need to change its actual dimensions -- I just need to change its display width and height.)
    Thanks!

    The sandbox allows viewing, not editing from another server without a crossdomain.
    So, when you try to load it up, it loads it, but "read-only" and gives you an error when you try to "edit" it by making a new Bitmap out of it.
    This should resolve itself once that crossdomain is in place.
    ||EDIT||
    I just realized I should clarify my statement a little more.
    When you load images from another server without a crossdomain, it allows the load for display only.  When you try to load data, it will fail.  This is because, XML data, or some other type of data is editable by default, and images are only viewable by default.  So, the image fails when you try to convert it into an editable form.

  • HT5420 Dyld Error Message:   Library not loaded: @rpath/SFBlocks.framework/Versions/A/SFBlocks   Referenced from: /Applications/iWork '09/Keynote.app/Contents/MacOS/Keynote   Reason: image not found

    I tried to pen iwork but i keep getting this message... Any help please?
    Dyld Error Message:
      Library not loaded: @rpath/SFBlocks.framework/Versions/A/SFBlocks
      Referenced from: /Applications/iWork '09/Keynote.app/Contents/MacOS/Keynote
      Reason: image not found

    Maybe this will help you, too.

  • Unable to load Materials from ECC to Cloud due to UoM errors

    Dear experts,
    We are working to set up the ECC integration with C4C through HCI, we maintained all necessary settings in ECC and HCI.
    When we are trying to send Material data from ECC to C4C they are failing in Cloud with error "Solve Configuration Issue in Code List Mapping for field MeasureUnitCode with value PCE", but we maintained all the Material specific UoM in cloud and mapped them with ECC values in Code List mapping.
    Can someone give your input in which scenario this error comes and how UoM Conversions gets updated in Cloud, like ECC Material master.
    Thanks & Regards
    Naren..

    Hi Naren,
    we have experienced a similar problem when loading materials from ECC to C4C.
    What we have seen is that you have to:
    - maintain the basic UoM of the material in C4C
    - maintain all the UoM mentioned in the conversions for the material
    - maintain the Code Mapping for these UoM if the codes are different from ECC and C4C
    Nevertheless we had a problem for materials that in ECC in the UoM conversions section of master data have conversions like: 1 MTR = 1000 MMT (1 meter = 1000 millimeter).
    In C4C we have activated UoM MTR and MMT, and MMT is defined as 0.001 MTR. So the conversion rate is defined in C4C.
    If ECC sends this conversion for the material to C4C we have an error.
    We have solved it modifying the mapping in HCI for the iflow *.erp2cod.material.*: in the mapping, the conversion element is not transferred if the basic UoM is MMT and the conversion UoM is MTR.
    This is an example and a simple workaround that allows us to load these materials.
    Maybe could be useful.
    Regards
    Piero

  • How to recover from a Sync command that returns a SyncStatus value 8 (Object not found)

    Hello,
    We are using ActiveSync protocol. We have a situation where our local DB is probably in a invalid state where we do a Sync command passing all of our folders (full sync) and one of the folder (or many) doesn't exist anymore.
    The Sync command result doesn't tell us which folder is invalid.
    But the question is more: how should we recover from this "Object not found" error? Should we erase the local database and do a full refresh?
    Status reference:
    http://msdn.microsoft.com/en-us/library/gg675457(v=exchg.80).aspx
    Thanks
    ArchieCoder

    Sorry, that really isn't a Firefox support issue. Contact a Mac support forum or Mac-users group for advice on to solve that issue.

  • I am trying to down load apps from the app store but the system says my password does not work even though I just changed it

    I am trying to download an app from the app store but the ID apple gives me is old and out of date so how do I change the ID apple has on file?

    Its just Apple's system. They won't charge you so I wouldn't worry about giving them the billing information.

  • I can not simply load images from my computer & iphoto. I used to now i can not

    I used to be able to simply attach & upload images.
    I used to hit the attach button, then I would see the options incuding pictures as an aoption, I would click on pictures & it would take me to my desktop pics & or iphoto as an option, if i chose iphoto - it would direct me to all of my organized albums. That worked great.
    Now when the menu is all different, if i find the pictures, hit pictures, iphoto comes up, if I click iphoto then all I see is a rabbit hole of a directory. I am not able to open my library, if I click on my photo library, the attachment fails...
    Help please

    [[Applications panel - Set how Firefox handles different types of files]] maybe try to reset the defaults?

  • Create additional installer error code -12 file not found from device driver cd

    I'm trying to build an installer for a project that includes several NI drivers - specifically NI-DMM. NI-SCOPE, NI-SWITCH, NI-845x, and a few others (MAX, DAQ, etc). When I build the software standalone (and only include the run-time engine), it works fine. However, when I try to build the installer with the additional installers (mentioned above), the build prompts me for device driver cds, and then fails. Specifically, it fails on the February 2006 Device Driver cd. The error is attached below.
    I have tried
     - repairing all the installations of the software mentioned
     - using a new project and re-adding the files
     - building the additional installers seperately (no source code installed)
     - copying the driver cds to the harddrive and referencing them there when needed
    The next step will be to reinstall all of those drivers from scratch, but I really would prefer not to. Does anyone have any ideas (or solutions) regarding this problem?
    CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> CDK_Engine_PromptForMissingDist.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Copying distribution 'NI-845x Software 1.0.1' from: C:\National Instruments Downloads\NI-845x\1.0.1\ to: C:\PTF\Builds\**********************<edited out>
    Copying distribution 'National Instruments Device Drivers - February 2006, Disk 1' from: C:\National Instruments Downloads\DCD-Feb06-1\ to: C:\Program Files\National Instruments\Shared\ProductCache\
    *** Error: Windows SDK function returned an error. (Error code -12)
    The system cannot find the file specified.
    *** End Error Report
    Done building deployment

    I have had this happen a lot espescially with LV 8.0 -8.20. What I had to do was take the device drivers CD and copy it to the and run the installation of the software from the copy on the hard disk.
    When you build an exe with additional installers it looks at the last place that  you installed the drivers from. Anyway it worked for me so it might work for you.
    Joe.
    "NOTHING IS EVER EASY"

  • TS1702 When I try to reload The Sims FreePlay (sister deleted accidentally) from Apps Store I keep getting an error message "There is not enough avaiable storage to download "The Sims FreePlay". I check my settings and I do have enough available storage.

    When i try to reload The Sims FreePlay (sister accidentally deleted) from App Store I keep getting error message. There is not enough available storage on my device but there actually is enought storage. Not sure why I cannot get App to reload. I have synced to my computer. Help!

    To download/install an app directly to the iPod you need available storage equal to about three times the file download size. Syncing the app to the iPod requires a lot less. Thus you either have to free up more storage or sync the app from your computer.

  • I tried to download my photos from the memory card to my computer but I got an error message of  " file not found ". What would cause this ?

    When I inserted my memory card from the camera into the computer it opened the Adobe window. I clicked on the get photos icon and the process of downloading to the computer began as usual. But when it was complete an error message came up No file found. Now I cannot open anything to view any of my previous photos. How do I fix this ?

    The Camera Connection Kit works with SD cards, not Memory Sticks.
    Maybe you can find an MS to SD adapter, or use the USB connection with the USB cable that came with the camera.

  • Entry from table crmd_orderadm_h not found in table DNOD_NOTIF_S

    Is it true that, whenever an entry is created in the crmd_orderadm_h, same entry is reflected in table DNOD_NOTIF_S with reference as field GUID ?
    If not, when a entry is created with reference from same GUID in table DNOD_NOTIF_S w.r.t crmd_orderadm_h?

    double post, thread closed

Maybe you are looking for

  • Premiere pro CC14, Blackmagic Intensity Pro

    Im in the process of changing from FCP ver7 using a BMD Intensity Pro card (lowest priced BMD device) to Ppr cc14.  Would love to hear if anyone is using that card with Premiere Pro CC 14 and either running Mavericks or Mountain Lion?? any issues?

  • Coding in user exit in program rffous_t

    The ACH file generated has to be updated with company specific information required by the NACHA file format standards. SAP functionality will be used to generate the interface file.  The ACH file will contain all employees who have pay for the curre

  • Creating invoice through bapi

    Hi experts, I am creating invoice by using BAPI_INCOMINGINVOICE_CREATE. this is for Invoice with Planned Delivery Costs. Here i am giving the following data. header data INVOICE_IND = x DOC_TYPE = kr doc_date post-date reff-doc-no = 3006828 comp-code

  • Issues with Contact Pictures: Outlook 2010 and BlackBerry Desktop Software 6.1.0.36

    Hi guys, I have been trying to syncronize my contacts for many days now, with the following problems with the contact pictures: 1) Some contacts simply do not syncronize the pictures: Randomly, some contacts where I add a Picture in Outlook 2010 do n

  • WaveBurner - invalid field in cdb

    I have been using logic for years and have never had this problem with Waveburner.  I went to burn a copy of a master, the only difference in it and earlier copies is I was adding the ISRC. When trying to burn I got this message: "Disk drive didn't r