connecting to excel on users pc from website
Posted on 2012-04-03
I've built this website project locally in visual web developer express 2010 c#. Using the microsoft.office.interop.excel 14.0 reference, I connect to the users excel object, open a specific excel file on the desktop, and manipulate it a bit. All this worked locally, now however I put it up on a host. And when I test it I get the following error message:
Could not load file or assembly 'office, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified
I've been searching the internet and some links lead me to believe that this microsoft.office.interop.excel can only be used on a desktop. Not from the web. Or have excel installed on my server, which I'm guessing is impossible for me since I'm using godaddy.com. What I dont understand is, can't I just look for assembly or load files right from users pc since they have excel installed.
Anyone have any suggestions?
I'm hoping I make sense.