'Microsoft.Office.Interop.Excel.ApplicationClass' has no constructors defined
今天部署项目到IIS时候,遇到这个问题,具体解决办法如下:DisableembeddingofInteroptypesforthisassembly(References->Microsoft.Office.Interop.Outlook(rightclick)->Properties->Set'EmbedInteropTypes'toFalse)