473,397 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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

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
1 3044
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: BrunoSilveira_BR | last post by:
Hi folks, I've tried to use the novell c# ldap library to connect to my unix ldap directory. But everytime i try to debug my application i receive the error message: "unable to load...
0
by: Tim | last post by:
Hello, I'm trying very (too) hard to log uses LDAP (via ADSI) to autheniticate users in an A2k2 application. We have AD and I have that working slick. We are in a tranistion from NDS to AD and...
12
by: hykim | last post by:
Hello, everyone. according to MSDN, there is any constructor of System.DirectoryServices.SearchResultCollection Class. if I implement DirectorySearcher.FindAll() method by myself, then how can I...
4
by: m96 | last post by:
hi, i'm trying to make a query to a ldap server (version v2 or v3 doen't matter) with c#. the query works just fine but the problem is that i can't read the custom attributes/fields, since .net...
5
by: Elhanan | last post by:
hi.. i have a small csharp console application i'm running locally on a windows 2003 server, the files themselves are located on a novell server. when i try to run it and a call a method from...
0
by: Elhanan | last post by:
hi.. i'm using windows 2003 server as a develop machine with VS.NET 2003 all my source code and dll are on a network share on novell server. when i try to run a project which use microsoft...
3
by: chat_devil | last post by:
hi, does anyone know if it is possible to remove an attribute that can not be read into the ADSI property cache/collection. i'm trying to do an eDirectory password change from .net directory...
18
by: troywalker | last post by:
I am new to LDAP and Directory Services, and I have a project that requires me to authenticate users against a Sun Java System Directory Server in order to access the application. I have found...
4
by: Brandon McCombs | last post by:
Hello, From my understanding, DirectoryEntry is used to connect to Active Directory. Although this makes no sense whatsoever I accept it. The problem is how am I supposed to test whether a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.