WRONG VALUE OF THE parameter file type(bdc-session method)

Hi experts,
when iam uploading vendor details,,,
it is giving above error.
chk the code once.....
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
   FILENAME                      = 'C:/VENDOR1.TXT'
   FILETYPE                      = 'DAT'
  TABLES
    DATA_TAB                      = IT_UPLOAD.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
   CLIENT                    = SY-MANDT
   GROUP                     = 'SRR'
   USER                      = SY-UNAME.

Hi here  iam sending the whole code once to you. just chk it once and same error(WRONG VALUE OF THE parameter file type) is coming after the changes.
if i use asc it is giving that no file exists.
Table Declaration
tables :rf02k,    "Maintain vendor master record screen and work fields
        lfa1,     "Vendor Master(general)
        lfbk,     "Vendor Master (Bank Details)
        lfb1,     "Vendor Master (Company Code)
        lfm1,     "Vendor master record purchasing organization data
        lfb5.     "Vendor master (dunning data)
Data Declaration
data : begin of it_UPLOAD occurs 0,
       LIFNR like rf02k-lifnr,     "vendor no
       BUKRS like rf02k-bukrs,     "company code
       EKorg like rf02k-ekorg,     "purchasing org
       KTOKK like rf02k-ktokk,     "account group
       anred like lfa1-anred,     "initial
       name1 like lfa1-name1,     "name of vendor
       sortl like lfa1-sortl,     "search term
       land1 like lfa1-land1,     "country
       akont like lfb1-akont,     "reconcillation a/c.
       fdgrv like lfb1-fdgrv,     "planning group
       zterm like lfb1-zterm,     "terms of payment key
       mahna like LFB5-MAHNA,     "dunning procedure
       waers like lfm1-waers,     "Purchase order currency
       END OF IT_UPLOAD.
DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
include bdcrecx1.
start-of-selection.
UPLOADING THE DATA TO IT_UPLOAD
call function 'GUI_UPLOAD'
exporting
filename = 'C:\DASRR\VENDOR1.TXT'
filetype = 'DAT'
has_field_separator = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = IT_UPLOAD
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
*CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
  FILENAME                      = 'C:/VENDOR1.TXT'
  FILETYPE                      = 'DAT'
TABLES
   DATA_TAB                      = IT_UPLOAD.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
   CLIENT                    = SY-MANDT
   GROUP                     = 'SRR'
   USER                      = SY-UNAME.
  POPULATE INTERNAL TABL
LOOP AT IT_UPLOAD.
CLEAR IT_BDCDATA.
REFRESH IT_BDCDATA.
PERFORM POPULATE_DATA.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
    TCODE                  = 'XK01'
   TABLES
    DYNPROTAB              = IT_BDCDATA.
ENDLOOP.
*&      Form  POPULATE_DATA
      text
-->  p1        text
<--  p2        text
FORM POPULATE_DATA .
PERFORM GETDATA USING 'X' 'SAPMF02K' '0100'.
perform getdata using ' ' RF02K-LIFNR 'IT_UPLOAD-LIFNR'.
perform getdata using ' ' RF02K-bukrs 'IT_UPLOAD-bukrs'.
perform getdata using ' ' RF02K-EKORG 'IT_UPLOAD-EKORG'.
perform getdata using ' ' RF02K-KTOKK 'IT_UPLOAD-KTOKK'.
PERFORM GETDATA USING 'X' 'SAPMF02K' '0110'.
perform getdata using ' ' LFA1-ANRED 'IT_UPLOAD-ANRED'.
perform getdata using ' ' LFA1-NAME1 'IT_UPLOAD-NAME1'.
perform getdata using ' ' LFA1-SORTL 'IT_UPLOAD-SORTL'.
perform getdata using ' ' LFA1-LAND1 'IT_UPLOAD-LAND1'.
PERFORM GETDATA USING 'X' 'SAPMF02K' '0210'.
perform getdata using ' ' LFB1-AKONT 'IT_UPLOAD-AKONT'.
perform getdata using ' ' LFB1-FDGRV 'IT_UPLOAD-FDGRV'.
PERFORM GETDATA USING 'X' 'SAPMF02K' '0215'.
perform getdata using ' ' LFB1-ZTERM 'IT_UPLOAD-ZTERM'.
PERFORM GETDATA USING 'X' 'SAPMF02K' '0220'.
perform getdata using ' ' LFB5-MAHNA 'IT_UPLOAD-MAHNA'.
PERFORM GETDATA USING 'X' 'SAPMF02K' '0310'.
perform getdata using ' ' LFM1-WAERS 'IT_UPLOAD-WAERS'.
ENDFORM.                    " POPULATE_DATA
*&      Form  GETDATA
      text
     -->P_0213   text
     -->P_0214   text
     -->P_0215   text
