|
-
Jan 20th, 2008, 07:47 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Cannot find wrapper assembly for type library Excel
This works fine at home but at work when i add the reference to the Microsoft Excel 11.0 Object Library it gets the error on the yellow icon in the screen shot.
error:Warning 1 Cannot find wrapper assembly for type library "Excel".

I have tried deleting and readding (Several Times) even copying the files from a working project into the debug folder without any luck.
Any ideas how to fix this?
Thanks
toe
-
Jan 20th, 2008, 08:26 PM
#2
Re: Cannot find wrapper assembly for type library Excel
Are you working on the same project files both at home and at work?
What version of Office do you have installed at each location?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 20th, 2008, 08:28 PM
#3
Thread Starter
Frenzied Member
Re: Cannot find wrapper assembly for type library Excel
I got it to work by also adding the 5.0 object library.
Even though when i added the 11.0 object library it added the Excel Ref with the yellow icon but came up with the error icon
-
Jan 20th, 2008, 08:28 PM
#4
Thread Starter
Frenzied Member
Re: Cannot find wrapper assembly for type library Excel
At home it 2002 and work 2003.
They are differnet projects
-
Jan 20th, 2008, 08:39 PM
#5
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
You shouldnt have to add the 5.0 version. That sounds bad for deployment.
Create a new test project and add a ref to 11 and see if it works ok. If it does then try removing your reference and readding it in your problematic project.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 20th, 2008, 10:17 PM
#6
Thread Starter
Frenzied Member
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
Going to try a office update first, but the IT guy is having problems getting the network to allow it to update.
-
Jan 20th, 2008, 10:26 PM
#7
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
Sounds like a firewall issue.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 20th, 2008, 10:59 PM
#8
Thread Starter
Frenzied Member
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
I think it may be alright except the fact that the Reference with the red arrow is not pointing to the Debug folder as in my other project which is now causing a Member Not Found Error?

Should i and how can i change it to point to the debug folder
-
Jan 20th, 2008, 11:10 PM
#9
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
It shouldnt be point to your local project folder. It should be pointing to the Global Assembly Cache (GAC).
Try removing the references and rebuilding your project. then readd the references and see if it fixes the ref issue.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 20th, 2008, 11:47 PM
#10
Thread Starter
Frenzied Member
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
Removed, rebuilt and re added the Microsoft Excel 11.0 Object Library and it
puts a yellow error icon on the Excel Reference as per the previous screen shot.
When i rebuild again it produces these errors:
Warning 1 The referenced component 'Excel' could not be found.
Warning 2 Cannot find wrapper assembly for type library "Excel".
-
Jan 20th, 2008, 11:51 PM
#11
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
Did you try adding the reference on a new blank project yet like I mentioned in #5?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 20th, 2008, 11:55 PM
#12
Thread Starter
Frenzied Member
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
Just did it then and its the same result 
Can the office updates be downloaded and saved to a usb or disk?
-
Jan 20th, 2008, 11:57 PM
#13
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
No, but service packs can but its best to do the office update from the system with office on it,
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 21st, 2008, 01:32 AM
#14
Thread Starter
Frenzied Member
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
Ok, all fixed after i installed service pack 3 
Thanks for your help
Last edited by toecutter; Jan 21st, 2008 at 01:40 AM.
-
May 6th, 2008, 03:38 PM
#15
New Member
Re: [RESOLVED] Cannot find wrapper assembly for type library Excel
I'm having the same problem. I've tried all the potential fixes above, but to no avail. I have SP3 installed already.
EDIT: Nevermind. I was getting a second error in addition to Excel. VBIDE. I removed both and then re-added Excel and it worked.
Last edited by im1dermike; May 6th, 2008 at 03:47 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|