Welcome, Guest

Author Topic: .NET framework 4.0 with steam (Error)  (Read 33205 times)

eternity

  • *
  • Posts: 7
.NET framework 4.0 with steam (Error)
« on: May 28, 2011, 03:59:38 PM »
Hi universe sandbox,

Since I bought and installed universe sandbox from steam... I got an critical error when I wanted to start the game. A message appeared and said : « SetupUBOXassociation.exe - Initialisation Error of .NET framework 4.0 ». I installed the game, and when it asked to restart the computer. I restarted it. But after re-trying to start the game, I got always the same problem. I checked some thread about this problem.. and i dont find anything that can help me. I tryed to uninstall and re-install and it doesnt work.

It is really frustrating.. Also, I find a thread but we need to check the log error... But in %temp% folder.. I cant find the "log" file... I dont know what the log file it is called... I have 3 XML files and one with firefox.

EDIT: All my drivers is up-to-date, and my windows update too... ( But not the linguistic update, dont need it and it is optional.. but all the rests are up to date )

EDIT2: I just find the log of .NET framework. I checked the latest log and it says.. No error.. But when I try to start the game.. it is the "SetupUBOXassociation.exe that cant be installed... because it can initialise the .NET framework 4.0"..

Help me  ???

Thanks for your help.
« Last Edit: May 28, 2011, 05:18:32 PM by eternity »

Slyder73

  • **
  • Posts: 10
Re: .NET framework 4.0 with steam (Error)
« Reply #1 on: May 28, 2011, 07:15:53 PM »
I have posted in a similiar thread a few down.  I am experiencing the same problem.  A .net error and my .net is updated to what it is asking for etc etc.  Also Steam.  I've also ran the diagostics and tried all the suggestions on various threads and ran two different check and verify programs....still nothing. 

eternity

  • *
  • Posts: 7
Re: .NET framework 4.0 with steam (Error)
« Reply #2 on: May 28, 2011, 08:17:00 PM »
It look like the problem is the "SetupUBOXassociation.exe" that cant read the .NET framework 4.0 because my .NET is all right if I check the log. It is very frustrating paying for a game that doesnt work. I hope to have a good answer to my problem.. I searched for the UBOX setup on google and it doesnt exist.


Triplanetary

  • *
  • Posts: 6
Re: .NET framework 4.0 with steam (Error)
« Reply #3 on: May 29, 2011, 01:35:59 PM »
If I were you, I would try uninstalling .NET 4.0 and then starting the game and letting Steam install .NET 4.0 itself. I can't guarantee that'll work, but it seems worth a shot.

Slyder73

  • **
  • Posts: 10
Re: .NET framework 4.0 with steam (Error)
« Reply #4 on: May 29, 2011, 02:30:46 PM »
I have tried that.  No luck.  The .NET installs correctly, to the version I already have but when I try to start the game the same error box comes up saying I need that version.

eternity

  • *
  • Posts: 7
Re: .NET framework 4.0 with steam (Error)
« Reply #5 on: May 29, 2011, 07:52:37 PM »
I have already tryed to install it from the steam.. It is not working.... I asked a friend and he said : format the computer, it will probably fix the problem... Because with the .NET verifier i have 4-5 keys not installed correctly and 4 DLL missed up...

So what do you think about it guys.

Slyder73

  • **
  • Posts: 10
Re: .NET framework 4.0 with steam (Error)
« Reply #6 on: June 01, 2011, 10:50:36 PM »
I sent the logfiles to Dan via another thread on the Steam forums regarding the same issue with .net.
Turns out my .net, even though working correct, installed correct and verified to version 4.xxxx.

Here is the text of what the reply to me was on that forum.  The question to report to him what version of the .dll file I had was correct, my version for some reason is still 2.0.50727.4927.  This is suggested as the source of the issue.  
If I can figure out how to update that file or fix my windows to fix that file I will update.
Reply text below;
______________________________________________________________
Which means that even though .NET 4 installed without reporting any errors, there's something wrong with your system configuration.

It looks like this might be because:
"The file %windir%\system32\mscoree.dll and/or %windir%\syswow64\mscoree.dll has a file version of 2.0.* instead of 4.0.* (and you have rebooted your computer after installing the .NET Framework 4 to make sure that any files that were in use during installation have had a chance to be updated)."

Can you find the mscoree.dll file here: %windir%\system32\
... and report back with what version it is?

This page gives the most detailed info about this problem:
http://blogs.msdn.com/b/astebner/arc.../10110053.aspx
... unfortunately there's no easy solution.

They suggest a windows repair or using the System Update readiness tool:
http://support.microsoft.com/kb/947821

---

