By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,190 Members | 1,555 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,190 IT Pros & Developers. It's quick & easy.

System.IO.FileLoadException with Novell's Novell.Directory.LDAP

P: n/a
Hello!

When trying to use Novell's C# LDAP library (from
http://www.novell.com/coolsolutions/...rary_cdev.html)
the following exception occurs as soon as I try to instantiate an
object from the Novell.Directory.LDAP namespace:

"Eine nicht behandelte Ausnahme des Typs 'System.IO.FileLoadException'
ist in system.windows.forms.dll aufgetreten."
meaning
"An unhandled exception with type 'System.IO.FileLoadException'
occured in system.windows.forms.dll."
[...] 'System.IO.FileLoadException' [...] in system.windows.forms.dll

Additional information is:
"Die Datei Novell.Directory.Ldap kann nicht geladen werden." meaning
"Can't load file Novell.Directory.Ldap."

I am using Visual Studio .Net 2002 Academic (German) with the .Net
Framework 1.1.
Novell's installation instructions only say to copy the dll to an
"appropriate location" within the project; I manually copied the dll
into the folder where the project resides. Adding a reference to the
dll also worked without any error message.

Since I still am fairly new to C#, I'd appreciate any hint or pointer
on what I might have missed or forgotten.

Regards,
Fabian Aichele
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello Fabian,

You should either install this DLL to the GAC (given it has a strong name)
or copy it to the same folder your application *executable* (not project!)
resides in.
There are more advanced options but these are the simplest things you can
try to resolve your problem.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Fabian Aichele" <fa******@primusnetz.de> wrote in message
news:63**************************@posting.google.c om...
Hello!

When trying to use Novell's C# LDAP library (from
http://www.novell.com/coolsolutions/...rary_cdev.html) the following exception occurs as soon as I try to instantiate an
object from the Novell.Directory.LDAP namespace:

"Eine nicht behandelte Ausnahme des Typs 'System.IO.FileLoadException'
ist in system.windows.forms.dll aufgetreten."
meaning
"An unhandled exception with type 'System.IO.FileLoadException'
occured in system.windows.forms.dll."
[...] 'System.IO.FileLoadException' [...] in system.windows.forms.dll

Additional information is:
"Die Datei Novell.Directory.Ldap kann nicht geladen werden." meaning
"Can't load file Novell.Directory.Ldap."

I am using Visual Studio .Net 2002 Academic (German) with the .Net
Framework 1.1.
Novell's installation instructions only say to copy the dll to an
"appropriate location" within the project; I manually copied the dll
into the folder where the project resides. Adding a reference to the
dll also worked without any error message.

Since I still am fairly new to C#, I'd appreciate any hint or pointer
on what I might have missed or forgotten.

Regards,
Fabian Aichele


Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.