Project

Profile

Help

gacutil error on IKVM.GNU.Classpath.dll

Added by Anonymous over 16 years ago

Legacy ID: #4875361 Legacy Poster: Steven Black (stevenblack)

Hi! First post. Ring the bell! I ran the install-gac.cmd to get the .NET version of Saxon 9 up-and-running and all the gacutil calls therein worked fine except this one, which returned an "unknown" error. C:\dev\Saxon\bin>"C:\Program Files\Microsoft.NET\SDK\v1.1\Bin"\gacutil /if IKVM.GNU.Classpath.dll Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573 Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. Failure adding assembly to the cache: Unknown Error All the others returned "Assembly successfully added to the cache". Any ideas? Thanks! -- Steve


Replies (7)

Please register to reply

RE: gacutil error on IKVM.GNU.Classpath.dll - Added by Anonymous over 16 years ago

Legacy ID: #4875467 Legacy Poster: Michael Kay (mhkay)

No, sorry, no idea at all. I've had problems adding things to the GAC using this script (or by direct use of the command line) on Vista, but there were fairly specific messages about permissions. I resolved it by moving the DLLs into the GAC using the .NET administration tools available via the control panel.

RE: gacutil error on IKVM.GNU.Classpath.dll - Added by Anonymous over 16 years ago

Legacy ID: #4875666 Legacy Poster: Steven Black (stevenblack)

Salutations! It's a privilege to get a quick answer from you directly. You sent me down a promising path with the Control Panel's .NET administration tools. Excellent next step. The error I get now is much more specific when adding IKVM.GNU.Classpath.dll to the GAC: Cannot Add Assembly Unable to add the selected assembly. The assembly must have a strong name (name, version and public key). We're getting closer <s>. BTW, IKVM.Runtime.dll seems fine in the GAC. -- Steve

RE: gacutil error on IKVM.GNU.Classpath.dll - Added by Anonymous over 16 years ago

Legacy ID: #4876070 Legacy Poster: Michael Kay (mhkay)

I can do soem checks, though it may have to wait until I'm home next week. Which version of Saxon exactly did you get this module from? You could try downloading the module directly from www.ikvm.net - Saxon is using version 0.32.0.0. This module is redistributed "as is" from the IKVM distribution, so it's hard to see how it could have lost its strong name en route. Michael Kay

RE: gacutil error on IKVM.GNU.Classpath.dll - Added by Anonymous over 16 years ago

Legacy ID: #4876176 Legacy Poster: Steven Black (stevenblack)

Thanks again for the reply. I downloaded the latest version of Saxon available yesterday. Can you direct me to where I can find a signed functional version of IKVM.GNU.Classpath.dll? Everything I've dowloaded so far contains java source but no immediately usable packages. Looking at a wide variety of forum postings, unsigned IKVM packages are a common problem. Meanwhile I'll try downloading a prior version of Saxon .NET. Somebody should probably flag this version because apparently it's wholly unusable as currently packaged,

RE: gacutil error on IKVM.GNU.Classpath.dll - Added by Anonymous over 16 years ago

Legacy ID: #4876270 Legacy Poster: Steven Black (stevenblack)

To clarify further, I am unable to add IKVM.GNU.Classpath.dll to the GAC from either of these versions of Saxon for .NET. saxonsa9-0-0-4n.zip saxonb9-0-0-4n.zip I can't find other prior versions to download to get something working here. As of now, no rush, I've decided to "drop-back-and-punt", and hard-code the work I was hoping to get flowing with XSLT 2.0. At some level, getting things working trumps apparently better but unfortunately non-functional options. It would have been nice to have a version prior to 9-0-0-4 to go-to, but I could not find it, and with SourceForge pages loading like molasses, I'm done. I hope to get the opportunity to try this sometime in the future. Keep up the good work, too bad about the this IKVM bummer... -- Steve

RE: gacutil error on IKVM.GNU.Classpath.dll - Added by Anonymous over 16 years ago

Legacy ID: #4876938 Legacy Poster: Michael Kay (mhkay)

I'm afraid I can't reproduce your problem. I have removed the current IKVM.GNU.Classpath.dll (version 0.32.0.0) from my GAC, extracted the version from the 9.0.0.4 issued ZIP file, and reinstalled it in the GAC without problems. I have also verified it using "sn -v". I think the problem must be something local to your configuration. Try listing the current contents of your GAC to make sure that the assembly is not already there. Try using sn -v to verify that it is intact. I'm not sure why you are having difficulty locating previous versions of Saxon or IKVM. All Saxon-B issued code is available at https://sourceforge.net/project/showfiles.php?group_id=29872&amp;package_id=21888 All Saxon-SA issued code is available at http://www.saxonica.com/download_page_fs.html All IKVM code is available at https://sourceforge.net/project/showfiles.php?group_id=69637 Regards, Michael Kay http://www.saxonica.com/

RE: gacutil error on IKVM.GNU.Classpath.dll - Added by Anonymous over 16 years ago

Legacy ID: #4876957 Legacy Poster: Michael Kay (mhkay)

I've gone right back to downloading a clean copy of the .zip file for Saxon-B 9.0.0.4 on SourceForge, and the assembly extracts from the ZIP file and loads into the GAC just fine.

    (1-7/7)

    Please register to reply