SapphireSteel Forum
Welcome, Guest. Please login or register.
June 19, 2013, 07:33:38 AM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Sapphire and Amethyst IDEs
3893 Posts in 803 Topics by 672 Members
Latest Member: davib
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Sapphire / Ruby In Steel
| | |-+  mscorlib.dll error.
« previous next »
Pages: [1] Print
Author Topic: mscorlib.dll error.  (Read 4880 times)
tucker87
Newbie
*
Posts: 1


« on: February 22, 2009, 01:25:04 AM »

Hey all, I was super excited when I found an IDE for ruby so I picked it right up. Been trying to get this working for a couple days now but to no avail.

I got the "all in one" package from the main site. Installed, all went well except one error from the .net 3.5 installer but I have .net installed and have reinstalled since starting the error checking process.

I'm running XP x64.

When I start a fresh project and hit Ruby Run I got this.

Code:
IronRuby.Libraries:0:in `Require': Could not load file or assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) (LoadError)
from IronRuby.Libraries:0:in `Require'
from :0:in `main'
from :0:in `Initialize##5'
from IronRuby.Libraries:0:in `Require'
from IronRuby.Libraries:0:in `Require'
from :0:in `main'
from :0:in `Initialize##2'
from IronRuby.Libraries:0:in `Require'
from IronRuby.Libraries:0:in `Require'
from Snippets:0:in `main'
from Snippets:0:in `Initialize'
And from Ruby command I got:

Code:
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- mscorlib (LoadError)
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from ./Form1.designer.rb:4
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from D:/Documents/Programming/Projects/IronRubyApplication3/IronRubyApplication3/Form1.rb:1

So I fetched a copy of mscorlib.dll from somewhere else on my computer and placed it in my project directory Now I get this on a Ruby Run

Code:
        IronRuby.Libraries:0:in `Require': Absolute path information is required. (LoadError)
from IronRuby.Libraries:0:in `Require'
from :0:in `main'
from :0:in `Initialize##6'
from IronRuby.Libraries:0:in `Require'
from IronRuby.Libraries:0:in `Require'
from :0:in `main'
from :0:in `Initialize##2'
from IronRuby.Libraries:0:in `Require'
from IronRuby.Libraries:0:in `Require'
from Snippets:0:in `main'
from Snippets:0:in `Initialize'

And now my Ruby Command output reads:

Code:
./mscorlib.dll: 127: The specified procedure could not be found.   - Init_msib (LoadError)
./mscorlib.dll  from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.1:in `require'
        from ./Form1.designer.rb:9
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inm_original_require'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inquire'
        from D:/Documents/Programming/Projects/IronRubyApplication1/IronRubyication1/Form1.rb:1

Any help would be greatly appreciated. Hope I gave enough information.

P.S. I tried two versions of mscorlib.

TLDR:
I am getting the errors:
IronRuby.Libraries:0:in `Require': Absolute path information is required. (LoadError)
and
./mscorlib.dll: 127: The specified procedure could not be found.   - Init_msib (LoadError)
After I added mscorlib.
Logged
Huw Collingbourne
Administrator
Hero Member
*****
Posts: 937



« Reply #1 on: February 22, 2009, 04:28:03 AM »

Are you running Ruby or IronRuby? The errors appear to relate specifically to IronRuby and even if there is a problem with that they shouldn't appear when running standard Ruby. I'd be grateful if you could clarify exactly which version of Ruby you are trying to run and whether or not you get any errors with a normal Ruby project.

best wishes
Huw
Logged
rhmitul
Newbie
*
Posts: 1


« Reply #2 on: November 09, 2011, 04:43:03 AM »

check my given below link for your solution

http://answers.microsoft.com/en-us/windows/forum/windows_xp-windows_programs/fatal-error-mscorlibdll/daa29708-e66b-4cba-a37a-fa9fee39d116
« Last Edit: November 13, 2011, 08:06:57 AM by rhmitul » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!