columns order off in farpoint on one computer

Posted by: parez81-fp on 8 September 2017, 1:10 pm EST

  • Posted 8 September 2017, 1:10 pm EST

    Hi,

    I have a situation where column order is effed up on one particular compter.
    I am  using farpoint 4.0  One difference that I have noticed is that .. that computer does not have .net 3.5. Am trying to get it installed but its going to take some time.
    But 4.0 documentation does not specify that 3.5 is needed.
    It says  for

    <span id="pagetitle">Development Requirements</span>:

      The release version of the Microsoft .NET 2.0 Framework (or higher).

    <span id="pagetitle">Deployment Requirements</span>
    You must have the Microsoft .NET Framework installed.


    Please help...
  • Replied 8 September 2017, 1:10 pm EST

    Check the version of the spread dll in your project.  The one built on the 2.0 framework is 4.0.2001 and the one built on the 3.5 framework is 4.0.3501.
  • Replied 8 September 2017, 1:10 pm EST

    HOw can i check which version am i using?
  • Replied 8 September 2017, 1:10 pm EST

    parez -

    If you are using the SpreadWin4 for dotNet35 then you would need the 3.5 framework.
  • Replied 8 September 2017, 1:10 pm EST

    Hi,

    i can see the data coming into both the computers. it is coming in as XML and we have  Log where we can see it. Both the xmls are same..



  • Replied 8 September 2017, 1:10 pm EST

    I have 4.0.2001.2005
  • Replied 8 September 2017, 1:10 pm EST

    Then it should be working.  Are there any other issues with spread on that particular machine?  Could you attach a screenshot of what you are seeing?
  • Replied 8 September 2017, 1:10 pm EST

    No that is the only problem we have seen so far. I have attached 2 screenshots. One of them is from a working machine..
    Its not only a display issue. If we try to access a column by  index, it is still off..




  • Replied 8 September 2017, 1:10 pm EST

    Heres a good one..


  • Replied 8 September 2017, 1:10 pm EST

    I'm at a complete loss on this one unless you are bound and the database is getting corrupted or the fields are in a different order on the other machine.
  • Replied 8 September 2017, 1:10 pm EST

    Yes,

    I could replicate the issue in the demo project.

    On a computer with .net 3.5 installed, the order of columns is

    A,B,C,D,E,F,G,H,I,J,K.......... along withs its corresponding data.

     But on a computer with only .net 2.0 the order of columns is off..One thing i remember is that A was the 5th or 6th column.
    I cannot attach the screenshots because i already upgrade the machine for my demo. I will have to talk to IT and see if them can give me access to a PC with only 2.0.

    I have been able to verify that no 3.5 causes the columns to be off.The problem is fixed after i installed 3.5.

    How did you run your demo? Also my application is configured as 3.0 application( i dont think that should make any difference)

    What was the order of columns that you got?
     

  • Replied 8 September 2017, 1:10 pm EST

    Hello,


     I got the order of the columns in the correct order, but the 3.5 framework is on the computer. Do you just have the 2.0 framework or do you also have the 3.0 framework? I did not know generic lists were supported in the 2.0.

  • Replied 8 September 2017, 1:10 pm EST

    Hello,


    Does the same issue happen with the demo project you sent? I have not been able to reproduce the issue you are seeing. The only thing I can think is happening is you have DataAutoHeadings turned off and you are filling data in to the headers different than the data area. Or you are moving columns. Neither of these things are being done in the small project you sent. And you should see the same behavior no matter the framework that is installed on the computer.


    If you are building the project against the 2.0 framework, then having the 3.5 version of the framework installed should not cause any issue to a project running on the 2.0 framework. Can you send the screenshot of the columns being off running this new project?

  • Replied 8 September 2017, 1:10 pm EST

    Hi,

    Installing 3.5 version fixed the problem on that computer. And some of the machines that I mite have to deploy the application to will not have 3.5 installed
  • Replied 8 September 2017, 1:10 pm EST

    If you installed the 3.5 framework and you are using 4.0.2001 and after installing the framework this started working then there is something very wrong.  Could you post a small project that reproduces this so we can run it on a machine that only has the 2.0 framework and if it the display issue shows up we can install the 3.5 framework and if it then works we can track down the issue.  By default a project compiled with 4.0.2001 should not need the 3.5 framework to work.
  • Replied 8 September 2017, 1:10 pm EST

    Hi Bob,

    Right now I dont have access to a machine without the 3.5 framework. So i will not be able to make sure i can replicate the issue.i will upload a project as soon as i can...


  • Replied 8 September 2017, 1:10 pm EST

    Hi,

    This is still happening. I had completely forgotten about it. I was setting up a  demo machine. The columns were off again. And the machine didnt have 3.5.

    Anyways, I was able to replicate the problem. Run the project on 2.0 and 3.5 and you will see the difference.

     

    Thanks. 


    2008/06/DemoForFarpoint.zip
  • Replied 8 September 2017, 1:10 pm EST

    Hello,


    I tested running the executable compiled with this demo project on a computer with the 2.0 framework as the latest version of the .NET framework installed. I was not able to reproduce the issue. Did your test machine with the 2.0 framework have any of the Service Packs installed. The computer I was testing had SP1 installed of the 2.0 framework.


    If you can get back to the 2.0 framework only computer to test, could you test binding your generic list to the GridView control as well to see if it displays correctly or not?

  • Replied 8 September 2017, 1:10 pm EST

    Generics were introduced in 2.0 framework, and the computer didnt  have 3.0 when i ran it.

    My applications is set as  3.0 application  but i dont use any of the 3.0 features so basically it is a 2.0 application.

     

    You will have to try  on a machine that only has 2.0 or if it works on machine with 3.0 I will still be a happy man.. 

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels