C# .net APP--pls help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    C# .net APP--pls help

    Hi ,all
    I have an App in CSharp which works fine on my computer,
    when i try to run this exe on my friend 's computer(he have
    already installed the .net Framework 1.1 .) it show me
    an err.have the fellowing err msg:
    ///////
    " the key datagrid1.Allow Sorting' does exist in......."
    ///////
    thank u in advance !



  • Bruce Wood

    #2
    Re: C# .net APP--pls help

    You will need to post the full text of the error message, as well as
    the part of the code where the error is happening. Without both the
    full error message and the C# code we won't be able to give any useful
    advice.

    Comment

    • Richard Blewett [DevelopMentor]

      #3
      Re: C# .net APP--pls help

      Sounds as if the datagrid is using dynamic properties (the values are loaded from a config file) and the value for AllowSorting (and probably the rest of them) are not in the config file - or the config file doesn't exist at all.

      If your application is called prog.exe, there will be a file called prog.exe.config on your machine. Make sure you copy the application config file into the same directory as the executable on your friends machine

      Regards

      Richard Blewett - DevelopMentor



      Hi ,all
      I have an App in CSharp which works fine on my computer,
      when i try to run this exe on my friend 's computer(he have
      already installed the .net Framework 1.1 .) it show me
      an err.have the fellowing err msg:
      ///////
      " the key datagrid1.Allow Sorting' does exist in......."
      ///////
      thank u in advance !

      Comment

      • Guest's Avatar

        #4
        Re: C# .net APP--pls help

        Ok,thank u 4 ur reply!


        "Richard Blewett [DevelopMentor]" <richardb@NOSPA Mdevelop.com> wrote in
        message news:eYFbWMbZFH A.2520@TK2MSFTN GP09.phx.gbl...[color=blue]
        > Sounds as if the datagrid is using dynamic properties (the values are
        > loaded from a config file) and the value for AllowSorting (and probably
        > the rest of them) are not in the config file - or the config file doesn't
        > exist at all.
        >
        > If your application is called prog.exe, there will be a file called
        > prog.exe.config on your machine. Make sure you copy the application config
        > file into the same directory as the executable on your friends machine
        >
        > Regards
        >
        > Richard Blewett - DevelopMentor
        > http://www.dotnetconsult.co.uk/weblog
        > http://www.dotnetconsult.co.uk
        >
        > Hi ,all
        > I have an App in CSharp which works fine on my computer,
        > when i try to run this exe on my friend 's computer(he have
        > already installed the .net Framework 1.1 .) it show me
        > an err.have the fellowing err msg:
        > ///////
        > " the key datagrid1.Allow Sorting' does exist in......."
        > ///////
        > thank u in advance !
        >[/color]


        Comment

        Working...