473,396 Members | 1,599 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,396 software developers and data experts.

could not load type library

Hey,

Have a weird problem - been looking for a solution for 2 days solid now.

I am developing my first asp.net site and everything was going fine while I
developed on my XP laptop but I copied the site over to my 2000 server box
and set the permissions, set up the application again - configuration of
both machines seems exactly the same and the site ran fine for a day then
all of a sudden I get a 'could not load type' error for one of my assembly
classes.

So I looked around on the net and read some stuff about versioning and maybe
recompiling the assemblies so I did only to find that then I got another
'could not load type' error - this time on a different class in a different
assembly.

Anyone got any ideas what might be the problem here????

Blue Frog
Nov 17 '05 #1
1 1803
Hi,

CLR loader algorithm works like this:

1) Check if assembly reference got public key of strong name
If key found CLR looks for the assembly in the GAC. if not found CLR
looks in the executable directory (bin dir in ASP.NET case). if type not
found in the local directory could not load type library throw by the
CLR

2) If assembly reference without public key the CLR looks for the
assembly just in the local directory.

Check that your assemblies meet that search path. If you can send the
error message as seen on the browser.

Natty Gur[MVP]
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '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...
1
by: Greg Patrick | last post by:
My problem: I load an some assemblies (strong named) from a byte array using Assembly.Load(byte). They load fine. But one one of them is actually accessed, it's referenced assemblies can't be...
0
by: jff | last post by:
I defined a simple enumeration called "LandProjections" in one of my C# class library assemblies. I have another class library assembly that has a static method which references the enumeration....
4
by: Mike S | last post by:
I'm hoping someone can explain the following. I have installed Visual Studio 2003. Setup several web application projects, compliled and ran them with no problem. All of this was accomplished...
0
by: phillip | last post by:
This is interesting, I have attached my web.config file and the exception I have been logging. I created a library which provide data access to a database and a control system. The library is...
11
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
1
by: Max | last post by:
I have make an component with fiex version (1.0.0.1) i realize two web component that use this library. i've change the library and when i execute the web application i have this error : ...
4
by: RDKram | last post by:
This applicaiton was originally developed in VB 6. I converted it to VB.NET using .NETs own conversion utilities. It runs fine on the machine with the .NET development environment. However, why I...
1
by: Kirk | last post by:
I followed the procedure at this site (http://www.devx.com/asp/Article/ 29256/0/page/1) to create a custom membership provider on a ASP.NET Web Site. However, when I try this same method on 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
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...

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.