all groups > vj# > january 2004 >
You're in the

vj#

group:

Error: could not load type java.util.Arrays from vjslib


Error: could not load type java.util.Arrays from vjslib Sarah
1/27/2004 8:21:06 AM
vj#:
I am working on an asp.net project using c#. One of the consultants implemented the excel spreadsheet using NPOI from apache.org. It has been converted to j# and compiled to dll. It works fine on my local machine; however, when we moved to production server, I got the following error:
Could not load type java.util.Arrays from assembly vjslib, version = 1.0.5000.0 culture = neutral, publickeyToken = bo3f5f7f11d50a3a.

I use VS.net 2003 with Framework v1.1.
Also, I installed J# 1.1 redistributable and Microsoft supplemental UI library on my machine.
I checked the production server, it also has those components installed.

Any idea what's wrong with it?

Re: Error: could not load type java.util.Arrays from vjslib Lars-Inge Tønnessen
1/27/2004 6:22:20 PM
Please install J# redist 1.0
http://msdn.microsoft.com/vjsharp/downloads/howtoget/default.aspx

(You may have to configure the IIS 6 (on Win2003S) to use the 1.0)

Install the 1.0 redist and tell us how it went.

--
Regards,
Lars-Inge Tonnessen
http://emailme.larsinge.com
http://www.larsinge.com

Re: Error: could not load type java.util.Arrays from vjslib Sarah
2/6/2004 5:01:08 AM
Finally I got a chance to restall (uninstall and reinstall) J# 1.1 redistributable and Microsoft supplemental UI library on the production server. Still have the same error. By the way, why do you suggest installing J#1.0 redistributable? I am using framework 1.1. Is there any reason?
Thanks
Re: Error: could not load type java.util.Arrays from vjslib Lars-Inge Tønnessen
2/6/2004 6:00:13 PM

It suspect your library has been compiled with the 1.0 framework (version =
1.0.5000.0) (Visual Studio 2002).

The 1.0 and the 1.1 does not always work hand in hand. Eg. Bug fixes.

Try to compile the library with the 1.1 (2003) version and see what happens.
Or install the .net 1.0 redist and J# redist 1.0 on your deployment
computer. You can have both 1.0 and 1.1 installed on the same computer.

What operating system are you running on your production server?


--
Regards,
Lars-Inge Tonnessen
http://emailme.larsinge.com
http://www.larsinge.com


[Could not load type java.util.Arrays from assembly vjslib, version =
1.0.5000.0 culture = neutral, publickeyToken = bo3f5f7f11d50a3a.]

AddThis Social Bookmark Button