FORM GETDATA  USING    VALUE(P_0213)
                       VALUE(P_0214)
                       VALUE(P_0215).
                    IF P_0213  = 'X'.
                    IT_BDCDATA-PROGRAM = P_0213.
                    IT_BDCDATA-DYNPRO = P_0214.
                    IT_BDCDATA-DYNBEGIN = P_0215.
                    ELSE.
                    IT_BDCDATA-FNAM = P_0214.
                    IT_BDCDATA-FVAL = P_0215.
                    ENDIF.
****************any error in coding just chk it*****************

Similar Messages

  • SESSION METHOD( WRONG VALUE OF THE parameter file type)

    Hi here iam sending the whole code once to you. just chk it once and same error(WRONG VALUE OF THE parameter file type) is coming after the changes.
    if i use asc it is giving that no file exists.
    Table Declaration
    tables :rf02k, "Maintain vendor master record screen and work fields
    lfa1, "Vendor Master(general)
    lfbk, "Vendor Master (Bank Details)
    lfb1, "Vendor Master (Company Code)
    lfm1, "Vendor master record purchasing organization data
    lfb5. "Vendor master (dunning data)
    Data Declaration
    data : begin of it_UPLOAD occurs 0,
    LIFNR like rf02k-lifnr, "vendor no
    BUKRS like rf02k-bukrs, "company code
    EKorg like rf02k-ekorg, "purchasing org
    KTOKK like rf02k-ktokk, "account group
    anred like lfa1-anred, "initial
    name1 like lfa1-name1, "name of vendor
    sortl like lfa1-sortl, "search term
    land1 like lfa1-land1, "country
    akont like lfb1-akont, "reconcillation a/c.
    fdgrv like lfb1-fdgrv, "planning group
    zterm like lfb1-zterm, "terms of payment key
    mahna like LFB5-MAHNA, "dunning procedure
    waers like lfm1-waers, "Purchase order currency
    END OF IT_UPLOAD.
    DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
    include bdcrecx1.
    start-of-selection.
    UPLOADING THE DATA TO IT_UPLOAD
    call function 'GUI_UPLOAD'
    exporting
    filename = 'C:\DASRR\VENDOR1.TXT'
    filetype = 'DAT'
    has_field_separator = 'X'
    HEADER_LENGTH = 0
    READ_BY_LINE = 'X'
    DAT_MODE = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    CHECK_BOM = ' '
    IMPORTING
    FILELENGTH =
    HEADER =
    tables
    data_tab = IT_UPLOAD
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    OTHERS = 17
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    *CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = 'C:/VENDOR1.TXT'
    FILETYPE = 'DAT'
    TABLES
    DATA_TAB = IT_UPLOAD.
    CALL FUNCTION 'BDC_OPEN_GROUP'
    EXPORTING
    CLIENT = SY-MANDT
    GROUP = 'SRR'
    USER = SY-UNAME.
    POPULATE INTERNAL TABL
    LOOP AT IT_UPLOAD.
    CLEAR IT_BDCDATA.
    REFRESH IT_BDCDATA.
    PERFORM POPULATE_DATA.
    CALL FUNCTION 'BDC_INSERT'
    EXPORTING
    TCODE = 'XK01'
    TABLES
    DYNPROTAB = IT_BDCDATA.
    ENDLOOP.
    *& Form POPULATE_DATA
    text
    --> p1 text
    <-- p2 text
    FORM POPULATE_DATA .
    PERFORM GETDATA USING 'X' 'SAPMF02K' '0100'.
    perform getdata using ' ' RF02K-LIFNR 'IT_UPLOAD-LIFNR'.
    perform getdata using ' ' RF02K-bukrs 'IT_UPLOAD-bukrs'.
    perform getdata using ' ' RF02K-EKORG 'IT_UPLOAD-EKORG'.
    perform getdata using ' ' RF02K-KTOKK 'IT_UPLOAD-KTOKK'.
    PERFORM GETDATA USING 'X' 'SAPMF02K' '0110'.
    perform getdata using ' ' LFA1-ANRED 'IT_UPLOAD-ANRED'.
    perform getdata using ' ' LFA1-NAME1 'IT_UPLOAD-NAME1'.
    perform getdata using ' ' LFA1-SORTL 'IT_UPLOAD-SORTL'.
    perform getdata using ' ' LFA1-LAND1 'IT_UPLOAD-LAND1'.
    PERFORM GETDATA USING 'X' 'SAPMF02K' '0210'.
    perform getdata using ' ' LFB1-AKONT 'IT_UPLOAD-AKONT'.
    perform getdata using ' ' LFB1-FDGRV 'IT_UPLOAD-FDGRV'.
    PERFORM GETDATA USING 'X' 'SAPMF02K' '0215'.
    perform getdata using ' ' LFB1-ZTERM 'IT_UPLOAD-ZTERM'.
    PERFORM GETDATA USING 'X' 'SAPMF02K' '0220'.
    perform getdata using ' ' LFB5-MAHNA 'IT_UPLOAD-MAHNA'.
    PERFORM GETDATA USING 'X' 'SAPMF02K' '0310'.
    perform getdata using ' ' LFM1-WAERS 'IT_UPLOAD-WAERS'.
    ENDFORM. " POPULATE_DATA
    *& Form GETDATA
    text
    -->P_0213 text
    -->P_0214 text
    -->P_0215 text
    FORM GETDATA USING VALUE(P_0213)
    VALUE(P_0214)
    VALUE(P_0215).
    IF P_0213 = 'X'.
    IT_BDCDATA-PROGRAM = P_0213.
    IT_BDCDATA-DYNPRO = P_0214.
    IT_BDCDATA-DYNBEGIN = P_0215.
    ELSE.
    IT_BDCDATA-FNAM = P_0214.
    IT_BDCDATA-FVAL = P_0215.
    ENDIF.

    When u use GUI_UPLOAD, U can not assign file type as 'dat'. This must be either ASC or BIN.
    Make sure  ur flat file path should correct..
    This well help u...

  • File type in Session Method

    Hi All,
    This is in the session method in the upload function....
    I am getting error"""""Unable to interpret "FILE NAME".  Possible causes of error: incorrect spelling or comma error.""""" and the code is as follows..
    TO UPLOAD FLAT FILE TO INTERNAL TABLE.
    CALL FUNCTION 'UPLOAD'
    EXPORTING
    *CODEPAGE                      =''
       FILENAME                      = 'E:\RAJASAP\SELECTIONSCREEN.TXT'
       FILETYPE                      ='ASC'
      ITEM                          = ' '
    could any one help me in this issue.
    Message was edited by:
            Rajashekhar Reddy

    Hi Rajasekhar..
    See the Changes in BOLD
    CALL FUNCTION 'UPLOAD'
    <b>EXPORTING</b>    "you have to uncomment this..
    *CODEPAGE =''
    FILENAME = 'E:\RAJASAP\SELECTIONSCREEN.TXT'
    FILETYPE ='ASC'
    ITEM = ' '
    And one more thing
    Call the FM   GUI_UPLOAD instead of UPLOAD which is Obsolete .
    <b>Reward if Helpful</b>

  • How can I display the correct enum ring value from a parameter file?

    A user will make selections based on the menu ring (there are several of these) and then the values are saved for later use as a parameter (text) file. I have several menu rings which I write out to a parameter (text) file.
    How can I take these text values back into the appropriate location in the menu ring. For example, if I have menuring_value at index 0, menuring_value at index 1, etc. how do I make sure that, when the par (text) file is loaded, the saved values are the ones displayed without erasing the displayed menu ring value and inputting the saved one (from the parameter file). I would like the text value to search the appropriate menu ring, make a match and then display that menu ring value when the parameter file is loaded.

    If I understand your question, attached VI should have solved your doubt
    In this example, Configuration File VIs are used to save & retrieve MenuRings' statuses.
    As this VI is improvised, please further modify it to suit your needs.
    Cheers!
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    GUI_Menu Ring Status Save & Retrieve.vi ‏69 KB

  • Bdc session method

    Hi all ,
    where BDC_OK  fields  will store  in which table .
    and also how to reslove the screen resolution  in bdc session method .
    Regards ,
    Kiran .

    hi
    to maintain Screen Resolution just try this
    in the BDC Program source code u will find
    include BDCRECX1 just double click on it,u can see the selection screen of BDC
    and form definitions for Open_Group ,BdcTransaction & CloseGroup,since it is a std include program
    u cannot change it so copy this to a Z include and use that Z include instead of BDCRECX1
    Then go to form BDCTRANSACTION using TCODE
    in that form Declare a workarea(eg: opt) of structure type CTU_PARAMS
    data:   messtab like bdcmsgcoll occurs 0 with header line.
    data : opt type ctu_params.
    pass the values to it
    dismode-> Processing mode (A,E,N,P)
    updmode-> Update mode (L,S,A)
    defsize-> Default Screen Size (X) to maintain Screen Resolution
      opt-dismode = ctumode.
      opt-updmode = cupdate.
      opt-defsize = 'X'.
    if session = 'X'.
        call function 'BDC_INSERT'
         exporting
           tcode                  = tcode
           ctuparams              = 'OPT'
          tables
            dynprotab              = bdcdata.
    else.
        refresh messtab.
        call transaction tcode using bdcdata options from opt messages into messtab.
    endif.
    Regards

  • Multiple values for the Parameter

    1. Had any tried the selecting MULTIPLE values for the parameter in Oracle Discoverer Plus Releae 4.1 Version 4.1.37.00.0. If so can please let me know how to implement it.
    2. In a Page-Detail Cross Tab workbook, I have to show the weighted average instead of the avg or sum. Any inputs please.
    3. I have to compare two periods (TOP) of datapoints. Any inputs please.

    If you wanted to eliminate the need for users to type in the parameter values, you could create a LOV on the desired column. This will produce a distinct list of all valid values where the user would simply select as the wish. Of course you still need to check the "let user enter multiple values" checkbox if you want them to select more than one.
    -DG

  • How can i get the all values from the Property file to Hashtable?

    how can i get the all values from the Property file to Hashtable?
    ok,consider my property file name is pro.PROPERTIES
    and it contain
    8326=sun developer
    4306=sun java developer
    3943=java developer
    how can i get the all keys & values from the pro.PROPERTIES to hashtable
    plz help guys..............

    The Properties class is already a subclass of Hashtable. So if you have a Properties object, you already have a Hashtable. So all you need to do is the first part of that:Properties props = new Properties();
    InputStream is = new FileInputStream("tivoli.properties");
    props.load(is);

  • How can i pass the Input value to the sql file in the korn shell ??

    Hi,
    How can i pass the Input value to the sql file in the korn shell ??
    I have to pass the 4 different values to the sql file and each time i pass the value it has to generate the txt file for that value like wise it has to generate the 4 files at each run.
    can any one help me out.
    Raja

    Can you please more elaberate., perhaps you should more elaberate.
    sqlplus is a program. you start it from the korn shell. when it's finished, processing control returns to the korn shell. the korn shell and sqlplus do not communicate back and forth.
    so "spool the output from .sql file to some txt file from k shell, while passing the input parameters to the sql file from korn shell" makes no sense.

  • Suppress the Default File Types dialogue, Office 2013 C2R

    Hi.
    We are doing a rather large Office 365 Proplus deployment using click-to-run via SCCM. We have the relevant group policys configured for the most part but we can't figure out how to get rid of the Default File Types dialogue box that pops up during the first
    run of any of the Office applications. It asks the user if he/she wants to use Office XML or OpenOffice document formats.
    When using the MSI-version and a custom install the administrator can answer this before creating the deployment package, but this is obviously not possible using C2R.
    We have tried to set HKEY_USERS\<user_SID>\Software\Microsoft\Office\15.0\Common\General
    /v ShownFileFmtPrompt to 1, but it doesn't work. We have also set the default file type for each application but on first run, the dialogue box still shows.
    How can we achieve a simple deployment from a user perspective? The picture below is the setting we want to configure.
    Best regards
    Joakim

    Dito. This should have been solved when Office 2013 launched and there's still no official solution?

  • When I try to same an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!

    When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
    == This happened ==
    Every time Firefox opened
    == I updated to one of the firefox versions (Not sure which one it was)

    Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.

  • Displaying different sheets at run time based on value of the parameter

    Hi,
    I've a query regarding displaying two different sheets at run time in Oracle discoverer based on the value of the parameter that i give.
    I've a parameter Summary_flag.
    If the value of the parameter is 'Y',then it should display a sheet,say for example it should display Sheet1.
    If the value is 'N',then it should display another sheet, say for example it should display Sheet2.
    Is there any way in which i can accomplish this?
    I went through the Format and Tools menus but couldnt find anything regarding this aspect.
    Can you help me out?
    Thanks,

    Having a Disco parameter dictate which worksheet is displayed is not an option that is available. There are a few workarounds, though:
    1. Have a portlet (or some other web interface) accept your parameters, and then call the appropriate worksheet.
    2. Have 2 worksheets, and have it devolve into a training issue (for a summary run this, for all the details run this).
    3. Create calculations that will show or hide column data depending on the parameter selected - the columns will still be there, and you can fill them in with blanks, or a message like "N/A for Summary".
    4. Create a report that will allow the users to drill between the summary and detail data - I'm not sure whether you could use a parameter to then say whether the report should open up summarized or expanded.

  • Problems saving values in the configuration file

    Hello,
    I'm upgrading one of my projects from VS2005 (with .NET 2.0) to VS2013 (with .NET 4.5). I have a setup project in my solution, but this is no longer supported and I have to change to InstallShield
    deployment project. With the old setup project my app runs fine, but now with InstallShield I have a problem. I install the application in this folder: C:\Program Files (x86)\CompanyName\AppName. I use .config file to read and write some parameters.
    Reading parameters goes well, but when I write new values in the .config file a get one error. When I used the old setup project, at writing time the system created new .config file in C:\Users\me\AppData\Local\VirtualStore\Program Files (x86)\CompanyName\AppName
    (this is named isolated storage, isn't it? :S).
    These are all changes I made in the solution:
    When I opened the solution with VS 2013 the migration process went well (some warnings and messages) except setup project (of course).
    I upgrade all projects to .NET Framework 4.5 (Project properties -> Application -> Target framework).
    I have intalled InstallShielld Limited Edition and added and configured the new deployment project.
    I think that these are all changes. And this is the source code where I get the exception:
    public void SetXParamValue(string value)
    try
    Configuration conf = ConfigurationManager.OpenExeConfiguration(Application.ExecutablePath);
    conf.AppSettings.Settings["XParam"].Value = value;
    conf.Save();
    catch (Exception e)
    MessageBox.Show("Error setting X param.");
    And this is the exception:
    Exception messsage:
    An error occurred loading a configuration file: Access to the path 'C:\Program Files (x86)\CompanyName\AppName\oy25i1se.tmp' is denied. (C:\Program Files (x86)\CompanyName\AppName\ExeFile 1.0.192b.exe.config)
    Stack trace:
    at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
    at System.Configuration.Configuration.SaveAsImpl(String filename, ConfigurationSaveMode saveMode, Boolean forceSaveAll)
    at System.Configuration.Configuration.Save()
    at VisualizadorCabecera.FormPrincipal.EstablecerIdioma(CultureInfo idioma)
    Inner exception messsage:
    Access to the path 'C:\Program Files (x86)\CompanyName\AppName\oy25i1se.tmp' is denied.
    Stack trace:
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean
    checkHost)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
    at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
    at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
    at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension)
    at System.Configuration.Internal.WriteFileContext..ctor(String filename, String templateFilename)
    at System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext, Boolean assertPermissions)
    at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext, Boolean assertPermissions)
    at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
    at System.Configuration.ClientConfigurationHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
    at System.Configuration.UpdateConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
    at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
    Any suggestions? I have to configure something else?
    Thank you,
    Jon.

    > "With the old setup project my app runs fine"
    Actually, I disagree.  Your configuration file is sitting alongside your application, in a directory that
    should be protected from changes by "regular" users and it's
    only running because Windows is intercepting your attempt to write under C:\Program Files* and rerouting those attempts to a "Virtual Store" location.  By the sounds of it, something your new installer is doing is [quite rightly]
    stopping this from happening (IIRC, virtualisation can be turned off for a program and, IMHO,
    should be).  
    You need to move the configuration file to a location that the user can write to (somewhere under C:\Users\username), even if you have to copy it the very first time it's needed. 
    Regards, Phill W.

  • How can I change the default "file type" in the open file dialog when using Firefox on certain web pages?

    I work for a bankruptcy attorney. We use the Court's file upload to file our documents. When I am on the Court's site and I have to pick a file to upload, the "open file" dialog box pops up. In Firefox, the default "file type" is always "image" files. I need it to be "all files". How can I change this setting?

    Two observations.
    First — "Tools-> ...." is specific to Acrobat X and XI. It did not exist prior to Acrobat X.
    Second — Acrobat 9 Pro / Standard (nor earlier release) does not support viewing a PDF page containing a scanned image and performing a right-click  ... Save Image As. 
    The context menu provided by Acrobat 9 Pro with a right-click on a scanned image is:
    The context menu,from a right-click with the TouchUp Object tool selected, for Acrobat 9 Pro is:
    So, to paraphrase what Paul Harvey used to say ... What's the rest of the story?
    Be well...

  • PDF does not remain in the Registered file types list

    I've installed Adobe Reader X. The PDF file type was not automatically associated with Adobe Reader. So, I went through the standard process of adding it to the Windows Registered file types. It does not remain in the list. I've checked the box to "Always use the selected program.....", but when I reopen the Registered File types window, PDF is not there. PDFX is there and registered to open with Adobe Reader, but not PDF.

    I forgot to mention, I'm running Windows XP SP3.

  • How do I overide the values in the text file

    I am reading a text file using loadvars, to get some values
    such as
    &yourid=123456 from the text file.
    How do I overide the values in the text file
    <PARAM NAME=movie VALUE="jamietrailer.swf?yourid=65432
    <---- this doesn't seem to work
    So I can change the values from the html file?

    I want to do this:
    # It should look like this:
    <PARAM NAME=movie VALUE= "movie.swf?text=hello">
    # Find the EMBED tag. Look for this:
    <EMBED src="/support/flash/ts/documents/movie.swf"
    # Again, replace the filename "movie.swf" with
    "movie.swf?text=hello".
    It should look like this:
    <EMBED
    src="/support/flash/ts/documents/movie.swf?text=hello"
    Is this supposed to overide the value I am reading using
    loadvars?
    or do I have to not read the value from the file if I am
    going to give it a value in html?

Maybe you are looking for

  • SAP MM certification

    Dear Experts,   Am working as an SAP Implementation and support professional for an FMCG sector for the past 2.5 years... my total experience is the same.. now planning to go for SAP certification in MM as am familiar in that area.. Am from Chennai,

  • How to use the Function module CSAI_BOM_MAINTAIN

    Hi Friends,    I want to use the FM CSAI_BOM_MAINTAIN to upload sub-items for a BOM. I also wanna make sure that the sub-items created/deleted for any line item, using this FM, must happen under the change number which i provide on the screen.   Pls

  • Printer 5512 wont print cartridges are full.

    hp 5512 printer wont print and cartridges are full says i need to replace them but they brand new.  Paper loads but not all way and doesnt feed through and stops saying needs to replace cartridges. TriXster

  • Multi language message

    For starters I know one percent about Apples, and that's only because I read a discussion about the problem I'm having. I have a powerbook G4 that has a multilingual message when I turn it on. I can hold the mouse button till it boots up and can run

  • Shockware Flash is enabled but doesn't work

    I'm running Windows 7, and I.E. 10.   I have installed the current version (11) of Adobe Flash several times, but is never recognized.   However, under "Manage Add ons" Shockwave is listed as enabled.   I have reinstalled several times with no luck.