I have developed one web application.
I have deployed that one ,But getting error,
Could not load file or assembly 'Microsoft.Office.Interop.
My shared server name is GoDaddy.com.
Please help me,
Thanks in advance,
Lakshmi.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Praneeth KumarRank #4,422 · 344 reputationPosted Jun 17, 2011, 6:20 AM EDT
Pradeep ChandrakerRank #941 · 2.2K reputationPosted Jun 17, 2011, 6:39 AM EDT
This means the hosting server does not have "Microsoft.Office.Interop.Excel" version 11.0.0.0 assembly installed in GAC. What you need to do is, when you are publishing project you can opt to include the assemblies you have referenced, this will copy the assemblies in your project bin directory.
Lakshmi Narayan J22 reputationPosted Jun 18, 2011, 4:26 AM EDT
Thanks for reply.
I have deleted that public key in my web.config file.
Now I am getting the following error.
Thanks & Regards,
Lakshmi.
Praneeth KumarRank #4,422 · 344 reputationPosted Jun 18, 2011, 4:35 AM EDT
Lakshmi Narayan J22 reputationPosted Jun 18, 2011, 6:38 AM EDT
but its showing same error.
Praneeth KumarRank #4,422 · 344 reputationPosted Jun 18, 2011, 6:52 AM EDT
Pradeep ChandrakerRank #941 · 2.2K reputationPosted Jun 19, 2011, 12:37 PM EDT
Lakshmi Narayan J22 reputationPosted Jun 20, 2011, 12:11 AM EDT
yes i tried same solution before deployement.
this is my Web.Config file.
Praneeth KumarRank #4,422 · 344 reputationPosted Jun 21, 2011, 2:30 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Jun 21, 2011, 5:20 AM EDT