G
Guest
I'm using Microsoft Excel Object 11.0
(Microsoft.Office.Interop.Excel)
to open excel from my web application and set few cells values before
displaying it to users.
When I deployed the website to the server, the site won't run
because:
-
"Could not load file or assembly 'Microsoft.Office.Interop.Excel,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
or
one of its dependencies"
I think the error is because Excel is not installed on the web server
since the Microsoft.Office.Interop.Excel is looking for Excel.exe
file. I cannot install Excel on the web server because of the network
admin. How can fix this? Is there another way of loading excel other
than using that object? All users have Excel on their computers, so
running the website won't be a problem. I just need another excel
reference, if any; to make changes to the file before it is called by
users.
(Microsoft.Office.Interop.Excel)
to open excel from my web application and set few cells values before
displaying it to users.
When I deployed the website to the server, the site won't run
because:
-
"Could not load file or assembly 'Microsoft.Office.Interop.Excel,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
or
one of its dependencies"
I think the error is because Excel is not installed on the web server
since the Microsoft.Office.Interop.Excel is looking for Excel.exe
file. I cannot install Excel on the web server because of the network
admin. How can fix this? Is there another way of loading excel other
than using that object? All users have Excel on their computers, so
running the website won't be a problem. I just need another excel
reference, if any; to make changes to the file before it is called by
users.