FRM-10056: Incorrect module type stored in the file

Currently, we have been tasked with moving from windows to a red Hat Linux environment using OFM. We are currentlly using forms 11g. I have been operating totally in a windows environment and I got Linux compile code off the internet. When I try to compile the menu, I get the following:
I got the forms to compile but I cannot get the menu file to compile when I use the following:
for FILE in `ls $FORMS_PATH/*.mmb`; do
OUTPUT=${FILE/mmb/mmx}
echo "$FILE -> $OUTPUT"
frmcmp_batch.sh $FILE userid=userid/password@database Module_Type=MENU batch=yes output_file=$OUTPUT compile_all=special
done
I get the following results:
/public/server/apps2/code/test/forms/testmenu.mmb -> /public/server/apps2/code/test/forms/testmenu.mmx
Forms 11 (Form Compiler) Version 11.1.2.1.0 (Production)
Copyright (c) 1982, 2012, Oracle and/or its affiliates. All rights reserved.
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
PL/SQL Version 11.1.0.7.0 (Production)
Oracle Procedure Builder V11.1.2.1.0 - Production
Oracle Virtual Graphics System Version 11.1.2.1.0 (Production)
Oracle Multimedia Version 11.1.2.1.0 (Production)
Oracle Tools Integration Version 11.1.2.1.0 (Production)
Oracle Tools Common Area Version 11.1.2.1.0
Oracle CORE 11.1.0.7.0 Production
FRM-10056: Incorrect module type stored in the file
Form not created
I can not seem to find any info on resolving that error. Any suggestions?

Here is the content of our frmcmp.sh script.
#!/bin/sh
# frmcmp.sh - executable Bourne shell script to run the Forms Compiler
#             (Generator) after setting up the required environment
# NOTES
# 1/ The Forms installation process should replace
#    <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
#    setting.  Please make these changes manually if not.
# 2/ Some of the variables below may need to be changed to suite your needs.
#    Please refer to the Forms documentation for details.
# Set ORACLE_HOME if not set in the calling environment:
ORACLE_HOME=/app/oracle/product/Middleware/Oracle_FRHome1
## Change this to match where your FMw product is installed.
export ORACLE_HOME
PATH=$ORACLE_HOME/bin:$PATH
export PATH
DISPLAY=<DNS Name or IP address here and the port used.>
## For Example: Your_Domain_name.com:0.0
export DISPLAY
  # Search path for Forms applications (.fmb &.fmx files, PL/SQL libraries)
  # If you need to include more than one directory, they should be colon
  # separated (e.g. /private/dir1:/private/dir2)
  # Note: the current directory is always searched by default