Fixed URL [Dan]
« Last Edit: June 02, 2011, 10:48:46 AM by Dan Dixon »

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: .NET framework 4.0 with steam (Error)
« Reply #7 on: June 02, 2011, 10:47:30 AM »
I asked about just replacing the file on the page that details the problem:
http://blogs.msdn.com/b/astebner/archive/2010/12/29/10110053.aspx

He said you can try to just replace the file, but that this won't fix the fundamental problem with your copy of Windows. As a short term fix to get Universe Sandbox working, this is definitely worth trying.

---

I've attached both copies of mscoree.dll from my copy of Windows 7, although since Universe Sandbox is not 64bit, I suspect you won't need the 64bit version of the mscoree.dll file.

Make a backup copy of the existing files (so you can revert your changes just in case).

Let me know if it works and lets you launch Universe Sandbox.
« Last Edit: June 02, 2011, 10:56:09 AM by Dan Dixon »

eternity

  • *
  • Posts: 7
Re: .NET framework 4.0 with steam (Error)
« Reply #8 on: June 02, 2011, 04:16:30 PM »
The file in %windir%\system32\mscorree.dll is version 2.....

but when I want to paste the version 4... it says : You need administrator access wich i'm the administrator... How I can replace it?

I saw on a forum, that we cant because it's in use and it's to prevent damage on system32... so how can i do?

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: .NET framework 4.0 with steam (Error)
« Reply #9 on: June 02, 2011, 04:54:50 PM »
You need to open an Explorer window as an Administrator (right-click a Windows Explorer shortcut and select "Run as Administrator").

Copy the file over the existing file from that window.

eternity

  • *
  • Posts: 7
Re: .NET framework 4.0 with steam (Error)
« Reply #10 on: June 02, 2011, 05:12:50 PM »
I openned a explorer window... I copy the mscoree.dll on the c:\windows\system32... It ask do you want to continue... I said "yes"... after it says... you cant modify system32 folder... you need admnistrator access... you want to retry or cancel.

etc... it is not working at all...
« Last Edit: June 02, 2011, 05:17:54 PM by eternity »

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: .NET framework 4.0 with steam (Error)
« Reply #11 on: June 02, 2011, 05:36:22 PM »
Did you open the Explore window from a shortcut as an Administrator?

eternity

  • *
  • Posts: 7
Re: .NET framework 4.0 with steam (Error)
« Reply #12 on: June 02, 2011, 05:42:19 PM »
I guess, it is in my desktop... name is : Windows explorer (shortcut)... I right click... select : run as admnistrator...
I go in downloaded folder.. copy the mscoree.dll... I go on C:\windows\system32... and paste it... i choose : "Continue" and it open a common error.. saying ... you can paste file on system32.. you need admin. permission... and it ask : retry or cancel...

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: .NET framework 4.0 with steam (Error)
« Reply #13 on: June 02, 2011, 08:50:13 PM »
This is harder to do than I thought:

Perform these steps at your own risk and only if mscoree.dll is v2 and .NET 4 seems to correctly install.


See the previous posts in this thread for how to open Explorer as an Administrator and for the mscoree.dll files.



Open the Explorer window as an administrator like before (maybe this is an optional step, do it just to be sure):

In that window, go to C:\Windows\System32

Right click on mscoree.dll and select 'Properties'
Click Security tab
Click the Advanced button
Click the Owner tab (TrustedInstaller is the current owner)
Click the Edit button
Select 'Administrator' from the "Change owner to:" list
Click OK button
(A security message will appear)
Click OK to close security message
Click OK again

(you should be back at mscoree.dll Properties)
Click Edit button
Select Administrators from the "Group or user names:" list
Select the "Full control" checkbox under Permissions
Click OK button
(There will be security message.)
Click Yes
Click OK to close mscoree.dll Properties

Now try to copy over the mscoree.dll v4 file.

And then after that works. Set the owner and permissions back:

Right click on mscoree.dll and select Properties.
Click Security tab
Click the Advanced button
Click the Owner tab (TrustedInstaller is the current owner)
Click the Edit button
Click 'Other users or groups' button
Type in the 'Enter the object name to select:' box:
NT SERVICE\TrustedInstaller
Click OK button
(TrusterInstaller should be selected)
Click OK button
(A security message will appear)
Click OK to close security message
Click OK again

(you should be back at mscoree.dll Properties)
Click Edit button
Select Administrators from the "Group or user names:" list
Deselect everything so that there are only 2 checks under Allow - 'Read & execute' and 'Read'
Click OK button
(There will be security message.)
Click Yes
Click OK to close Properties

And you're done!

Unless you're running a 64bit version of Windows, you need to do this again for the other location of mscoree.dll.



