Last post Sep 20, 2012 08:17 PM by necro_mancer
Sep 20, 2012 04:32 AM|afache|LINK
I deployed my webapplication to the webserver. My application uses Microsoft.Office.Interop.Word..
I copied the Microsoft.Office.Interop.Word.dll to the bin folder when publishing, and I deployed my application.
I get the following error at runtime:
Error Message:System.NullReferenceException: Object reference not set to an instance of an object.
at the following line of code:
I don't have this problem on my development machine, why do I get this on the server????
Sep 20, 2012 08:17 PM|necro_mancer|LINK
Unfortunately, MS Word Application is not supported on Windows Server. You may contact Microsoft directly to know the exact reason, but MS Office application is not meant for Windows Server.
Please mark this response as an "answer" if it helps you. Thanks heaps!