System.IO.FileloadException

Started by BLACKBEARD, Sat 31/05/2014 13:51:24

Previous topic - Next topic

BLACKBEARD

Hey Guys!

So glad to finally be here!

I hope that there I can fix this problem I'm facing with the AGS Editor ... I can't even start it!!:-\

Whenever I try to start it, it hits me with a considerably long error:

System.IO.FileLoadException: Could not load file or assembly. Etc. etc.

One sec, I'll get a pic of it ...

EDIT:

I got a link to a page which shows the error
http://gameconomy.blogspot.co.uk/p/blog-page.html



Khris

The only info I could find about this was in a thread from 2008; somebody got this when trying to run an old RC version and CJ said it was a bug.
Did you get AGS 3.2.1? Or 3.3?
Did you install the .NET framework?

BLACKBEARD

#3
Thanks for the reply!

(Sorry about the double post earlier)

I have Windows Vista, so I downloaded AGS 3.3.0

I've tried reinstalling it, with no effect.

BLACKBEARD

#4
Hey All!:cheesy:

I got the software to work now. All I did was uninstall this latest version (3.3), then go back and install the version before it (3.2.1)!

Thanks for all the Help (nod)

I dayum love happy endings (except this s a beginning:cool:)

Crimson Wizard

#5
This happens because you don't have required libraries installed on your computer (Visual C++ Redistributable 2008 SP1 9.0.30729.6161).
The latest 3.3.0 installer should suggest you to install these libs along with software. Did that happen?
If you had any problems installing them, you can download and install the library manually:
http://www.microsoft.com/en-us/download/details.aspx?id=26368

Adeel

It was one hell of a task to discover the cause of the problem. (wtf)

BLACKBEARD

Salaam Adeel! I did actually see your thread on a similar problem (maybe it was the same?). I downloaded and ran the C++ libs file, but it strangely made no difference. I tried this multiple times, including aft reinstalling version 3.3, but still nothing except the same error.

Perhaps I wasn't doing something right, but the error just didn't seem to budge. (On a plus note, I think I got to read almost every witty quip that's displayed on startup. Those are pretty good!(laugh))

In the end, I just installed version 3.2.1 instead and all was well.

If you guys want, I could try 3.3 again following all your instructions. Maybe it could be a serious bug ... Or maybe its just my PC lol


Adeel

W/salaam BLACKBEARD. Welcome to the AGS Community. :)

To help me determine the cause why 3.3.0 refuses to run on your system, please answer the following questions:

1. What version of Microsoft .NET Framework do you have installed on your system?
2. What libraries do you have installed on your system?
3. Are you running the program as Administrator?
4. Do you have each and every of the following libraries installed on your system? (Not necessary to install all of them but might fix your problem - who knows? ):
Spoiler
.NET Framework v1.1 [1.1.4322]
.NET Framework v2.0 SP2 [2.2.30729]
.NET Framework v3.0 SP2 [3.2.30729]
.NET Framework v3.5 SP1 [3.5.30729]
.NET Framework 4 Client Profile [4.0.30320]
.NET Framework 4 Extended [4.0.30320]

VC 2005 ATL Update
VC 2005 Redistributable [8.0.56336]
VC 2005 Redistributable [8.0.61001]
VC 2008 Redistributable [9.0.30729.5570]
VC 2008 Redistributable [9.0.21022]
VC 2008 Redistributable [9.0.30729]
VC 2008 Redistributable [9.0.30729.4148]
VC 2008 Redistributable [9.0.30729.6161]
VC 2010 x86 Redistributable [10.0.40219]
Microsoft XNA Framework Redistributable 3.1 [3.1.10527.0]

MSVCRT [14.0.1468.721]
MSXML 4.4 SP2 [4.20.9839.0]
MSXML 4.4 SP2 [4.20.9841.0]
MSXML 4.4 SP2 [4.20.9848.0]
MSXML 4.4 SP2 [4.20.9870.0]
MSXML 4.4 SP2 [4.20.9876.0]
MSXML 6.0 Parser [6.10.1200.0]
[close]
Some other questions (though they are very unlikely to make a difference):

1. Did you try running the program with compatibility set to Windows XP?
2. Did you try running the program as an administrator (if you're using a limited account)?
3. Are you sure you download the 3.3.0 version from this link?

BLACKBEARD

Hey thanks for the welcome!

After checking up the registry, I found that I have currently installed the following version of .NET Framework on my system:
v2.0.50727
v3.0
v3.5
v4
v4.0

Sorry, I'm not really sure what's the difference between your first and second question?

Yep, I'm defo running as Administrator.

I think I have all the .NET Frameworks, some of the Redistributable's and I don't know about the MXMSL files. (You might have guessed, but I don't really have a coding background, but I'm willing to learn though!)

Also, I didn't use an XP compatibility settings. I was defo Admin, and I did use that link on the (very awesome) AGS website.

Crimson Wizard

#10
Can you tell which "Microsoft Visual C++ *** Redistributable" are installed on your system?
How to check that:
Start -> Control Panel -> Programs and components
The software listed in alphabetical order.
The numbers are also important (like 9.0.30729.6161)

Adeel

#11
Salaam BlackBeard.

Did you install this "update" from the link given by CW? :)

If not, here's the link again (for your convenience): http://www.microsoft.com/en-us/download/details.aspx?id=26368

Please let us know whether AGS 3.3.0 works for you (after installing this update) or not.

E: Just for the record, I just installed AGS 3.3.0 on my more modern system. It's working fine for me (using XP - yes, I know I shouldn't but oh well... :D).

BLACKBEARD

#12
Here is the C++ Redistributables that I have:

http://gameconomy.blogspot.co.uk/p/blog-page_8.html
(For some reason, I cant figure out how to upload an image from my PC into my post!?:-[)

I installed the update (thanks for the link again!), so I'll let you know how 3.3.0 works as soon as I can. But from someone that has never run 3.3.0 (yet), is there a big difference between 3.2.1 and 3.3.0?

Crimson Wizard

Quote from: BLACKBEARD on Tue 08/07/2014 14:56:48
I installed the update (thanks for the link again!), so I'll let you know how 3.3.0 works as soon as I can. But from someone that has never run 3.3.0 (yet), is there a big difference between 3.2.1 and 3.3.0?
Not big, yet there were lots of mediocre changes, as listed in this post:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=50021.0

E: I will try to make a virtual machine with clean Vista and Win7 and find out which library really required to start AGS on those OSes.

Adeel

I'm sure your system is ready for 3.3.0 now. Have fun! :grin:

SMF spam blocked by CleanTalk