asked 2 years ago viewed 4077 times active 2 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 110Could not load file or assembly 'System.Data.SQLite'1Could not load file So then your application run in your computer and in the server, so the problem must be in your boss pc, the version isn't the same or he/she doesn't have any Your boss doesn't. After Days of search I found a lot of solutions but it is not working with me like: - Install Office 2010 - Customize Microsoft Excel Application in DCOM Config to http://ecoflashapps.com/cannot-load/cannot-load-type-library-for-reference-microsoft-office-interop-excel.html
It's not conducive to the general learning of others.* * I also don't respond to friend requests. This error is telling you that the DLL is not in the path. Join them; it only takes a minute: Sign up Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=220.127.116.11, Culture=neutral, PublicKeyToken=71e9bce111e9429c' up vote 1 down vote favorite I'm trying to publish web site You will get it there... –Ronak Bhatt Jan 1 '14 at 8:39 See my updated answer –Ramesh Rajendran Jan 1 '14 at 8:44 i have added Microsoft.Office.Interop.Word.dll her latest blog
Operator ASCII art How should horizontal dashboard numbers react on a responsive page? Installer it's a Setup Project (MSI File) XCopy, just copy the files directly without any kind of setup. Email: KB00632 - Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.
Security Exception Description: The application attempted to perform an operation not allowed by the security policy. And did you read what Microsoft has written about what you want to do? in the threads I linked to (well the first one), they were doing some stuff on the server side, which is why they need to be installed on the webserver. Edit : I use .Net3.0 c# .net excel visual-studio-2012 windows-xp share|improve this question edited Jul 7 '14 at 10:21 user2140173 asked Jul 4 '14 at 10:22 sharafi 941211 You
After that second step will totally work: using Word=Microsoft.Office.Interop.Word; And finally as a third step you can create Word object by Word.Application wApp = new Word.Application();. Server applications are different in many ways that make it a very, very bad idea to use Office Interop in them. b. I don't know –udigold Dec 20 '11 at 14:01 Ok, in your project create a new folder and call it Assemblies (or something like that).
The first step will work if you have Office(Excel) Installed in your PC. http://stackoverflow.com/questions/25418579/could-not-load-file-or-assembly-microsoft-office-interop-excel-dll The system cannot find the file specified. Yes No Partially Tell Us More: Select This content appears incomplete The content appears incorrect or outdated Difficult to follow Other Comments:(Max 1000 chars) Would you like a response? How to disable the high priority publish option in SDL Tridion What is the temperature of the brakes after a typical landing?
Product: PI DataLink Version(s): 4.x Platform: Windows Issue The PI ribbon menu for PI DataLink does not appear in Microsoft Excel. http://ecoflashapps.com/cannot-load/cannot-load-file-or-assembly-microsoft-directx-directinput.html Express edition? 2008 express. Make sure that your server has the same office version "2010" you installed on local PC. Browse other questions tagged c# .net excel visual-studio-2012 windows-xp or ask your own question.
I think I miss some configuration or file which must be exist at the server. The first step will work if you have Office(Word) Installed in your PC. Reason: Info Rate People That Helped You Mark Thread Resolved When Resolved Reply With Quote Apr 16th, 2010,12:16 PM #11 dethredic View Profile View Forum Posts Thread Starter Member Join Date http://ecoflashapps.com/cannot-load/cannot-load-file-or-assembly-microsoft-mshtml.html Does anyone know what version I need to buy?
I've installed: Microsoft Office Access Database Engine 2007 Microsoft Office 2003 Web Components In the code, I'm importing Microsoft.Office.Interop and using classes in the Excel namespace. Where do I drop off a foot passenger in Calais (P&O)? I've added a reference in my project ('Microsoft.Office.Interop.Excel') and even set 'Copy Local' to true.
Marked as answer by BTabios Friday, February 26, 2010 5:04 PM Thursday, February 18, 2010 4:05 PM Reply | Quote 0 Sign in to vote I'm going to mark Kashif's reply share|improve this answer answered Nov 18 '15 at 5:02 Rajesh D 898 add a comment| up vote 0 down vote Correct procedure to use Excel in C# Projects is: Add reference Feb 26, 2010 02:14 AM|ankitkshah|LINK hiii all... How are the functions used in cryptographic hash functions chosen?
The system cannot find the file specified. ************** Exception Text ************** System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=22.214.171.124, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. Anyone has an idea? The follow error occurs: Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=126.96.36.199, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. Check This Out my web site has a feature which download an excel file to apply some edits then upload it again.
Just in case, Ive had the same issue that you had. On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor in a surprise attack? you still need the PIAs on the computer that is running the app... The thing I have done is that I have removed all the assemblies from web.config file and had added dlls as a reference - Microsoft.Office.Interop.Excel.dll in this case.
Reply ankitkshah None 0 Points 37 Posts Re: Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=188.8.131.52, Culture=ne... How can I declare independence from the United States and start my own micro nation? Reply hans_v All-Star 25746 Points 7017 Posts Re: Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=184.108.40.206, Culture=ne... Example: <%@ Page Language="C#" Debug="true" %> or: 2) Add the following section to the configuration file of your application:
Execute bash script from vim How Did The Dred Scott Decision Contribute to the Civil War? How can I declare independence from the United States and start my own micro nation? Email is required. How can I remove an Online Account?
please refer to the following topic to understand how assemblies are loaded. Clearing CD cache in code from the CM Why aren't interactions between molecules of an ideal gas and walls of container negligible? Use SysInternals' ProcMon utility to see where it is looking for the file. –Hans Passant Dec 20 '11 at 14:05 add a comment| 2 Answers 2 active oldest votes up vote Note that running Office applications in ASP.Net servers is not supported- support.microsoft.com/kb/257757. –Alexei Levenkov Jan 1 '14 at 8:55 1 It is a horrible idea to use Office Interop from