Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am getting this error message when I run my Web application. I do have MS word 2007 install in my computer

Error : An error Occured during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Could not load file or assembly="Office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C or one of its dependencies. The system cannot find the specified.

Thank you
Posted
Comments
Аslam Iqbal 1-Dec-11 0:34am    
Are you using any 2rd party tools?

This might occur one or more assembly are not loaded correctly or there is an assembly compatibility issue within your web application. Here is few suggestion.
1. If the web application is in your machine,
<ui>
  • Remove existing office assembly from the web application.

  • Add the office assembly to your web application

  • Compile your application and run it.

2. If not try to do step 1 in your development machine.
 
Share this answer
 
v3
I actually just ran in to a very similar error, for me this fix was going into AssemblyInfo.cs and removing the line containing
C#
[assembly: SecurityTransparent()]
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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