Assembly Could Not Be Found or Could Not Be Loaded (Harry Miller)

Published 10 July 08 11:54 AM

This video tells the story of someone who created an Excel 2003 workbook project in Visual Studio 2008.  No matter what configuration he tried on the client machine, he got this error when opening the workbook:

The assembly could not be found or could not be loaded.

Here's the setup:
Windows XP Professional
PIAs for Office 2003 are installed
VSTO version 3 runtime is installed
The .NET 2.0 configuration tool shows the assembly is trusted
CASPOL.exe shows the assembly is trusted

Fortunately, the story has a happy ending.

Resources:

Forum post: The assembly * could not be found at or could not be loaded

Visual Studio Tools for Office Second Edition Runtime

How to: Install the Visual Studio Tools for Office Runtime

Video duration: 1 minute, 36 seconds

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# a-foton » Assembly Could Not Be Found or Could Not Be Loaded (Harry Miller) said on July 10, 2008 3:45 PM:

PingBack from http://blog.a-foton.ru/2008/07/assembly-could-not-be-found-or-could-not-be-loaded-harry-miller/

# Rob said on January 15, 2009 11:52 AM:

Even though I select this in prerequisites when creating a setup file, it is still not installed when the msi is run on a machine that does not have Visual Studio Tools for Office 2005 Second Edition installed.

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

About VSTO Team

This login represents the Visual Studio Tools for Office team. Many members of the team us this account for publishing technical blog posts.

This Blog

Syndication

Page view tracker