Click here to Skip to main content
15,921,660 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a site and when i get in one of the files when i load it following error, this is in the web.config file.....thanks


Error	2	Could not load file or assembly 'Microsoft.Office.Interop.PowerPoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.	C:\work\chris\10312011\WebSite2\Web.config	18
Posted
Updated 3-Nov-11 20:09pm
v2
Comments
Sergey Alexandrovich Kryukov 4-Nov-11 1:33am    
Why do you need PowerPoint on your server side? What would you do with it?
--SA

Install the .net extensions for Office on your machine.
 
Share this answer
 
Hi,
Add that reference of Microsoft.Office.Interop.Excel assembly to ur application.

Click On Project --> Add Reference --> Net --> Microsoft.Office.Interop.Excel -- > Click On Ok.

Debug the application and than run.
 
Share this answer
 
Hello Friend please do this....


First of all i want to know that you actually use that library in you code or project....


if yes then do this....

1) remove that configuration line from your web.config
2) then again assign the reference of that library to your project by right clicking on references and choosing add reference..

i think it will solve your problem...


or if you not use that library in side you project then just remove that configuration from your web.config..
 
Share this answer
 
you Interop.PowerPoint assembly not present in GAC (c:\windows\assembly).
get the file and drag it to c:\windows\assembly. (you can not copy the file to GAC)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900