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.