With any luck that will fix your problem enough to allow .NET 4 applications to run (like Universe Sandbox).

Please note that something is wrong with your Windows install and you're probably not getting security updates anymore.

« Last Edit: June 02, 2011, 11:00:50 PM by Dan Dixon »

Slyder73

  • **
  • Posts: 10
Re: .NET framework 4.0 with steam (Error)
« Reply #14 on: June 02, 2011, 10:32:45 PM »
Correctly followed the procedure, and installed the downloaded mscoree file. 
Still no luck.  Same error.
I've only tried doing the 32 bit file and I run 64 bit windows.   It is too late tonight but I will do the same with the 64 bit one tomorrow and see if that makes any difference.

Slyder73

  • **
  • Posts: 10
Re: .NET framework 4.0 with steam (Error)
« Reply #15 on: June 02, 2011, 10:41:42 PM »
IT WORKED!!!!!!!!!!!!!!!!!!!

So I couldn't go to bed without doing the second file no matter how tired I was.

I went ahead and replaced the 64 bit mscoree version as well as my previous 32 bit one in the correct folders.
The game now works.
I had to replace both.

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: .NET framework 4.0 with steam (Error)
« Reply #16 on: June 02, 2011, 10:56:24 PM »
Awesome. I'm so glad.

Although how can you get any sleep now that it works? :)

eternity

  • *
  • Posts: 7
Re: .NET framework 4.0 with steam (Error)
« Reply #17 on: June 02, 2011, 10:57:15 PM »
I follow all steps... and it says : The system32 folder is actually in use.. you need to close all applications before doing that....



Slyder73

  • **
  • Posts: 10
Re: .NET framework 4.0 with steam (Error)
« Reply #18 on: June 03, 2011, 08:49:04 AM »
Thanks for the suggestions Dan.

Eternity, nothing else is running in the back?

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: .NET framework 4.0 with steam (Error)
« Reply #19 on: June 03, 2011, 10:20:02 AM »
Keep in mind that isn't a full fix for the issue you're having:

Quote
... this is still only treating a symptom (can't update mscoree.dll for the .NET Framework 4) instead of the root cause (can't install OS updates).  I think that computers in this state are going to run into other issues later on because they won't be able to apply security updates, etc.
Source: http://blogs.msdn.com/b/astebner/archive/2010/12/29/10110053.aspx

Elvis444

  • *
  • Posts: 1
Re: .NET framework 4.0 with steam (Error)
« Reply #20 on: May 14, 2013, 12:17:46 AM »
Is there any guide as to how to preform this with Vista (32-bit)?

v.vsokubenko

  • **
  • Posts: 19
  • I like Unity engine, screensavers and Angry Birds.
Re: .NET framework 4.0 with steam (Error)
« Reply #21 on: May 14, 2013, 07:21:37 AM »
Is there any guide as to how to preform this with Vista (32-bit)?
Windows Vista is very bad. Get a Windows 7.

tuto99

  • *****
  • Posts: 533
  • Baba Booey
Re: .NET framework 4.0 with steam (Error)
« Reply #22 on: May 14, 2013, 12:19:19 PM »
Is there any guide as to how to preform this with Vista (32-bit)?
Windows Vista is very bad. Get a Windows 7.
Does it really matter if he's using Vista? Ubox runs on Vista as well dude.

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: .NET framework 4.0 with steam (Error)
« Reply #23 on: May 14, 2013, 01:33:12 PM »
Vista is fine.

Universe Sandbox 2.2 (the latest version) requires .NET 2, not .NET 4.

blotz

  • Formerly 'bong'
  • *****
  • Posts: 813
  • op pls
Re: .NET framework 4.0 with steam (Error)
« Reply #24 on: May 14, 2013, 04:28:12 PM »
will Universe Sandbox 3 require .NET 4?
sorry if this is repetitive

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: .NET framework 4.0 with steam (Error)
« Reply #25 on: May 15, 2013, 03:54:51 PM »
No... Universe Sandbox 3 will not require any version of .NET.

Dosedmonkey

  • *
  • Posts: 1
Re: .NET framework 4.0 with steam (Error)
« Reply #26 on: November 21, 2013, 09:55:32 PM »
This is harder to do than I thought:

Perform these steps at your own risk and only if mscoree.dll is v2 and .NET 4 seems to correctly install.


See the previous posts in this thread for how to open Explorer as an Administrator and for the mscoree.dll files.


Just registered on the forums to say a MASSIVE thank you. Been having this issue with many games lately on my computer, tried everything microsoft suggested to no result. Then found this through an old old steam post. And resolved my issue with in about 10 minutes. BRILLIANT!

Going to go check out universe sandbox now!  ;)  ;D