Link to home
Start Free TrialLog in
Avatar of alivemedia
alivemedia

asked on

Could not load file or assembly 'Mcrosoft.Web.Preview' or one of its dependencies

All of a sudden I started getting these compilation errors:

Error      1      Could not load file or assembly 'Microsoft.Web.Preview, Version=1.1.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
      
Error      11      C:\Web Development\RuppMarine\WebSite3.5\Products.aspx: ASP.NET runtime error: Could not load file or assembly 'Microsoft.Web.Preview' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))      C:\Web Development\RuppMarine\WebSite3.5\Products.aspx      1      

Error      12      C:\Web Development\RuppMarine\WebSite3.5\RuppSubNav.master: ASP.NET runtime error: Could not load file or assembly 'Microsoft.Web.Preview' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))      C:\Web Development\RuppMarine\WebSite3.5\RuppSubNav.master      


Anyone ever run into this?
ASKER CERTIFIED SOLUTION
Avatar of NBSO_ISS
NBSO_ISS

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alivemedia
alivemedia

ASKER

Not sure what happened but this VS Solution was completely borked.

i just created a new one and imported all of my files and it wokred out.
I had the same thing happen to a web project.  I had to install the .dlls in the GAC to get it to work.

Glad it worked out for you.