FORMS_PATH=<INCLUDE all directories where Forms objects are found (Lib's, Memu's, etc)>
export FORMS_PATH
  # You may need to set one or more of TNS_ADMIN, TWO_TASK or ORACLE_SID
  # to connect to database
  TNS_ADMIN=<DIRectory where your TNSADMIN.ora files exists>
  export TNS_ADMIN
  ORACLE_SID=<YOUR DB SID>
  export ORACLE_SID
  # System settings
  # You should not normally need to modify these settings.
  if [ `uname -s` = 'SunOS' ]; then
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/jdk/jre/lib/sparcv9/server:$ORACLE_HOME/jdk/jre/lib/sparcv9/native_threads:$ORACLE_HOME/jdk/jre/lib/sparcv9:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
  elif [ `uname -s` = 'HP-UX' ] && [ `uname -m` = 'ia64' ]; then
     LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/jdk/jre/lib/IA64W:$ORACLE_HOME/jdk/jre/lib/IA64W/server:$LD_LIBRARY_PATH
      export LD_LIBRARY_PATH
  elif [ `uname -s` = 'HP-UX' ]; then
    SHLIB_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/jdk/jre/lib/PA_RISC2.0W:$ORACLE_HOME/jdk/jre/lib/PA_RISC2.0W/server:$ORACLE_HOME/jdk/jre/lib/PA_RISC2.0W/native_threads:$SHLIB_PATH
      export SHLIB_PATH
  elif [ `uname -s` = 'AIX' ]; then
    LIBPATH=$ORACLE_HOME/lib:$ORACLE_HOME/jdk/jre/bin:$ORACLE_HOME/jdk/jre/bin/classic:$LIBPATH
    export LIBPATH
  elif [ `uname -s` = 'Linux' ] && [ `uname -m` = 'ia64' ]; then
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/ia64/jrockit:$ORACLE_HOME/jdk/jre/lib/ia64/native_threads:$ORACLE_HOME/jdk/jre/lib/ia64:$ORACLE_HOME/lib ; export LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
  elif [ `uname -s` = 'Linux' ] && [ `uname -m` = 'x86_64' ]; then
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/amd64/native_threads:$ORACLE_HOME/jdk/jre/lib/amd64/server:$ORACLE_HOME/jdk/jre/lib/amd64:$ORACLE_HOME/lib ; export LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
  elif [ `uname -s` = 'Linux' ]; then
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/jdk/jre/lib/i386/native_threads:$ORACLE_HOME/jdk/jre/lib/i386
    export LD_LIBRARY_PATH
    # Set LD_ASSUME_KERNEL for RedHat 3.x
    if [ -f "/etc/redhat-release" ]
    then
      RHVER=`/bin/rpm -qf /etc/redhat-release --qf "%{VERSION}\n" 2>/dev/null`
      case $RHVER in
      3*AS | 3*ES)
        export LD_ASSUME_KERNEL=2.4.19
      esac
    fi
  else
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/jdk/jre/lib/sparc:$ORACLE_HOME/jdk/jre/lib/sparc/native_threads:$LD_LIBRARY_PATH
      export LD_LIBRARY_PATH
  fi This file gets sourced in our compile.sh script that all developers use to compile their Forms Objects (.fmb, .pll, .mmb, etc).
Here is a very simplified version of our compile.sh...
#!/bin/ksh
## Source the frmcmp.sh
. /<path to file>/frmcmp.sh
frmcmp module=$filename userid=user_id/pw@databasev module_type=form compile_all=yesHope this helps.
Craig...

