Problem deploying an application using the saxon .net api

View: New views
3 Messages — Rating Filter:   Alert me  

Problem deploying an application using the saxon .net api

by Vincent Lambert-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Problem deploying an application using the saxon .net api

Hello all,

I have used saxon .net to develop an application that processes xml. Everything works fine on my development machine, but when when I try to run it on a user's machine I get a

System.IO.FileNotFoundException: Could not load file or assembly 'IKVM.OpenJDK.Security, Version=0.40.0.2, Culture=neutral, PublicKeyToken=e1fdd002d5083fe6' or

one of its dependencies. The system cannot find the file specified.
File name: 'IKVM.OpenJDK.Security, Version=0.40.0.2, Culture=neutral, PublicKeyToken=e1fdd002d5083fe6'

The saxon .net distribution doesn't come with a IKVM.OpenJDK.Security dll. I didn't registered the assemblies in the GAC, but rather include them from the root directory.

Do you have any idea about how to fix this problem ?

Any help would be greatly appreciated.

-----------------------------------------------------
Vincent Lambert
XML Programmer
Matrox Imaging


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@...
https://lists.sourceforge.net/lists/listinfo/saxon-help 

Re: Problem deploying an application using the saxon .net api

by Michael Kay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Problem deploying an application using the saxon .net api
IKVM.OpenJDK.Security.dll is included in the Saxon-PE and Saxon-EE distribution, but not in the Saxon-HE distribution. I was under the impression that the only situation where it was needed was when attempting to verify an (old-style) Saxon license key, which is not needed of course for Saxon-HE.
 
It would be nice to find out what you are doing that causes this DLL to be needed. In the meantime you should be able to solve the problem by downloading the Saxon-EE code from www.saxonica.com, and extracting the relevant DLL from there.
 
Michael Kay
Saxonica


From: Vincent Lambert [mailto:vlamber1@...]
Sent: 27 October 2009 13:58
To: saxon-help@...
Subject: [saxon] Problem deploying an application using the saxon .net api

Hello all,

I have used saxon .net to develop an application that processes xml. Everything works fine on my development machine, but when when I try to run it on a user's machine I get a

System.IO.FileNotFoundException: Could not load file or assembly 'IKVM.OpenJDK.Security, Version=0.40.0.2, Culture=neutral, PublicKeyToken=e1fdd002d5083fe6' or

one of its dependencies. The system cannot find the file specified.
File name: 'IKVM.OpenJDK.Security, Version=0.40.0.2, Culture=neutral, PublicKeyToken=e1fdd002d5083fe6'

The saxon .net distribution doesn't come with a IKVM.OpenJDK.Security dll. I didn't registered the assemblies in the GAC, but rather include them from the root directory.

Do you have any idea about how to fix this problem ?

Any help would be greatly appreciated.

-----------------------------------------------------
Vincent Lambert
XML Programmer
Matrox Imaging


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@...
https://lists.sourceforge.net/lists/listinfo/saxon-help 

Re: Problem deploying an application using the saxon .netapi

by Vincent Lambert-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Problem deploying an application using the saxon .net api
Thanks a lot for your help. I found the problem in my application so I didn't need the dll after all. The problem was that I was doing type reflection on the IKVM dll. I don't know why I was needing the security dll on my user machine and not on my development
machine but my problem is fixed now.
 
Vincent


From: Michael Kay [mailto:mike@...]
Sent: Tuesday, October 27, 2009 11:00 AM
To: 'Mailing list for the SAXON XSLT and XQuery processor'
Subject: Re: [saxon] Problem deploying an application using the saxon .netapi

IKVM.OpenJDK.Security.dll is included in the Saxon-PE and Saxon-EE distribution, but not in the Saxon-HE distribution. I was under the impression that the only situation where it was needed was when attempting to verify an (old-style) Saxon license key, which is not needed of course for Saxon-HE.
 
It would be nice to find out what you are doing that causes this DLL to be needed. In the meantime you should be able to solve the problem by downloading the Saxon-EE code from www.saxonica.com, and extracting the relevant DLL from there.
 
Michael Kay
Saxonica


From: Vincent Lambert [mailto:vlamber1@...]
Sent: 27 October 2009 13:58
To: saxon-help@...
Subject: [saxon] Problem deploying an application using the saxon .net api

Hello all,

I have used saxon .net to develop an application that processes xml. Everything works fine on my development machine, but when when I try to run it on a user's machine I get a

System.IO.FileNotFoundException: Could not load file or assembly 'IKVM.OpenJDK.Security, Version=0.40.0.2, Culture=neutral, PublicKeyToken=e1fdd002d5083fe6' or

one of its dependencies. The system cannot find the file specified.
File name: 'IKVM.OpenJDK.Security, Version=0.40.0.2, Culture=neutral, PublicKeyToken=e1fdd002d5083fe6'

The saxon .net distribution doesn't come with a IKVM.OpenJDK.Security dll. I didn't registered the assemblies in the GAC, but rather include them from the root directory.

Do you have any idea about how to fix this problem ?

Any help would be greatly appreciated.

-----------------------------------------------------
Vincent Lambert
XML Programmer
Matrox Imaging


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@...
https://lists.sourceforge.net/lists/listinfo/saxon-help