Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

February 28, 2008

Loading .NET Assemblies from a Windows Service: System.IO.FileNotFoundException

This post applies to any .NET assembly, including Chilkat’s .NET assemblies. If your Windows Service program references an external assembly, make sure it’s installed in the GAC. If not, you’ll see this error at runtime:

System.IO.FileNotFoundException was unhandled
	
  Message="Could not load file or assembly 'ChilkatDotNet2, Version=8.4.0.0,
Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd' or one of its dependencies.
The system cannot find the file specified."

An assembly must be strong-named in order to be placed in the GAC (Global Assembly Cache). The Chilkat .NET DLL’s are all strong-named.


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.