473,799 Members | 3,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.IO.FileL oadException with Novell's Novell.Director y.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.Director y.LDAP namespace:

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

Additional information is:
"Die Datei Novell.Director y.Ldap kann nicht geladen werden." meaning
"Can't load file Novell.Director y.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
"appropriat e 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 3069
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******@primu snetz.de> wrote in message
news:63******** *************** ***@posting.goo gle.com...
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.Director y.LDAP namespace:

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

Additional information is:
"Die Datei Novell.Director y.Ldap kann nicht geladen werden." meaning
"Can't load file Novell.Director y.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
"appropriat e 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
3788
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 novell.directory.ldap library." I cant register this library in the gac, because it dont have a strong name. I already try to generate a strong name for the library, using the
0
1639
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 I would like to get the NDS side working during the transition. I know the concept of what required Microsoft's information is very sparse and incomplete if not wrong.
12
9623
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 instanciate SearchResultCollection Class. more clearly, a SearchResult object is created, at the inside of FindAll() method, then how can I put this object into the SearchResultCollection object. there is any method releated to input operation.
4
27943
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 gives the following error: System.NotImplementedException: Handling of this ADSVALUE type is not yet implemented (type = 0xb). after googling for a long time i found out that many other have the same
5
2520
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 applicationBlocks.ExceptionManagment i get "fileLoadException can not access the file becouse it is being used by another process" there are not other process using it as i copied the file to another
0
1218
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 exception blocks (that dll's are on the same path meaning also on novell) i get FileLoadException - can't access file being used by another process. (it's not i've copied the entire directory to a new location and it
3
2245
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 services. eDirectory uses the "userPassword" property to change the password and for a normal user, this has to be deleted and then added to in one LDAP modify operation to successfully change the password. As far as i know eDirectory schema does...
18
3417
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 dozens of examples of how to authenticate users against Active Directory, but AD seems to be a different animal than Sun Java System Directory Server. Could someone provide me with an example of how to authenticate a user against a Directory...
4
2648
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 connection is active or not if I can create a DirectoryEntry with whatever data I want since the data really isn't verified until I try to use it? I am not able to determine whether the connection is really going to be available until the Try {}...
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10473
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10249
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10219
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9068
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7563
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5461
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.