Similar Messages

  • Incorrect IDoc type ZSWA003 in the ALE defintion of the source system.

    Hi !
    When I triggering the load from BW it is giving me an error Incorrect IDoc type ZSWA003 in the ALE defintion of the source system.
    When I am checking the connection in source system with R3 system , it is giving me this error and asked me to Enter IDoc type ZSWA011 .
    Please tell me how to do this.

    Hi,
    I assume that the source system has been copied fom production onto quality-system (or somothin likely).
    To solve that, plase refer to the oss-note 886102.
    https://websmp130.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=886102
    https://service.sap.com/sap/support/notes/886102
    Hope that helps.
    cheers
    Sven
    Edited by: Sven Muntermann on Mar 26, 2009 6:21 PM

  • Incorrect IDoc type ZSBB010 in the ALE defintion of the source system.

    Hi,
    We have done client copy of BW production system into BW test system.
    I am getting following error while checking Test R/3 system in BW Administrator workbench.
    Diagnosis
    Incorrect IDoc type ZSBB010 in the ALE defintion of the source system.
    System response
    Error when sending data to BW.
    Procedure
    Enter IDoc type ZSBB017 .
    Ring any bell.. Thank you for Ur time..
    Cheers
    Senthil

    Hello Senthil,
    Please check WE20 transaction and look for idoc type there.Most likely you need to make some corrections in there.  Also check BD64.
    Regards.
    Ruchit.

  • Incorrect Idoc type ZSPA065 in the ALE definition of the source system RSAR

    Hi Experts,
    Incorrect Idoc type ZSPA065 in the ALE definition of the source system RSAR 373 error is coming .
    Some one suggested note no 886102  but i went inside i did not find correction or code for implementing please any body suggeste for rectifying this error.
    Please tell correct aproach for solving the issue.

    Hi,
    there is some problem with your RFC connection
    just go to WE20 T code and expand partner type LS
    here search your r/3 system and click on that here you can find the details of idoc
    if you are not able to correct yourself you can contact basis team for that.
    just go to RSA1--> using the conxt menu doa check of Source system you will get the error message
    just send the screen shot of the same to Basis team they will take care of the same.
    Br
    santosh

  • Incorrect IDoc type ZSBC052 in the ALE definition of the source system

    hi guyz,
    i am getting the following error while checking the source system in bi.
    Incorrect IDoc type ZSBC052 in the ALE definition of the source system     RSAR     373     
    please guide through your expertise.
    regards,
    raps.

    Hi,
    Check the below given thread,
    [Source System Check Problem;
    [Incorrect Idoc type ZSPA065 in the ALE definition of the source system RSAR;
    Regards,
    Durgesh.

  • Mac won't open some files MasterPlan.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    I had this problem of not being able to open some files a couple of years ago and eventually was able to fix it but i can't remember how. Any help would be grateful.

    The following document should help: Error: Adobe Reader could not open '*.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and was not correctly decoded.)
    Please update this thread if your issue is resolved.
    Thanks,
    Shashi

  • I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been dama

    I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been damaged.  To create a PDF document, go to the source application then print the document to .pdf"  I am going to the source application and printing the document to .pdf yet it's saving the file as a .log file.  After reinstalling the software, I initially didn't encounter this problem but on my second and third attempts to convert files to .pdf format, this error message reappeared.  How do I resolve this problem?

    I have a similar problem which i did not have before...and it exists only in some powerpoint files which i want to print as a pdf file...and i get the same message as above.
    the log says the bellow details...what's the problem and how can i resolve it? thanks.
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[Page: 2]%%
    Cambria not found, using Courier.
    %%[ Error: invalidfont; OffendingCommand: show ]%%
    Stack:
      %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

  • I bought an ebook but when I  try to download it I receive a message stating 'Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wa

    Can anyone assist me? I keep receiving this message when I download my ebook ''Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't decoded).'
    Much appreciated

    I think you should ask in the Digital Editions forum, Adobe Digital Editions

  • Why can't I open a pdf file on my desktop?  I keep getting this message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and w

    Why can't I open a pdf file on my desktop?  I have Adobe Reader and running OS 10.10.1  I keep getting the same message: "Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."

    I tried that.
    I saved the file 8pdk_96_4.pdf to my desktop and tried to open it using Adobe Reader but I get the same message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

  • When I try to open a PDF downloaded from Adobe DC I get an error message:Adobe Acrobat Reader DC could not open 'nrneph.2015.33.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email

    When I try to download a PDF from Adobe DC, I get an error message: "Adobe Acrobat Reader DC could not open 'nrneph.2015.33.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)"
    I am using a Macbook Pro, OSX 10.9.5, Safari browser. Previous versions of Adobe Acrobat have worked fine for years.
    WGC

    What's the name of the file you are attempting to open?  Is it "ScreenFlow_4.5.2.dmg"?  If it is the correct name then the message is correct and you are attempting to open a file with DMG files extension and not one with a PDF file extension.  Adobe Reader opens PDF files an not any other file type.

  • How do I view downloaded content when the error message, not a supported file type or because the file has been damaged, shows up?

    I trying to download a book as a pdf to view through my adobe reader. But every time I do I keep getting the same error message saying that the file is not a supported file type or because the file has been damaged it can't be opened or viewed. What do I do and how do I get it to work. Because as of now I only have one option of downloading the book and I've tried to download the app notable pdf to see it that worked but it didn't either. As of right now I'm using google chrome but I also tried using Safari but it's still not working. I have a Mac with a Mac OS X updated system. I need an answer ASAP. Can anyone help me?

    I have the same issue.  Almost none of the PDFs I download from Safari browser can be opened. Same message about the file being damaged or not really a true PDF.  Neither of these are the issue here. Size of file is not an issue. I have Acrobat Reader XI so I believe that's pretty up to date.  If I open with Text Editor the file is blank.  any ideas?

  • Photoshop Elements 6:   Could not use type tool because the file could not be found

    Using Adobe Photoshop Elements 6.0 well for a while.
    Tried to use the Type Tool to overlay text and obtained this error:
    Could not use the type tool because the file could not be found
    After research, I reset all tools, tried to repair (failed: insert disc one), and then removed/re-installed.  Still have the same problem.
    Are the system fonts corrupt or is an Adobe .ini file suspect?
    Other reports have suggested using a 3rd-party font manager to inspect/disable fonts.
    First wanted to post this error here for feedback/recommendations
    Any suggestion on how to recover the Type Tool functionality?
    Eric Edberg
    Adobe Photoshop Elements Repair Workaround
    When trying to repair the well-known:  insert disc one, error occurred.  Was able to successfully repair the installation by dragging the entire Adobe Photoshop Elements directory from the original CD-ROM onto a hard drive and executing locally.  Seems it does not like repairing over the CD-ROM but it works correctly if the install source is on disc...

    John,
    Yesterday, I decided to completely remove all Adobe products:  PSE 6, Premiere 4, Reader, ActiveX plugins & legacy/old uninstalled product directories that Adobe has left turd-lets around including old Acrobat 3/6 directories.  Used A/D Software to remove all adobe products and then followed your instructions AND the instructions on Adobe's support web site to manually remove these products.
    It boiled down to manually removing the entire Adobe directory in Progam Files, "saving" the entire Adobe directory structure in each users (3) Document and Settings in the Application Data and Local Settings (as instructed by you and Adobe) and rebooting.
    I also saved the local All Users "configuration" database/cache that contained the Tag and other information to make sure the system was clean
    This included following the manual Regit instructions to remove legacy Adobe registry hives.  I deleted all keys for all Adobe product trees that I could locate (following instructions from Adobe).
    Reboot
    Scheduled a CHCKDSK on all drives and rebooted
    Dragged my complete image library to an archive location and deleted them on the C: drive
    Did a complete system Defrag
    Re-installed Adobe and alas still have the same problem with the Type Tool....
    The only thing I did not do was selectively remove the "fonts" because various instructions seemed to indicate many are "required" by the windows or other applications and I was not really sure how to identify which ones were safe to remove w/o affecting the core system..  I'll have to re-read these instructions next.
    Microsoft has a "Font Validator" tool, but that only checks 1 font at a time and you have to read the "results".  May look for other tools.
    Will be able to check the font structure this weekend since it will take some research before I'm comfortable just removing fonts in trial/error mode.  I'll need to make a backup image of my computer before I start this (just in case).
    Thanks for follow-ups too!
    Eric Edberg

  • I keep getting an error on my MAC when i try to open any and all JPG FILES.  How do I correct  Adobe Reader could not open 'images rest 12-4.jpg' because it is either not a supported file type or because the file has been damaged (for example, it was sent

    Adobe Reader could not open 'images rest 12-4.jpg' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    that is the message how do i correct this problem

    It sounds like your file associations are messed up and Reader is trying to open your .jpg files. Is this correct?
    If so, you just need to change the associations to choose what application opens them. Here's how: Change File Associations in Mac OS X

  • Hi, I have a MacBook Air and try to save and open pdf document but receive this message: Adobe Reader could not open 'aw14lookbook.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an ema

    Adobe Reader could not open 'aw14lookbook.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    Most likely http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html

  • Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email a

    Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). When I check the file it shows Zero KB downloaded but the file appears - any suggestions?

    Obviously your download was not successful.
    What is your operating system?  How exactly do you download such files?

Maybe you are looking for

  • When I open a pdf file in Firefox and then save, how do I set the initial directory to be closer to what I want instead of a temp directory?

    When I choose to save a pdf file directly when using Firefox, it works perfectly. However, when I choose to open a pdf instead and then save it, the save directly displayed will always be a temp directory and it would be more convenient for me to cho

  • Itunes Problem

    When I go to open Itunes on my Windows computer, I receive the following message: "Itunes has encountered a problem and needs to close. We are sorry for the enconvience. Send Error Report or Don't Send." (The usual Microsoft error message). What woul

  • IMessage on MacBook Pro ML 10.8.3

    If my girlfriend texts me a sexy photo and I'm in a meeting using my Mac Pro, how do I keep the jerk next to me from seeing the photo come up on my screen through iMessage? btw... I like to keep imessage open (important messages from employees etc of

  • Cant connect my Sony Bravia to my mac.

    I'm having trouble connecting my sony bravia tv (KDL-32BX300) to my mac. I have tried pretty much everything and have used the cable on other tv's with my mac anyone have any idea what the problem is? My mac can't find the tv at all. Any help would b

  • DVD Player 5.4 not working on OS 10.6.5 ??

    Hey guys, dvd player 5.4 is not working on snow leopard 10.6.5 Apple should fix it.