473,657 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CS0006: Metadata file...could not be found


After installing a windows service that references a *.dll to a target
machine, my trace file shows

CS0006: Metadata file <my.dll> could not be found

when calling a method on the dll.

Initially I put the *.dll into the c:\Program Files\MyAPP directory.

Then also I added the *.dll to the GAC.

Still the same problem.

I even relocated the file out of c:\Program Files\MyApp and put it in
c:\winnt\cache and then added it to the GAC.

Same problem...any suggestions?

[The application works great on my development workstation...s o I know
it's code is ok. It's simply the reference. ]



--
Texeme Textcasting Technology
http://texeme.com

Indie Pop Rocks @ SomaFM
http://somafm.com/

Nov 22 '05 #1
0 1792

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
470
by: Ricola ! | last post by:
After installing a windows service that references a *.dll to a target machine, my trace file shows CS0006: Metadata file <my.dll> could not be found when calling a method on the dll. Initially I put the *.dll into the c:\Program Files\MyAPP directory. Then also I added the *.dll to the GAC.
1
472
by: Invalidlastname | last post by:
Hi, Our developer team recently started getting the compilation error, see below, once a while running the asp.net web application from Visual Studio 2003 (in debug mode), and we have to rebuild the solution or deleted the VsWebcache to get rid of this error I suspect this error is related to that we strong named several assemblies for using queued components in NET EnterpriseServices. In development environment, we did not install those...
0
328
by: Kris Vanherck | last post by:
yesterday i started getting this strange error when i try to run my asp.net project: Compiler Error Message: CS0006: Metadata file 'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\spsweb\0e3514bf\cb1844e7\assembly\dl2\3b163f 16\00452d31_84e5c301\infragistics.webui.ultrawebgrid.v3.dll' could not be found
4
5407
by: james margey | last post by:
Hi to all, I have spent 3 days at this error and i have two days to go for a deadline, and i am about to go off my nut, the reason being: Microsoft dont seem to be able to provide a solution, I have trawled the web and the few that have the same error have not being provided a fix. This error occurs if i make the slightest change in my project. If i REBUILD my project no error occurs. So i keep having to rebuild my project - this is not...
0
1321
by: Oleg Ogurok | last post by:
Hi all, Has anyone figured out how to avoid this problem? According to Microsoft, signed assemblies are not supported in bin\ directory of a web application. http://support.microsoft.com/?id=324519 My ASP.NET assemblies are signed, and I don't feel like changing AssemblyKeyFile attribute back and forth. Also, I can't automatically put the assembly into GAC because ASP.NET
6
26023
by: John Doe | last post by:
Hi, I've got the following error when building my ASP.NET application called WebApplication1: Preparing resources... Updating references... Performing main compilation... error CS0006: Metadata file 'c:\inetpub\wwwroot\WebApplication1\bin\WebApplication1.dll' could not be
3
2014
by: Steven Berkovitz | last post by:
I have a common problem with just about every ASP.NET web app I've ever developed. Randomly after compiling a project, I will get a CS0006 compiler error with the following description: Compiler Error Message: CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\mbccs\544aefc6\a95796a7\assembly\dl2\11dbf13d\35abbe2b_537bc501\.dll' could not be found. Restarting IIS or a rebuild-all will solve...
1
6229
by: CSharpguy | last post by:
I've been working an a web application for 3 months now and its been compiling and running fine when I Debug -- > start without debugging, today I come in and work on the web app and do the samething but now i'm getting the following errors: CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\primeintranet\92e15b42\88c43b67\assembly\dl2\144e69cc\00d4ffbe_fbc8c401\log4net.dll' could not be found ...
1
3064
by: Giulio Petrucci | last post by:
Good morning everybody, I have been dealing with this strange issue for almost two days: I got stuck and I can't get out of it. I built up for the first time in my life (I'm quite new in stuff like .NET, C#, Visual Studio, windows programming and so on...) a Windows Service. Debugging it in Visual Studio (Express Edition) everything worked fine, but debugging it "live" I found a strange behaviour. My application must dynamically compile...
0
4581
by: gmsieling | last post by:
We're getting compiler error CS0006, with increasing frequency. It says that a randomly named DLL was not found. This happens at random intervals when you try to run the application. We're using the webserver that comes with VS to run our web app. VS 2005 SP1 didn't fix this, and the only way I know to get around it is to close VS and delete the temporary ASP.NET files. Is there anything easier we can do? Server Error in '/' Application....
0
8411
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
8323
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8739
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
8513
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
8613
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6176
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
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2740
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1732
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.