Results 1 to 9 of 9

Thread: Program crashes on second computer

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    105

    Program crashes on second computer

    Hi All

    I just finished writing a program and it works ok on my laptop without any problems but when i run it on my desktop i get an error on startup saying Initialization error 0xc0000135 and then it terminates.

    Anyone have any idea on what could be wrong? Both computers are XP. Although the desktop is a newer version of XP as the look is a bit different compared to the laptop.

    How do you check that the .NET framework is the same, where abouts is the version located?

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950
    Can't recall offhand where you manually check for the .Net framework version, I know it's pretty simple though.
    Anyway, I think you can set the install file check for it.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    105
    Thanks salvelinus, any thoughts on what the problem might be?

    Anyone?

    What else could i try to look for?

  4. #4
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Salvelinus is implying your other XP machine has a different .Net framework version.

    You could make simple windows app that displays the framework version of the machine..

    VB Code:
    1. Messagebox.Show(System.Environment.Version.ToString)

    If the two are different then perhaps you have used a deprecated function from the 1.0 framework, or in this scenario, more likely you developed in the 1.1 framework, and the other machine only has the 1.0 framework.

    If they are different, check here:
    http://www.gotdotnet.com/team/change...1/default.aspx

    My personal guess is the other machine's framework is not 100% installed or configured properly. If the above code says both are the same, you may want to reinstall the framework on the other machine.
    Last edited by nemaroller; May 2nd, 2004 at 11:40 AM.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    105
    Ahhh...thats what i wanted nemaroller, thanks.

    I'm infact still on Framework 1.0 as i have VS 2002 and someone
    said you cant use VS2002 with the 1.1 Framework? so i've stayed with 1.0

    I'll do a little quick and dirty with your code so i can see what version is on the desktop.

    By the way, it's more likely that the desktop has 1.1 as it is the newer computer. I only bought it back in late november.

    EDIT:

    AAAGGGHHHH! Forget what i just wrote above. It wont work as the program wont run on the desktop, as it will crash!
    Original question still stands.....where can i find the .NET Framework version so i can check. Where is it stored?
    Last edited by Wallabie; May 2nd, 2004 at 07:17 PM.

  6. #6
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    There's a registry key that exists, but the two easiest ways to tell is to:

    1) Open Control Panel...Add/Remove programs... and see if either one or both frameworks exist.
    Microsoft .Net Framework v1.03705
    and/or
    Microsoft .Net Framework v1.1

    2) Control Panel... Administrative Tools...

    Inside Administrative tools, depending on the existence of installed frameworks, you will either see:

    Microsoft .Net Configuration

    and/or

    Microsoft .Net Configuration 1.1


    The former being version 1.0 (which isn't labeled 1.0), the latter being 1.1.
    Last edited by nemaroller; May 2nd, 2004 at 07:29 PM.

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    105
    Yes! excellent, thank you nemaroller.

    I knew it had to be somewhere simple...DOH!

    I have version 1.03705 on the laptop and there's nothing at all in on the desktop, so it looks like the framework isn't even installed
    Thank you

  8. #8
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    That would do it...lol.

  9. #9

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    105
    lol, yup

    You would think on a new machine it would have been installed automatically, wouldn't you

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