What the use of piublicKeyToken in App.Config file

Hi Experts,
I'm trying to get some answers related to "piublicKeyToken" in App.Config file if its needed at all! if so do I need to change it for different WS or I can use the same key with different project?
Thanks

Anyone!

Similar Messages

  • Getting a "An error occurred while saving values to the app.config file." message

    The content of the title is just part of the message I get. The second line of the message is: "The file might be corrupted or contain invalid XML."
    I work with a lot of usercontrol libraries, and each one has 1 or 2 connection strings setup, and nothing else. I have no trouble in the code itself using the settings. Nor do I have trouble during runtime with them. But I do have the problem with every single library I work on.
    The problem occurs when I make a change to the settings in the VS IDE (2005), which I do whenever I need to the connection string to point to my test SQL server, or need to set it back to the production SQL server. The connection strings were setup in the Settings tab of the Property page for the application.
    I get the error message whenever I select the settings tab and again when I go to save it. I once tried deleting the app.config file, and recreating the settings, and the message went away until I checked it in. No one else has the problem when they get the files, but when I get then, I get the error message.
    Any ideas what may be causing this. My boss thouight it might be an addon from CodeSMART, but I uninstalled it to see if the errors would go away and it didn't.
    Thanks.
    MarshallMarshall Youngblood

    Marshall,
    I am not sure if it helps in your case, but I have the similar problem. Add foloowing lines in your app.config file  in configSections  tag.
    <
    configSections>
    <
    sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
    <
    section name="ApLibrary.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </
    sectionGroup>
    </
    configSections>
    let me know if that helps.
    Purvi Patel

  • HOw to create a Batch file for java application and whats the use of this ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    First of all, you're OT.
    Second, you can find this everywhere in the net.
    If you got a manifest declaring main class (an classpath if needed), just create a file named whatever.bat, within same directory of jar file, containing:
    javaw -jar ./WhateverTheNameOfYourJarIs.jar %*By the way, assuming a Windows OS, you can just double click the jar file (no batch is needed).
    Otherwise use:
    javaw -cp listOfJarsAndDirectoriesSeparedBySemiColon country/company/application/package/className %*Where 'country/company/application/package/' just stands for a package path using '/' as separator instead of '.'
    Don't specify the .class extension.
    Javaw only works on Windows (you asked for batch, I assumed .BAT, no .sh), in Linux please use java.exe (path may be needed, Windows doesn't need it 'cause java's executables are copied to system32 folder in order to be always available, see PATH environment variable if you don't know what I'm talking about) and use ':' as classpath (cp) separator.
    The '%***' tail is there in order to pass all parameters, it only works on Windows, refer to your shell docs for other OSs (something like $* may work).
    This way you have a command you can call to launch your code (instead of opening NetBeans just to see your app working). You could schedule tasks on it or just call it in any command prompt (hope you know what it is 'cause there have been people in this very same forum with no clue about it, if not just hold the 'Windows button' and press 'R', then type 'cmd' and run it).
    Finally add dukes and give 'hem away.
    Bye.

  • Do Apple allows the use of ''Free My Apps''?

    Do Apple allows the use of ''Free My Apps''?

    To have the definitive answer you must contact Apple.
    Apple - How to Contact Us
    As an opinion, unless they have specifically blocked it, I cannot see why not.  If it is a worthwhile program is a different matter, remember, here's no such thing as a free lunch.

  • Whats the use of 'Maximum Councurrency' in File Receiver adapter?

    Hi All,
            Whats the use of 'Maximum Councurrency' in File Receiver adapter?
    Xier

    Hello,
    Refer the  below thread and check it out my reply . I gave for JDBC adapter, but the concept is same for File/JDBC.
    Re: JDBC Adapter - One Connection prior to SP20
    Best regards,
    raj.

  • Whats is table type ? whats the use of it in abap?

    hi,
    i am ahmed abap fresher,
         i want to know what is table type and whats the use of it. at what point/situation we utilize this table type.

    Hi Ahmed ,
    Table is apart of data dictionary.
    Table is a sort of container where we store data.
    For eg. you want to store customer record in the database.Now you will store that customer record against specific fields of the applicable table.
    You can create or see table by means of transaction code se11.
    There are 3 typesof tables available in SAP ABAP:
    1. Transparent table
    2. Pool table
    3. Cluster table.
    Transparent Table:
    A physical table definition in the database for the table definition which is stored in the ABAP Dictionary for transparent tables when the
    table is activated. The table definition is translated from the ABAP
    Dictionary to a definition of the particular database.
    Pooled table:
    Pooled tables can be used to store control data (e.g. screen sequences,
    program parameters or temporary data). Several pooled tables can be
    combined to form a table pool. The table pool corresponds to a physical
    table on the database in which all the records of the allocated pooled
    tables are stored.
    Cluster table:
    Cluster tables contain continuous text, for example, documentation.
    Several cluster tables can be combined to form a table cluster. Several
    logical lines of different tables are combined to form a physical record
    in this table type. This permits object-by-object storage or
    object-by-object access. In order to combine tables in clusters, at
    least parts of the keys must agree. Several cluster tables are stored in
    one corresponding table on the database.
    See the documetation at:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f083446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
    Reward if useful ...
    Regards ,
    Shankar GJ

  • Why interface property be default final whats the use of that

    can anybody explain me
    when i declared a variable inside the interface its always public static final.
    why its static and final what the use of theat. its set of rule or it has any reason.

    Sir,
    You do not have much choice:
    From the JLS (9.3):
    "Every field declaration in the body of an interface is implicitly public, static, and final. It is permitted to redundantly specify any or all of these modifiers for such fields."
    Note from this though that you do not have to explicitly declare a field in an interface as public / static / final if you dont want to - if you leave it out the field is implicitly declared with these attributes.
    So you could wite:
    public interface SirInterface {
      public int HeIsActuallyPublicStaticFinal = 1;
    }

  • WHATS THE USE OF TABLE STRIP CONTROL AND TABLE VIEW CONTROL

    WHATS THE USE OF TABLE STRIP CONTROL AND TABLE VIEW CONTROL

    Subhash,
    You create and distribute a model in BD64. The details of that are stored in this tables.
    A model gives you the details of the sender / receiving systems and what are the message types that are getting transferred between these systems.
    Regarding the IDOC segments issue, can you explaing how are you triggering the IDOC and which message / idoc type you are dealing with.
    Regards,
    Ravi
    Note :Please mark the helpful answers
    Message was edited by: Ravikumar Allampallam

  • Whats the use of sap queries

    whats the use of sap queries

    Hi,
    http://www.sap-img.com/abap/what-is-sap-queries.htm
    http://www.informit.com/articles/article.asp?p=664660&rl=1
    def sap query
    http://help.sap.com/saphelp_bw21c/helpdata/en/f1/0a5625e09411d2acb90000e829fbfe/content.htm
    In HR
    You can use SAP Query in HR to report on HR data.
    how to create sap query
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb4145455611d189710000e8322d00/content.htm
    for maintain SAP query in HR
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb42cb455611d189710000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb455f455611d189710000e8322d00/content.htm
    If you want to create InfoSets for HR, you can use logical databases PNP, PAP, and PCH . The database you must use to create your InfoSet depends on the component in which the data you want to report on is stored.
    Creating InfoSets
    The maintenance procedure for HR InfoSets differs from the procedure described so far in this section inasmuch as HR data fields are grouped together in infotypes. To set up an InfoSet for the HR application, proceed as follows:
       1. On the initial screen for maintaining InfoSets, enter a name for the InfoSet and choose Create.
       2. On the next screen, enter a name for the InfoSet and select one of the HR logical databases in accordance with your reporting requirements.
    Customer infotypes can be created on all HR logical databases. In each individual case, therefore, you must decide which database to select so that you can report on customer infotypes.
    This screen enables you to enter an authorization group. All of the queries that are subsequently created using this InfoSet can only be executed by persons who have this authorization group.
       3. Choose .
    This takes you to the Infotype Selection for InfoSet  screen. You now have the option of creating field groups and assigning fields as required for non-HR InfoSets. Field groups that correspond to infotypes and already contain fields, however, are always created for HR InfoSets. The field groups are displayed in an overview tree in the top right section of the screen.
    The infotypes that you included in the InfoSet are displayed in an overview tree on the left of the screen. The infotype fields that are already included in field groups are displayed in a different color, and the field group ID is displayed.
    In the standard system, a field group is created automatically for each infotype that you included in the InfoSet (a field group corresponds to an infotype).
    In the standard system, each field group contains the infotype-specific fields. To ensure that working with the InfoSet is as easy as possible, you are advised to restrict your use of fields in each field group to those you really require. This means you should remove fields that are not required.
    An infotype's fields must only be assigned to the pertinent field group. Make sure this assignment is correct. If the assignment is incorrect, the InfoSet could be rendered unusable.
    When an InfoSet is created, the following fields are transferred automatically to the first field group:
    Logical database PNP Personnel number
    Logical database PAP Applicant number
    Logical database PCH Object ID, plan version, and object type
       6. Determine the fields that must be included in the field groups of your InfoSet. If you require further information, see
          Assigning Fields to a Field Group.
    If you want, you can change the default sequence of field groups and fields as required using drag & drop.
       7. To save the InfoSet, choose .
       8. To generate the InfoSet, choose .
          On the Change InfoSet (InfoSet name) screen, you can choose Edit ® Change infotype selection to add more infotypes to the InfoSet, or to remove infotypes from the InfoSet. Remember to regenerate the InfoSet afterwards.
          This screen also enables you to update InfoSets if, for example, the system contains new additional fields for specific key values. To do so, choose InfoSet ® Additional functions ® Update additional HR fields.
       9. Go back to the initial screen for InfoSet maintenance.
      10. Choose User group assignment.
      11. Select a user group, and save your entry.
    Please reward points.

  • Whats the use of assigning price list to site

    hi ,
    Why we assign price list in site (wb01) merchandise category?is that price list the same which i assign in "assign pricing type/reference site to organisational levels" in sales price calculation.explain me whats the use of assigniing the price list in siter(wb01) merchandise category which we will find on the top screen inside the site master
    regards
    krish

    Hi Krish
    Price list are assigned to article through MC at site master, no where else we define price list with article. When you run WPMA to transfer article price to stores, system will look at assigned price list with MC at site master then transfer the price.
    Price list assign at organisational level will help system to find which pricing procedure to be used and which store Net purchase price to be taken for calculation.
    Best Regards
    Swami

  • Whats the use of TC we16

    Hi all
    whats the use of TC we16 ?
    K S GREWAL

    Grewal,
    This is the inbound testing tool for IDoc files. Enter the path and file name for the IDoc file and the File Port set up to bring it in. Make sure it matches the File Port used in the Partner Profile for your Partner and IDoc Message Type.
    So I would recommend to run only in DEV.
    ---Satish

  • Whats the use of doget and dopost

    hi
    whats the use of doget and dopoast when same work can be done by sevice alone?
    Message was edited by:
    pooja_k_online

    Try looking at the Tomcat implementation of HttpServlet.service() method. I have pasted it below, if you look at the service() method all it does is to check for the method and call the appropriate method. It is not recommended to override the service method. It is a good practice to only override the getXXX() methods.
    protected void service(HttpServletRequest req, HttpServletResponse resp)
    throws ServletException, IOException
    String method = req.getMethod();
    if(method.equals("GET"))
    long lastModified = getLastModified(req);
    if(lastModified == -1L)
    doGet(req, resp);
    } else
    long ifModifiedSince = req.getDateHeader("If-Modified-Since");
    if(ifModifiedSince < (lastModified / 1000L) * 1000L)
    maybeSetLastModified(resp, lastModified);
    doGet(req, resp);
    } else
    resp.setStatus(304);
    } else
    if(method.equals("HEAD"))
    long lastModified = getLastModified(req);
    maybeSetLastModified(resp, lastModified);
    doHead(req, resp);
    } else
    if(method.equals("POST"))
    doPost(req, resp);
    else
    if(method.equals("PUT"))
    doPut(req, resp);
    else
    if(method.equals("DELETE"))
    doDelete(req, resp);
    else
    if(method.equals("OPTIONS"))
    doOptions(req, resp);
    else
    if(method.equals("TRACE"))
    doTrace(req, resp);
    } else
    String errMsg = lStrings.getString("http.method_not_implemented");
    Object errArgs[] = new Object[1];
    errArgs[0] = method;
    errMsg = MessageFormat.format(errMsg, errArgs);
    resp.sendError(501, errMsg);
    }

  • What the "use JSP presentation" check box does?

    Can someone tell me what the "use JSP presentation" check box does? (can't find any documentation)
    When I set "Implementation type" to "BPM Object Interactive Call' if a check "use JSP presentation" instead of "Use BPM Object Presentation" and I enter a JSP name can I cause the process to start a JSP ?

    Hello,
    The option is intended to use a JSP instead of a form for a BPM Object interactive call. This means that you have to prepare your custom JSP, add a special tag library provided by Fuego and "mark" your html tags deciding which of them will become the attributes for the instance of your BPM Object.
    Whitin the page you can also call some methods of your objects.
    Finally you can post back the data and automatically update your object in the process. There is no much documentation and it's even quite old. Take a look here: [http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/taglib/index.html]
    The JSP will be shown as a normal interactive activity popup window. You can customize it as you like, even adding some client side script.
    HTH
    G

  • To use remote App.config file fails in Windows 8

    I want to read app.config from the remote server on my NET 3.5 application.
    For example, I'm updating "APP_CONFIG_FILE" to set remote app config like the below code.
    It works fine on Windows 7 or previous windows version.
    But on windows 8, the program is being in no-response stage(like kind of deadlock) when calling ConfigurationManager.AppSettings. There is no error message here and I have to kill the process manually by using Task manager.
    I'll appreciate for any suggestion or comment.
    static class Program
    [STAThread]
    static void Main()
    AppDomain.CurrentDomain.SetData("APP_CONFIG_FILE", "http://xxxx/app.exe.config");
    MessageBox.Show(ConfigurationManager.AppSettings["HelpFile"]);
    Thanks

    Hello momo898,
    >> But on windows 8, the program is being in no-response stage(like kind of deadlock) when calling
    I suggest that you could follow this blog below to find the detail caused reason:
    http://blogs.msdn.com/b/tess/archive/2006/10/16/net-hang-debugging-walkthrough.aspx
    Regards.
    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.
    Click
    HERE to participate the survey.

  • Whats the use of having pragma autonomous transaction

    Hii All,
    The below is the procedure developed by our predecessors.We are making use of this for writing our debug messages.
    I'm aware of pragma autonomous transaction ,this allows my code to run independently of the calling program.
    But here we are just using utl_File and we are neither using any DML(Inserting error messages into a table) or DDL statements in the below code.
    What is real use of having pragma autonomous transaction.???This code is working in the same way even without the pragma...I dont' find any difference .
    Please let me know the use of having pragma autonomous transaction in the below procedure and where it actually comes into usage.
    Create or replace Procedure logmesg
    p_file_name          in          varchar2,
    p_mesg_text          in          varchar2,
    p_dir_path          in          varchar2 default fn_get_debug_path,
    p_file_ext          in          varchar2 default 'log',
    p_append_flag     in          varchar2 default 'Y'
    ) Is
              pragma autonomous_transaction;
              l_utl_file                    utl_file.file_type;
              l_append_flag               varchar2(1);
              l_mesg_text                    varchar2(32000);
              l_file_name                    varchar2(3000);
              l_dir_path                    varchar2(32000);
              l_delimeter_occurance     number;
              l_buffer_str               varchar2(32000);
    Begin
              if trim(p_dir_path) is null then
                   l_dir_path     := fn_get_debug_path ;
              else
                   l_dir_path := p_dir_path;
              end if;
              l_mesg_text := p_mesg_text;
              l_append_flag := nvl(p_append_flag,'Y');
              l_file_name     := p_file_name||'_'||to_char(sysdate,'ddmmyyyyhh')||'.'||p_file_ext;
              l_append_flag := Case     l_append_flag
                                       When 'Y' then 'a'
                                       When 'N' then 'w'
                                   End;--l_append_flag
              Begin
                   l_utl_file := utl_file.fopen(l_dir_path,l_file_name,l_append_flag);
              Exception
                   When Others Then
                        l_utl_file := utl_file.fopen(l_dir_path,l_file_name,'w');
              End;
              if dbms_lob.getlength(l_mesg_text) > 32000 then
                   loop
                        exit when dbms_lob.getlength(l_mesg_text) < 32000;
                        l_delimeter_occurance := dbms_lob.instr(l_mesg_text,chr(32),1,1);
                        l_buffer_str := dbms_lob.substr(l_mesg_text,l_delimeter_occurance-1);
                        utl_file.put_line(l_utl_file,l_buffer_str);
                        l_mesg_text := dbms_lob.substr(l_mesg_text,l_delimeter_occurance+1);
                        utl_file.fflush(l_utl_file);
                   end loop;
              end if;
              utl_file.put_line(l_utl_file,l_mesg_text);
              utl_file.fflush(l_utl_file);
              utl_file.fclose(l_utl_file);
    End logmesg;
    /Here

    Please let me know the use of having pragma autonomous transaction in the below procedure and where it actually comes into usage.Seems it is redundant in that procedure, and doesn't add any value, since the procedure isn't doing anything 'transactional'.
    I would remove it.

Maybe you are looking for

  • Error while generating Work Order

    I have a problem while generating Work orders in SNC. I set the configuration as belows. <General setting for Work Order generation> 1.Granularity -> Work Order per Purchase Order Item 2.Create WOs with Report -> Check 3.Publish Work Order Upon Creat

  • "The message could not be moved to Trash

    When I try to delete messages I get message "The message could not be moved to Trash" Any way to resolve this? Thanks  Ken

  • Macbook wont charge

    Hello again I'm going to try my luck again for asking for help here I'll try to keep it short and simple. What's Wrong With My Mac??? It won't charge or show the led color on the charger. The battery indicator flashes. "don't know what it means thoug

  • In Captivate 7.0.1, where are the js files for HTML5 publishing stored?

    In CP6, they were located here: C:\Program Files\Adobe\Adobe Captivate 6 x64\HTML\assets\js But in CP 7.0.1, that directory is blank. Does anyone know, for example, how I could edit the default code that generates CPM.js ?

  • Importing Multilanguage Translations with DTW

    Hi, My issue is to import multilanguage translations with DTW. The import itself works fine, the problem is to update. The scenario is: - some translations to an item A were imported - now there are some translations in other languages, that should b