开发者

Excel Interop C# and Deployment to Production Box

I'm using the Excel 开发者_Python百科Interop in C# (VS 2008) wrapped around WCF service. It works fine in my development box. However on the production server, we don't have the MS Office installed nor VS2008. What needs to be done in the production server in order to make Excel Interop work fine? Do I package the Interop DLLs into the bin folder? How does that work?

Please let me know.

Thanks.


Yes you can include the interop assemblies in your deployment package but you remember that those assemblies are just wrappers around unmanaged Excel libraries so you need to install Excel on the production box for this to work. And if this is a server application you probably shouldn't be using Excel interop at all as Excel is a client application not intended to be used in a heavy multithreaded environment such as an ASP.NET application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