Results 1 to 12 of 12

Thread: [RESOLVED] problem with .net version

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2010
    Posts
    87

    Exclamation [RESOLVED] problem with .net version

    hi guys.
    sorry but i have to explain all these for you maybe you can tell me what am i doing wrong

    here is the story:
    i made a program a month ago and i gave it to the customers.
    recently they report some bugs and i fixed them. when i send the new version installer to them, they have some problems running it.


    and here is the history :
    i used vs 2008 to write it, but i removed vs 2008 and installed vs 2010 last week. when i opened my project to start fixing program bugs it asked for convert wizard so i did it.
    i made changes and build it. i use installshield and i add framework 3.5 Sp1 as a prerequisites.

    note : i was using inno setup first time. so i changed the installer too.

    so i tried installing the program on my machine.
    i just noticed that i have only .net framework 4 installed my own system. so i have no idea how the program runs without any problems on my own system. i have even tried installing it on another machine who had framework 3.5. it it work on that too.

    the error shown on customers machines is related to framework version. everytime i send them a new version they have some problem installing/running it.
    i am really confused i don't know which step i did wrong.

    these are the things that i want to ask:
    1.does the convert wizard which i did, changes my application framework version from 3.5 to 4 ?
    2.is there a difference between framework 3.5 and 3.5 sp1 ?
    3.does .net framework 4 include 3.5 ? if not, how is that possible the application worked on my system ?
    Last edited by xperator; Jan 13th, 2011 at 01:28 PM.

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: problem with .net version

    If you were targeting 3.5 before, you should be targeting 3.5 afterwards. I have converted several projects without issue, though now that I think about it, they might have all been 2.0 projects, but I think I converted some 3.5 projects.
    My usual boring signature: Nothing

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: problem with .net version

    all that was converted was the VS version in the solution file... it converted it from a VS2008 to VS2010 ... the targeted framework 3.5 was left unchanged.

    As for what's going wrong, who knows? We don't know what the error message is.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: problem with .net version

    It sounds like an installation problem to me. Some packages automatically install the necessary framework, but I haven't used the one in question.
    My usual boring signature: Nothing

  5. #5
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: problem with .net version

    Quote Originally Posted by xperator View Post
    hi guys.
    sorry but i have to explain all these for you maybe you can tell me what am i doing wrong

    here is the story:
    i made a program a month ago and i gave it to the customers.
    recently they report some bugs and i fixed them. when i send the new version installer to them, they have some problems running it.


    and here is the history :
    i used vs 2008 to write it, but i removed vs 2008 and installed vs 2010 last week. when i opened my project to start fixing program bugs it asked for convert wizard so i did it.
    i made changes and build it. i use installshield and i add framework 3.5 Sp1 as a prerequisites.

    note : i was using inno setup first time. so i changed the installer too.

    so i tried installing the program on my machine.
    i just noticed that i have only .net framework 4 installed my own system. so i have no idea how the program runs without any problems on my own system. i have even tried installing it on another machine who had framework 3.5. it it work on that too.

    the error shown on customers machines is related to framework version. everytime i send them a new version they have some problem installing/running it.
    i am really confused i don't know which step i did wrong.

    these are the things that i want to ask:
    1.does the convert wizard which i did, changes my application framework version from 3.5 to 4 ?
    2.is there a difference between framework 3.5 and 3.5 sp1 ?
    3.does .net framework 4 include 3.5 ? if not, how is that possible the application worked on my system ?
    Why did you remove VS2008 in the first place? Why not just run 2008 & 2010 on your machine?

    This is why when you start a project, you generally should keep that project in the version of VS that it was created in, unless there's some reason that you HAVE to upgrade it to the next VS.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  6. #6
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: problem with .net version

    what references are you using in the project ?

    you might wanna replace them
    also maybe the clients sould install .net framework 4

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Oct 2010
    Posts
    87

    Re: problem with .net version

    Quote Originally Posted by techgnome View Post
    all that was converted was the VS version in the solution file... it converted it from a VS2008 to VS2010 ... the targeted framework 3.5 was left unchanged.

    As for what's going wrong, who knows? We don't know what the error message is.

    -tg
    i asked them for a screenshot on error details so i will post it later.

    Why did you remove VS2008 in the first place? Why not just run 2008 & 2010 on your machine?

    This is why when you start a project, you generally should keep that project in the version of VS that it was created in, unless there's some reason that you HAVE to upgrade it to the next VS.
    well i upgraded my windows xp to seven. but i have a backup of orginal project on vs 2008 files.

    what references are you using in the project ?

    you might wanna replace them
    also maybe the clients sould install .net framework 4
    the application was targeted .net framework 3.5!
    i have to put the 3.5 version as a prerequisite in the installer, shouln't i?
    do you mean if only .net framework 4 is installed on their machine, the 3.5 applications can work ?

  8. #8
    Addicted Member vb_ftw's Avatar
    Join Date
    Dec 2010
    Posts
    139

    Re: problem with .net version

    if i were u i would find out what O/s the customer is using and then create a virtual machine of that O/S and test it myself with different versions of the framework starting with the 3.0 or 3.5 and then upgrading and testing...

    just a suggestion
    hope this helps..

  9. #9

    Thread Starter
    Lively Member
    Join Date
    Oct 2010
    Posts
    87

    Re: problem with .net version

    ok it seems the problem is fixed. they installed .net framework 3.5 (not sp1) on their machine and the program runs perfectly.

    this is such a stupid thing about framework versions. isn't .net framework 3.5 sp1 suppose to include framework 3.5 ?

    thank you guys.
    Last edited by xperator; Jan 14th, 2011 at 01:10 AM.

  10. #10
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: [RESOLVED] problem with .net version

    so i was right, therefore please rate my post

  11. #11
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: [RESOLVED] problem with .net version

    Quote Originally Posted by moti barski View Post
    so i was right, therefore please rate my post
    dude... man, that's just uncool. Show some tact man. Post get rated because someone wants to... it's not an obligation.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  12. #12
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: [RESOLVED] problem with .net version

    dude sorry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width