Friday, September 22, 2006

Could not load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0

Could not load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.


I found two ways to fix the problem. First, you can copy Microsoft.mshtml.dll into the application directory. Alternatively, you can run vs_piaredist.exe, which is in \program files\common files\merge modules on machines with vs 2005 installed.

9 comments:

Peter said...

Into the the application directory?? What do you mean by that? The root of the site, or into the bin folder, or??

stanley said...

It should be your dotnet application directory in bin.

Anonymous said...

there is not a bin directory in my Microsoft.NET directory.

stanley said...

The bin folder of your website

Anonymous said...

It worked. Thanks

Anonymous said...

Thank you so much.this helped me too.

Ben said...

Worked for me as well. Thanks!

theory said...

I fixed this by including Microsoft.mshtml.dll in my installer

I downloaded the dll from www.dlldll.com

charlie said...

It worked for me!
Thanks