|
-
May 1st, 2004, 07:44 AM
#1
Thread Starter
Lively Member
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?
-
May 1st, 2004, 07:54 AM
#2
Frenzied Member
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.
-
May 1st, 2004, 08:03 AM
#3
Thread Starter
Lively Member
Thanks salvelinus, any thoughts on what the problem might be?
Anyone?
What else could i try to look for?
-
May 2nd, 2004, 11:30 AM
#4
I wonder how many charact
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:
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.
-
May 2nd, 2004, 07:11 PM
#5
Thread Starter
Lively Member
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.
-
May 2nd, 2004, 07:26 PM
#6
I wonder how many charact
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.
-
May 2nd, 2004, 07:43 PM
#7
Thread Starter
Lively Member
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
-
May 2nd, 2004, 10:43 PM
#8
PowerPoster
-
May 3rd, 2004, 02:31 AM
#9
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|